问题
I'm trying to get route-me offline maps to compile in xCode 4. They were fine in xCode 3.
I believe my issue is with architecture settings. Looking at the following post, it looks like I should change proj4 to be armv6 only and leave the main project and mapview at standard (v6 & v7).
However, I still get the following errors:
Undefined symbols for architecture armv6: "_OBJC_CLASS_$_RMMarker", referenced from: objc-class-ref in OSMapViewController.o "_OBJC_CLASS_$_RMDBMapSource", referenced from: objc-class-ref in OSMapViewController.o "_OBJC_CLASS_$_RMMapContents", referenced from: objc-class-ref in OSMapViewController.o ld: symbol(s) not found for architecture armv6 collect2: ld returned 1 exit status
Any help would be warmly welcomed.
Chris.
回答1:
It seems to be a bug in XCode. I downloaded xcode 4.0.2 and it compiles and works without any error or warnings!!
Update your xcode.
来源:https://stackoverflow.com/questions/5627255/route-me-wont-compile-in-xcode-4