gpt4 book ai didi

ios - Xcode 6.1 和 Xctool 在运行测试时失败

转载 作者:行者123 更新时间:2023-11-29 12:24:27 26 4
gpt4 key购买 nike

我已经进行了工作测试,但是当我尝试测试它们时,它们在预制模拟器上失败了。我试图用 xctool 构建。我在 Jenkins 中运行我的节点通过 jnlp 连接,我也尝试直接在服务器上构建它,但什么也没有。如何解决?Xcode 6.1我尝试的构建命令:

1)iphone 5 的命令:

xctool -scheme QA -sdk iphonesimulator -destination 'name=iPhone 5'  test

此处输出:

run-test QVCTests.xctest (iphonesimulator8.2, iPhone 5, application-test)
[Info] Installing 'com.qvc.iphoneapp' ...2015-04-16 14:43:56.315 xctool[12732:2a07] [MT] iPhoneSimulator: Could not launch simulator: -600
[Warning] Tried to install the test host app 'com.qq.iphoneapp' but failed. (287 ms)
[Info] Preparing test environment failed; will retry 2 more times (0 ms)
[Info] Shut down iOS Simulator... (0 ms)
[Info] Stopped any existing iOS simulator jobs to get a fresh simulator. (15 ms)
[Info] Reset iOS simulator content and settings at path "..../Devices/260A25AD-4160-42A2-AC06-7F6A069093AE/data" (4089 ms)
[Info] Installing 'com.qvc.iphoneapp' ...2015-04-16 14:44:01.540 xctool[12732:2a07] [MT] iPhoneSimulator: Could not launch simulator: -600
[Warning] Tried to install the test host app 'com.qq.iphoneapp' but failed. (11 ms)
[Info] Preparing test environment failed; will retry 1 more time (0 ms)
[Info] Shut down iOS Simulator... (0 ms)
[Info] Stopped any existing iOS simulator jobs to get a fresh simulator. (14 ms)
[Info] Reset iOS simulator content and settings at path "../Devices/260A25AD-4160-42A2-AC06-7F6A069093AE/data" (3621 ms)
[Info] Installing 'com.qq.iphoneapp' ...2015-04-16 14:44:06.191 xctool[12732:2a07] [MT] iPhoneSimulator: Could not launch simulator: -600
[Warning] Tried to install the test host app 'com.qq.iphoneapp' but failed. (12 ms)

2)命令:

xcodebuild -scheme QA -sdk iphonesimulator -destination 'name=iPhone 5' test

此处输出:

xcodebuild[12769:4407]  iPhoneSimulator: Could not launch simulator: -600

3)命令:

 xctool -scheme QA -sdk iphonesimulator8.2 -destination 'platform=iOS Simulator,name=iPhone 6' -workspace project.xcworkspace -configuration Acceptance test

此处输出:

Failed to query the list of test cases in the test bundle: 2015-04-16 ...Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/sim: No simulator devices appear to be running.  Setting data directories to /var/empty.
sim[7634:303] DYLD_INSERT_LIBRARIES contains possible bad values. Caller beware: /usr/local/Cellar/xctool/HEAD/libexec/lib/otest-query-lib-ios.dylib

生成子进程时出错:可执行文件中的 CPU 类型错误

4)命令

xcodebuild -scheme QA -sdk iphonesimulator -destination 'name=iPhone 6' test

此处输出:

 iPhoneSimulator: Timed out waiting 120 seconds for simulator to boot, current state is 1.

最佳答案

对我来说,只需重新启动 Mac 即可解决

Could not launch simulator: -600

错误。

关于ios - Xcode 6.1 和 Xctool 在运行测试时失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29673999/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com