You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/02/12 05:35:21 UTC
[GitHub] erisu commented on issue #521: In latest cordova
ios(cordova-ios@5.0.0), failed to install Onesignal plugin
erisu commented on issue #521: In latest cordova ios(cordova-ios@5.0.0), failed to install Onesignal plugin
URL: https://github.com/apache/cordova-ios/issues/521#issuecomment-462622901
@kkjhamb01 As your error message says, you can not run Cocopods as root. (`[!] You cannot run CocoaPods as root.`)
You will need to fix that.
I am able to create a new project, add the plugin, and build successfully.
```
Cordova version: 8.1.2 (cordova-lib@8.1.1)
Node version: v8.15.0
NPM version: 6.4.1
$ cordova platform add ios@5.0.0
Using cordova-fetch for cordova-ios@5.0.0
Adding ios project...
Creating Cordova project for the iOS platform:
Path: platforms/ios
Package:
Name: iosTest
iOS project created with cordova-ios@5.0.0
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Installing "cordova-plugin-whitelist" for ios
Adding cordova-plugin-whitelist to package.json
Saved plugin info for "cordova-plugin-whitelist" to config.xml
--save flag or autosave detected
Saving ios@~5.0.0 into config.xml file ...
$ cordova plugin add onesignal-cordova-plugin --save
Installing "onesignal-cordova-plugin" for ios
"framework" tag with type "podspec" is deprecated and will be removed. Please use the "podspec" tag.
Running command: pod install --verbose
...
Adding onesignal-cordova-plugin to package.json
Saved plugin info for "onesignal-cordova-plugin" to config.xml
$ cordova build ios
...
** BUILD SUCCEEDED **
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org