• 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 sdk 3.0 -> MKMapView linker error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhone sdk 3.0 -> MKMapView linker error


  • Subject: iPhone sdk 3.0 -> MKMapView linker error
  • From: sathish kumar <email@hidden>
  • Date: Sun, 12 Jul 2009 22:37:57 +0530

 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. 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
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?
Thanks and Regards,
Sathish Kumar
_______________________________________________

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: Capturing active state
  • Next by Date: CAKeyframeAnimation problem
  • Previous by thread: Re: Capturing active state
  • Next by thread: CAKeyframeAnimation problem
  • Index(es):
    • Date
    • Thread