【发布时间】:2013-08-06 19:51:25
【问题描述】:
我很茫然,我根本没有看到问题...... 我们正在使用 Jenkins 构建脚本,这些脚本都运行良好,只有一个特定的 build 让我头疼。
++ xcodebuild clean install -project /Volumes/Datan/Jenkins/workspace/HAGR/HAGR/HAGR.xcodeproj -sdk iphoneos - 配置 EnterpriseDistributionInHouse 'DSTROOT=/Volumes/Datan/deliverables/iOS/HAGR/1.0.2 (20130805.1)' INSTALL_PATH=/EnterpriseDistributionInHouse 'DWARF_DSYM_FOLDER_PATH=/Volumes/Datan/deliverables/iOS/HAGR/1.0.2 (20130805.1)/EnterpriseDistributionInHouse''CODE_SIGN_IDENTITY=iPhone 分布:apploft GmbH' '' -showBuildSettings
++ 剪切 -f2 -d=
++ sed 's/^ *//' 2013-08-05 14:49:29.003 xcodebuild[64443:1207] [MT] DVTAssertions: 断言失败 /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-2110/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Target.subproj/PBXTarget.m:1407 详细信息: buildAction 应该是一个非空字符串,但它是一个空的 字符串对象:方法:
-dynamicallyComputedTargetBuildSettingsWithAction:configurationName: Thread: {name = (null), num = 1} 提示:无 回溯:0 0x000000010a8a76b3 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (在 DVTFoundation 中)1 0x000000010a8a74e4 _DVTAssertionFailureHandler (在 DVTFoundation 中)2 0x000000010bab5cf9 -[PBXTarget dynamicComputedTargetBuildSettingsWithAction:configurationName:] (在 DevToolsCore 中)3 0x000000010bab63b8 -[PBXTarget createPropertyExpansionContextWithBuildParameters:](在 DevToolsCore 中) 4 0x000000010bbd186e -[XCTargetDGSnapshot initWithInformationFromTarget:withBuildParameters:](在 DevToolsCore 中) 5 0x000000010bbd5a7d -[XCNativeTargetDGSnapshot initWithInformationFromTarget:withBuildParameters:](在 DevToolsCore 中) 6 0x000000010bac1633-[PBXTarget createDependencyGraphSnapshotWithTargetBuildParameters:](在 DevToolsCore) 7 0x000000010babdace -[PBXTarget propagateTargetSnapshotIfNeededWithCompletionBlock:](在 DevToolsCore 中) 8 0x000000010bac1379-[PBXTarget createDependenciesInTargetBuildContextIfNeeded](在 DevToolsCore 中)9 0x000000010b0a0815 -[Xcode3CommandLineBuildTool _showBuildSettings] (在 Xcode3Core 中)10 0x000000010b0a4ae1 -[Xcode3CommandLineBuildTool 运行](在 Xcode3Core 中)11 0x000000010a81d9a6(在 xcodebuild 中)12 0x000000010a81d770(在 xcodebuild 中)13 0x000000000000000f
究竟是什么问题(因为该命令正在处理其他 项目)?我尝试干净安装,删除所有版本,检查 目录权限....
感谢任何帮助。
【问题讨论】:
-
我经常看到“Xcode3”,这是一个非常过时的 xcode 版本。
-
那么 jenkins 出于某种原因尝试使用 xcode 3 构建。
xcodebuild -version的输出是什么 -
仍然是 4.6.3。系统上没有其他版本,我只是假设这个 XCode3 文本来自其他东西
-
我们也许您应该研究一下为什么该文本说明了它的作用。这可能会导致解决方案
标签: ios jenkins xcodebuild