Re: Why won't iOS app using MKMapView compile?
Re: Why won't iOS app using MKMapView compile?
- Subject: Re: Why won't iOS app using MKMapView compile?
- From: G S <email@hidden>
- Date: Fri, 08 Jul 2011 16:27:08 -0700
First of all, thanks a lot for the responses.
I have compiled a couple of examples, and they do build. That makes
this all the more perplexing. The MapCallouts tutorial is one that I
tried.
In their file that uses MKMapView, these are the import statements:
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
Now the import statements in my file that uses MKMapView:
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
Yep, identical.
Now let's take a look at the included frameworks:
http://farm7.static.flickr.com/6136/5917058068_14504106f4_z.jpg
I link in everything they do.
I refer to math.h in one file in my project (which works, and is not
included in the problematic file). If I comment out that inclusion,
compilation still fails with the same complaint.
I've tried removing and re-adding the frameworks to the project (most
of us have probably seen this fix things before). I cleaned the
project and restarted Xcode. Still no dice.
Harumph.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden