Google Analytics not initialising in Swift
问题 My new swift app does not initialise Google Analytics for some reason. I created a bridging header in my project for all the GAnalytics files: #import "GAI.h" #import "GAIDictionaryBuilder.h" #import "GAIEcommerceFields.h" #import "GAIEcommerceProduct.h" #import "GAIEcommerceProductAction.h" #import "GAIEcommercePromotion.h" #import "GAIFields.h" #import "GAILogger.h" #import "GAITrackedViewController.h" #import "GAITracker.h" And this is part of my AppDelegate.swift file: func application