diff --git a/QLMobi.xcodeproj/project.pbxproj b/QLMobi.xcodeproj/project.pbxproj index 3c2db08..6cb973c 100644 --- a/QLMobi.xcodeproj/project.pbxproj +++ b/QLMobi.xcodeproj/project.pbxproj @@ -152,7 +152,7 @@ 15DD6F5F1BA48FF400336FF5 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0730; + LastUpgradeCheck = 0800; ORGANIZATIONNAME = Bartek; TargetAttributes = { 15DD6F671BA48FF400336FF5 = { @@ -218,8 +218,10 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = ""; @@ -278,8 +280,10 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = ""; @@ -320,7 +324,6 @@ 15DD6F761BA48FF400336FF5 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = QLMobi/Info.plist; @@ -334,7 +337,6 @@ 15DD6F771BA48FF400336FF5 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD)"; CLANG_ENABLE_OBJC_ARC = YES; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = QLMobi/Info.plist; diff --git a/QLMobi/Info.plist b/QLMobi/Info.plist index cd525c7..c067e6f 100644 --- a/QLMobi/Info.plist +++ b/QLMobi/Info.plist @@ -12,6 +12,12 @@ LSItemContentTypes net.fabiszewski.mobi + dyn.ah62d4rv4ge80455cre + dyn.ah62d4rv4ge80c8x1 + dyn.ah62d4rv4ge80c8x1gq + dyn.ah62d4rv4ge80c8x1gu + dyn.ah62d4rv4ge81a6xd + dyn.ah62d4rv4ge81a3dc @@ -24,11 +30,11 @@ CFBundleName $(PRODUCT_NAME) CFBundleShortVersionString - 0.4 + 0.5 CFBundleSignature ???? CFBundleVersion - 4 + 5 CFPlugInDynamicRegisterFunction CFPlugInDynamicRegistration diff --git a/README.md b/README.md index 11ed0ab..fc9e30b 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,19 @@ Source code is available on [github][qlmobi]. It is bundled as an Xcode project ![Finder preview](http://www.mobileread.com/forums/attachment.php?attachmentid=143433&d=1446545022) ![Finder thubmnails](http://www.mobileread.com/forums/attachment.php?attachmentid=143432&d=1446545022) -[libmobi]: https://github.com/bfabiszewski/libmobi -[binary]: https://github.com/bfabiszewski/QLMobi/releases/latest -[qlmobi]: https://github.com/bfabiszewski/QLMobi + +### Troubleshooting +If the plugin doesn't work: +- reload plugins running `qlmanage -r` from the console; +- try reinstalling the plugin; +- try in the top level `Library` folder instead of the user's one; +- go to github [issues] tab, start new issue describing your problem, you may also provide output of the command: `qlmanage -d 4 -p -o /tmp /path/to/your/test.mobi`. + ### Changelog +**0.5** +Minor workaround for plugin failing to register handled file types +Include minor fixes from current libmobi **0.4** Hide broken image links in corrupt documents **0.3** @@ -37,4 +45,7 @@ Initial version Licensed under the [GNU Public License (GPL)](http://www.gnu.org/licenses/) version 3 or later. - +[libmobi]: https://github.com/bfabiszewski/libmobi +[binary]: https://github.com/bfabiszewski/QLMobi/releases/latest +[qlmobi]: https://github.com/bfabiszewski/QLMobi +[issues]: https://github.com/bfabiszewski/QLMobi/issues