我在XCode中创建了一个简单的基于导航的iPhone应用程序。该应用程序可以在XCode下构建和运行,但我无法通过命令行构建它。
从终端执行以下命令:
xcodebuild -project George.xcodeproj -alltargets -parallelizeTargets -configuration Debug build
但是我遇到了这个错误:
=== BUILD NATIVE TARGET George OF PROJECT George WITH CONFIGURATION Debug ===
Check dependencies
[BEROR]Code Sign error: The identity 'iPhone Developer' doesn't match any valid certificate/private key pair in the default keychain
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
我尝试处理它的方式有问题吗?