![]() This can be done using the CREATE_INFOPLIST_SECTION_IN_BINARY setting:Īt this point, the Command Line tool is embedded into the main app and properly code signed. To be properly code signed, the ist needs to be embedded into the binary. The Hardened Runtime is required in order to notarize your app, for example to distribute a beta version with Developer ID. Since the app will be released on the Mac App Store, don’t forget to enable the App Sandbox in the Signing & Capabilities. I decided to embed the tool at Dependencies.app/Contents/MacOS/CLI/dependencies.Ĭopying the Command Line tool into the main app is done using a copy build phase: I created in the Xcode project a new target called DependenciesCLI which compiles the dependencies Command Line tool. But you still need to be careful to make sure that the app is properly code signed. You can find the complete source code on Ĭopying the command line tool into the main app is not the most complicated part.You can reuse this code under the MIT license. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |