Search code examples
iphoneiosxcodexcode4

Building and testing multiple apps - trying to understand appID's and profiles


I'm trying to understand app ID's and provisioning profiles here, I'm quite lost.

I am a registered Apple Developer as an individual under my full name, and I have 2 applications currently in the works, and 2 device UDID's ready for testing.

I'd like to be able to build IPA's for these two apps, upload them to TestFlight, and use them on either of the UDIDs I have on me.

I have several questions (if I should ask separate questions, I'd be happy to unless someone happens to be willing to answer them, I'd appreciate it):

1) Because I have 2 (or more in the future) applications, do I need a wildcard app ID?

2) If I have the app ID ET9WC78H9Q.com.mydevname.* listed in the portal - WHAT is the actual appID - ET9WC78H9Q.com.mydevname.*, ET9WC78H9Q.com.mydevname, or *?

3) Why can't you delete an AppID in the portal?

4) I've read that this must match the name Bundle Identifier. Currently it sits at ${PRODUCT_NAME:rfc1034identifier}. What specifically needs to go here to 'match'?

5) Do I need to create separate distribution profiles for each app, or can I tell each new app to use the wildcard identifier?

6) How do I tie a specific target to a specific provisioning profile in XCode 4? (TestFlight suggests to use the distribution profile)

Thank you,


Solution

    1. You have to either have a wildcard app id, or 2 separate (specific, non-wildcard) app ids, one each.
    2. That is a wildcard app id, so the app id is *
    3. No idea.
    4. Your PRODUCT_ NAME, which you specify in the Packaging section of the Build Settings screen.
    5. A single distribution profile will work with multiple apps if the app ID for that profile is a wild-card app id. If they are specific app IDs, yes, you need a profile for each app.
    6. You specify the provisioning profile in the Code Signing section of Settings, under CODE_SIGN_IDENTITY.