Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

M1 Issue - FirebaseSDK #1867

Open
sudiptosen opened this issue Dec 27, 2021 · 4 comments
Open

M1 Issue - FirebaseSDK #1867

sudiptosen opened this issue Dec 27, 2021 · 4 comments

Comments

@sudiptosen
Copy link

sudiptosen commented Dec 27, 2021

Please post if you are facing any issues with M1. If it's working fine, please post your config or Custom Podfile.

Steps to reproduce:

  1. Install NS 8 on an M1 MacOs
  2. Run ns plugin add @nativescript/firebase
  3. Run npm run config from node_module\@nativescript\firebase
  4. Run ns build ios from project root folder

Build fails with Linker error.

The Firebase team has been working on M1 issues like in this issue: Issue 7125

Question Is:

  1. Is there a way to force install Firebase SDK 8. The current install forces SDK 6.3
  2. Is there a way to install only selected Pods? Even if I exclude Analytics, the pod is being installed

Please post if you are facing the same issue.

Thanks!

@7ammer
Copy link

7ammer commented Feb 2, 2022

I'm also having issues with this :(

I had a project with firebase in it. I removed firebase and the linker error stops and build continues.

@mmartinez23
Copy link

I am also having the same problem.

Is there any solution? I tried cleaning the project, reinstalling the plugins and even cleaning CocoaPods cache but it is still happening.

@tujlaky
Copy link

tujlaky commented Jul 18, 2022

I have the same issue. Tried to overwrite the dependencies but the core version is hardwired so no luck

@tujlaky
Copy link

tujlaky commented Jul 19, 2022

Okay, looks like if I change the version directly in the node_modules it starts working:
In the file node_modules/@nativescript/firebase/platforms/ios/Podfile:

platform :ios, '10.0'
pod 'Firebase/Core', '~>8.14.0'

Not sure if everything will work so more testing needed. But the build is running.

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

4 participants