Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/103.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 有时在CLI上运行xcode测试会返回;经理还没有准备好”;_Ios_Objective C_Xcode_Unit Testing_Continuous Integration - Fatal编程技术网

Ios 有时在CLI上运行xcode测试会返回;经理还没有准备好”;

Ios 有时在CLI上运行xcode测试会返回;经理还没有准备好”;,ios,objective-c,xcode,unit-testing,continuous-integration,Ios,Objective C,Xcode,Unit Testing,Continuous Integration,我通常使用以下命令在命令行上运行xcode单元测试: 清洁: xcodebuild -workspace appName.xcworkspace -scheme "Shared appName" -destination "platform=iOS Simulator,name=iPhone 5s,OS=8.1" clean 然后构建: xcodebuild -workspace appName.xcworkspace -scheme "Shared appName" -destination

我通常使用以下命令在命令行上运行xcode单元测试:

清洁:

xcodebuild -workspace appName.xcworkspace -scheme "Shared appName" -destination "platform=iOS Simulator,name=iPhone 5s,OS=8.1" clean
然后构建:

xcodebuild -workspace appName.xcworkspace -scheme "Shared appName" -destination "platform=iOS Simulator,name=iPhone 5s,OS=8.1" build
然后进行测试(干运行):

我有时会犯这样的错误:

2015-02-27 11:01:50.417 Registering for testmanagerd availability notify post.
2015-02-27 11:01:50.417 testmanagerd availability notify_get_state check indicated manager not ready, waiting for notify post.
2015-02-27 11:02:50.371 60s elapsed since launch without testing starting, sending logs to stderr

你知道如何防止这种情况发生吗?我假设testmanagerd是一个测试守护进程还是什么?在哪里可以找到相关文档?

此超时通常意味着您的mac速度太慢,运行模拟器所需的时间超出预期。你应该开始考虑买一台新机器。

我不认为你(在你写这个答案的时候)在SOHappens上为一台机器向我们提出一点是巧合。。。但是,只有在删除了DerivedData之后,才能进行第一次编译/测试。很烦人。你明白了吗?
2015-02-27 11:01:50.417 Registering for testmanagerd availability notify post.
2015-02-27 11:01:50.417 testmanagerd availability notify_get_state check indicated manager not ready, waiting for notify post.
2015-02-27 11:02:50.371 60s elapsed since launch without testing starting, sending logs to stderr