Open viveknarula1980 opened 3 years ago
Hi @viveknarula1980,
Please share the output of ruby --version
and pod --version
Hi @andrehtissot, I have trouble installing fcm for iOS as well.
On Android it works like a charm. It seems that it has a pod problem.
pod --version 1.10.1
ruby --version ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
Installing "cordova-plugin-fcm-with-dependecy-updated" for ios
Running command: pod install --verbose
Failed to install 'cordova-plugin-fcm-with-dependecy-updated': Error: pod: Command failed with exit code 1
at ChildProcess.whenDone (/Users/ecovelo/Projects/appli-usager-v2/platforms/ios/cordova/node_modules/cordova-common/src/superspawn.js:136:25)
at ChildProcess.emit (node:events:379:20)
at maybeClose (node:internal/child_process:1069:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:300:5)
pod: Command failed with exit code 1
[ERROR] An error occurred while running subprocess cordova.
Hi,
I am unable to install plugin on MAC, even on a fresh build black ionic repository. I have used this plugin in many of my previous projects however this time, its not working.
Error - `Installing "cordova-plugin-fcm-with-dependecy-updated" for ios Failed to install 'cordova-plugin-fcm-with-dependecy-updated': undefined CordovaError: Promise rejected with non-error: '/bin/sh: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory\n' at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:29:15) at process._tickCallback (internal/process/next_tick.js:68:7) [ERROR] An error occurred while running subprocess cordova.
` Environment -
Please let me know if any other information is required.
Thanks, Vivek