gpt4 book ai didi

ios - 每次运行测试时,Xcode 11 模拟器都会抛出警告消息

转载 作者:行者123 更新时间:2023-12-02 01:21:09 25 4
gpt4 key购买 nike

使用 Xcode 11 和 iOS 13/12 模拟器运行任何 XCTest 都会引发以下警告消息:

xcodebuild[95489:2342933] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-14802/IDEiOSSupportCore/DVTiPhoneSimulator.m:1890

Details: [DVTiPhoneSimulator -primaryInstrumentsServer was called from the main thread

Object:

Method: -primaryInstrumentsServerWithError:

Thread: {number = 1, name = main}

Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.

使用 xcodebuild build-for-testing 和 xcodebuild test-without-building 并行运行测试(或单个测试)时,此问题经常发生。有人遇到过这个问题并找到解决办法吗?

最佳答案

链接到答案来源 https://forums.developer.apple.com/thread/123020#392637看来这个问题会在 iOS 13.2 上得到解决

关于ios - 每次运行测试时,Xcode 11 模拟器都会抛出警告消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58069679/

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