Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have an app that calls API request from the server that works perfectly before adding developer signing Cert.

After enabling the Developer Signing, i always get failure server request

finished with error - code: -1003

any idea why i get this?

Thanks you in advance

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
169 views
Welcome To Ask or Share your Answers For Others

1 Answer

I already know why i get the issue. My App request from server and it is sandboxed. I need to enable the Outgoing Connections insdie the Capabilities>App Sandbox to successfully request from server

As per apple docs Like here

you need the Outbound Connection capability because the app is initiating the connection. An app acting as a server would require the Inbound Connection entitlement.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...