alekhine
alekhine

Reputation: 1620

using same bundle identifier in info.plist (Xcode) for different builds

I followed instructions given at this link to create provisioning profile that has push notifications enabled. According to it I renamed bundle identifier in info.plist as com.domain.pushApp which worked fine for the first build (app_1.0). When I changed product name (app_1.1), I expected a different build, but new build overwrites old one. I tried changing version number from 1.0 to 2.0 with no luck. Can I have two builds with same bundle identifier?

I tried creating new provisioning profile with bundle identifier name com.domain.* but that doesn't not work for push notifications.

xcode screen shot

I must have missed something obvious but not able to find it. Any suggestions will be greatly appreciated.

Upvotes: 0

Views: 6534

Answers (1)

teriiehina
teriiehina

Reputation: 4761

If you wan to keep several builds of your app using the sample bundle ID, a simple solution is to archive each version that you want to keep.

you can then access them later in Organizer > Archives.

But there is no way to have two apps with the same bundle identifier on the phone. sorry. maybe you should try develop an in-house distribution app (an in-house AppStore) for a faster switch between the versions of your app.

Upvotes: 1

Related Questions