User interaction is not allowed
Good day,
For an application built on Sencha Touch 2.1.0, when doing
Code:
sencha app build native
from a SSH session to a MacOS, I receive the following error message and the build fails:
Code:
[ERR] failed running native packager
[ERR] /Users/gaetan/Dvp/mbanking/build/mBankingApp/native//mBanking.app: User interaction is not allowed.
The application was successfully packaged
Failed to execute system command while signing application with error 256
Failed to package application
When running the same command in a terminal from the UI, all works very nicely.
Is there anything I can do to build my app from a remote ssh session? Or should I really have a interactive UI to build the application ? This would be a problem to automate our builds...
Thanks for your help!
Gaƫtan
Exception raised in StBuildRunner()
I dig a little bit more in the code and found out the exception is raised at the following line of ./plugins/touch/current/app-build.js (within Sencha Cmd):
Code:
var stbuildRunner = new StBuildRunner(),
args = ['package', resolvePath(src, 'packager.temp.json')],
stbuildOut = stbuildRunner.run(args),
exitCode = stbuildOut.getExitCode(),
stdout = stbuildOut.getOutput();
Class StBuildRunner is part of sencha.jar so there's nothing more I can do to troubleshoot this further.
Is there any chance to get a quick feedback about this? Will remote build (through ssh ever be supported ?
Thanks,