Reputation: 113
I was working on my app, and when I ran it, that thing appears weirdly:
(I wanted to link images, but I don't already have 10 of reputation...)
"#import < MapKit/MapKit.h > Could not build module 'MapKit'"
Before, I didn't had that problem (I precise that I linked correctly the framework and added it to my Frameworks folder), and it appears directly a few minutes ago. Does anyone could give me some help ?
Upvotes: 0
Views: 1067
Reputation: 5201
change In target setting the "Allow Non-modular Includes in Framework modules" setting to YES
Upvotes: 1
Reputation: 1
I think you need to go the app -- General -- Linked Frameworks and Libraries to add the MapKit.framework first.
Upvotes: 0