Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Officially support macOS #583

Closed
JackRichardBusiness opened this issue Dec 19, 2017 · 53 comments
Closed

Officially support macOS #583

JackRichardBusiness opened this issue Dec 19, 2017 · 53 comments
Assignees
Labels
macOS Issues or feature requests for macOS. type: feature request
Milestone

Comments

@JackRichardBusiness
Copy link

I would like macOS to be officially supported by Firebase.

@morganchen12 morganchen12 changed the title FR: macOS support Dec 20, 2017
@morganchen12

This comment has been minimized.

@salqadri

This comment has been minimized.

@JackRichardBusiness
Copy link
Author

JackRichardBusiness commented Dec 25, 2017 via email

@paulb777
Copy link
Member

@JackRichardBusiness Will you be more specific about where the community supported macOS SDK hasn't met your stability requirements? Any issues that you're seeing?

@morganchen12 morganchen12 changed the title FR: First-party macOS support Jan 4, 2018
@morganchen12
Copy link
Contributor

morganchen12 commented Feb 12, 2018

Closing since this isn't going to happen soon and this issue hasn't garnered much community support. We're revisiting this now.

Many of the components here compile and run on macOS (see here for more details), but Firebase doesn't provide official support for Firebase client SDK issues on macOS. You may still file issues you run into here and receive unofficial support.

@joelgetaction
Copy link

@salqadri and @morganchen12 Could you provide a link to the community supported macos sdk please? Thanks!

@joelgetaction
Copy link

For the reference of others, did you mean this? https://github.com/firebase/firebase-ios-sdk#macos

@jhoughjr
Copy link

Bump. There should be no reason this isn't usable for both platforms.

@rismay
Copy link

rismay commented Apr 15, 2019

Can we add support for macOS via Carthage? Right now we only have this:
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"

@paulb777
Copy link
Member

@rismay We'll investigate. In the meantime, if you want a binary framework version of a mac distribution, CocoaPods/Rome is an option.

@eebean2
Copy link

eebean2 commented May 31, 2019

Can we get support for this since Apple is launching cross platform support for iOS apps?

@morganchen12 morganchen12 reopened this May 31, 2019
@appfrilans
Copy link

I agree with @eebean2. A lot of iPad apps will be ported coming month due to Apples new Catalyst project. One switch in Xcode will make your app into a macOS app. However, frameworks need to support macOS and the only one I got an issue with was Firebase SDK!

@morganchen12 morganchen12 self-assigned this Jun 4, 2019
@paulb777
Copy link
Member

paulb777 commented Jun 4, 2019

We're digesting all of the WWDC updates and will reassess the Firebase multi-platform official support story.

In the meantime, please file any specific issues you have with the current community macOS support.

@guidedways
Copy link

Not to mention there's very little multi-platform solutions out there. Can't think of anything other than realm database. Having Firebase on macOS would be a game changer for all of us - we'd love to switch over to Firebase wholeheartedly if given the chance.

@cliftonlabrum
Copy link

If you can include Firebase in an iPadOS app, won’t it work if deployed on a Mac? It’ll be running on an iOS-built app, won’t it?

@davidhakki
Copy link

If you can include Firebase in an iPadOS app, won’t it work if deployed on a Mac? It’ll be running on an iOS-built app, won’t it?

Unfortunately it is not working at the moment. It needs to be able to run on macOS

@guidedways
Copy link

guidedways commented Jun 7, 2019

Even if it did work for Catalyst / iPadOS apps on macOS, we'd appreciate proper support for native macOS apps. Just please do it and get it done and over with so we can all enjoy cross platform deployment of Firebase in our apps.

@appfrilans
Copy link

Is it possible to include firebase for macOS (UIKit for Mac) via pod 'FirebaseCore' ? I tried to make a separate target and set it in its own CocoaPods target (platform :macos, '10.15'), but importing via "import FirebaseCore" just gives me an error:

No such module 'FirebaseCore'

Any ideas? Or is this way impossible?

@Umar-M-Haroon
Copy link

So far I’ve had some luck getting support for macOS through Catalyst. Here’s what I did

In the same project that works on iOS, select the Mac checkbox

Ran pod install

Solved certificates issues with the gRPC by selecting the team as needed (Only needed if Firestore pod is installed)

Selected the Mac as the target and commented any code pertaining to UIWebView in the FIRAuth files (only needed if FIRAuth pod is installed)

Also removed “AssetsLibrary” -framework from the .xcconfigs using the find and replace feature

@morganchen12 morganchen12 added the macOS Issues or feature requests for macOS. label Jun 20, 2019
@davidhakki
Copy link

Selected the Mac as the target and commented any code pertaining to UIWebView in the FIRAuth files (only needed if FIRAuth pod is installed)

Any adverse effects on FIRAuth?

@Umar-M-Haroon
Copy link

I haven't had any issues with FIRAuth. If your deployment target is greater than 7.0 you should be fine.

@hannaanderssonpdx
Copy link

Deadline for Fabric’s demise is round the corner and we still don’t have proper macOS support. We heavily rely on analytics for our Mac apps and that’s all going away soon. If fabric can do it, how difficult is it to get it ready for Firebase? Not to mention I’m already annoyed Firebase requires a lot more clicks for what was easy to get to in Fabric.

@cliftonlabrum
Copy link

I think official and ongoing support for macOS is a lost cause. I’ve liked Microsoft App Center as a replacement for crash logging and analytics. It’s worth checking out: https://appcenter.ms

@hannaanderssonpdx
Copy link

@cliftonlabrum thanks for that, didn’t realize there was an alternative! What a shame. Google keeps emailing us threats that Fabric is discontinuing and at the same time hasn’t given us something to port to. I prefer keeping everything under the same portal so will move all the iOS + Android + macOS apps to Microsoft now.

@hannaanderssonpdx
Copy link

@paulb777 can we at least have an official statement on why macOS support for analytics / performance and Firebase database is being delayed? Why do you guys keep asking why official support is needed. Isn’t it obvious? Analytics aren’t available. That’s 50% of what crashlytics used to offer.

@guidedways
Copy link

Surely someone clicks on the “Send” button for all these “Fabrics is shutting down” emails we keep receiving. Ironically it asks us to migrate to Firebase, which does not support macOS apps. Why acquire a service and then “lame” it down? Google should have left fabric alone.

@andytriboletti
Copy link

I had to create a git branch for my Catalyst and iOS project with the Analytics pod commented out on the catalyst branch. I tried creating multiple targets with the analytics pod only in the iOS target, but couldn't deploy to the app store because of a duplicated library problem. Thanks for the Microsoft tip. I will check it out.

@guidedways
Copy link

I’ve received a response from Google Developer support that Firebase will not support analytics for macOS anytime soon. Okay I’m out of here.

@andytriboletti
Copy link

Looking for a workaround, how can I still use Analytics on iOS and exclude it for the Catalyst build

I got this working:
https://stackoverflow.com/a/60213321/211457

@SebastianBO
Copy link

@andytriboletti nice!! Sick timing to just come back - will test it out

@shobhitchugh
Copy link

Hi everyone. This is Shobhit, Product Manager for Crashlytics. Thank you for the feedback.

Firebase does not officially support Catalyst, macOS, and tvOS apps. If you are using Fabric Crashlytics with macOS and tvOS apps, you can migrate these apps to Firebase as iOS apps. If you have an iOS app with the same bundle ID that already exists in Firebase, then you will have to create your macOS/tvOS app in a separate Firebase Project.

The Crashlytics SDK will continue to report crashes for Catalyst, macOS, and tvOS apps. However, features that depend on Google Analytics or other Firebase products (i.e., Crash-Free Users, Velocity Alerts, and breadcrumbs) will not work for these apps.

We have no timeline for adding Firebase support for macOS and tvOS at this time but are continually evaluating platforms and will keep it on our radar.

@guidedways
Copy link

@shobhitchugh I hope you appreciate this is extremely frustrating for all of us. Analytics works just fine within Fabric, yet we're being forced out of it to embrace a broken platform, that does not support Analytics, Events and and fails to report simple things such as "Launch Status for build xxx" → something that was incredibly useful in Crashlytics (Fabric). One click and you can see the growing number of users / crashes. Not only is there no macOS support for this in Firebase, even the iOS version of Analytics does not provide us with this simple stat (I know "Latest release" does a lot more - exactly, it does a lot MORE and it's annoyingly slow and frustrating to use).

If google, with all its resources, cannot completely support an already working system, it should have left it alone. I realize the need to deprecate Fabric and the switch to Firebase, but why not keep it around for longer, especially macOS apps? We're going to be crippled once it's turned off after 31st March.

@jcampbell05
Copy link

We are adding macOS support as we need it for our new launch but we will have to abandon firebase which is a shame as we've been customers of it for many many year

@paulb777
Copy link
Member

paulb777 commented Apr 4, 2020

@jcampbell05 Sorry to hear that.

Is the issue that the support is not "official" or that the "community" support is missing features that you need?

@guidedways
Copy link

@paulb777 I don't think anyone would really care if it were "official" as long as we all got what we've been asking for, for years? And that primarily is: "Analytics" support for macOS. We should be able to see "Analytic Events" as we do for our iOS apps. This feature works just fine in Fabric and I don't understand how or why it's difficult to port this over to Firebase. If there are technical hurdles, why not keep Fabric running and supporting macOS apps only till "official" support arrives in the year 3020 - oh wait, by then it wouldn't matter since those of us on this thread won't be alive.

We want Analytics to work for macOS. We want to be able to see the number of users using the app, other than just crash reports. We want to be able to see all the custom events we already are able to track in Fabric, for macOS.

@paulb777
Copy link
Member

paulb777 commented Apr 5, 2020

@guidedways I'm familiar with the reasons for Analytics macOS support. However, @jcampbell05 said that they'd been Firebase customers for many years - which wouldn't apply to the Fabric migration reason for Analytics - since Crashlytics is a relatively recent addition to Firebase.

Let's have the Analytics specific discussion in #1732 and leave this issue for discussion around converting the existing Firebase community support for macOS to official support (which I understand is dependent upon the more specific #1732).

@jcampbell05
Copy link

jcampbell05 commented Apr 6, 2020

Is the issue that the support is not "official" or that the "community" support is missing features that you need?

I'm a long time user of Fabric and Firebase to clarify.

Community support would be better than nothing if it mean't we get the analytics features from Fabric/Google Analytics as well as GCM support.

But ultimately we would need some sort of official support as we don't want to be relying on an SDK that is only being supported by people in their spare time.

We're looking into adding a desktop companion to our iOS app so adding officially supported port for catalyst would be great.

Luckily all of the code here is open-source so if push comes to shove we can do it ourselves but then the issue is since there isn't "official" support - will the Firebase dashboard work well with this or does it assume all apps are either mobile or web and not catalyst.

For this application we would have to look in the longer term for cross-platform solutions.

I'm aware one blocker is you are waiting on some cocoa pods support but that may be a long time coming - instead I would suggest you do as Stripe are doing and release a Xcframework on GitHub releases.

We would be happy to use that for the time being instead of via Cocoapods if it mean't we can use the framework everywhere we need.

@guidedways
Copy link

Let's have the Analytics specific discussion in #1732 and leave this issue for discussion around converting the existing Firebase community support for macOS to official support (which I understand is dependent upon the more specific #1732).

@paulb777 Fair enough. In that case, yes, we would (all?) like macOS to be officially supported by Firebase Crashlytics / Answers / Analytics etc - please 😀

@guidedways
Copy link

@jcampbell05 Probably worth leaving a +1 under #1732, too

@cbenhagen
Copy link

Please upvote the issue instead of leaving +1 comments which send a notification to everyone subscribed. Thanks!

@paulb777
Copy link
Member

@dtnam1997 I'm deleting your post above since it is cluttering a popular issue in the wrong repo. Please follow it at firebase/firebase-cpp-sdk#50

@firebase firebase deleted a comment from dtnam1997 Apr 14, 2020
@itsdamslife
Copy link

itsdamslife commented Aug 17, 2020

I am building a macOS standalone process, a command line tool binary (non UI app). I am trying to integrate crashlytics into it. I manage to fix all other issues with bundle identifier, fetching dsym files and uploading etc.

The crash reports are getting uploaded to firebase console as per network proxy logs. I can see 202 Accepted status for POST requests to https://reports.crashlytics.com domain calls.

But I am not seeing any reports in firebase console.

Note: I also have another app under same project which is an UI based macOS app (.app like iOS). For this app the crash reports are displayed perfectly in the dashboard. Only for command line binaries it does not show up in the console dashboard.

Please help. Hope this issue adds to demand of official support of macOS apps and binaries.

@makuchaku
Copy link
Member

Hi everyone,

I am Mayank, a Product Manager at Firebase.

I am excited to share that we are in the process of improving Firebase SDKs to support additional Apple platforms.

If you are already using Firebase in your app which supports multiple Apple platforms (tvOS/macOS/Catalyst/watchOS) or are looking to add support for those platforms, we'd love to get your feedback.

If you're interested in chatting with us and getting early access to future updates, please sign up using this form : https://forms.gle/odseGnshb3Jq8wuz5

Once approved, we will share further information on how to proceed.

Thank you!
Mayank (on behalf of Firebase SDK team)

@tnmendes
Copy link

Any update? The last message was 10 Feb and we are now 27 Sep

@morganchen12
Copy link
Contributor

@tnmendes, early access has been going well with the partners who enrolled and we'll have more updates soon.

@paulb777 paulb777 added this to the 8.9.0 - M106 milestone Oct 28, 2021
@paulb777
Copy link
Member

paulb777 commented Oct 28, 2021

Firebase 8.9.0 introduces official beta support for macOS, along with tvOS and Catalyst. watchOS continues to be community supported.

See details about the support matrix here.

It took longer than we hoped and we appreciate your patience.

I’m going to lock this issue here. Please follow up with any questions or issues in separate reports.

@firebase firebase locked as resolved and limited conversation to collaborators Oct 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
macOS Issues or feature requests for macOS. type: feature request