Open pokekingvn opened 9 years ago
problem solved, i had added "-ObjC" (fix the force close problem) and some scripts frome here to build on iOS 9: http://toilamgame.net/mot-so-van-de-unity-va-ios-9/
I have the same problem, but no fix for that.
The build and the deploy to a iPhone 5 is successfully. I use the Open IAB plugin version 0.9.8.3 too. But if i start the scene where the purchase will be init, it do a force close with the error:
DisplayManager.mm exe_bad_access (code=1, adress=0x736e6170)
on this method:
I added Storekit, -ObjC on other linker flags and set Objective-C automatic reference counting to no
Can anyone tell me how i can fix this problem?
Thank you and best regards
Andre
After hours and hours here is a fix:
General:
Build Settings:
Build Phrases:
After rebuild it works fine!
Hi, i'm making a game in Android and iOS in Unity now, and i used your Open IAB plugin (ver 0.9.8.3) to get in-app purchase. I had done well on Android, but when i switched to iOS plaform and built with Xcode, somethings went wrong with my game. When the game changed to the purchase scene, it was forced close (in Android platform, it just continue to show in-app purchase board). And i built 2 other projects (1 is your sample project, 1 is a project made with only Open IAB plugin 0.9.8.3), but it returned the same result. So could be i wrong at configuring the Xcode setting? Or the bug of your plugin? Hope you will reply soon! And sorry for my English.