YES
The user in iOS 10.3.2 always having a crash while playing with the app after added Performance SDK
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.")
}
}
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
Thanks for the bug report! We're actively looking into this issue.
@paulb777 - Any update on this issue? We are seeing this in our Cordova project and we are using FirebaseInstanceID 2.0.8.
@mag10a The current FirebaseInstanceID version is 3.1.1. Does that make a difference?
I'm having a very similar issue.
My dependencies are:
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAuthBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json"
These are freshly installed with Carthage 0.29.0.
As soon as the FirebaseApp.configure() is called, I get an error:
+[FIRSwizzler currentImplementationForClass:selector:isClassSelector:]: unrecognized selector sent to class 0x10279f6f8
I thought it might be a linking issue. I have only linked FirebaseSwizzlingUtilities.framework, but adding any other related frameworks, like FirebaseISASwizzler.framework results in a compile-time error.
My current solution is to use the 4.9.0 version.
@Gujci Try removing Carthage/Build/iOS/FirebaseSwizzlingUtilities.framework. It is no longer part of Firebase 5.4.0. It was split into FirebaseISASwizzler.framework and FirebaseMethodSwizzler.framework.
@paulb777 thank you
Closing due to inactivity. If anyone is still experiencing this crash, please comment and I'll reopen.
Most helpful comment
@Gujci Try removing
Carthage/Build/iOS/FirebaseSwizzlingUtilities.framework. It is no longer part of Firebase 5.4.0. It was split intoFirebaseISASwizzler.frameworkandFirebaseMethodSwizzler.framework.