添加SwiftyStoreKit后AppleConnect拒绝

问题描述

我们得到了一个应用程序,并与发布者团队进行了测试,并在修复了所有错误之后,通过本地测试和testflight测试,我们决定将SwiftyStoreKit的新版本提交给AppStore

因此,Apple拒绝了它,并显示消息“我们在启动时崩溃,我们无法对其进行审核”,并为此提供了崩溃报告

这是我在将负载崩溃日志记录到XCode之后得到的

0   MyAppName                       0x000000010252a080 closure #1 in AfterInterstitialModal.calcLocalePrice() + 417920 (<compiler-generated>:0)
1   SwiftyStoreKit                  0x00000001031f40c4 partial apply for thunk for @escaping @callee_guaranteed (@guaranteed RetrieveResults) -> () + 98500 (<compiler-generated>:0)
2   SwiftyStoreKit                  0x00000001031f3cb8 closure #1 in ProductsInfoController.retrieveProductsInfo(_:completion:) + 97464 (<compiler-generated>:0)
3   SwiftyStoreKit                  0x00000001031e6010 partial apply for closure #1 in InAppProductQueryRequest.performCallback(_:) + 40976 (<compiler-generated>:0)
4   SwiftyStoreKit                  0x00000001031ee800 thunk for @escaping @callee_guaranteed () -> () + 75776 (<compiler-generated>:0)

但是如果我使用atos命令并检查我得到的第一行

0  outlined destroy of Purchase (in MyAppName) (<compiler-generated>:0)
1  partial apply for thunk for @escaping @callee_guaranteed (@guaranteed RetrieveResults) -> () (in SwiftyStoreKit) (<compiler-generated>:0)
2  closure #1 in ProductsInfoController.retrieveProductsInfo(_:completion:) (in SwiftyStoreKit) (<compiler-generated>:0)
3  partial apply for closure #1 in InAppProductQueryRequest.performCallback(_:) (in SwiftyStoreKit) (<compiler-generated>:0)
4  thunk for @escaping @callee_guaranteed () -> () (in SwiftyStoreKit) (<compiler-generated>:0)

功能calcLocalPrice

func calcLocalePrice() {
    SwiftyStoreKit.retrieveProductsInfo(["com.example.MyAppName.noAdsMode"]) { result in
        if let product = result.retrievedProducts.first {
            let priceString = product.localizedPrice!
        
            let priceStringArr = priceString.components(separatedBy: .whitespaces)
            // params for appmetrica
            productPrice = (priceStringArr[0] as Nsstring).floatValue
            productCurrency = priceStringArr[1]
            self.price_text.text = "for " + String(priceString)
        }
    }
}

所以问题是:

  1. outlined destroy of Purchase是什么错误,如何避免?
  2. 为什么我们不能得到这个错误,而appleconnect测试人员却做到了?

谢谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...