Internet access of my Mac App Store app

Hello


I would like to integrate a tracking module (mixpanel) to my mac app store app.

The aim is to anonimesly ask the user if he want to be tracked or not.


For this I need outgoing connection enabled

It seems it's not possible with the Mac App Store apps ?


Thanks for your help

Accepted Reply

It seems it's not possible with the Mac App Store apps ?

In a sandboxed app, and all Mac App Store apps must be sandboxed, you must explicitly request access to the network via the

com.apple.security.network.client
and
com.apple.security.network.server
entitlements. The former enables outgoing TCP connections, where the latter enables incoming TCP connections and UDP. Is that not working for you?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Replies

It seems it's not possible with the Mac App Store apps ?

In a sandboxed app, and all Mac App Store apps must be sandboxed, you must explicitly request access to the network via the

com.apple.security.network.client
and
com.apple.security.network.server
entitlements. The former enables outgoing TCP connections, where the latter enables incoming TCP connections and UDP. Is that not working for you?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Thank you for your reply.


I thought it was to communicate with local machines on the same network :-)


Let me try that !