Unable to find a team with the given Team ID或者Failed to code sign的問題解決


Unable to find a team with the given Team ID或者Failed to code sign的問題解決

1:問題描述(注:這種情況一般是下載並打開別人項目時)

Failed to code sign "XXXXX".

No codesigning identities (i.e. certificate and private key pairs) matching “Developer ID Application: XXXXXX” were found.

Xcode can attempt to fix this issue
2:文件解決

我這里以mac項目為例

  1. 修改target -> General -> Identity -> Team,將其值修改為自己的apple Id的不是None;(如下圖)

  2. 在Target的Build Settings中的Code Signing Identity都改為iOS Developer(這里不能選擇自己的或者Mac Developer(測試發現選擇Developer ID:*也是可以的),Provisioning Profile改為Automatic

  3. 此時Clean之后再運行,就可以出現Fix Issue的對話框,選擇Fix Issue即可。

PS:如果還是不行,那就重啟一些Xcode就可以了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM