Complie error on Xcode 6:Shell Script Invocation Error, failed with exit code 5

I have verified my installation,but the issue still exist.

If I use the mono 3.2.6,pop up the dialog and build error in Xcode:

If I use the mono 4.0.2.5,build succeeded,but can not run.