问题1:
clang: error: linker command failed due to signal (use -v to see invocation)```
解决办法:
Building Settings 找到Enable Bitcode并将其设置为No
![OyehV.png](http://upload-images.jianshu.io/upload_images/80922-8c907f49053cbf55.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
参考链接:http://stackoverflow.com/questions/30576693/ios-xcode-compile-error-unable-to-execute-command-segmentation-fault-11
问题2:
```no identity found
Command /usr/bin/codesign failed with exit code 1```
场景1:Xcode 7.0以上
到 Xcode 的 Preferences 中找到该开发账号,然后选中View Details,然后 clear/build 再试应该就可以了
场景2: 钥匙串中发布证书有重复的。请根据错误中的团队/开发者ID到钥匙串中查找该名字的开发者证书,如果有2个一样的,删除一个即可。
场景3:如果是模拟器运行报错,那么直接进去那个文件夹把提示错误的那个文件删掉重新运行即可.
若以上方法不能解决,请参考链接:http://stackoverflow.com/questions/2017756/command-usr-bin-codesign-failed-with-exit-code-1#
问题3:
```Invalid Bundle. iPad Multitasking support requires these orientations...```
打开项目属性,选择“General”选项,勾选红框标注的“Requires full screen”
参考链接:http://jingyan.baidu.com/article/bea41d439655c2b4c51be6d6.html