0
當鏈接錯誤,爲什麼我對這個鏈接錯誤:iPhone - 使用常量
- (void) reverseGeocoder:(MKReverseGeocoder *)geocoder didFailWithError:(NSError *)error {
if ([[error domain] isEqualToString:MKErrorDomain] && [error code] == MKErrorPlacemarkNotFound) {
Do things
}
}
Undefined symbols for architecture i386:
"_MKErrorDomain", referenced from:
-[MapController reverseGeocoder:didFailWithError:] in MapController.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
MapKit框架包括在內。 MapKit/MapKit.h已導入。 一切工作正常與MapKit調用時,我沒有那些行...
['可能有關'](http://stackoverflow.com/questions/5494383/linker-cannot-find-mkerrordomain) –