I implemented Firebase in my iOS app using cocoa beans. The problem is that when I try to configure FireBase, I get this error. Use of unauthorized identifier "FIRApp" . This error occurs when I use the FIRApp.configure () code in the appdelegate file. Can anyone help me with this?
import UIKit import AWSCore import GoogleMaps import Firebase @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? let defaults = NSUserDefaults.standardUserDefaults() func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
I followed the Firebase Guide https://firebase.google.com/docs/ios/setup#initialize_firebase_in_your_app
Here is the pod file
# Uncomment this line to define a global platform for your project platform :ios, '8.0' use_frameworks! target 'xxxx' do pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git' pod 'DKChainableAnimationKit' pod 'Charts' pod 'JVFloatLabeledTextField' pod 'AWSAutoScaling' pod 'AWSCloudWatch' pod 'AWSCognito' pod 'AWSDynamoDB' pod 'AWSEC2' pod 'AWSElasticLoadBalancing' pod 'AWSKinesis' pod 'AWSMobileAnalytics' pod 'AWSS3' pod 'AWSSES' pod 'AWSSimpleDB' pod 'AWSSNS' pod 'AWSSQS' pod 'GoogleMaps' pod 'Firebase' end
source share