I am trying to integrate Flurry Analytics into my Apple watch app. My app is a standalone app that does not have an iPhone companion. I saw an article on Yahoo Developer that gave instructions on it but it is over 5 years old now. I followed all of the instructions on that article, except modifying a little bit for podfile. This is my code
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Watch Idle Game' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod ‘Flurry-iOS-SDK/FlurryWatchOSSDK’
pod ‘Flurry-iOS-SDK/FlurrySDK'
platform :watchos, ‘7.2’
end
target 'Watch Idle Game WatchKit App' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod ‘Flurry-iOS-SDK/FlurryWatchOSSDK’
pod ‘Flurry-iOS-SDK/FlurrySDK'
platform :watchos, ‘7.2’
# Pods for Watch Idle Game WatchKit App
end
target 'Watch Idle Game WatchKit Extension' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod ‘Flurry-iOS-SDK/FlurryWatchOSSDK’
pod ‘Flurry-iOS-SDK/FlurrySDK'
platform :watchos, ‘7.2’
end
After trying this, Xcode said the Flurry Analytics module still does not exist. I am wondering, does Flurry Analytics even work at all on a standalone Apple Watch app?
The Flurry SDK does not support standalone Watch apps currently. It only works with an associated iPhone app.