Undefined symbols for architecture i386 - Lipo error?

后端 未结 1 465
夕颜
夕颜 2021-01-23 09:01

I have compiled libclang.a for i386 and armv7. I\'m able to build my ios app with i386 libclang.so but it can\'t be started because of \".dylib not found\" error. Then i decided

相关标签:
1条回答
  • 2021-01-23 09:49

    I had to add all libLLVM*.a files in the project and the project was compiled successfully. But i have runtime error now:

    dyld: Library not loaded: @rpath/libclang.dylib
      Referenced from: /Users/asmirnov/Library/Application Support/iPhone Simulator/7.1/Applications/99583E4A-2848-4D44-A3DC-88218D911B46/StaticLibraryUsage2.app/StaticLibraryUsage2
      Reason: image not found
    

    I'm not sure if it's related problem or i've solved that problem and now having another problem.

    0 讨论(0)
提交回复
热议问题