SDK是与iOS 5兼容还是仅与iOS 6兼容?
Google例程和iOS 6(模拟器和设备)一切都很好,但Xcode会返回iOS 5.1(模拟器和设备)的运行时错误.
我正在使用Xcode 4.5.2.
我已经检查了iOS部署目标.它设置在5.1.
Google例证:https://developers.google.com/drive/quickstart-ios
返回运行时错误:
dyld: lazy symbol binding Failed: Symbol not found: _objc_setProperty_nonatomic_copy Referenced from: /Users/Borongaj/Library/Application Support/iPhone Simulator/5.1/Applications/FC5B32F0-C5E6-4054-BE81-4F52054AC911/Tests Google Drive.app/Tests Google Drive Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/Foundation.framework/Foundation dyld: Symbol not found: _objc_setProperty_nonatomic_copy Referenced from: /Users/Borongaj/Library/Application Support/iPhone Simulator/5.1/Applications/FC5B32F0-C5E6-4054-BE81-4F52054AC911/Tests Google Drive.app/Tests Google Drive Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/Foundation.framework/Foundation