• 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
Re: MKMapView Linker error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MKMapView Linker error


  • Subject: Re: MKMapView Linker error
  • From: Luke Hiesterman <email@hidden>
  • Date: Sun, 12 Jul 2009 23:33:55 -0700

MapKit is new to 3.0 so trying to use it or build with it on 2.x will fail. 

Luke

Sent from my iPhone.

On Jul 12, 2009, at 10:53 PM, sathish kumar <email@hidden> wrote:

Hi,

 

I have upgraded my iphone sdk from 2.2.1 to 3.0. I downloaded a sample code for MapKit and was able to run it successfully. But when I tried to write my own program I faced linker errors.

 

The error is not thrown when I import MapKit/MapKit.h or when I declare a variable as MKMapView *mapView; I get the error when I say [[MKMapView alloc]initWithFrame:frame];

 

I have added Mapkit framework in my project in XCode. I am able to see it under Frameworks. When I expand it I am able to see the header files as well. I added it from /Developer/Platforms/iphone.OS.Platform/Developer/SDKs/iphoneOS3.0.sdk/System/Library/Framework/Mapkit.framework.

I also observed that the other frameworks that are present under “Frameworks” group have some small lock sort of icon. But the MapKit.framework doesn't have it.

 

Can someone tell me if I have added the Mapkit.framework from the wrong place? If so from which path should I add it?

 

Is this related to my "relative" path settings and the Base SDK setting? Where is this set?

 

Regards,

Sathish

Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >MKMapView Linker error (From: sathish kumar <email@hidden>)

  • Prev by Date: MKMapView Linker error
  • Next by Date: Pascal syntax highlighting in XCode - some problems
  • Previous by thread: MKMapView Linker error
  • Next by thread: Pascal syntax highlighting in XCode - some problems
  • Index(es):
    • Date
    • Thread