問題1:
clang: error: linker command failed due to signal (use -v to see invocation)```
解決辦法:
Building Settings 找到Enable Bitcode并將其設(shè)置為No

參考鏈接: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 中找到該開發(fā)賬號(hào),然后選中View Details,然后 clear/build 再試應(yīng)該就可以了
場景2: 鑰匙串中發(fā)布證書有重復(fù)的。請根據(jù)錯(cuò)誤中的團(tuán)隊(duì)/開發(fā)者ID到鑰匙串中查找該名字的開發(fā)者證書,如果有2個(gè)一樣的,刪除一個(gè)即可。
場景3:如果是模擬器運(yùn)行報(bào)錯(cuò),那么直接進(jìn)去那個(gè)文件夾把提示錯(cuò)誤的那個(gè)文件刪掉重新運(yùn)行即可.
若以上方法不能解決,請參考鏈接:http://stackoverflow.com/questions/2017756/command-usr-bin-codesign-failed-with-exit-code-1#
問題3:
```Invalid Bundle. iPad Multitasking support requires these orientations...```
打開項(xiàng)目屬性,選擇“General”選項(xiàng),勾選紅框標(biāo)注的“Requires full screen”
參考鏈接:http://jingyan.baidu.com/article/bea41d439655c2b4c51be6d6.html