Fabric Crashlytics “Hmmm, seems like your kit isn't activating” whilst verifying install

大城市里の小女人 提交于 2019-12-11 06:27:18

问题


I am currently awaiting beta testing for my new app. I chose Fabric due to it's great reviews. However i am current getting the "Hmmm, seems like your kit isn't activating" message on the Fabric Controller after following the instruction to run the app in Xcode. I have looked around but the solutions i have found haven't made any difference.

This is the message i am getting:

This is my run script:

This is my info.plist:

And finally this is my code in the App Delegate:

import UIKit
import Fabric
import Crashlytics

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {


var window: UIWindow?

private func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
    Fabric.with([Crashlytics.self])
    return true
}

Does anyone know how to fix this error?

Thanks in advance


回答1:


Thank's to everyone that has helped! i found the issue after going through all of my code. Swift 3 makes the App Delegate slightly confusing as i had to change my code to a private funcor add @nonobjcto silence the warning

my code was originally this:

private func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

but as it was a private funcit wasn't allowing connection with the Fabric controller

this was fixed quite easily by changing it to:

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {



回答2:


I got the support from support@fabric.io and they helped me figure out that some else from my team has already added the same bundle id. So I just need to get the invitation.

So make sure to check this too.



来源:https://stackoverflow.com/questions/43836306/fabric-crashlytics-hmmm-seems-like-your-kit-isnt-activating-whilst-verifying

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!