已请求但未找到带有标识符 Xcode.IDEFoundation.IDEResultKitSerializationConverter 的扩展点

Mik*_*key 9 testing xcode ios

执行

xcrun xccov view --archive --file #{file_path} #{xcresult_path} > result.txt
Run Code Online (Sandbox Code Playgroud)

控制台日志:

2020-09-17 15:33:01.346 xccov[80302:9272810] Requested but did not find extension point with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverter
2020-09-17 15:33:01.396 xccov[80302:9272810] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-17198/DVTFoundation/DocumentLocations/DVTDocumentLocation.m:277
Details: DVTDocumentLocation: Failed to find requested class with name Xcode3ProjectDocumentLocation (or isn't a subclass of DVTDocumentLocation). Falling back to DVTDocumentLocation.
Object:  <DVTDocumentLocation>
Method:  +deserializedDocumentLocationForClassName:stringRepresentation:error:
Thread:  <NSThread: 0x7fd8d7e177b0>{number = 1, name = main}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2020-09-17 15:33:01.396 xccov[80302:9272810] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-17198/DVTFoundation/DocumentLocations/DVTDocumentLocation.m:277
Details: DVTDocumentLocation: Failed to find requested class with name Xcode3ProjectDocumentLocation (or isn't a subclass of DVTDocumentLocation). Falling back to DVTDocumentLocation

......
Run Code Online (Sandbox Code Playgroud)

虽然结果是正确的,但是如何解决这些警告呢?

谁能帮我?非常感谢!

小智 0

这为我解决了这个问题:

sudo xcode-select -s /Library/Developer/CommandLineTools
Run Code Online (Sandbox Code Playgroud)

如果您获得无效目录,请尝试安装命令行工具

xcode-select --install
Run Code Online (Sandbox Code Playgroud)