Xcode reporting an error about Moya request, which is allowed in building

I was trying a tutorial on Moya, using Xcode 14 and Swift 5. Like the image below, a direct reference to the case .comics instead of Marvel.comics was reported an error by the editor, but the building was all right. How can I solve this?

Answered by JohnKera in 735612022

Xcode updated to 14.1 then problem solved.

Accepted Answer

Xcode updated to 14.1 then problem solved.

Xcode reporting an error about Moya request, which is allowed in building
 
 
Q