Hi,
I want my app to be able to run /usr/bin/ibtool.
However when my app is sandboxed, it won't allow me to run it.
Does anyone know what entitlement I need to give my app so that I can run ibtool - from within my app?
Thanks!
Chris
xcrun: error: cannot be used within an App Sandbox.
Or modern systems
/usr/bin/ibtool
is a trampoline that uses
xcrun
to find your preferred version of Xcode (the one selected via
xcode-select) and launch the
ibtool
from there.
xcrun
doesn’t like running in the sandbox, and so you get this error.
The solution is to ask your user to select their preferred version of Xcode and then run
ibtool
from within that. You may run into other problems down the pike, but this will be enough to
ibtool
actually launching.
Share and Enjoy
—
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"