Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.2.2 compiler or Bridging Headers is unsupported

Hi Team,

I facing a problem with building my app, After update into the latest version Xcode 13.4, I had a few problems which were successfully solved. However one of them stopped me for a few hours. The problem is with Swift Compiler or Bridging Headers is unsupported, I really don't know what causes problems.

On several forums I often read that is important to set:

Build Settings > Build Options > Build Libraries for Distribution = YES

If I set it  ‘YES’ I getting - error: using bridging headers with module interfaces is unsupported

If I set it  ‘NO’ I getting - error: module compiled with Swift 5.0.1 cannot be imported by the Swift 5.2.2 compiler, for some framework or classes.

Can you please guide me, what should I do to resolve this issue ?

Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.2.2 compiler or Bridging Headers is unsupported
 
 
Q