When I build project from terminal by using 'xcodebuild' command I succeed, but when I try to do run same script from cron task I receive error "Code Sign error: The identity '****' doesn't match any valid certificate/private key pair in the default keychain"
I think problem is in settings and permissions of crontab utility, it seems crontab does not see my keychain
Can anyone provide me terminal command how to make my keychain visible for crontab
When you start a bash shell, you have 3 modes: **Login Interactive Shell**, when you logon from the console, **Non-Login Interactive Shell**, when you start from a terminal, and **Non-Interactive Shell** when it's launched from a script.
In the third case, it don't read the ~/.bash_profile file.So you probably have a problem with the $PATH which is defined in this file.You may be add "source ~/.bash_profile" in your script to redefine the correct variables or redefine the correct path in the script. – ericc Dec 26 '11 at 11:52