swiftによる地図検索アプリケーションを開発中で問題が生じました
下記リンクを参考にしながら、至ってシンプルな地図表示アプリを開発しているのですが、
https://developers.google.com/maps/documentation/ios-sdk/start?hl=ja
import UIKit
import GoogleMaps
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
// Do any additional setup after loading the view.
// Create a GMSCameraPosition that tells the map to display the
// coordinate -33.86,151.20 at zoom level 6.
let camera = GMSCameraPosition.camera(withLatitude: -33.86, longitude: 151.20, zoom: 6.0)
let mapView = GMSMapView.map(withFrame: self.view.frame, camera: camera)
self.view.addSubview(mapView)
// Creates a marker in the center of the map.
let marker = GMSMarker()
marker.position = CLLocationCoordinate2D(latitude: -33.86, longitude: 151.20)
marker.title = "Sydney"
marker.snippet = "Australia"
marker.map = mapView
}
}
APIキーなどは正しく呼び出せているとは思うのですが、何が問題なのか皆目見当がつかず、エラ〜メッセージも生じていないため、困っております
因みに、
2020-05-01 00:31:12.141190+0900 MapSearchingTest[20614:252324] Metal GPU Frame Capture Enabled
2020-05-01 00:31:12.141432+0900 MapSearchingTest[20614:252324] Metal API Validation Enabled
2020-05-01 00:31:12.355887+0900 MapSearchingTest[20614:252324] libMobileGestalt MobileGestalt.c:1647: Could not retrieve region info
2020-05-01 00:31:12.631569+0900 MapSearchingTest[20614:252324] Google Maps SDK for iOS and Google Places SDK for iOS version: 3.8.0.0
どなたかお力添え願いたいです
どうかよろしくお願いします