Google Maps iOS SDK Integration not loading maps

前端 未结 1 682
孤城傲影
孤城傲影 2020-12-14 02:52

I am using Google maps iOS SDK in my iPhone application. I am showing a place mark on the map and it is working fine in my iPhone device using my ap

相关标签:
1条回答
  • 2020-12-14 02:56

    Typically this will happen if you don't have the app bundle id added to your google APIs console. The bundle id (eg., com.myname.appname) is what google uses to verify that an app is allowed to use a certain api key. If you've moved your app from one developer account to another, you've probably changed the bundle id in the process. Fortunately, google allows you to associate multiple bundle ids with a single api key.

    To add a new bundle id:

    • Verify the bundle id you are using in xcode (select the target and look under summary)
    • Login to https://code.google.com/apis/console/
    • Select "API Access" on the left column
    • Select "Edit allowed iOS apps" under the "key for iOS apps" section
    • Add the bundle id used in the enterprise build
    0 讨论(0)
提交回复
热议问题