Question

I'm trying to integrate MKStoreKit into my game, but when [MKStoreManager sharedManager] called, app crashes on ipod 2 with error:

dyld: lazy symbol binding failed: Symbol not found: _objc_retain Referenced from: /var/mobile/Applications/2EA46519-12C1-4ED8-B19B-ED4AFA178F81/uni.app/uni Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_retain Referenced from: /var/mobile/Applications/2EA46519-12C1-4ED8-B19B-ED4AFA178F81/uni.app/uni Expected in: /usr/lib/libobjc.A.dylib

//latest MKStOreKit, Xcode 4.2.1, on other devices no error occured

Was it helpful?

Solution

That sounds like an ARC issue to me.

What iOS version is running on the iPod? ARC will work on iOS 4 and above.

Try adding -fobjc-arc to the "Other Linker Flags" build setting for your project.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top