OGeek|极客世界-中国程序员成长平台

标题: ios - 应用程序在运行 iOS 9.3.5 并连接到 IPv6 的 iPad 和 iPhone 上崩溃 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-11 17:27
标题: ios - 应用程序在运行 iOS 9.3.5 并连接到 IPv6 的 iPad 和 iPhone 上崩溃

我已将应用程序提交到 iTunes 连接,但它被拒绝指定当它在 IPV6 上运行时应用程序崩溃。通过注意到我之前提交了另一个具有相同 100% 配置的应用程序,并且使用了最新的 AFNetworking,它被接受并且几乎相同的功能。我已经在发布中测试了我的应用程序,调试版本它根本没有崩溃。

引用苹果拒绝的文字:

  1. 1 PERFORMANCE: APP COMPLETENESS Performance - 2.1

Your app crashes on iPad and iPhone running iOS 9.3.5 connected to an IPv6 network when we:

When we tried to create an account, we added a phone number and tapped on "Done", app crashed.

This occurred when your app was used:

We have attached detailed crash logs to help troubleshoot this issue.

他们附上了两个崩溃日志,它上传到(谷歌驱动器):

https://drive.google.com/file/d/0B32ROW7V8Fj4M0JsS0NCNXNoWVk/view?usp=sharing https://drive.google.com/file/d/0B32ROW7V8Fj4NFJtY1J5YU9KY1E/view?usp=sharing

关键是崩溃日志它根本没有指定任何内容!以及它不会崩溃的应用程序<.<我已经尝试了1000多次,并且经过了一个多月的质量保证和测试。



Best Answer-推荐答案


inApp 的代码应该只添加一次事务观察器,如下所示。

SKPaymentQueue.defaultQueue().addTransactionObserver(self)

应该只写在 didLoad() 中,并且必须只有一次。然后您的 Ap 将通过崩溃保存。在应用程序中。我和你遇到了同样的问题。

关于ios - 应用程序在运行 iOS 9.3.5 并连接到 IPv6 的 iPad 和 iPhone 上崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39346243/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4