Maps SDK for iOS バージョン 2 への移行
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Maps SDK for iOS バージョン 2 では、プレミアム プランでも標準プランと同じ SDK が使用されるようになりました。プレミアム プランの機能はすべて通常どおりご利用いただけます。
既存のアプリをアップデートする手順は以下のとおりです。
- すべてのヘッダー固有のインポートで、名前を
GoogleMapsM4B を GoogleMaps に変更します。import GoogleMapsM4B または #import <GoogleMapsM4B/GoogleMaps.h> のインポートは、引き続き通常どおり機能します。
以前に Podfile を使用して SDK をインストールしている場合:
- Podfile を更新して、
Google-Maps-iOS-SDK-for-Business CocoaPod ではなく GoogleMaps/M4B CocoaPod を参照します。
Google-Maps-iOS-SDK-for-Business の依存関係を 2 より前のバージョンに固定している場合、Podfile からこの制限を削除してください。
以前に手動で SDK をインストールしている場合:
- プロジェクトから古い GoogleMapsM4B.framework と GoogleMaps.bundle を削除してから、CocoaPods を使用せずに SDK を手動でインストールする手順に即します。詳しくは、iOS でプレミアム プランを使用するをご覧ください。
Places API を使用している場合は、Places SDK for iOS バージョン 2 への移行をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は 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"]]