iPhone library: file is not of required architecture

前端 未结 3 1149
囚心锁ツ
囚心锁ツ 2021-01-22 14:43

I have searched for hours however I still have no clue what is wrong with my configuration. My project uses a self-written libray (myLib). This library is compiled to work

3条回答
  •  梦毁少年i
    2021-01-22 15:13

    You need to add both .a files,the one built for the device (build/$config-iphoneos)and the one built for the sim (build/$config-iphonesimulator) to the new project. Make sure you name them differently before dropping them in. This is how admob and similar offering ship their static libs.

提交回复
热议问题