forked from fechanique/cordova-plugin-fcm
-
-
Notifications
You must be signed in to change notification settings - Fork 277
Open
Description
Hi, I have a problem with this component.
When I try to generate platform in IOS. I catch this error
Using cordova-fetch for cordova-ios@^5.0.0
Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms/iOS
iOS project created with [email protected]
Installing "cordova-custom-config" for ios
Installing "cordova-plugin-device" for ios
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/felix/Desktop/Apps/appBase/node_modules/cordova-common/src/superspawn.js:135:23)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1048:16)
at Socket.<anonymous> (internal/child_process.js:439:11)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:673:12)
pod: Command failed with exit code 1
node -v. 14.15.0
Cordova -version 10.0.0
ioni info 5.4.16
I have a new MacBookAir M1.
I followed this steps:
to install completely cocoapods on Mac with M1 chip (Apple Silicon), please follow those steps:
-Duplicate the Terminal application in the Utilities folder.
-Right click on the app and choose Get Info.
-Rename the other version of the app as you like.
-Check the option "open with Rosetta".
-Install Cocoapods with the command "sudo gem install cocoapods"
-Type the command line "gem install ffi" to fix the ffi bundle problem. Now you can do a "pod install" without problem.
this is not working for me
Thanks in advance
Florian-crg
Metadata
Metadata
Assignees
Labels
No labels