route-me won't compile in xCode 4

雨燕双飞 提交于 2020-02-05 05:17:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!