ios - Jenkins 构建中的未知断言失败
<p><p>我很茫然,我根本没有看到问题......
我们正在使用 Jenkins 构建脚本,这些脚本都运行良好,只有一个特定的
build 让我头疼。</p>
<blockquote>
<p>++ xcodebuild clean install -project /Volumes/Daten/Jenkins/workspace/HAGR/HAGR/HAGR.xcodeproj -sdk
iphoneos -configuration EnterpriseDistributionInHouse
'DSTROOT=/Volumes/Daten/deliverables/iOS/HAGR/1.0.2 (20130805.1)'
INSTALL_PATH=/EnterpriseDistributionInHouse
'DWARF_DSYM_FOLDER_PATH=/Volumes/Daten/deliverables/iOS/HAGR/1.0.2
(20130805.1)/EnterpriseDistributionInHouse' 'CODE_SIGN_IDENTITY=iPhone
Distribution: apploft GmbH' '' -showBuildSettings<br/>
++ cut -f2 -d=<br/>
++ sed 's/^ *//' 2013-08-05 14:49:29.003 xcodebuild DVTAssertions: ASSERTION FAILURE in
/SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-2110/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Target.subproj/PBXTarget.m:1407
Details:buildAction should be a non-empty string, but it's an empty
string Object: Method:<br/>
-dynamicallyComputedTargetBuildSettingsWithAction:configurationName: Thread: {name = (null), num = 1} Hints: None
Backtrace: 00x000000010a8a76b3 -[DVTAssertionHandler
handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:]
(in DVTFoundation) 10x000000010a8a74e4 _DVTAssertionFailureHandler
(in DVTFoundation) 20x000000010bab5cf9 -[PBXTarget
dynamicallyComputedTargetBuildSettingsWithAction:configurationName:]
(in DevToolsCore) 30x000000010bab63b8 -[PBXTarget
createPropertyExpansionContextWithBuildParameters:] (in DevToolsCore)
40x000000010bbd186e -[XCTargetDGSnapshot
initWithInformationFromTarget:withBuildParameters:] (in DevToolsCore)
50x000000010bbd5a7d -[XCNativeTargetDGSnapshot
initWithInformationFromTarget:withBuildParameters:] (in DevToolsCore)
60x000000010bac1633 -[PBXTarget
createDependencyGraphSnapshotWithTargetBuildParameters:] (in
DevToolsCore) 70x000000010babdace -[PBXTarget
propagateTargetSnapshotIfNeededWithCompletionBlock:] (in DevToolsCore)
80x000000010bac1379 -[PBXTarget
createDependenciesInTargetBuildContextIfNeeded] (in DevToolsCore) 9
0x000000010b0a0815 -
(in Xcode3Core)100x000000010b0a4ae1 -[Xcode3CommandLineBuildTool
run] (in Xcode3Core)110x000000010a81d9a6 (in xcodebuild)12
0x000000010a81d770 (in xcodebuild)130x000000000000000f</p>
</blockquote>
<p>究竟是什么问题(因为该命令正在处理其他
项目)?我尝试干净安装,删除所有版本,检查
目录权限....</p>
<p>感谢任何帮助。</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>终于找到原因是那句无辜的台词:</p>
<p>GmbH' '' -showBuildSettings</p>
<p>双引号 '' 是意外未设置的环境变量的残余
在其他情况下正确填写。</p>
<p>问题解决了。</p></p>
<p style="font-size: 20px;">关于ios -Jenkins 构建中的未知断言失败,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/18059649/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/18059649/
</a>
</p>
页:
[1]