Error: “File was built for archive which is not the architecture being linked (armv7s)”
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have built my own Static C++ Library, which is built with the settings: Architectures: armv7, armv7s Build Active Architectures Only: No Support Platforms: iOS Valid Architectures: armv7, armv7s The library project builds well and I got the .a file (I have cleaned the build folder and built the project again to be sure my settings were effective). I have added the library (.a file) to my iOS project, but the project won't build even though I have set the exact same settings on the iOS project: Architectures: armv7s, armv7 Build Active