gpt4 book ai didi

Jenkins 中的 IOS 构建失败

转载 作者:行者123 更新时间:2023-11-29 02:56:52 26 4
gpt4 key购买 nike

昨天我的 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 来检查您的构建配置。

关于Jenkins 中的 IOS 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23776936/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com