we are trying to integrate Crashlytics in Xamarin.Forms iOS, we tried using the Xamarin.Firebase.iOS.Crashlytics, But we don't have any type of documentation related to this integrated
while we integrate and add references then we are getting this error
/Users/apple/.nuget/packages/xamarin.firebase.ios.crashlytics/3.10.9/build/Xamarin.Firebase.iOS.Crashlytics.targets(3,3): Error MSB3073: The command "'/Users/apple/Library/Caches/XamarinBuildDownload/Fbrc-1.7.13/upload-symbols' -gsp '/Users/apple/Desktop/Xamarin-Forms/Sympl/Latest/sympl-mobile-app/App.iOS/GoogleService-Info.plist' -p ios 'bin/iPhone/Debug/device-builds/iphone9.4-12.0/App.iOS.app.dSYM'" exited with code 132. (MSB3073)
For using that Package Fabric is mandatory ? with out fabric we were not able to use just firebase Crashlytics ?
Related
Hello and thank you for reading.
This is my first time publishing an ios application and I am using Xamarin to publish my app to both Android and iOS (as requested by the client ).
Now the application deploys and works correctly when I run it via visual studio/Rider but when I push it to testflight (via azure pipeline and microsoft App Center) I get the following Crash report:
link to crashreport
oke so after some triel and error I have found the problem:
Apparently in Xamarin if you use EFCore then there is the possibility of mTouch to skip the reflections used by it
more info (and my saving grace) was found here:
https://learn.microsoft.com/en-us/ef/core/get-started/xamarin#explore-the-code
I'm trying to run firebase_messaging only on android and ios device, however if i put the firebase_messaging inside pubspec.yaml, and then run my flutter web it return
TypeError: Cannot read properties of undefined (reading 'messaging')
at new firebase_messaging_web.FirebaseMessagingWeb.new
And in order to run the flutter web, i must initialiseApp the firebase on web. Is there any way to run firebase_messaging only on android and ios
I am using Visual Studio 2019 on Windows, developing an App using Xamarin Forms, for Android and iOS. Everything is the latest version.
I am trying to use Firebase to add Push Notification functionality. I have been able to get this functioning for the Android App, but whatever I do seems to fail / not work for iOS.
I have tried using both Xamarin.Firebase.iOS.CloudMessaging and Plugin.FirebasePushNotification with the same result. Starting from a basic app created in Visual Studio, as soon as I add the basic code for the iOS project, the app stops working and just times out after 17 seconds with running any of the project code (no breakpoints are hit).
I also tried downloading this demo app https://github.com/jfversluis/XFFCMPushNotificationsSample. I created my versions of google-services.json (Android) and GoogleService-Info.plist (iOS). The Android app runs but the iOS app does not (times out after 17 seconds).
Having tried so many different samples, examples, options, etc - I am at a complete loss as to what the issue might be. The situation is not helped by me being new to App development & Xamarin Forms!
I appreciate that I haven't added any "I tried this" code, but I'm hoping someone can help me with debugging this. Visual Studio doesn't appear to show anything, can I get more helpful info from the iPhone?
Edit:
For iOS,
I have created a Key and enabled Apple Push Notifications.
I have uploaded the key to the iOS project in Firebase (Cloud Messaging).
I have downloaded the GoogleService-Info.plist file and added it to the iOS project in Visual Studio, and set it to BundleResource
I have enabled Push Notifications in Entitlements.plist
I have enabled Background Modes & Remote Notifications in Info.plist
I am using Automatic Provisioning
I have checked that Bundle Identifier is correct
I have added FirebaseAppDelegateProxyEnabled to info.plist
EDIT 2:
I have manged to get an error message, which happens during the call to
FirebasePushNotificationManager.Initialize(options, true);
{System.NullReferenceException: Object reference not set to an instance of an object.
at Plugin.FirebasePushNotification.FirebasePushNotificationManager.Initialize (Foundation.NSDictionary options, System.Boolean autoRegistration) [0x00029] in /Users/runner/runners/2.169.1/work/1/s/Plugin.FirebasePushNotification/FirebasePushNotificationManager.ios.cs:141
at MyApp.iOS.AppDelegate.FinishedLaunching (UIKit.UIApplication app, Foundation.NSDictionary options) [0x00014] in \MyKRing.iOS\AppDelegate.cs:34 }
I'm having a little problem. When I try to deploy an unity3d app with the auth sample project from firebase I'm getting this error "error building Player: iOS framework addition failed due to a CocoaPods installation failure" but I have installed cocoapods correctly, I even uninstalled it and reinstalled it. I only get this error with the auth project, not with the database. I tried adding the cocoapods to the project with the terminal using pod init instead of having unity do it but nothing seems to work
From https://github.com/firebase/firebase-ios-sdk/issues/1845#issuecomment-425184012:
We're working on patching the Firebase C++ and Unity releases to migrate them to the 5.9.0 iOS SDK. In the meantime, under Assets/Firebase/Editor/ there are a set of files matching *Dependencies.xml files (e.g AnalyticsDependencies.xml) that reference the iOS SDK version. You'll need to modify the section of each file to reference iOS SDK 5.9.0 rather than 5.6.0.
More details at https://github.com/firebase/firebase-ios-sdk/issues/1845#issuecomment-425184012
I'm trying to integrate Firebase Analytics to my xamarin forms application. For Xamarin.IOS I'm using Xamarin.Firebase.iOS.Analytics version 5.0.1
And getting the below error while building.
./iOS/MTOUCH: Error MT3001: Could not AOT the assembly '/iOS/obj/iPhone/Debug/mtouch-cache/Build/Firebase.Analytics.dll' (MT3001)
Not able to understand what could go wrong. Is there any configuration changed I have to do.?
Firstly ,make sure that your VS and Xcode are up-to-date. If the issue continue, you can right
click your project ->options->iOS build ->Linker Behavior
set the value as Don’t Link. In addition, delete the folder obj and bin and rebuild your project again.