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

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

问题描述

这是一个微妙的问题。我打算发布一个有两个版本的iOS应用程序 - 一个用于iPhone和iPod Touch,另一个用于iPad。这些应用程序将被命名为,例如 MyApp MyApp 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天全站免登陆