-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
FR: Support for "iPad apps for Mac" aka Marzipan/Catalyst #3144
Comments
Thanks for the report, @siburb! There are some docs and sessions we need to catch up on in order to find out how to get this working for folks. We're working on it and will update this issue as we find out more :) |
And, as always, PRs are welcome! |
Any update on this? I would love my iPad / Mac apps to all run on FB back end. |
No update yet. In terms of infrastructure, adding Catalyst support would mean adding most of the support for AppKit apps as well. We're in the process of figuring that out and will have more to share soon. |
Are there any work arounds like building it for mac and the importing it into a project? |
Theoretically what you're describing should be possible, since Catalyst apps are built on macOS apps, but will only work for the existing macOS-compatible libraries and defeats the purpose of Catalyst (at that point you're just building an AppKit app). You could then create a bundle using Firebase and load it into your Catalyst app. |
I really hope it's not going to only work for Catalyst supported apps. We really need this to work for all macOS apps with or without Catalyst. |
AppKit support is also on our list of things to do. Fortunately, the Firebase website wouldn't need to distinguish between the two (i.e. console can display both as platform macOS), so much of the work is overlapping. |
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? |
@appfrilans as far as I can tell, UIKit for Mac apps need an XCFramework instead of regular frameworks (please someone jump in and correct me if this is incorrect 🙂) - CocoaPods doesn't currently support that. I'm installing Catalina beta now on and hope to get XCFrameworks built for the open source pods that currently support macOS, I'll be updating this thread as I discover things (may not be until early next week that I'm successful, but I'll try to get something ASAP). |
Here are someone who have gotten iOS frameworks working for UIKit for mac (not macOS though): |
Thanks for the link, I tried a bunch last night but only ran into multiple errors with no real feedback, only an error message: To add a snippet of information from the above link, Catalyst frameworks must be built against the iOS SDK not the macOS SDK. We're currently relying on CocoaPods for the framework build during our zip file as well, still trying to figure out the best way to build for the new platform. There's very little documentation on XCFrameworks and the tool doesn't provide much information on failures - but we're trying and will continue to try 😄 |
Does the new Xcode Beta provide a better error or the same useless nondescript ones? |
Unfortunately this was last night with the new beta. |
Good news: I was able to build some static Bad news: The way we currently package the frameworks with I'll try to use the |
Is this true ? I can build a normal UIKit for macOS with |
Any updates on this? This would be critical for many apps. |
Still working away, apologies for the radio silence. I'll post when I can get something to work for
Sorry for the confusion, I was thinking more from a distribution standpoint. Yes one can make a standard |
As a side note - if anyone has successfully taken a CocoaPod and built it to support both UIKit for Mac as well as iOS + simulator, please share any resources you can 😄 |
Hi, has anyone taken a look at this solution? #583 (comment) |
@kaleidscpe must have missed that, will take a look when I can. Otherwise I have an xcframework for FirebaseCore, GoogleUtilities, and FirebaseStorage although I'm having some difficulties getting Storage working - there's a This is the
Adding |
Turns out it was a silly project configuration error and I got it up and running. Once I verify things I'll probably create a GitHub release with the compiled XCFrameworks for testing purposes. Note: these will only be the open source frameworks to start (the ones available in this GitHub repo). |
@ryanwilson any chance you can share your findings with the GoogleMaps devs? Looks like the same error is also happening with that SDK, but I can't find a Github repo for GoogleMaps to create a ticket... |
Good afternoon, we are super happy that you will allow us to use Firebase for our iPad app on the Mac. Any idea when the new frameworks will be released? We had to abstract all our call to Firebase from our App to get it working at the moment. |
We shipped our Catalyst app (PDF Viewer) and we're REALLY missing Firebase Crashlytics. Is there a rough ETA for it? Is there anything we can do to help/beta-test? |
@samedson Is there any update or ETA on Firebase Crashlytics SDKs? I assume this will replace old Fabric Crashlytics and be compatible with Catalyst? |
Hey all, we are working towards providing this support - it's is a high priority for us. We'll let you know when there is news to share. |
@samedson thanks for the update! Can you please also confirm that Firebase support for macOS (i.e. non-Catalyst) is being looked into? We're receiving emails from Google to migrate our code but Firebase isn't fully supported, nor is there support for Analytics. |
Right now we have community support for macOS here: https://github.com/firebase/firebase-ios-sdk#macos-and-tvos. More fully fledged support is TBD. You can currently get Crashlytics on macOS without Analytics by setting it up as an iOS app in the Firebase Console, and including the pods:
|
Good afternoon.
Thank you very much :) |
In general, you can search on the Catalyst tag in this Issues list, to get more Catalyst-specific status. Here are the answers:
|
@paulb777 Need some clarifications on the current state and build instructions :
It looks like Firebase/Core (6.10.0) needs Firebase Analytics. Thanks |
|
@paulb777 |
@EliteTechnicalCare Only the comment above. Feel free to create another issue if you'd like to track Crashlytics for Catalyst specifically. |
This could be a game changer: CocoaPods/CocoaPods#9148 (XCFramework support in Cocoapods ✅) |
@Blackjacx We (PSPDFKit) did sponsor this particular CocoaPods feature. It will definitely make distribution easier in the future. It's not something that will help the Firebase team here, more additional work I would schedule after the initial support for Catalyst. |
It's definitely helpful for zip builds of our open source SDKs - huge thanks @steipete for sponsoring this feature (on behalf of Firebase as well as the whole community)! There's still work to be done to get the closed source SDKs up and running with the internal build system. |
What is the current status, where I can check the progress on all this, not bothering anyone here at the issues ? |
@squm Good point, thanks! I updated the repo's README today with a summary of the current state of Catalyst support. I'm going to close this umbrella issue in favor of more specific questions and issues. Please check existing Catalyst issues and create new issues for additional issues and questions. |
@paulb777 I am using GoogleSignIn with FirebaseAuth. Where does that fall in all this? |
GoogleSignIn is mostly out of scope for us here, but it's a binary CocoaPod so Catalyst support would require more work. Probably best to follow up directly on one of the GoogleSignIn channels. |
I don't see firebase analytics/crashlytics listed in the README. Are these not "supported" yet? |
I found some requests here: googlesamples/google-services#420
But radio silence.
… On Dec 19, 2019, at 11:05 AM, Paul Beusterien ***@***.***> wrote:
GoogleSignIn is mostly out of scope for us here, but it's a binary CocoaPod <https://github.com/CocoaPods/Specs/blob/master/Specs/d/4/0/GoogleSignIn/5.0.2/GoogleSignIn.podspec.json#L36> so Catalyst support would require more work. Probably best to follow up directly on one of the GoogleSignIn channels <https://github.com/CocoaPods/Specs/blob/master/Specs/d/4/0/GoogleSignIn/5.0.2/GoogleSignIn.podspec.json#L36>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#3144?email_source=notifications&email_token=AH3C23BGCM3ZKWSRDIG7GALQZPAZJA5CNFSM4HTZHDMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHKTKVY#issuecomment-567620951>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AH3C23BRBTO5P4KHIVJWY23QZPAZJANCNFSM4HTZHDMA>.
|
@paulb777 To integrate GoogleSignIn with Firebase Authentication on MacOS, can I use GTMAppAuth (https://github.com/google/GTMAppAuth) with the signIn(withCustomToken:completion:) method? Is there someplace else I should be asking this question? |
@girishw It's best to open a separate issue to more easily track and assign the question. |
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Attempting to build an iPad app for Mac, but it uses Firebase via Cocoapods, but we receive a lot of the following error:
Building for UIKit for Mac, but the linked framework '<frameworkName>.framework' was built for <unknown>. You may need to restrict the platforms for which this framework should be linked in the target editor.
Apparently, the Firebase binaries need to be built using Xcode 11 with the "Mac" option checked.
Relevant Code:
The text was updated successfully, but these errors were encountered: