码迷,mamicode.com
首页 > 移动开发 > 详细

iOS报错 -pie can only be used when targeting iOS 4.2 or later

时间:2017-06-13 20:42:48      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:iphone   报错   ios   rac   fail   解决方法   with   error:   targeting   

近期,使用师兄的project时。突然报错之前没发现这个错误。信息例如以下:

ld: -pie can only be used when targeting iOS 4.2 or later

clang: error: linker command failed with exit code 1 (use -v to see invocation)

详细信息:

    export IPHONEOS_DEPLOYMENT_TARGET=4.1

    export PATH="/Applications/Xcode.a


解决方法:点击工程project-》build setting --》搜索IPHONEOS_DEPLOYMENT_TARGET 改动为4.2以后

iOS报错 -pie can only be used when targeting iOS 4.2 or later

标签:iphone   报错   ios   rac   fail   解决方法   with   error:   targeting   

原文地址:http://www.cnblogs.com/mfmdaoyou/p/7003184.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!