flurry / flurry-ios-sdk

Flurry iOS SDK CocoaPods
Apache License 2.0
154 stars 62 forks source link

use of unresolved identifier 'Flurry' #3

Closed bnroths closed 9 years ago

bnroths commented 9 years ago

the instructions don't seem to be working for me. I get the error:

Use of unresolved identifier 'Flurry' in my AppDelegate.swift file

my podfile is

platform :ios, '8.4'

use_frameworks!

pod 'MMDrawerController'
pod 'Spring'
pod 'Mixpanel'
pod 'Alamofire', '< 2.0'
pod 'FLAnimatedImage'
pod 'SwiftyJSON'
pod 'AFBlurSegue'
pod 'Flurry-iOS-SDK/FlurrySDK'
pod 'Flurry-iOS-SDK/FlurryAds'
pod 'Flurry-iOS-SDK/TumblrAPI'

Then in application didFinishLaunchignWithOptions I put Flurry.startSession("YOUR_FLURRY_API_KEY")

with my key.

Do I need to import anything in my AppDelegate.swift maybe?

Also, on Cocoapods.com it says to add pod 'Flurry-iOS-SDK' to the Podfile while elsewhere it says add pod 'Flurry-iOS-SDK/FlurrySDK' (though I'm not sure it makes a difference)

adamkaplan commented 9 years ago

Try @import Flurry_iOS_SDK;

Check out #5.

bnroths commented 9 years ago

ahh works, thanks!