xcodebuild:“需要代码签名”使用XCode 8.1升级后出现错误 [英] xcodebuild: "Code signing is required" error after upgrading to XCode 8.1 using
问题描述
我们使用以下命令来自动化构建:
We used automate our builds using the following command:
xcodebuild -target 'Unity-iPhone' -configuration Release clean build
在升级到XCode 8.1之前,一切工作都很顺利。
Everything worked smoothly until I upgraded to XCode 8.1.
现在可以使用XCode IDE进行构建,但是在尝试运行xcodebuild时得到以下输出:
Now building works using the XCode IDE, but I get the following output when trying to run xcodebuild:
检查依赖项没有配置文件对于'com.company.project'的发现:
Xcode找不到与
'com.company.project'匹配的配置文件。警告:用于输出
文件的多个构建命令
/Users/BuildSystem/GCLive/XCodeProject/build/Release-iphoneos/project.app/DefaultWsdlHelpGenerator.aspx
警告:用于输出文件的多个构建命令
/Users/BuildSystem/GCLive/XCodeProject/build/Release-iphoneos/project.app/machine.config
SDK'iOS
10.1'中的产品类型'Application'需要代码签名
Check dependencies No profiles for 'com.company.project' were found: Xcode couldn't find a provisioning profile matching 'com.company.project'. Warning: Multiple build commands for output file /Users/BuildSystem/GCLive/XCodeProject/build/Release-iphoneos/project.app/DefaultWsdlHelpGenerator.aspx Warning: Multiple build commands for output file /Users/BuildSystem/GCLive/XCodeProject/build/Release-iphoneos/project.app/machine.config Code signing is required for product type 'Application' in SDK 'iOS 10.1'
**构建失败**
尝试重新创建配置文件,停用自动管理签名功能,并进行其他操作。
Tried recreating the provisioning profile, disabling "Automatically manage signing", fiddling with other things. No luck.
任何帮助表示赞赏!非常感谢。
Any help appreciated! Many thanks.
推荐答案
我遇到了此问题,该问题通过安装命令行工具得以解决。
I encountered this issue, which was resolved by installing the command line tools.
xcode-select --install
这篇关于xcodebuild:“需要代码签名”使用XCode 8.1升级后出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!