xcode sqlite3 libsqlite.dylib

后端 未结 2 544
时光说笑
时光说笑 2021-01-16 07:49

I have an error in project, but I d\'nt know were is the problem. this is my error after compilation.

ld warning:

in /install/Platforms/iP

2条回答
  •  野的像风
    2021-01-16 08:30

    Xcode 4 does not build PPC architecture (nor does it work for any OS prior to 10.6).

    You'll need to make sure that your program and the libsqlite3.dylib library are built for the same architecture. I suspect the library is built for x86.

    As others have said use the "file" command to determine what architectures a file was built for.

提交回复
热议问题