Same Bundle ID suffix on iPad and iPhone versions of App

邮差的信 提交于 2019-12-08 04:06:05

问题


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!


回答1:


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.




回答2:


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.



来源:https://stackoverflow.com/questions/7724425/same-bundle-id-suffix-on-ipad-and-iphone-versions-of-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!