[英]Have an iOS Simulator libSystem issue to run GH-Unit at command line
謝謝您看到這個問題。
我用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.
如果您知道解決方法,請告訴我。 謝謝。
遇到同樣的問題,像這樣運行
GHUNIT_CLI=1 xcodebuild ONLY_ACTIVE_ARCH=NO -workspace <yourworkspace> -scheme <scheme> -configuration Debug -sdk iphonesimulator build
解決了問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.