The current version of the install instructions assumes you have built Sparkle from the command line using make release. That’s because only amework is a “Target Dependency” of the app and if you look at the build phases of the amework itself, the “Autoupdate” and “Installer Progress” targets of the Sparkle project are in turn its dependencies. Next to all the TableFlip-related stuff, it contains amework and its dependencies Updater.app and Autoupdate. rw-r-r- 1 ctm staff 70K Jun 21 09:57 libbsdiff.a rwxr-xr-x 1 ctm staff 441K Jun 21 09:57 Autoupdateĭrwxr-xr-x 7 ctm staff 224B Jun 21 09:57 ameworkĭrwxr-xr-x 7 ctm staff 224B Jun 21 09:57 ameworkĭrwxr-xr-x 7 ctm staff 224B Jun 21 09:57 Late圎ameworkĭrwxr-xr-x 7 ctm staff 224B Jun 21 09:57 ameworkĭrwxr-xr-x 7 ctm staff 224B Jun 21 09:57 ameworkĭrwxr-xr-x 4 ctm staff 128B Jun 21 09:57 StateTests.swiftmoduleĭrwxr-xr-x 3 ctm staff 96B Jun 21 09:57 TableFlip.appĭrwxr-xr-x 4 ctm staff 128B Jun 21 14:21 TableFlip.swiftmoduleĭrwxr-xr-x 3 ctm staff 96B Jun 21 09:57 TableFlipHelp.helpĭrwxr-xr-x 4 ctm staff 128B Jun 21 09:57 TableFlipTests.swiftmoduleĭrwxr-xr-x 7 ctm staff 224B Jun 21 09:57 ameworkĭrwxr-xr-x 3 ctm staff 96B Jun 21 09:57 Updater.appĭrwxr-xr-x 3 ctm staff 96B Jun 21 09:57 include Let’s have a look at TableFlip’s $(BUILT_PRODUCTS_DIR), where you will find a flat list of all build products for the app project: $ l /Users/ctm/Library/Developer/Xcode/DerivedData/TableFlip-fggcerpwydmlxkbphymfxiredpny/Build/Products/Debug When you build your app with the new Sparkle framework, the XPC services will not build automatically. When we embed the XPC services in the next steps, keep in mind to include this extra service. But I didn’t test this, because I need the networking entitlement to display the About.html file in my app anyway for some reason. Add this manually or head to the “Capabilities” tab of your app target, expand the “App Sandbox” settings, then enable “Outgoing Connections (Client)”.Īlternatively, you can use the SparkleDownloader XPC service (its filename is ). Make sure you add the .client entitlement. Your app will download the update feed from the web. Otherwise, you could still use the traditional Sparkle updater version. How to build, embed, and notarize the XPC services in your app (this post).How to toggle use of XPC service (Spoiler: you don’t have to do anything but bundle the XPC services in your app).How to migrate to the new Sparkle XPC branch.All the other kinds of app can skip using the XPC services if they want. Remember: Sparkle does not require the XPC services to work. This time, we’re going to use the actual XPC services that do the grunt work. In the previous post, I talked about how to download the “modern” Sparkle updater branch called ui-separation-and-xpc that allows you to update sandboxed apps and migrate your code to use the new types. Xcode Project Setup to Build, Embed, Codesign, Notarize, and Use the Sparkle XPC Services
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |