I have to builds of the same app for iphone and ipad, both are tested on the simulator and devices. Target device family is set to "iphone" resp. "ipad". I intend to submit these builds to the App Store as separate Apps. I setup an app id for the iphone app, got the appropiate certificates, created a new app on itunes connect etc.
I am unsure how to proceed with the ipad app:
- Do I have to create a second app id and a corresponding app in itunes connect?
- If yes, I guess I have to开发者_Python百科 change the bundle id for the ipad build, how can I do that?
- Will the iphone app show up only if I browse the app store on an iphone, but not when browsing from an ipad (and vice versa)?
I googled and searched here and on Apples documentation, I guess it is buried somewhere, but I couldn't find definitive answers.
So pointers to Apples docs (or duplicate questions) would also be greatly appreciated.
As always, thanks for any reply!
- Yes
- Yes, you have to. You can change it before build in your Info.plist, or, you can create another Info.plist and use different target to build different apps.
- iPhone app will be shown on iPad, but iPad will not be shown on iPhone.
So, main thing here is "several targets, one for each platform" and use target settings, not project settings to configure provision profiles.
if you have not built a universal app then yes you need create second app
yes you need to change bundle id for ipad built ,you can change it in plist file and keep same as in your itunes connect,you can just add ipad at last of ur bundle name then iphone bundle.
- yes iphone app will only show if you browse in iphone section and if you browse in ipad section ipad app will show.
精彩评论