Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试在 XCTest 中运行测试用例时,我注意到 XCode 将始终首先激活应用程序。由于我的应用程序在初始化期间运行了很多东西(例如:检查新版本),因此我不希望它在调试测试用例时运行。
有没有办法在不激活应用程序的情况下运行 XCTest?
在Product下的 Xcode Menu Test中。这将只运行测试。