Today I solved this error on our app for library 'CodableWrappers' and this solved my problem:
close XCode
open Finder app and show there "Applications"
right click on icon Xcode and click on "Get info" (or something similar)
there is checkbox "Open with Rosseta" (or something similar). Select it
run Xcode again and try to build
I hope it help you.
Topic:
Programming Languages
SubTopic:
Swift
Tags: