IOS构建在Jenkins中失败了

时间:2014-05-21 07:38:44

标签: ios xcode macos 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)

1 个答案:

答案 0 :(得分:1)

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

xcodebuild -showsdks

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