在 iPad 和 iPhone 版本的 App 上使用相同的 Bundle ID 后缀 [英] Same Bundle ID suffix on iPad and iPhone versions of App

查看:81
本文介绍了在 iPad 和 iPhone 版本的 App 上使用相同的 Bundle ID 后缀的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个微妙的问题.我计划发布一个有两个版本的 iOS 应用程序 - 一个用于 iPhone 和 iPod Touch,另一个用于 iPad.应用程序将被命名为,例如,MyAppMyApp HD.该应用程序允许您保存文件,还可以通过 GameCenter 与该应用程序的其他用户进行交流.

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.

我希望 iPad 和 iPhone 版本能够交换文件,并通过 GameCenter 相互通信.所以,我的问题是,在 iTunesConnect 中,应该(并且我可以)为两个应用程序分配相同的捆绑 ID(例如 com.mycompany.myapp)还是我必须给它们不同的捆绑 ID(例如 <代码>com.mycompany.myapp 和 com.mycompany.myapphd).

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 和 GameCenter 专家,请指教!

iOS and GameCenter experts, please advise!

推荐答案

以下是我从开发人员支持处收到的答复:

Here's the answer I received from developer support:

商店中的每个应用程序都需要有一个唯一的 id,但是,该 id 与其他 id 具有共同的元素,例如:

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

关于 GameCenter:GameCenter 不支持在两个应用程序之间共享数据.iPad 和 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.

这篇关于在 iPad 和 iPhone 版本的 App 上使用相同的 Bundle ID 后缀的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆