What to do when data downloading from the server becomes an error in Mac App
Settings are required when doing a URL Session with MacApp
A server with the specified hostname could not be found
If you try to get the server data with URLSession without setting anything, you will get the above error.
Setting
Under App’s Target Signing & Capabilities, check Outgoing Connections in the App Sandbox.
Now you can get the data from the server.
🐣
I’m a freelance engineer.
Work consultation
Please feel free to contact us with a brief development description.
rockyshikoku@gmail.com
I am making an app that uses Core ML and ARKit.
We send machine learning / AR related information.