Hello,
we found out that the problem of our product comes when running a python web server locally.
The app accesses the server via http://127.0.0.1:5000
But the server is never running.
On the console there are no errors, only kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events
The app have these entitlements:
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
Because the app is client and server at the same time I added both entitlements, but I don't know if this could create a conflict...
I also have these lines in the app Info.plist to allow access to a non secure endpoint:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>127.0.0.1</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
<key>NSExceptionRequiresForwardSecrecy</key>
<false/>
<key>NSIncludesSubdomains</key>
<true/>
</dict>
</dict>
</dict>
Is there anything else that maybe I need to consider?
Many thanks in advance.
Topic:
Code Signing
SubTopic:
Entitlements
Tags: