【发布时间】:2021-11-21 17:39:37
【问题描述】:
构建完成后没有问题,运行 Xcode 12.4 项目的测试失败并显示消息:
Xkalq.app (10164) encountered an error (
Early unexpected exit,
operation never finished bootstrapping - no restart will be attempted. (
Underlying Error: The test runner exited with code -1 before checking in.
If you believe this error represents a bug,
please attach the result bundle at /Users/admin/Library/Developer/Xcode/DerivedData/MyApp-gczfeuobxydqjrfbdhwzpqjsseyr/Logs/Test/Test-MyApp-2021.09.29_23-12-38-+0430.xcresult
)
)
上面的消息是什么意思?!
(括号间距是我做的,为了便于阅读)
关于我的系统: macOS Catalina 版本 10.15.7 (19H2)
MacBook Pro(13 英寸,2010 年中)
处理器 2.4 GHz Intel Core 2 Duo
内存 4 GB 1067 MHz DDR3
显卡 NVIDIA GeForce 320M 256 MB
【问题讨论】:
标签: xcode unit-testing xctest