与iPhone开发有关的伏都教永远不会令我惊叹。这里是最新的十六进制文件,已经传递给我。xCode要求已经存在的符号
我正在开发一个使用routeMe库来显示地图的应用程序。我正在测试模拟器中的东西,一切都很好。该应用程序还使用iPhone上的GPS功能,因此我决定将其插入设备中并漫步以查看它产生的数据类型。
编译器抱怨说它无法找到位于我的模拟器构建目录中的routeMe库,所以我认为我必须以某种方式加入routeMe。我删除routeMe,并通过嵌入指南中的所有步骤来恢复并运行(我希望)。
现在xCode正在要求一堆已经存在的圆括号。例如,该行:
-(void) centerLatLong: (CLLocationCoordinate2D) point animate: (BOOL) animate;
赚取错误:... RMTiledLayerController.h:59:错误:预期 ')' 前 'CLLocationCoordinate2D'
行对我来说很好的Xcode!这是怎么回事?
下面是我得到的所有错误和警告的完整列表,其中一个会导致问题吗?我没有以任何方式编写或更改编译器所抱怨的任何类,并且两小时前模拟器上的所有编译都很好。我真的很难过。
/用户
s/timothybowen/Documents/src/thetrailbehind/TrailTracker/lib/routeMe/MapView/Map/RMTiledLayerController.h:59: error: expected ')' before 'CLLocationCoordinate2D'
/Users/timothybowen/Documents/src/thetrailbehind/TrailTracker/lib/routeMe/MapView/Map/RMTiledLayerController.m:46: warning: no '-tileProjection' method found
/Users/timothybowen/Documents/src/thetrailbehind/TrailTracker/lib/routeMe/MapView/Map/RMTiledLayerController.m:108: error: expected ')' before 'CLLocationCoordinate2D'
/Users/timothybowen/Documents/src/thetrailbehind/TrailTracker/lib/routeMe/MapView/Map/RMTiledLayerController.m:110: error: 'RMMercator' undeclared (first use in this function)
/Users/timothybowen/Documents/src/thetrailbehind/TrailTracker/lib/routeMe/MapView/Map/RMTiledLayerController.m:110: warning: 'RMTiledLayerController' may not respond to '-centerMercator:animate:'
i686-apple-darwin9-gcc-4.2.1: /Users/timothybowen/Documents/src/thetrailbehind/TrailTracker/lib/routeMe/MapView/build/Debug-iphonesimulator/libMapView.a: No such file or directory
i686-apple-darwin9-gcc-4.2.1: /Users/timothybowen/Documents/src/thetrailbehind/TrailTracker/lib/routeMe/MapView/build/Debug-iphonesimulator/libMapView.a: No such file or directory