Cordova app build is failing during the cordova archive step, but was working on Friday Sep 28. No change in the build steps and the version number of all the steps are unchanged. Since this step is failing no apk or ipa files are generated
Its failing with the following errors:
Non-system Ruby in use. This may cause packaging to fail.
If you use RVM, please run rvm use system.
If you use chruby, please run chruby system.
error: archive not found at path ‘/Users/vagrant/git/platforms/ios/[REDACTED].xcarchive’
** EXPORT FAILED **
This is Cordova 8.0.0
Environment:
Where did the issue happen?
Hybrid (Xamarin, Ionic, …) on macOS, includes Visual Studio for Mac, Stable channe
Which build Step causes the issue and which version of the step?
Cordova Archive
Reproducibility
Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
Does the issue happen sporadically, or every time? : Everytime
Does upgrading the build Step to the latest version help? : NO
When did the issue start? : Noticed it Oct 2 (last worked Sep 28)
Local reproduction
_Can it be reproduced on your own Mac/PC by following our [local debug guide]
Cannot be reproduced locally (cordova build & cordova compile both run fine locally)
Local reproduction: Linux / Android (docker based) stack builds
I tried the ‘previous hybrid’ stack. Its failing with a different error now for the same cordova archive [1.1.1] step. Tried the build couple of times.
Hi @fehersanyi-bitrise,
I’ve got solution after add “–buildFlag=’-UseModernBuildSystem=0’” in Cordova archive add Options to append to the cordova-cli build command section.