2013-10-11 1 views
3

Google지도 SDK 버전 1.5가 iOS 7 애플리케이션과 통합 될 때이 오류가 발생합니다.Google지도 SDK 버전 1.5가 iOS 7 애플리케이션과 통합 될 때

ld: warning: ignoring file /Users/apps/Desktop/Map/GoogleMaps.framework/GoogleMaps, missing required architecture x86_64 in file /Users/apps/Desktop/Map/GoogleMaps.framework/GoogleMaps (3 slices) 
Undefined symbols for architecture x86_64: 
"_OBJC_CLASS_$_GMSCameraPosition", referenced from: 
    objc-class-ref in MapViewController.o 
"_OBJC_CLASS_$_GMSMapView", referenced from: 
    objc-class-ref in MapViewController.o 
"_OBJC_CLASS_$_GMSMarker", referenced from: 
    objc-class-ref in MapViewController.o 
"_OBJC_CLASS_$_GMSServices", referenced from: 
    objc-class-ref in MapAppDelegate.o 
ld: symbol(s) not found for architecture x86_64 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

어떻게 문제를 해결할 수 있는지 알 수 없으므로이 문제를 해결하는 데 도움이 될 수 있습니다.

+0

확인이 .. http://stackoverflow.com/a/35174534/5872894는, armv7s 만, 그것은 다른 보여줍니다 –

답변

3

오류의 핵심 부분은 다음과 같은 비트입니다 : 아키텍처 x86_64에 대한 기호를 찾을 수 없습니다.

나는 arm64bit 용으로 빌드하고 Google Maps SDK에는 64 비트 버전이 없다고 추측합니다.

것은 내가하는 ARMv7에 대한 빌드 할 때 armv7s 만

이 나를 위해 일의이 링크
+1

하는 ARMv7에 대한 구축 시도 오류. 컴파일 할 아키텍처가 없습니다 (ONLY_ACTIVE_ARCH = YES, 활성 arch = x86_64, VALID_ARCHS = i386). – jeyachandran

+1

이제 ONLY_ACTIVE_ARCH = NO를 사용하여이 문제를 해결하십시오. – jeyachandran

+0

이 답변은 64 비트 지원과 관련하여 다소 구식입니다. Google에서 iOS 64 비트 지원 - http://9to5mac.com/2013/11/19/google-maps-sdk-for-ios-adds-64-bit-support-and-more/ – Ryan