Same Bundle ID suffix on iPad and iPhone versions

2019-05-31 02:56发布

This is a subtle question. I am planning to release an iOS app with two versions - one for iPhone and iPod Touch, and the other for iPad. The apps will be named, say, MyApp and MyApp HD. The app allows you to save files, and also to communicate with other users of the app via GameCenter.

I would like the iPad and iPhone versions to be able to interchange files, and also to communicate with each other via GameCenter. So, my question is, in iTunesConnect, should (and can I) assign both apps the same bundle ID (e.g. com.mycompany.myapp) or do I have to give them different bundle IDs (e.g. com.mycompany.myapp and com.mycompany.myapphd).

iOS and GameCenter experts, please advise!

2条回答
手持菜刀,她持情操
2楼-- · 2019-05-31 03:35

Here's the answer I received from developer support:

Every app in the store is required to have an unique id, however, that id has common elements with other ids such as:

com.mycompany.myapp.ipad
com.mycompany.myapp.iphone

And regarding GameCenter: GameCenter has no support for sharing data between two apps. The only way for an iPad and iPhone app to share data is for there to be one universal app for both platforms.

查看更多
三岁会撩人
3楼-- · 2019-05-31 03:43

Each app needs a different bundle ID. You can have a single bundle ID if you create a universal app, otherwise they'll need to have different ones and will appear as different apps in GameCenter.

查看更多
登录 后发表回答