EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 444 forks source link

'GoogleUtilities/GULAppEnvironmentUtil.h' file not found #1530

Open kalise0 opened 4 years ago

kalise0 commented 4 years ago

Hi there,

I'm using the last native script version but am unable to build for ios due to Firebase Pod error : 'GoogleUtilities/GULAppEnvironmentUtil.h' file not found

I tried lot of fixes, updating cocoapods, updating all plugins, removing all node_modules, platforms etc. Nothing seems to work.

It seems users using flutter are experiencing the same issue due to deprecated Google Pod.

Nativescript version : 6.3.2

Does anyone have this issue ?

Thanks a lot !

EddyVerbruggen commented 4 years ago

Can you please share a repo that demonstrates this issue? Or do you experience it with one of the demo apps in this repo as well?

kalise0 commented 4 years ago

Hi, no i can't (cannot share my private repo), but it could do the trick with demo. I rolledback Nativescript to version 6.1.0 to make it work.

Le jeu. 9 janv. 2020 à 18:15, Eddy Verbruggen notifications@github.com a écrit :

Can you please share a repo that demonstrates this issue? Or do you experience it with one of the demo apps in this repo as well?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/1530?email_source=notifications&email_token=AMUVMS3GRBHOV3WRHDELAB3Q45LUHA5CNFSM4KEVX322YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIRCECA#issuecomment-572662280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUVMS4KLD47TKBS3BXFX5DQ45LUHANCNFSM4KEVX32Q .

chadzxrex commented 4 years ago

Hey there, I faced the same issue when I enabled the firebase-message. If I didn't enable it, the issue wouldn't appear. Using NativeScript at version 6.3.0.

chadzxrex commented 4 years ago

Here's a quick workaround.

  1. Go to the platfroms/ios
  2. Update the GULAppEnvironmentUtil to latest version by pod update GoogleUtilities
  3. Then you will c the following message.

image

After adopting these steps, I can successfully build the app to a real iOS device.

FYI: https://github.com/invertase/react-native-firebase/issues/3938#issuecomment-658890585