Skip to content

Application crash after adding Firebase Performance SDK. #1393

@parth51

Description

@parth51

[READ] Step 1: Are you in the right place?

YES

[REQUIRED] Step 2: Describe your environment

  • Xcode version: 9.2
  • Firebase SDK version:5.0.0
  • Firebase Component:
    FacebookCore (0.3.0),
    Firebase (5.0.0),
    FirebaseAnalytics (5.0.0),
    FirebaseCore (5.0.0),
    FirebaseInstanceID (3.0.0),
    FirebasePerformance (2.0.0),
    FirebaseSwizzlingUtilities (2.0.0)

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

The user in iOS 10.3.2 always having a crash while playing with the app after added Performance SDK

Relevant Code:

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
FirebaseApp.configure()
let audioSession = AVAudioSession.sharedInstance()
        do {
            try audioSession.setCategory(AVAudioSessionCategoryPlayback)
        } catch {
            print("Setting category to AVAudioSessionCategoryPlayback failed.")
        }
}

Report on Firebase Crash

Crashed: com.apple.root.default-qos
SIGABRT ABORT 0x0000000182145014
-[FIRInstanceIDAuthKeychain itemsMatchingService:account:accessGroup:error:] + 324
-[FIRInstanceIDAuthKeychain itemForService:account:accessGroup:error:] + 92
-[FIRInstanceIDTokenStore tokenInfoWithAuthorizedEntity:scope:] + 268
-[FIRInstanceIDStore tokenInfoWithAuthorizedEntity:scope:] + 136
-[FIRInstanceIDTokenManager cachedTokenInfoWithAuthorizedEntity:scope:] + 100
-[FIRInstanceID cachedTokenIfAvailable] + 104
-[FIRInstanceID token] + 88
-[FIRInstanceID getIDWithHandler:]_block_invoke.154 + 140

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions