Swift Compiler Error Xcode: Using bridging headers with module interfaces is unsupported

Swift Compiler Error (Xcode): Using bridging headers with module interfaces is unsupported
Swift Compiler Error (Xcode): Using bridging headers with module interfaces is unsupported

Problem Statement

Swift Compiler Error (Xcode): Using bridging headers with module interfaces is unsupported. This issues occurs while building IOS app either from Xcode or VS Code. The reason behind this failure is misconfiguration in Build Options. This can be occur in newly created project or by adding any plugin or external resource into your Flutter project. Once you add new plugin or external code then you have to install the pods which causes this.

Solution

Steps

  • Select “Runner” root project directory
  • Under Targets Select “Runner”
  • Go to “Build Settings” tab scroll down to “Build Options”
  • Set “Build Libraries for Distribution” to “No”.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *