iOS SDK for M1 processors

Some of our clients experienced difficulties with iOS SDK on M1 processors.
Parameters:

  • Swift 5.6.
  • XCode 13.4
  • Processor M1
  • React-Native

Error: module compiled with Swift 5.5.2 cannot be imported by the Swift 5.6 compiler

How to solve it

you have to enable "Open using Rosetta" for Xcode: Finder -> Application -> XCode -> Get Info -> Open using Rosetta

1051