When I run the code using the @autorelease keyword on iOS 4.3.x, it throws this error.
dyld: lazy symbol binding failed: Symbol not found: _objc_autoreleasePoolPush Referenced from: /Users/Eonil/Library/Application Support/iPhone Simulator/4.3.2/Applications/3782382E-293A-4D5E-86E6-28BE35CF6048/EonilCocoaComplementsTester.app/EonilCocoaComplementsTester Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Foundation.framework/Foundation dyld: Symbol not found: _objc_autoreleasePoolPush Referenced from: /Users/Eonil/Library/Application Support/iPhone Simulator/4.3.2/Applications/3782382E-293A-4D5E-86E6-28BE35CF6048/EonilCocoaComplementsTester.app/EonilCocoaComplementsTester Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Foundation.framework/Foundation
I thought the keyword was just a replacement for explicitly creating / deleting the autorelease pool. In any case, this is not so, and he was mistaken. Is this only supported on a specific version of iOS? So where can I check the version information of this keyword?
source share