ios - file was built for arm64 which is not the architecture being linked (x86_64) -


i building framework first use in ios simulator. error when importing main project:

file built arm64 not architecture being linked (x86_64)

here build info of framework: enter image description here

update:

i created universal framework using technique: https://medium.com/@syshen/create-an-ios-universal-framework-148eb130a46c i'm still getting error

update: results running file on binary:

hunterp$ file dinkle  dinkle: mach-o universal binary 2 architectures dinkle (for architecture x86_64):   mach-o 64-bit dynamically linked shared library x86_64 dinkle (for architecture arm64):    mach-o 64-bit dynamically linked shared library 

i incorrectly copying binary framework , using old 1 before changed universal.


Comments