Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOS版地图SDK在我的项目中已禁用,但google地图仍在运行_Ios_Swift_Xcode_Google Maps_Reverse Geocoding - Fatal编程技术网

iOS版地图SDK在我的项目中已禁用,但google地图仍在运行

iOS版地图SDK在我的项目中已禁用,但google地图仍在运行,ios,swift,xcode,google-maps,reverse-geocoding,Ios,Swift,Xcode,Google Maps,Reverse Geocoding,我正在设置API-KEY: // set google api key GMSServices.provideAPIKey(Constants.googleMapsApiKey) GMSPlacesClient.provideAPIKey(Constants.googleMapsApiKey) 和do: // set google api key GMSServices.provideAPIKey(Constants.googleMapsApiKey) GMSPlacesClient.prov

我正在设置API-KEY:

// set google api key
GMSServices.provideAPIKey(Constants.googleMapsApiKey)
GMSPlacesClient.provideAPIKey(Constants.googleMapsApiKey)
和do:

// set google api key
GMSServices.provideAPIKey(Constants.googleMapsApiKey)
GMSPlacesClient.provideAPIKey(Constants.googleMapsApiKey)
  • GMSMapView
  • GMSGeocoder().ReverseGeoCodeCoordinal()
  • GMSPlacesClient.shared().fetchPlace()
  • GMSPlacesClient.shared().FindAtoCompletePredictions()
  • 即使是iOS地图SDK和Places API也未启用


    您可能正在使用属于不同项目的API密钥,或者只涉及一些缓存。因此,尝试重新实例化或重新安装应用程序。如果这些都不起作用,那么我建议您与支持部门联系,以便他们可以进一步调查您的项目/API密钥。我确信这不是问题所在。这是我们不明白的