Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Firebase Messaging causes crash #412

Open
udiidan opened this issue May 25, 2020 · 3 comments
Open

Firebase Messaging causes crash #412

udiidan opened this issue May 25, 2020 · 3 comments

Comments

@udiidan
Copy link

udiidan commented May 25, 2020

The app installs and works the first time it's installed from the IDE, but after doing some changes in the code, the second install crashes immediately with the following message:

Incident Identifier: 71C39E66-6639-4061-9382-C13EC291EC2C
CrashReporter Key: b5807b75191944c8c4b2ad1708bdb7900b924e71
Hardware Model: iPhone12,1
Process: appName [48362]
Path: /private/var/containers/Bundle/Application/16B1A2D5-B6AC-4952-95D2-D054E16F59ED/appName.app/appName
Identifier: com.appName
Version: 1.0 (2.8)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.appName [36820]

Date/Time: 2020-05-25 19:04:29.8380 +0300
Launch Time: 2020-05-25 19:04:29.7147 +0300
OS Version: iPhone OS 13.2.3 (17B111)
Release Type: User
Baseband Version: 1.02.18
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, dependent dylib '@rpath/FirebaseMessaging.framework/FirebaseMessaging' not found for '/private/var/containers/Bundle/Application/16B1A2D5-B6AC-4952-95D2-D054E16F59ED/appName.app/appName', tried but didn't find: '/private/var/containers/Bundle/Application/16B1A2D5-B6AC-4952-95D2-D054E16F59ED/appName.app/Frameworks/FirebaseMessaging.framework/FirebaseMessaging' '@rpath/FirebaseMessaging.framework/FirebaseMessaging' '/System/Library/Frameworks/FirebaseMessaging.framework/FirebaseMessaging'
Highlighted by Thread: 0

I'm using the following packages:
Xamarin.Firebase.iOS.CloudMessaging.4.1.1.1
Xamarin.Firebase.iOS.Analytics.6.0.4
Xamarin.Firebase.iOS.Core.6.1.0.1
Xamarin.Firebase.iOS.DynamicLinks.4.0.1
Xamarin.Firebase.iOS.InstanceID.4.2.1
Xamarin.Google.iOS.MobileAds.7.47.0.1

I've tried on multiple physical devices and also simulators - all crashed in the second install.

I've tried updating the libraries, but then the project doesn't compile with multiple errors of linking problems.

@udiidan
Copy link
Author

udiidan commented May 25, 2020

FYI - I've now updated all the packages to the latest version and compiled the project, but the crash still happens.

@udiidan
Copy link
Author

udiidan commented May 30, 2020

Downgrading Visual Studio, Xamarin.iOS SDK and Xcode solved this issue.

@chrisfoulds
Copy link

I am experiencing the same, it is actually just Xamarin.IOS framework that needs to be downgraded to make it work.
I am also getting the same with SkiaSharp library but I suspect it is related to this as Skiasharp works perfectly until I add Firebase in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants