IOS隨筆-- Command /usr/bin/codesign failed with exit code 1

來源:互聯網
上載者:User

標籤:des   blog   http   io   os   sp   for   檔案   2014   

我今天遇見一個蛋疼的問題,因為本機上裝有兩個xcode ,分別是xcode5.1.1和xcode6.1,xcode5版本真機測試沒一點問題?但是xcode6真機測試的時候問題來了編譯不通過,Command /usr/bin/codesign failed with exit code 1 的錯誤。

於是開始了艱辛的查詢工作,再查了多個資料後最終沒有解決掉問題,心灰意冷啊!

出去抽了一支煙,整理下思路,回來把認證以及描述檔案全部刪掉

然後重新建立認證以及描述檔案,重新設定,clean一下,運行.....尼瑪又報錯,不過錯誤判的不一樣了,

CodeSign error: code signing is required for product type ‘Unit Test Bundle‘ in SDK ‘iOS 8.0‘ 

解決方案

總算是編譯通過運行成功,不過很納悶兒的是為什麼xcode5.1.1版本編譯不報錯,xcode6.1就編譯不過,相同的認證以及描述檔案,哎 想不明白..... 

希望對大家有所協助,哪位大神知道為什麼或者想要探討的可以加我連絡方式,[email protected]或者QQ867761181,期待大神....

IOS隨筆-- Command /usr/bin/codesign failed with exit code 1

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.