問題描述
Xcode 12.5 (12E262) 在將 .scn 文件添加到 ARKit 項目後,“Command CodeSign 失敗,退出代碼為非零” (Xcode 12.5 (12E262) "Command CodeSign failed with a nonzero exit code" after a .scn file added to ARKit project)
我的構建失敗並出現錯誤:Command CodeSign failed with a nonzero exit code
我使用的是 Xcode 12.5 (12E262)。
當我將 .dae 文件轉換為 .scn 並將其添加到我的 ARKit 項目(而不是默認的 ship.scn)時發生這種情況。
該錯誤僅在我嘗試在我的物理設備(iPhone 11 pro),但它在模擬設備上成功運行。我在這個項目中沒有使用 pod 或任何外部框架。
我嘗試了這個解決方案但沒有成功:Stack1 和 Ilya Valito、Ilya Valito)