Iphone - 应用程序 ID 和应用内购买
我在商店里有一个 iPhone 应用程序,可以进行应用内购买。这个应用程序在系统中有一个应用程序 ID,比如说
com.acme.myApp
我即将创建它的 iPad 版本。我在 Xcode 上复制了目标,但复制后,我看到 Xcode 没有更改新目标的标识符,仍然是 com.acme.myApp,巧妙地表明我可以拥有两个具有相同标识的目标,甚至每个目标是一个不同的应用程序。
我的问题是:是否有可能发布具有相同标识符的 iPhone 和 iPad 版本?如果是这样,我可以使用在 iTunes connect 上为 iPhone 版本创建的相同应用程序内的 iPad 吗?
我怀疑我必须为这个新版本创建另一个应用程序 ID,基于该 ID 创建新的配置文件,并再次为 iPhone 版本和这个新的 iPad 版本创建无数的应用程序内购买,对吗?
你们觉得怎么样?
I have an iPhone application in the store that has in-app purchases. This app has an app ID in the system that is, lets say,
com.acme.myApp
I am about to create an iPad version of it. I have duplicate the target on Xcode, but after duplicating, I see Xcode has not changed the identifier for the new target, that is still com.acme.myApp, subtly suggesting that I can have two targets with the same identification, even each target being a different app.
My question is: is it possible to have an iPhone and an iPad release with the same identifier? If so, can I use the same in-apps already created on iTunes connect for the iPhone version for ipad's?
I suspect I will have to create another app ID for this new version, create new provisioning profiles based on that and create again all zillions of in-app purchases I have for the iPhone version, for this new ipad version, right?
What do you guys think?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
旧版本中的 Xcode 会为 Iphone 和 Ipad 构建一个文件夹,现在在新版本中我还没有看到这一点。
但正如您确实提到的,它适用于两个单独的应用程序并使用相同的目标......现在我不相信会起作用,在上述情况下最好的选择是为每个应用程序构建两个单独的目标。
Xcode in older versions would build a folder for both Iphone and Ipad now in the newer versions i have not seen this.
But as you did mention its for two separate applications and using the same target....Now that i don't believe will work, the best bet in the situation outlined above would be to build two separate targets for each.