Add a temporary Objective-C file to your project. You can give him any name you like.
Select Yes to customize the Objective-C bridge title.
Delete the temporary Objective-C file you just created.
In the projectName-Bridging-Header.h file you just created, add this line:
'# import <GoogleMaps / GoogleMaps.h>'
Edit the AppDelegate.swift file:
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { GMSServices.provideAPIKey("AIza....")
Follow the link for a complete sample.
Atul kaushik
source share