On 8/5/09 17:48 , "Jimmy Verner" <jver...@vernerlegal.com> wrote:
> A developer built an iPhone app for me. I am exploring using it as a > template for another app. The data file is called > libsqlite3.0.dylib. When I try to open the file, I receive this > message: > > /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/ > usr/lib/libsqlite3.dylib ; exit; > [76-209-121-92:~] jimmyverner% /Developer/Platforms/iPhoneOS.platform/ > Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/libsqlite3.dylib ; exit; > /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/ > usr/lib/libsqlite3.dylib: Bad CPU type in executable. > logout > [Process completed] > > How do I open this file? > > Running OS X 10.5.7, Xcode 3.1.3. > A dylib file is not a data file, but a dynamic library, similar to a .dll file under Windows. It must be linked against in you Xcode project. The path you give suggests that dynamic library is coming with the standard iPhone SDK. How did you try to "open" it, as you said? If indeed you need to open the data (ie database) file, then you need another file, possibly with a .db extension. Jean-Denis _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users