Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 20, 2012, 11:00 PM   #1
redrobin
macrumors newbie
 
Join Date: Apr 2012
libsqlite3.0 is missing

Hi- I've been working with sqlite and suddenly the libsqlite3.0.dylib file is gone from Xcode 4.3.1. When I try to link to it under Target/Build Phases/Link Binary/+ its not there. It just vanished. When I compile my project I get the Apple Mach-O-Linker Error - library not found for -lsqlite3.0 and the file is showing on the left side under the Project navigator, but its highlighted in red.

Tried creating a brand new project and its still not showing up in the Target/Build Phases/Link Binary With Libraries section. The only thing I've changed was my Bundle ID in my info.plist file, which I had to do in order reserve a name for my app in the app store. Could this have caused the library to disappear, or is something else strange going on?

thanks!
Rich
redrobin is offline   0 Reply With Quote
Old Apr 21, 2012, 04:17 PM   #2
PhoneyDeveloper
macrumors 68020
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
You should probably link to libsqlite3.dylib but I think both should be available.

What are your BaseSDK and iOS Deployment target?
PhoneyDeveloper is offline   0 Reply With Quote
Old Apr 21, 2012, 04:55 PM   #3
redrobin
Thread Starter
macrumors newbie
 
Join Date: Apr 2012
Base SDK is Latest iOS (iOS 5.1) and Deployment Target is 5.1.

Neither libsqlite3.dylib nor libsqlite3.0.dylib are displayed for selection. Attached is a screenshot.

Incidentally, libsqlite3 has never been listed for me in Xcode 4.3.1. I always had libsqlite3.0 until now. I wonder if this has to do with my Architecture settings. Currently its set to "Standard (armv7)" and under Valid Architectures i has "armv6 armv7".

I also checked my Framework Search Paths since others have reported having them auto-populated with strings that cause problems...however mine are totally blank so that's not causing it.

Any other ideas?
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-04-21 at 4.48.40 PM.png
Views:	4
Size:	47.1 KB
ID:	336786  
redrobin is offline   0 Reply With Quote
Old Apr 22, 2012, 09:31 AM   #4
redrobin
Thread Starter
macrumors newbie
 
Join Date: Apr 2012
Fixed it. Turns out I mistakenly deleted it. If anyone has this issue, you can go to the Trash folder on your iMac, right click on the file, and click "Put Back". It will put the libraries back in their proper place.

redrobin is offline   1 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:14 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC