简体   繁体   中英

Swift Universal Framework not working in other app project

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"

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM