SQLite - running on Device
Question
FMDB runs great in the simulator, but I get the following errors when I try to run it on the device.
"_sqlite3_step", referenced from:
-[FMResultSet next] in FMResultSet.o
-[FMDatabase executeUpdate:arguments:] in FMDatabase.o
"_sqlite3_column_name", referenced from:
-[FMResultSet setupColumnNames] in FMResultSet.o
-[FMResultSet kvcMagic:] in FMResultSet.o
This question is similar to sqlite question here, however, I don't know how to add the fix in xcode or if these are similar problems. How do I fix it so it runs on the device? Thanks
Solution
Fixed by checking and re-adding path to sqlite library.
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/libsqlite3.dylib
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow