繁体   English   中英

詹金斯的iOS构建失败

[英]IOS build failed in Jenkins

昨天我的ios构建开始失败,但是我什么也没做,我尝试签出以前的修订版本,因为我认为代码已损坏但没有。 我的构建失败,显示以下输出:

10:24:20 Code sign error: Failed to locate ResourceRules.plist in    '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/ResourceRules.plist' or '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ResourceRules.plist'
10:24:20 [BEROR]error: There is no SDK with the name or path '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk'
10:24:20 [BEROR]CodeSign error: entitlements are required for product type 'Application' in SDK 'iPhoneOS 7.0'.    Your Xcode installation may be damaged.
10:24:20 
10:24:20 ** CLEAN FAILED **
10:24:20 
10:24:20 
10:24:20 The following build commands failed:
10:24:20    Check dependencies
10:24:20 (1 failure)
10:24:20 === BUILD TARGET fpg OF PROJECT fpg WITH CONFIGURATION Debug ===
10:24:20 
10:24:20 Check dependencies
10:24:20 Code sign error: Failed to locate ResourceRules.plist in '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/ResourceRules.plist' or '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ResourceRules.plist'
10:24:20 error: There is no SDK with the name or path '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk'
10:24:20 CodeSign error: entitlements are required for product type 'Application' in SDK 'iPhoneOS 7.0'. Your  Xcode installation may be damaged.
10:24:20 
10:24:20 ** BUILD FAILED **
10:24:20 The following build commands failed:
10:24:20    Check dependencies
10:24:20 (1 failure)

您是否尝试检查已安装的Xcode SDK?

xcodebuild -showsdks

您还可以尝试在当前项目中使用xcodebuild -list来检查构建配置。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM