当我更改二进制名称时,为什么我的应用内购买会中断?

发布于 2024-12-01 23:15:30 字数 219 浏览 2 评论 0原文

我最近更改了我的应用程序的二进制名称。现在,我的 StoreKit 请求为我的应用内购买返回了无效的产品标识符。我没有更改我的产品标识符或应用程序包 ID。

游戏套件似乎仍然运行良好。我做的唯一一件事就是重命名我的二进制文件...任何人都可以建议为什么这可能会破坏我的应用程序内购买吗?

编辑:游戏套件显然也无法正常工作。我可以查看我的排行榜之类的,但当我登录时,它说游戏无法被游戏中心识别。

I recently changed the binary name for my app. Now my StoreKit request returns an invalid product identifier for my in app purchase. I did not change my product identifier, or my app bundle id.

Game Kit still seems to be working fine. The only thing I did was rename my binary... Can anyone suggest why this might have broken my in app purchases?

Edit: Game Kit is also apparently not working. I can view my leaderboards and whatnot, but it says Game not recognized by Game Center when I log in.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

囚你心 2024-12-08 23:15:30

好吧,冒着看起来像个白痴的风险,我将发布显然解决了我的问题的内容。

我只是手动从手机上删除了该应用程序(通过按住图标并在弹出时点击 x)

我尝试过清理和重建等,所以我认为这已经足够了,但手动删除似乎有效。我还应该提到我将我的 xcode 项目名称改回原来的名称。

对于更改项目名称并遇到应用程序内购买或游戏中心内容问题的其他人,请从手机中删除您的应用程序并重新安装!

我不确定改回名字是否会产生影响。

另外,如果您只是想更改应用程序的显示名称,info.plist 中有一个字段可以实现这一点。

OK at the risk of looking like a moron, I'll post what apparently fixed my issue.

I simply deleted the app off my phone manually (by holding down on the icon and hitting the x when it pops up)

I'd tried cleaning and re-building etc. so I figured that was enough, but the manual delete seemed to work. I should also mention that I changed my xcode project name back to the original.

To anyone else who changes their project name and experiences issues with in app purchase or game center stuff, delete your app off of your phone and re-install it!

I'm not sure if changing the name back made a difference or not.

Also, if you're just looking to change the display name of your app, there's a field in info.plist for that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文