Why do I get iOS linker errors with my static libraries?

  1. Open ios/YourAppName.xcodeproj in Xcode
  2. Right-click on Your App Name in the Project Navigator on the left, and click New Fileā€¦
  3. Create a single empty Swift file to the project (make sure that Your App Name target is selected when adding)
  4. when Xcode asks, press Create Bridging Header and do not remove Swift file then.
    re-run your build.

This should fix the problem

Leave a Comment