Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify that the mach service you're connecting to is privileged #1

Merged
merged 1 commit into from
May 9, 2012

Conversation

mdales
Copy link
Contributor

@mdales mdales commented May 9, 2012

Hi there,

Took me a good while to figure this one out :)

If you don't specify XPC_CONNECTION_MACH_SERVICE_PRIVILEGED when connecting to the mach service, the app works in Xcode for some reason, but won't work if launched outside of Xcode (or in things like Instruments).

I wish I knew why it works in Xcode, as it makes sense once you read the docs for that constant, but for now I'm happy that I've worked out why things didn't work when I deployed them!

-- Michael

If you don't specify this, the app works in Xcode for some reason, but won't work if launched outside of Xcode.
@atnan
Copy link
Owner

atnan commented May 9, 2012

Good catch, thanks!

atnan added a commit that referenced this pull request May 9, 2012
Specify that the mach service you're connecting to is privileged.
@atnan atnan merged commit 6b5273a into atnan:master May 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants