
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 DriveExpected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator5.1.sdk/System/library/Frameworks/Foundation.framework/Foundationdyld: Symbol not found: _objc_setProperty_nonatomic_copyReferenced from: /Users/Borongaj/library/Application Support/iPhone Simulator/5.1/Applications/FC5B32F0-C5E6-4054-BE81-4F52054AC911/Tests Google Drive.app/Tests Google DriveExpected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhonesimulator.platform/Developer/SDKs/iPhonesimulator5.1.sdk/System/library/Frameworks/Foundation.framework/Foundation解决方法 我找到了解决方案.
Google文档省略了一些重要的事情:
>观看谷歌视频而不是阅读谷歌教程(文本),因为一些拖放可能会破坏Xcode建筑物的偏好
>在Project>中添加GTLDrive_Sources.m构建阶段>编译源代码
>将GTL项目iOS部署目标选项切换为5.1(或其他任何内容).
通过这三个步骤,您可以避免一些无聊的错误消息.
即使Google工程师在视频中也会遇到相同的错误! 总结
以上是内存溢出为你收集整理的iphone – Google Drive SDK和iOS 5.1全部内容,希望文章能够帮你解决iphone – Google Drive SDK和iOS 5.1所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)