cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shazron <...@git.apache.org>
Subject [GitHub] cordova-ios issue #234: CB-9825 cocoapod integration for plugins
Date Tue, 09 Aug 2016 22:38:49 GMT
Github user shazron commented on the issue:

    https://github.com/apache/cordova-ios/pull/234
  
    Tests fail. I cloned cordova-ios, applied the PR patch, npm install then npm test.
    Perhaps you forgot to check in `tests/spec/unit/fixtures/testProj/platforms/ios/Podfile`?
    
    Log:
    ``` 
    Failures:
    
      1) installPodSync writes to the Podfile via fs.writeFileSync
       Message:
         Error: ENOENT: no such file or directory, open '/Users/shaz/Desktop/cordova-ios/tests/spec/unit/fixtures/testProj/platforms/ios/Podfile'
       Stacktrace:
         Error: ENOENT: no such file or directory, open '/Users/shaz/Desktop/cordova-ios/tests/spec/unit/fixtures/testProj/platforms/ios/Podfile'
      at Error (native)
      at Object.fs.openSync (fs.js:634:18)
      at Object.fs.readFileSync (fs.js:502:33)
      at editPodfileSync (/Users/shaz/Desktop/cordova-ios/bin/templates/scripts/cordova/lib/podMod.js:33:30)
      at Object.installPodSync (/Users/shaz/Desktop/cordova-ios/bin/templates/scripts/cordova/lib/podMod.js:126:25)
      at .<anonymous> (/Users/shaz/Desktop/cordova-ios/tests/spec/unit/podMod.spec.js:43:10)
      at tryOnTimeout (timers.js:224:11)
      at Timer.listOnTimeout (timers.js:198:5)
    
    
      2) uninstallPodSync removes pod from Podfile
       Message:
         Error: ENOENT: no such file or directory, open '/Users/shaz/Desktop/cordova-ios/tests/spec/unit/fixtures/testProj/platforms/ios/Podfile'
       Stacktrace:
         Error: ENOENT: no such file or directory, open '/Users/shaz/Desktop/cordova-ios/tests/spec/unit/fixtures/testProj/platforms/ios/Podfile'
      at Error (native)
      at Object.fs.openSync (fs.js:634:18)
      at Object.fs.readFileSync (fs.js:502:33)
      at editPodfileSync (/Users/shaz/Desktop/cordova-ios/bin/templates/scripts/cordova/lib/podMod.js:33:30)
      at Object.uninstallPodSync (/Users/shaz/Desktop/cordova-ios/bin/templates/scripts/cordova/lib/podMod.js:140:25)
      at .<anonymous> (/Users/shaz/Desktop/cordova-ios/tests/spec/unit/podMod.spec.js:59:10)
      at tryOnTimeout (timers.js:224:11)
      at Timer.listOnTimeout (timers.js:198:5)
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message