[Solved] iOS build crashed after purchases

The application has already been published and purchase work correctly. We need to update the app Store. Android version works perfectlyю In iOs version when you buy ,the app crashed. In xCode logs after inApp initialisation I see:

2016-12-29 12:00:52.123579 poker[1192:432413] UnityIAP:Requesting 11 products
2016-12-29 12:00:52.126648 poker[1192:432413] UnityIAP:Requesting product data…
2016-12-29 12:00:53.948328 poker[1192:432413] UnityIAP:Received 11 products
2016-12-29 12:00:53.962421 poker[1192:432413] UnityIAP:No App Receipt found

I see -No App Receipt found, but all the data on purchases can get correct -products.WithID(store.key)
After I send m_StoreController.InitiatePurchase(product) application crashed. In xCode I see

@MadByteLabs ,

Can you provide some more details about this issue?

What version of Unity Editor are you using?
What version of Unity IAP are you using?
Do you have any errors in the Editor or only the iOS builds?
Would you be able to provide more details about the product you are purchasing?
How often does this happen?

Also, have you tried running with Zombie Objects? In Xcode in the:

Unity-iPhone->Edit Scheme->Run->Diagnostics->Memory Management->Zombie Objects check box

This will print to the output console the name of the object that is causing the EXC_BAD_ACCESS if it is accessing a previously deallocated object.

Thanks. I use OneSignal and see in console
[OneSignalTrackIAP respondsToSelector:]: message sent to deallocated instance 0x17401fe40

@MadByteLabs

It looks like this was related to OneSignal. The dev has responded on a Unity Answers page and they have a fix available.

http://answers.unity3d.com/answers/1306535/view.html

https://github.com/OneSignal/OneSignal-Unity-SDK/issues/30#issuecomment-273669025