gpt4 book ai didi

ios - TeamCity iOS 构建失败,出现 "Cannot start build runner"

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

我目前正在使用 TeamCity 8.1.5 持续集成 iOS 应用程序。我将构建代理从 OS X Yosemite 更新到 OS X El Capitan 和 Xcode 7.2.1 (7C1002)。更新后构建失败并显示以下错误消息:

[Step 4/4] Failed to run build: Invalid plist file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiOSPlatformSupportCore.ideplugin/Contents/Resources/Device.xcspec
[Step 4/4] java.lang.AssertionError: Invalid plist file: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiOSPlatformSupportCore.ideplugin/Contents/Resources/Device.xcspec
at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:56)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:128)
at com.jetbrains.cidr.frameworks.SpecListHelper.doReadSpecs(SpecListHelper.java:36)
at com.jetbrains.cidr.frameworks.SpecListHelper.readSpecs(SpecListHelper.java:20)
at com.jetbrains.cidr.frameworks.ApplePlatform.readSpecs(ApplePlatform.java:142)
at com.jetbrains.cidr.frameworks.ApplePlatform.<init>(ApplePlatform.java:76)
at com.jetbrains.cidr.frameworks.AppleSdkManager.readPlatforms(AppleSdkManager.java:123)
at com.jetbrains.cidr.frameworks.AppleSdkManager.initComponent(AppleSdkManager.java:83)
at jetbrains.buildServer.xcode.AppCodeUtil.applyAdditionalInit(AppCodeUtil.java:63)
at jetbrains.buildServer.xcode.AppCodeCommonUtil.runWithAppCodeEnvironment(AppCodeCommonUtil.java:116)
at jetbrains.buildServer.agent.appCode.AppCodeBuildProcess.call(AppCodeBuildProcess.java:68)
at jetbrains.buildServer.agent.appCode.AppCodeBuildProcess.call(AppCodeBuildProcess.java:36)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.jetbrains.cidr.xcode.InvalidSpecException: Object 'Name' not found in {
Identifier = com.apple.build-system.native
Type = BuildSystem
BasedOn = embedded:com.apple.build-system.native
Properties = [{
Values = [1, 2, 1,2]
DisplayName = Targeted Device Family
DisplayValues = [iPhone, iPad, iPhone/iPad]
Type = Enumeration
Category = Deployment
Name = TARGETED_DEVICE_FAMILY
Description = The build system uses the selected device to set the correct value for the UIDeviceFamily key it adds to the target's Info.plist file.
Basic = YES
}, {
DisplayName = Enable Bitcode
Description = Activating this setting indicates that the target or project should generate bitcode during compilation for platforms and architectures which support it. For Archive builds, bitcode will be generated in the linked binary for submission to the app store. For other builds, the compiler and linker will check whether the code complies with the requirements for bitcode generation, but will not generate actual bitcode. [ENABLE_BITCODE]
Name = ENABLE_BITCODE
Type = Boolean
Category = BuildOptions
DefaultValue = NO
}]
}
at com.jetbrains.cidr.xcode.Dictionary.notNull(Dictionary.java:253)
at com.jetbrains.cidr.xcode.Dictionary.getNotNullString(Dictionary.java:162)
at com.jetbrains.cidr.frameworks.buildSystem.AppleBuildSystem.<init>(AppleBuildSystem.java:50)
at com.jetbrains.cidr.frameworks.ApplePlatform$5.create(ApplePlatform.java:145)
at com.jetbrains.cidr.frameworks.ApplePlatform$5.create(ApplePlatform.java:142)
at com.jetbrains.cidr.frameworks.SpecListHelper.addObject(SpecListHelper.java:49)
at com.jetbrains.cidr.frameworks.SpecListHelper.doReadSpecs(SpecListHelper.java:32)
... 13 more

最佳答案

解决方案是将 TeamCity 服务器更新为 latest version (撰写本文时为 9.1.6)。 Mac 上的构建代理也会自动更新,并且构建再次正常工作。

关于ios - TeamCity iOS 构建失败,出现 "Cannot start build runner",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35449148/

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