【发布时间】:2015-09-16 22:32:08
【问题描述】:
我有一个 watchOS 2.0 应用程序,我想用它在 Mixpanel 中跟踪事件。我正在使用 Mixpanel 吊舱version 2.8.3。在较早的版本中,他们引入了对 App Extensions 的支持,包括 WatchKit。
我的 podfile 如下所示:
target 'Elevate', :exclusive => true do
platform :ios, '8.0'
...
pod 'Mixpanel', '~> 2.8.3'
...
end
target 'Dash 2 Extension', :exclusive => true do
platform :watchos, '2.0'
xcodeproj 'griffin.xcodeproj'
pod 'Mixpanel/AppExtension"
end
但是 Xcode 说 it doesn't contain platform 'watchsimulator' in its SUPPORTED_PLATFORMS 'iphonesimulator, iphoneos'
【问题讨论】:
标签: ios cocoapods ios-app-extension mixpanel watchos-2