Reputation: 61
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
Upvotes: 1
Views: 1772
Reputation: 479
I got the support from [email protected] 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.
Upvotes: 1
Reputation: 61
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 func
or add @nonobjc
to silence the warning
my code was originally this:
private func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
but as it was a private func
it 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 {
Upvotes: 1