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) 解决方法: 把target设置高一点project->target->general->Deployment info-->Deployment Target…
在新建cocos2d-x以后,执行发现下面错误: 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) 如图所看到的: 这时候,选中左上角的项目文件 ------>选中General ---------> DeploymentInfo 中 ------------->…
近期,使用师兄的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/Xc…
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later ld: embedded dylibs/frameworks are only supported on iOS 8.0 and later (@rpath/XXX.framework/XXX) for architecture armv7 clang: error: linker command failed with exit code 1 (use -v t…