-
Notifications
You must be signed in to change notification settings - Fork 14
Description
monaca remote build command requires triggering builds from UI before being able to build from command line in these cases:
- 1st iOS build of new project or 1st build after updating provisioning profiles (both debug and release builds): the remote build command always fails and prints the following error message:
Missing release provisioning file. Please upload it from remote build settings by executing
monaca remote build --browser.
The only workaround for this issue is to use a browser to trigger an iOS build in debug and/or release mode depending on the type of build you try to trigger, then the subsequent remote builds triggered from command line will work until the provisioning profiles are updated.
- 1st Android build in release mode: the 1st Android build triggered from command line returns the following error message:
Missing KeyStore configuration. Configure remote build by executing
monaca remote build --browser.
The only workaround for this issue is to use a browser to enter the Android keystore password and trigger an Android release build, then the subsequent remote builds triggered from command line will work until the keystore is updated.
These issues defeat the purpose of having a command line tool to trigger remote builds, and automating build processes with a tool that requires manipulation in UI in some scenario is pretty difficult.
I have already contacted Monaca support regarding this issue back in 2020 and nothing changed since then, the same behavior could be observed when using monaca-lib to trigger remote builds.