簡體   English   中英

大量iOS SDK失敗請求

[英]Countly iOS SDK fails request

我已將Count.ly iOS SDK添加到項目中,在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 +會自動處理這樣的錯誤主機配置)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM