I am using Xcode 3.2.1 in project, where Base SDK is iPhone Device 3.0 and iPhone OS Deployment Target is iPhone OS 2.0, in other words a backwards compatible application.
The problem is MapKit Framework. It's added as Weak linked library, but the app just does not link for "Device - 2.2.1" target. I have run out of ideas... What else can I do but mark the library as "weak" linked? It used to work originally, but not any more.
Here's part of command line, which looks just fine to me:
-framework Foundation -framework UIKit -framework CoreGraphics
-weak_framework CoreLocation -weak_framework MapKit
Error note:
ld: framework not found MapKit
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.0 failed with exit code 1