应用程序在启动时崩溃,iOS 7.0.3。

时间:2022-12-09 04:02:23

I'm new to the site and I wasn't able to figure out how to comment on an existing post (seems like you need a certain amount of reputation, which I don't yet have).

我是这个网站的新手,我不知道如何评论现有的帖子(看起来你需要一定的声誉,但我还没有)。

Since the iOS 7.0.3 update I've had a number of users report that the app crashes on start up (generally after completing an in-app purchase). This thread seems to deal with the same issue:

自从iOS 7.0.3更新以来,我有很多用户报告说,应用程序在启动时崩溃(通常在完成一个内购后)。这个线程似乎处理相同的问题:

SKProductsRequest crashing app at startup with iOS 7.0.3

SKProductsRequest崩溃应用在启动时与iOS 7.0.3

Unfortunately, I'm not able to reproduce the issue on any of my devices (tried a bunch). I was wondering if anyone has had a similar problem, or knows how to reproduce the problem above. My code does request the products on launch, so it seems like that should be the problem, but I'm worried I won't be able to tell if it is fixed because I can't reproduce it internally.

不幸的是,我无法在我的任何设备上重现这个问题(尝试了很多次)。我想知道是否有人遇到过类似的问题,或者知道如何重现上面的问题。我的代码在发布时确实要求产品,所以看起来这应该是问题所在,但是我担心我不能判断它是否被修复了,因为我不能在内部复制它。

I found some other sites indicating that there could be an issue with certain countries, but I wasn't able to reproduce it by switching my App Store to those countries either.

我发现了一些其他的网站,表明某些国家可能存在问题,但我无法通过将应用程序商店切换到这些国家来进行复制。

Thanks!

谢谢!

UPDATE:

更新:

I found another thread that seems to be related:

我发现了另一个与之相关的线索:

Following in app purchase, app crashing on startup. productIdentifier=nil?

在app购买之后,app在启动时崩溃。productIdentifier = nil ?

If I force my productIdentifier to be nil, I get a crash (that looks similar). I'm not sure why the productIdentifier would ever be nil though. To prevent the crash I could (should) check for a nil productIdentifier. Does anyone know how transaction.payment.productIdentifier or transaction.originalTransaction.payment.productIdentifier could be nil?

如果我强制我的productIdentifier为nil,就会发生崩溃(看起来类似)。但我不知道为什么产品识别器会是nil。为了防止崩溃,我可以(应该)检查一个零生产证明。有人知道交易、付款方式吗?productIdentifier或transaction.originalTransaction.payment。productIdentifier可能是零?

1 个解决方案

#1


0  

We submitted an update using this question: Following in app purchase, app crashing on startup. productIdentifier=nil?

我们用这个问题提交了一个更新:跟进app购买,app在启动时崩溃。productIdentifier = nil ?

Everything is solved :)

一切都解决了:)

Thanks a lot !

谢谢!

#1


0  

We submitted an update using this question: Following in app purchase, app crashing on startup. productIdentifier=nil?

我们用这个问题提交了一个更新:跟进app购买,app在启动时崩溃。productIdentifier = nil ?

Everything is solved :)

一切都解决了:)

Thanks a lot !

谢谢!