E0776 Unable to execute '"/usr/bin/xcrun" ...'

From RAD Studio
Jump to: navigation, search

Go Up to Platform Assistant Server Errors Index

The execution of xcrun on the Mac finished with an error. While there are several possible causes, you should:

  • Check that the parameters passed to xcrun are correct, with valid command-line options, as well as valid values for each command-line option that requires them.
  • Check that you have permission to execute xcrun. See Gain Execution Permission on xcrun below.

If you get this error from RAD Studio, you might have not specified a valid certificate name for the target platform configuration (Ad hoc or Application Store) in the Provisioning page. See Completing the Provisioning Page.

Gain Execution Permission on xcrun

In order to run xcrun, you need execution permission on /usr/bin/xcrun. To check your permissions on /usr/bin/xcrun, open a terminal an run:

$ ls -l /usr/bin/xcrun

The output should start with this string: -rwxr-xr-x. If the output starts with a different string, such as -rwxr--r--, run the following command to gain permission to execute xcrun:

$ sudo chmod +x /usr/bin/xcrun

See Also