2013-08-05 27 views
2

我不知所措,我根本没有看到问题... 我们正在使用Jenkins构建脚本,它们都运行良好,只有一个特定的 构建令我头疼。jenkins中的未知断言失败构建

++ xcodebuild联编干净安装-project /Volumes/Daten/Jenkins/workspace/HAGR/HAGR/HAGR.xcodeproj -sdk 的iPhoneOS - 构型EnterpriseDistributionInHouse “DSTROOT = /卷/回到名单Daten /交付/式IO/HAGR /1.0.2(20130805.1)” INSTALL_PATH =/EnterpriseDistributionInHouse 'DWARF_DSYM_FOLDER_PATH = /卷/回到名单Daten /交付/式IO/HAGR/1.0.2 (20130805.1)/ EnterpriseDistributionInHouse' 'CODE_SIGN_IDENTITY = iPhone 分布:apploft GmbH的' '' -showBuildSettings
++ cut -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:主题:{名称=(空),NUM = 1}提示:无 回溯:0 0x000000010a8a76b3 - [DVTAssertionHandler handleFailureInMethod:对象:fileName:lineNumber:messageFormat:arguments:] (在DVTFoundation中)1 0x000000010a8a74e4 _DVTAssertionFailureHandler (在DVTFoundation中)2 0x000000010bab5cf9 - [PBXTarget dynamicall yComputedTargetBuildSettingsWithAction: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 - [PBX目标 createDependenciesInTargetBuildContextIfNeeded](在DevToolsCore)9 0x000000010b0a0815 - [Xcode3CommandLineBuildTool _showBuildSettings] (在Xcode3Core)10 0x000000010b0a4ae1 - [Xcode3CommandLineBuildTool 运行(在Xcode3Core)11 0x000000010a81d9a6(在xcodebuild联编)12 0x000000010a81d770(在xcodebuild联编)13 0x000000000000000f

究竟是什么问题(因为该命令正在处理其他 项目)?我试过干净安装,删除所有内部版本,检查 目录权限....

任何帮助表示赞赏。

+0

那么我一直在看“xcode3”,它是一个非常过时的xcode版本。 –

+0

不能,其4.6.3 –

+0

井jenkins是由于某种原因试图用xcode 3构建。'xcodebuild -version'的输出是什么 –

回答

1

的终于找到了原因是无辜线:

有限公司”‘’-showBuildSettings

双引号‘’是一个意外取消环境变量 这是在其他情况下,填写正确的遗迹。

问题解决。

+0

令人惊讶的是我们有类似的问题,一个缺少双引号:) – JOM