Re: Targets with same app name
Re: Targets with same app name
- Subject: Re: Targets with same app name
- From: David Durkee <email@hidden>
- Date: Wed, 02 Sep 2015 17:38:45 -0500
Thanks for the suggestion. However, I just tried it and a couple of things went wrong. The name in the build settings was what appeared in the about box (when I ran in debug). And the program (the one that I archived and then exported) crashed on launch, apparently because the bundle identifier doesn’t match what it thinks is the product name.
Process: Comic Strip Factory Beta [12405]
Path: /Applications/Comic Strip Factory.app/Contents/MacOS/Comic Strip Factory Beta
Identifier: com.dwdurkee.Comic-Strip-Factory-Beta
Responsible: Comic Strip Factory Beta [12405]
Sandbox creation failed: Unable to get bundle identifier for container ID com.dwdurkee.Comic-Strip-Factory-Beta: (null)
Unable to get bundle identifier for container ID com.dwdurkee.Comic-Strip-Factory-Beta: (null)
0x100000000 - 0x10011efff +com.dwdurkee.Comic-Strip-Factory-Beta (1.0.b7 [588] - 1.0.107) <1283BF83-D4C8-3C70-925B-22661D1B16C3> /Applications/Comic Strip Factory.app/Contents/MacOS/Comic Strip Factory Beta
David
> On Sep 2, 2015, at 4:06 PM, Quincey Morris <email@hidden> wrote:
>
> On Sep 2, 2015, at 12:21 , David Durkee <email@hidden <mailto:email@hidden>> wrote:
>>
>> I’m trying to build three targets for my Mac application that are nearly identical, and that I want to have the same app name.
>
> I’m happy to be corrected if wrong, but I don’t think it really matters what you do in Xcode, since the actual app bundle name (as seen by users) is always determined later on.
>
> Therefore, you may as well give your targets 3 different names, and let Xcode do its default thing of giving the executable files 3 different names, and nominally giving the built bundles 3 different names. This is what you will see during testing (that is, when running a target from Xcode), but *you* don’t care about the names at that point.
>
> In order to release an app to others, you’ll need to archive the app in Xcode, then extract the app bundle from the archive (for the non-app-store version) or submit the app bundle from the archive (for the app-store-version). In the first case you go through a Save dialog to give the app bundle its final name (or you can give it any name and rename it yet later in the Finder before you give it to any users). In the second case, I don’t think it matters what the bundle is called, because the App Store is going to deliver it to users under the name that’s in the iTunes Connect metadata, which is independent of the upload bundle name.
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden