IOS - Build failed: Command CodeSign failed with a nonzero exit code

網絡上通常的方法是,clean project,然後重啓mac。

我的錯誤比較特殊,從stackoverflow裏找到的解決方案,原因如下,我引用的game資源目錄名稱是resources,這個名稱是被佔用的,應該改成其他的名字,就可以解決了。

原問題:Xcode 10, Command CodeSign failed with a nonzero exit code

原答案如下:

None of the listed solutions worked for me. In another thread it was pointed out that including a folder named “resources” in the project causes this error. After renaming my “resources” folder, the error went away.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章