iPhone 개발에 관련된 부두교도 절대로 나를 놀라게하지 않습니다. 여기에 나에게 던져진 최신 헥스가 있습니다.xcode는 이미있는 기호를 요구합니다
지도를 표시하는 데 routeMe 라이브러리를 사용하는 앱을 개발 중입니다. 나는 시뮬레이터에서 모든 것을 테스트하고 있으며 모든 것이 훌륭하게 작동한다. 이 앱은 또한 iPhone의 GPS 기능을 사용하기 때문에 기기에 연결하여 산책을 통해 어떤 종류의 데이터가 생성되는지 확인합니다.
컴파일러는 내 시뮬레이터 빌드 디렉토리에있는 routeMe 라이브러리를 찾을 수 없다는 불평 때문에 routeMe를 어떻게 든 추가하는 것이 어려워야한다고 생각합니다. routeMe를 제거하고 포함 된 가이드의 모든 단계를 거쳐 다시 실행하고 실행합니다 (나는 원합니다).
이제 xCode는 이미있는 괄호 묶음을 요구합니다. 예를 들어,이 라인 :
-(void) centerLatLong: (CLLocationCoordinate2D) point animate: (BOOL) animate;
오류를 벌고 ... RMTiledLayerController.h를 : 59 : 오류 : 예상 ')'전에 'CLLocationCoordinate2D'
라인은 엑스 코드 나에게 좋아 보인다! 거래는 뭐니?
다음은 내가 얻은 모든 오류 및 경고의 전체 목록입니다. 문제가 이러한 원인 중 하나 일 수 있습니까? 필자는 컴파일러가 불평하는 클래스를 작성하거나 변경하지 않았으며, 2 시간 전에 시뮬레이터에서 모든 것이 잘 컴파일되었습니다. 나는 정말로 비틀 거리고있다.
/사용자
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