Cocoapods version check fails on Travis CI #462
Labels
bug
Something isn't working properly
build issue
An issue related to build process
ios
relates to iOS platform
Bug report
CHECKLIST
I have read the issue reporting guidelines
I confirm this is a suspected bug or issue that will affect other users
Current behavior:
On travis CI, when using image
xcode11.5
which comes with CocoaPods v1.9.2, when runningprints the following at some point :
In spite of this error, though, the build carries on.
Expected behavior:
The plugin should be installed properly as
1.9.2
complies with^1.9.0
.Steps to reproduce:
Not 100% sure if this is related to Cocoapods version or the Travis environment.
In there, running
pod --version
prints out
Screenshots
Environment information
cordova -v
cordova platform ls
cordova plugin ls
sw_vers
winver
Runtime issue
iOS build issue:
Other information:
I believe the install fails because of the code in
cordova-plugin-firebasex/scripts/ios/before_plugin_install.js
Lines 10 to 23 in cee0c4e
That code expects the output of
pod --version
to be a single-line string with a version number (which seems like a valid assumption) , but it therefore fails to parse this multiline stringOne option might be to be a bit more laxist, and expect the version number to be on the last line of the stdout, and just validate that part.
The text was updated successfully, but these errors were encountered: