获取错误xcodebuild退出状态为6

时间:2016-02-22 21:55:19

标签: objective-c xcode xcode-server xcode-tools

运行一个测试机器人,该机器人返回此警告而不是创建可安装产品。任何人都知道这种状态意味着什么?

这是构建错误:

`xcodebuild[98753:3595809] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-9548.1/IDEFoundation/Distribution/IDEDistributionMethodStep.m:123
Details:  Assertion failed: contentPath
Object:   <IDEDistributionMethodStep>
Method:   +distributionMethodForSameAsArchive:contentPath:task:logAspect:
Thread:   <NSThread: 0x7fa7a9d157f0>{number = 1, name = main}
Hints: None
Backtrace:
  0  0x000000010a6dcacd -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1  0x000000010a6dc601 _DVTAssertionHandler (in DVTFoundation)
  2  0x000000010a6dc818 _DVTAssertionFailureHandler (in DVTFoundation)
  3  0x000000010a6dc77a _DVTAssertionFailureHandler (in DVTFoundation)
  4  0x000000010ac49f04 +[IDEDistributionMethodStep distributionMethodForSameAsArchive:contentPath:task:logAspect:] (in IDEFoundation)
  5  0x000000010ac49320 -[IDEDistributionMethodStep loadFromPropertyList:error:] (in IDEFoundation)
  6  0x000000010adb7f2f -[IDEDistributionDriver runWithDestinationPath:error:] (in IDEFoundation)
  7  0x000000010b3e417b -[Xcode3CommandLineBuildTool _distributeArchiveAndExit] (in Xcode3Core)
  8  0x000000010b3e7a78 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
  9  0x000000010a4a5931 (in xcodebuild)
 10  0x00007fff946d95ad start (in libdyld.dylib)`

1 个答案:

答案 0 :(得分:0)

我有同样的问题。我的应用程序链接到.framework,我的框架将SKIP_INSTALL构建设置设置为YES。将其更改为NO修复它。