iPhone app failing http - what entitlement capability is needed (and where)

I vaguely remember "About Wifi" somewhere but didn't think that sounded like what i need

  • what capability do I need to be able to do http and https
  • and where do I set it? (certificate? profile? appId?)

You don’t need to set anything special to access the network in your iOS app [1]. Apps have access to the network by default [2].

How are you HTTP requests failing? What API are you using to run those requests? And what error do you getback?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] This is different for macOS apps where, if the app is sandboxed, you need to apply the com.apple.security.network.client entitlement.

[2] Although that access can be disabled by the user.

Accepted Answer

I found the answer:

  • the http link included a query parameter that had a parameter with a "^" in it
  • it appears iPhone network runtime handles this differently than macOS or windows

And yes, I know I should have URL encoded the entire sting, but did not expect platform differences

iPhone app failing http - what entitlement capability is needed (and where)
 
 
Q