• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[iPhone] MapKit link irregularity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iPhone] MapKit link irregularity


  • Subject: [iPhone] MapKit link irregularity
  • From: David Rowland <email@hidden>
  • Date: Thu, 12 Aug 2010 17:48:14 -0700

I'm putting MapKit into my iPhone/iPad app, and the link stage is giving me an error I don't understand. When I direct it to the Simulator all is well. When I choose the Device I get a link error,

"_OBJC_CLASS_$_MKMapView", referenced from:
objc-class-ref-to-MKMapView in MapViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status



The offending code is this line,

    mapView = [[MKMapView alloc] initWithFrame:screenRect];

If I remove it, there is no link error (and no map either, of course).

I'm sure I am using compatible SDKs, and the Simulator links and runs as I expect.  Does anyone recognize this?

David

_______________________________________________

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

  • Prev by Date: Re: Does autoreleased NSURLConnection object guarantee job completion?
  • Next by Date: Re: who stole my UIView?
  • Previous by thread: Re: Does autoreleased NSURLConnection object guarantee job completion?
  • Next by thread: CGColorSpaceCreateWithName on iOS
  • Index(es):
    • Date
    • Thread