iOS용 Maps SDK, 버전 2로 마이그레이션
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
iOS용 Maps SDK 버전 2가 출시됨에 따라 프리미엄 플랜은 이제 기본 플랜과
동일한 SDK를 사용합니다. 모든 프리미엄 플랜 기능은
계속 정상적으로 작동합니다.
다음 단계에 따라 기존 앱을 업데이트합니다.
- 모든 헤더별 가져오기에서
GoogleMapsM4B의 이름을 GoogleMaps로 바꿉니다.
import GoogleMapsM4B 또는 #import <GoogleMapsM4B/GoogleMaps.h>의 가져오기는
계속 정상적으로 작동합니다.
이전에 Podfile을 사용하여 SDK를 설치한 경우:
Google-Maps-iOS-SDK-for-Business CocoaPod 대신 GoogleMaps/M4B CocoaPod를 참조하도록 Podfile을
업데이트합니다.
Google-Maps-iOS-SDK-for-Business의 종속 항목을 2 이전 버전으로 고정한 경우 Podfile에서
이 제한사항을 삭제합니다.
이전에 SDK를 수동으로 설치한 경우:
- 프로젝트에서 이전 GoogleMapsM4B.framework 및 GoogleMaps.bundle을 제거한 다음
수동 SDK 설치 안내를
따릅니다(CocoaPods는 사용하지 않습니다). 자세한 내용은 iOS에서 프리미엄 플랜 시작하기를 참고하세요.
Places API를 사용하는 경우
iOS용 Places SDK, 버전 2로 마이그레이션에서
마이그레이션 안내를 확인하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-08-02(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2023-08-02(UTC)"],[],["Version 2 of the Maps SDK for iOS unifies Premium and Standard Plans under the same SDK. To update, rename `GoogleMapsM4B` to `GoogleMaps` in header imports. For Podfile users, replace `Google-Maps-iOS-SDK-for-Business` with `GoogleMaps/M4B` and remove any version restrictions. Manual installations require removing the old `GoogleMapsM4B.framework` and `GoogleMaps.bundle` then following new installation instructions. If using the Places API, consult the migration guide.\n"]]