-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pod install fails with non-error message for fresh installations #3686
Comments
I've just upgraded to the latest nativescript version and the problem persists 😢 @rosen-vladimirov, any ideas what I can try next ? |
I've tested now on the newer NativeScript 4.2.3 version and the problem is still here 😞
This is really blocking our CI efforts 😞 |
I think this is happening to me too in my CI environment. I am using Bitrise and I don't get a detailed error message but I do get the Pod install command failed message. This is probably due to Bitrise dropping something in the message. I can build locally. @surdu - have you had any luck on fixing this? |
@vtjon Nope! |
I think I narrowed down what is going on with my environment. I have nstudio/camera-plus and the nativescript-imagepicker in my project. I get a couple of warnings that appear to crash the prepare process. The pertinent part is:
I am not sure if this should be a fatal error or not. |
Hey guys,
const childProcess = yield this.$childProcess.spawnFromEvent(podTool, ["install"], "close", { cwd: this.getPlatformData(projectData).projectRoot, stdio: ['pipe', process.stdout, 'pipe'] }); to: const childProcess = yield this.$childProcess.spawnFromEvent(podTool, ["install"], "close", { cwd: this.getPlatformData(projectData).projectRoot, stdio: ['pipe', process.stdout, 'pipe'] }, { throwError: false }); This should trigger special logic in CLI to try parsing the data from stderr of Can you please give it a try and inform us if it resolves your issue? |
@rosen-vladimirov I am not going to be able to try this solution at this time as it was only happening in my cloud CI environment (bitrise) and I managed the clear the warnings so I could finally build. Thanks for your response though. Hopefully surdu can try. |
@rosen-vladimirov Tried it on my local machine and doesn't appear to fix the issue, as finally I still get:
Here is another interesting part when using
Shouldn't that cloning info message be in stdout not stderr ? Complete log can be found here. |
Hey @surdu , |
@rosen-vladimirov This solves the problem for my machine, but the one on the CI appears to still persist. Here is the full output from the CI: https://pastebin.com/raw/rPD76Rgm Please note that the |
Hey @surdu ,
|
@rosen-vladimirov That doesn't seem to solve the issue :( |
@rosen-vladimirov BUT the more drastic measure of deleting the whole |
I first noticed the problem on CI when trying to prepare an iOS project on a new machine, but in order to exclude being a problem with the CI itself I managed to find a way to reproduce it also on my local machine:
mv ~/.cocoapods ~/.cocoapods.bkp
mv ~/Library/Caches/CocoaPods ~/Library/Caches/CocoaPods.bkp
tns create Test
tns plugin add nativescript-plugin-firebase
tns prepare ios --log trace
This fails with the following error on my local machine, which looks like normal git output, not an error:
On our CI machine the error is more detailed, but still looks like normal git output.
Versions:
The text was updated successfully, but these errors were encountered: