Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

CLI titanium build fails when run as cron

$
0
0

CLI version 3.2.1, Titanium SDK version 3.2.2.GA, MAC OSX 10.9.2

The following commands work fine when run in command line but give an error when run as a cron job. Does anybody know what could be causing this? I have removed the actual paths and passwords.

Android Build

titanium build --build-only --platform android --target dist-playstore --project-dir [dir] --android-sdk [sdk] --alias [alias] --keystore [keystore] --output-dir [out_dir] --store-password [pass] --key-password [pass]
The above returns the following error:

[ERROR] : Invalid "--key-password" value "[pass]"

iOS Build

titanium build --platform ios --build-only --device-family universal --target dist-appstore --project-dir [dir] --distribution-name [dist] --pp-uuid [uuid]
The above returns the following error:

[ERROR] : Invalid "--distribution-name" value "[dist]"

Again both of these commands when run through command line compile the apps perfectly but when run as a cron job (i have to automate this process on a mac) they fail with the errors given above. Any help would be greatly appreciated


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>