XCode error: unable to load standard library for target arm64

Just bought new Macbook Air M1 and can not launch my app, build failed and have XCode error:
Code Block
unable to load standard library for target 'arm64-apple-ios8.0'. failed to build module 'SciChart' from its module interface; the compiler that produced it, 'Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)

And if I build on usual intel model Mackbook Pro 2016, no have any errors. Please can you help me.
Please can you tell me, did it help to you? Deleted $(VALID_ARCHS)? Where did you find it? In Podfile.lock? I have this values only in TrustKit. I tried to delete it but it does not work in my case (((
I have found the decision, build the app from Xcode, opened by rosetta: open Xcode through Rosetta - Right click on Xcode in applications folder -> Get Info -> set Open with Rosetta to true
XCode error: unable to load standard library for target arm64
 
 
Q