Xcode使用GHUnit命令行失败,退出代码为139

时间:2014-11-13 10:28:47

标签: ios xcode gh-unit

我使用GHUnit创建一个项目。但是,当我使用GHUnit make test命令执行时,会发生如下错误:

Running: "/Users/gongtao/Library/Developer/Xcode/DerivedData/MicIOSHelper-eqvmgnulwgjftjfnkcrzkpwkyefw/Build/Products/Debug-iphonesimulator/MicIOSHelper.app/MicIOSHelper" -RegisterForSystemEvents
RunTests.sh: line 50:  8604 Segmentation fault: 11  "/Users/gongtao/Library/Developer/Xcode/DerivedData/MicIOSHelper-eqvmgnulwgjftjfnkcrzkpwkyefw/Build/Products/Debug-iphonesimulator/MicIOSHelper.app/MicIOSHelper" -RegisterForSystemEvents
Command /bin/sh failed with exit code 139

** BUILD FAILED **

The following build commands failed:
    PhaseScriptExecution Run\ Script /Users/gongtao/Library/Developer/Xcode/DerivedData/MicIOSHelper-eqvmgnulwgjftjfnkcrzkpwkyefw/Build/Intermediates/MicIOSHelper.build/Debug-iphonesimulator/MicIOSHelper.build/Script-42D16A2D1A1476C3007976D9.sh
(1 failure)
make: *** [test] Error 65

我遵循以下准则:GHUnit Running From Command Line

makefile是这样的:

clean:
    -rm -rf build/*
test:
    GHUNIT_CLI=1 xcodebuild -target Tests -configuration Debug -sdk iphonesimulator build

我的项目名称是'MicIOSHelper'。

0 个答案:

没有答案