KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
When I try to run my application in the iOS 4.3 simulator (Xcode 4.2), I crash when I hit @autoreleasepool{}, with: dyld: lazy symbol binding failed: Symbol not found: _objc_autoreleasePoolPush I looked around, and I see the workaround is to add libarclite_iphoneos.a . There's a version of this for the simulator, too, as libarclite_iphonesimulator.a . I need to add both libraries to my project to make it run on both the simulator and hardware. But whichever I build, it complains that the other library is for an unsupported architecture. For example, building for simulator: ld: warning: ignoring file /Developer-4.2/Platforms/iPhoneOS.platform/ Developer/usr/lib/arc/libarclite_iphoneos.a, missing required architecture i386 in file How do I fix both of these simultaneously? Or should I just stick with the old NSAutoreleasePool syntax for now?
Tags (comma-separated)
Save Edits
Cancel