I\'ve created a Swift framework project for util/extensions that compiles and copies a .framework file to a dedicated location on my system. I want to be able t
I had this exact same error for another reason. The iOS deployment version for the main app was 10.0, and it was 11.0 on the framework. As 11.0 allows only 64 bits, the framework was compiled for 64 bits only. And when the app wanted to link with the framework in 32 bits, I had this warning :
file was built for arm64 which is not the architecture being linked (armv7)
Followed by a linker error because of course lot of symbols from the missing framework were not found.
So changing the deployment target to iOS 10.0 on the framework fixed it. Changing the deployment target of the app to iOS 11.0 would probably fix it too (generating a 64 bits only binary).