我添加了count.ly ios sdk到project,在 didFinishLaunchingWithOptions
中,我添加了count.ly初始化为
let config: CountlyConfig = CountlyConfig()
config.appKey = "MY_APP_KEY"
config.host = "https://try.count.ly/"
config.enableDebug = true
config.deviceID = CLYIDFV
config.updateSessionPeriod = 300
//You can specify optional features you want here
config.features = [CLYCrashReporting, CLYAutoViewTracking]
Countly.sharedInstance().start(with: config)
但是在控制台中它给出了错误
[倒数]请求< 0x170003290>失败!
它没有在仪表板上显示任何内容。我的帐户是在试用版企业版上。我必须做其他配置吗?
请确保在主机结束时不要添加额外的/
。
config.host = "https://try.count.ly/"
应该是
config.host = "https://try.count.ly"
免责声明:我是SDK开发人员
(编辑:现在不正确的主机配置,现在是在V17.05 上自动处理的(