1

感谢您看到这个问题。

我用 GHUnit 编写了单元测试。现在我正在尝试在终端上构建测试以连接 Travis CI,并面临一个问题。

我基本上遵循了
http://gabriel.github.io/gh-unit/docs/appledoc_include/guide_command_line.html
并稍微自定义了一个命令。

这是自定义命令
GHUNIT_CLI=1 xcodebuild ONLY_ACTIVE_ARCH=NO -target UnitTest -configuration Debug -sdk iphonesimulator build

之后开始一些编译,但最后我得到了下面的错误。
The iOS Simulator libSystem was initialized out of order. This is most often caused by running host executables or inserting host dylibs. In the future, this will cause an abort.

如果您知道解决方法,请告诉我。谢谢你。

4

1 回答 1

0

有同样的问题,这样运行

GHUNIT_CLI=1 xcodebuild ONLY_ACTIVE_ARCH=NO -workspace <yourworkspace> -scheme <scheme> -configuration Debug -sdk iphonesimulator build

解决了问题

于 2014-08-04T05:41:37.277 回答