iOS 4.3.x에서 @autorelease
키워드를 사용하여 코드를 실행하면이 오류가 발생합니다.@autoreleasepool을 사용하려면 어떤 iOS 버전이 필요합니까?
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
나는이 키워드가 명시 적 자동 복구 풀 생성/삭제를 대체한다고 생각했습니다. 어쨌든 그것은 아니었고 오류를 던졌습니다. 특정 버전의 iOS에서만 지원됩니까? 그렇다면이 키워드에 대한 버전 정보는 어디에서 확인할 수 있습니까?
이 ARC를 필요로하지 않는다 http://stackoverflow.com/questions/8069570/autoreleasepool-make-errors – RolandasR