title: GoogleMapSDK (GMSMapView) crash with Swift
body: <p>I have added GoogleMap SDK with pods and which is in <code>Objective-C</code>.</p>
  
  <p>I am using bridge-header to use in <code>Swift</code> project.</p>
  
  <p>In appdelegate I am using this code to provide api key</p>
  
  <pre><code>GoogleMapsService.provideAPIKey(kGooglePlacesApiKey)
  // where kGooglePlacesApiKey is the key generated on google console.
  </code></pre>
  
  <p>In ViewController I am using below code to add Google map</p>
  
  <pre><code>func addGoogleMap()
  {
      let camera = GMSCameraPosition.cameraWithLatitude(51.5074,
                                                        longitude: 0.1278, zoom: 10)
      mapView = GMSMapView.mapWithFrame(CGRectMake(0, 157, self.view.frame.size.width, self.view.frame.size.height - 206.1), camera:
          camera)
      mapView.myLocationEnabled = true
      mapView.delegate = self
      self.view .addSubview(mapView)
  }
  </code></pre>
  
  <p>It always crashes on this line when I try to create object of <code>GMSMapView</code>:</p>
  
  <pre><code>mapView = GMSMapView.mapWithFrame(CGRectMake(0, 157, self.view.frame.size.width, self.view.frame.size.height - 206.1), camera:
          camera)
  </code></pre>
  
  <p>And its not giving any error log, it just switches to appdelegate and shows error in red.</p>
  
  <p><a href="https://i.stack.imgur.com/P7UMN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P7UMN.png" alt="enter image description here"></a></p>