Lipo Error!! can't open input file

后端 未结 21 2150
北海茫月
北海茫月 2020-12-14 14:46

My application was working perfectly fine, then I started integrating SDK for push notification and stop the integration in between. I even deleted the SDK from my project a

21条回答
  •  离开以前
    2020-12-14 15:08

    For me, this occurred because my main executable and a library I was statically linking with had different settings in Build Settings > Architectures. The library was set to only "Standard architectures" but the main exe was set to "Standard architectures (including 64-bit)."

    I think what was happening was that when the build process went to link everything, it found it was missing the 64-bit versions of the libraries, causing this error.

    Setting them all to the same value (either with or without 64-bit) resolved the issue for me.

提交回复
热议问题