Error: “File was built for archive which is not the architecture being linked (armv7s)”

后端 未结 7 522
盖世英雄少女心
盖世英雄少女心 2020-12-23 11:04

I have built my own Static C++ Library, which is built with the settings:

  • Architectures: armv7, armv7s
  • Build Active Architectures Only: No
  • Su
7条回答
  •  时光取名叫无心
    2020-12-23 11:39

    I have got the exact same error when with cocapods : For me the solution was to have two differents Build Active Architecture for target and pods.

    App Target :

    Build Active Architectures Only  **Yes**
    

    pods Target

    Build Active Architectures Only  **No**
    

提交回复
热议问题