将 Flurry Analytics 集成到 Apple Watch

问题描述 投票:0回答:2

我正在尝试将 Flurry Analytics 集成到我的 Apple Watch 应用程序中。我的应用程序是一个独立的应用程序,没有 iPhone 伴侣。我在 Yahoo Developer 上看到一篇 article 给出了说明,但它现在已经超过 5 年了。我遵循了那篇文章中的所有说明,除了为 podfile 做了一点修改。这是我的代码

# 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

尝试过后,Xcode 说 Flurry Analytics 模块仍然不存在。我想知道,Flurry Analytics 是否可以在独立的 Apple Watch 应用程序上运行?

swift xcode apple-watch flurry-analytics apple-watch-standalone
2个回答
1
投票

Flurry SDK 目前不支持独立的 Watch 应用程序。它仅适用于关联的 iPhone 应用程序。


0
投票

Flurry 不支持 Apple Watch,但你可以尝试一个 Flurry 不支持 Apple Watch,但你可以尝试替代: mixpanel

© www.soinside.com 2019 - 2024. All rights reserved.