title: Unable to get details for a place using Google Places API - "Cannot invoke 'lookUpPlaceID' "
body: <p>I'm trying to get details about a place using the Google Places API for iOS. When attempt to call the <code>lookUpPlaceID</code> function, receiving the following Swift compiler error:</p>
  
  <blockquote>
    <p>Cannot invoke 'lookUpPlaceID' with an argument list of type '(String, callback: (GMSPlace!, _) -> Void)'</p>
  </blockquote>
  
  <pre><code>    let placeID = "ChIJV4k8_9UodTERU5KXbkYpSYs"
  
      placesClient!.lookUpPlaceID(placeID, callback: { (place: GMSPlace!, error) -&gt; Void in
          if error != nil {
              println("lookup place id query error: \(error.localizedDescription)")
              return
          }
  
          if place != nil {
              println("Place name \(place.name)")
              println("Place address \(place.formattedAddress)")
              println("Place placeID \(place.placeID)")
              println("Place attributions \(place.attributions)")
          } else {
              println("No place details for \(placeID)")
          }
      })
  </code></pre>
  
  <p>I'm using the example code available in the Google Places API documentation here:</p>
  
  <p><a href="https://developers.google.com/places/ios/place-details#get-place" rel="nofollow">https://developers.google.com/places/ios/place-details#get-place</a></p>
  
  <p>The placesClient is an object of type GMSPlacesClient. Earlier in the code, I am able to successfully call the placesClient autcompleteQuery function, so I don't think it's a problem with my placesClient.</p>
  
  <p>Any help or suggestions would be greatly appreciated.</p>