[Mysql-cocoa-users] MySQL-Cocoa in Xcode?
Brought to you by:
sergecohen
|
From: Dave W. <dav...@ma...> - 2004-02-29 21:17:59
|
Sorry to Serge as I just e-mailed you directly - I just found this mailing list on the Source-Forge page. I'm trying to built a Cocoa application that will connect to a MySQL database over the Internet. I'd like to bundle the framework in with my application - however, after adding the framework to my project in Xcode, I immediately try to build the project (before starting any other work at all - this is a blank Cocoa application with only the framework added). When I do so, I get the following error: ----------- dyld: /Users/davidwinter/Projects/cbn_cw/build/cbn_cw.app/Contents/MacOS/ cbn_cw can't open library: @executable_path/../Frameworks/SMySQL_bundled.framework/Versions/A/ SMySQL_bundled (No such file or directory, errno = 2) cbn_cw has exited due to signal 5 (SIGTRAP). ----------- I noticed on the mailing list archive that someone else had this problem - but I didn't see a clear resolve for it. Is it me? I don't have MySQL installed - as I'd like to connect to a database over the Internet - not on my local machine. So I don't think that's the problem. Am I adding the framework correctly in Xcode? I go to Project > Add Frameworks. I then use the Default settings. The framework itself I have copied into my project directory. I'm lost :( And I'm new to Cocoa - so that probably makes things more difficult. I usually work with PHP and MySQL for web applications. However, I'd really like to make a front-end in Cocoa for one of my web applications. Any help anyone can give will be much appreciated. Especially if someone has had this problem and found a way to get it working. Thanks. Dave Winter. |