Multiple apps per profile

I am a little bit confused about apple and all their profiles and whatnot. Am I able to build multiple apps with the same provisioning profile? I’m thinking not. Also, can I renew my provisioning profile once it has expired.

Much appreciated,
J.K. [import]uid: 66117 topic_id: 18671 reply_id: 318671[/import]

you can build multiply apps with one provisioning profile
and you can do whatever you want with it, delete, renew, make new [import]uid: 16142 topic_id: 18671 reply_id: 71724[/import]

For some reason it says “The application ‘blablalba’ already exists on this device. Are you sure you want to replace it?” [import]uid: 66117 topic_id: 18671 reply_id: 71737[/import]

Hey Joe, if you want to have multiple of apps installed on your device at the same time (using Ad Hoc certificate, I assume?), you would want to use separate certificates. Also, when you are ready to submit to app store, you will want unique certificate for each unique app (but I believe you can use the same certificate for updating an existing app).

However, if you just want to install a build for testing it on device, and if you don’t need to keep older builds or multiple of builds on the device at the same time, then you can build multiple apps with the same Ad Hoc certificate.

Naomi [import]uid: 67217 topic_id: 18671 reply_id: 71754[/import]

Actually in my experience I need only one certificate, but I need different provisioning profiles.

When you first sign up, you go thru the painful certificate creation process. Its like good for a year, but you can renew it, I think.

Then FOR EACH APP

You create a unique App ID bundle. That App ID is a combination of a 10 Alpah digit code Apple Generates (though I can’t seem to make new ones any more) and a string, which is your reverse domain name with a subdomain for each app that DOES NOT share a keychain (multiple apps using one set of passwords).

Your AppID will look something like:

ABC123ZYZ5.com.omnigeekmedia.omniblaster

where the ABC123ZYX5 is the ID generated by Apple. com.omnigeekmedia is the reverse of my domain name: omnigeekmedia.com and the .omniblaster is a unique string to make your app unique in your name space. In my case, when I release a new app, I setup a website for it, that has the URL omniblaster.omnigeekmedia.com just to keep things consistent.

Now once you have a unique AppID for your app, you need 1 to 3 “Provisioning Profiles”:

Development
Ad Hoc
Distribution

You need a Development one if you’re going to run a tool like “Instruments” on it to look for memory leaks. There are a few other uses for a Development profile.

If you want to give your app to people to test, or if you want to do an distribution within your company, you can install on up to 100 devices. If you use a service like testflightapp, you will use this provisioning profile. I typically use it to build my device test builds. You cannot test on a device without one of the two above profiles.

Finally you will need a distribution profile for releasing to Apple. This profile WILL NOT install directly to a device but must be downloaded from iTunes.

You should have a unique Provisioning Profile for EACH app. [import]uid: 19626 topic_id: 18671 reply_id: 71776[/import]

I’m not saying this is best practice but I have one AppID called “Corona” and one AdHoc provisioning profile, also called “Corona”.

This is what I used to build all of my own apps for testing lately.

Adding them via Xcode doesn’t appear to force me to overwrite. (Although I recall it has happened I think that was prior to updating to Lion and Xcode 4.2, but I could be wrong.)

Peach :slight_smile: [import]uid: 52491 topic_id: 18671 reply_id: 71782[/import]

Hey, about what you wrote, Peach, I haven’t upgraded my Mac to Lion yet. I use Xcode 4.2 though.

I’m wondering if… using two different build.settings for two different apps, and then build two of these apps using the same Ad Hoc certificate, and then install them would show them both on device (without getting one of the app overwritten by another). Joe, it may be worth checking it out.

In my experience, when I used different Ad Hoc certificates, I could see two instances of the same game apps on my device. It was a fluke, though. I didn’t actually meant to create two separate instances of the build to appear on device. Anyhow, except for the fluke event, whenever I build a project using the very same Ad Hoc certificate, even when I build different projects, it seems to overwrite a build that’s already installed on the device. But then, I also sort of vaguely remember copying & using the same build.settings for the second project (just being put together for a quick test.)

But as Rob mentioned above, you’d definitely want to set up separate App ID, provisioning profiles and certificates (dev, ad hoc & distribution) for each app before your build is ready for app store.

Naomi [import]uid: 67217 topic_id: 18671 reply_id: 71819[/import]

I don’t specify a bundle ID, that may or may not make a difference.

For seeing more than one instance of the same app, no, I’ve never been able to do that exactly - it has to have a different name, is my only current limitation.

In any case I’d say it is still worth making a new one for each app especially in the early stages to get comfortable with IDs and provisioning before it comes time to submit apps.

Peach :slight_smile: [import]uid: 52491 topic_id: 18671 reply_id: 71841[/import]