[BEROR]CodeSign error: Certificate identity ‘iPhone Distribution: ***.’ appears more than once in the keychain. The codesign tool requires there only be one. 原因:那么出現此問題的原因是多個證書之間沖突造成兩種解決方法如下:
解決辦法:打開mac系統的“實用工具”-“鑰匙串訪問”-“我的證書”中,會看到有證書名一模一樣的,那么請將早期的證書刪除掉,重啟Xcode; 2、在真機或者模擬器編譯程序的時候可能會遇到下面的錯誤: Could not change executable permissions on the application. 原因:擁有相同的bundle Identifier已經在設備上運行
解決辦法:刪除設備中或者模擬器中的App。 3、編譯時遇到如下錯誤: A valid provisioning profile matching the application's Identifier 'XXXX' could not be found 原因:缺少證書或者是在Code Signing Identity處沒有選擇對應的證書或者是證書不對應 解決辦法:重裝證書,檢查證書是否是否選擇是否對應。 4、編譯時遇到如下錯誤: ld: library not found for -lmp3lameclang: error: linker command failed with exit code 1 (use -v to see invocation) 原因:一般是多人編輯同一個工程時其中一人沒將某個庫上傳導致的
解決辦法:上傳具體靜態庫