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/13 09:30:55 UTC

[GitHub] martispaul opened a new issue #523: With cordova-ios 5.0.0, phonegap-plugin-push cannot be added

martispaul opened a new issue #523: With cordova-ios 5.0.0, phonegap-plugin-push cannot be added
URL: https://github.com/apache/cordova-ios/issues/523
 
 
   # Bug Report
   
   ## Problem
   
   With cordova-ios 5.0.0, phonegap-plugin-push cannot be added
   
   ### What is expected to happen?
   
   Created new cordova ios app with ios platform 5.0.0, adding phonegap-plugin-push should be successfully. 
   
   ### What does actually happen?
   
   Adding the phonegap-plugin-push fails on a new created app (with cordova-ios@5.0.0).
   On the older cordova-ios version (4.5.4), adding the plugin was successfully. 
   
   ## Information
   
   Using windows PC, create a blank cordova app
   Add platform ios@5.0.0
   Add plugin phonegap-plugin-push@2.2.3
   
   C:\Users\martispa\Desktop\TestIOS\hello>**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: com.example.hello
           Name: HelloWorld
   iOS project created with cordova-ios@5.0.0
   Installing "cordova-plugin-whitelist" for ios
   --save flag or autosave detected
   Saving ios@~5.0.0 into config.xml file ...
   
   C:\Users\martispa\Desktop\TestIOS\hello>**cordova plugin add phonegap-plugin-push@2.2.3**
   Installing "phonegap-plugin-push" for ios
   "framework" tag with type "podspec" is deprecated and will be removed. Please use the "podspec" tag.
   Failed to install 'phonegap-plugin-push': Error: ENOENT: no such file or directory, open 'C:\Users\martispa\Desktop\TestIOS\hello\platforms\ios\Pods\Pods.xcodeproj\project.pbxproj'
       at Object.fs.openSync (fs.js:646:18)
       at Object.fs.readFileSync (fs.js:551:33)
       at pbxProject.parseSync (C:\Users\martispa\Desktop\TestIOS\hello\node_modules\xcode\lib\pbxProject.js:61:28)
       at Api.setSwiftVersionForCocoaPodsLibraries (C:\Users\martispa\Desktop\TestIOS\hello\platforms\ios\cordova\Api.js:587:18)
       at C:\Users\martispa\Desktop\TestIOS\hello\platforms\ios\cordova\Api.js:448:26
       at _fulfilled (C:\Users\martispa\Desktop\TestIOS\hello\node_modules\q\q.js:854:54)
       at self.promiseDispatch.done (C:\Users\martispa\Desktop\TestIOS\hello\node_modules\q\q.js:883:30)
       at Promise.promise.promiseDispatch (C:\Users\martispa\Desktop\TestIOS\hello\node_modules\q\q.js:816:13)
       at C:\Users\martispa\Desktop\TestIOS\hello\node_modules\q\q.js:624:44
       at runSingle (C:\Users\martispa\Desktop\TestIOS\hello\node_modules\q\q.js:137:13)
   ENOENT: no such file or directory, open 'C:\Users\martispa\Desktop\TestIOS\hello\platforms\ios\Pods\Pods.xcodeproj\project.pbxproj'
   
   ### Command or Code
   
   cordova platform add ios@5.0.0
   cordova plugin add phonegap-plugin-push@2.2.3
   
   ### Version information
   
   Node: v8.15.0
   NPM: 6.4.1
   Cordova: 8.1.2 (cordova-lib@8.1.1)
   Cordova platform: ios@5.0.0
   Phonegap-plugin-push@2.2.3
   
   ## Checklist
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   
   Can someone help me narrow the issue down to a platform ios maybe? Or should i raise this issue to the plugin specific github page (phonegap-plugin-push).
   PS: Adding the plugin on platform cordova-android@7.1.1 is successful. 

----------------------------------------------------------------
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