Swift Universal Framework not working in other app project

483 views Asked by At

I created Swift Universal Framework and added external library via pod , but when i used universal framework in other app project, It gives diffrent - diffrent error while compile the project like-:

  1. "Missing required module 'Example' framework"
  2. "Undefined symbols for architecture x86_64"
1

There are 1 answers

2
Ankit On

The error specifies that the symbols are missing for "architecture x86_64". This could be caused when you tried to build for the Simulator and framework is not build for simulator. Try building/compile the code for iOS device.

To support all the architecture, update the Framework build target. Ref: https://medium.com/swiftindia/build-a-custom-universal-framework-on-ios-swift-549c084de7c8