我正在尝试编译一个在 Xcode 4(用于 Snow Leopard)中使用 SQlite 的 iOS 应用程序,但出现以下错误 -
error: /Apps/Cocktails/libsqlite3.dylib: No such file or directory
我将文件 libsqlite3.dylib 复制到 Xcode 项目中,但错误不会消失。如何解决错误?
编辑- 这是完整的错误日志
CpResource libsqlite3.0.dylib /Users/ashishagarwal/Library/Developer/Xcode/DerivedData/Cocktails-gzqdmwrvzqciekgjzxnriugcxwwm/Build/Products/Debug-iphonesimulator/Cocktails.app/libsqlite3.0.dylib
cd /Apps/Cocktails
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Apps/Cocktails/libsqlite3.0.dylib /Users/ashishagarwal/Library/Developer/Xcode/DerivedData/Cocktails-gzqdmwrvzqciekgjzxnriugcxwwm/Build/Products/Debug-iphonesimulator/Cocktails.app
error: /Apps/Cocktails/libsqlite3.dylib: No such file or directory