unsupported Swift architecture Xcode 14

Hey how's it going? I'm having an error compiling with Xcode 14, has anyone passed it on?

unsupported Swift architecture

Thanks

- ERROR | xcodebuild:  /Users/distiller/Library/Developer/Xcode/DerivedData/App-ggoigvfouoeofbfpalmgytlqavzj/Build/Products/Release-iphonesimulator/XPTOModule/XPTOModule.framework/Headers/XPTOModule-Swift.h:328:2: error: unsupported Swift architecture
    - NOTE  | xcodebuild:  XPTOModule/XPTOModule/LibraryComponents/RestClient/XPTOModule.h:10:9: fatal error: could not build module 'XPTOModule'

I've got the same problem which never happened in xcode13. waiting for solution.

Hi , can you find the answer? , i had the same problem

unsupported Swift architecture Xcode 14
 
 
Q