启用开发人员签名失败服务器请求MacOS [英] Enable Developer Signing Fails Server request MacOS

查看:160
本文介绍了启用开发人员签名失败服务器请求MacOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,可以在添加开发人员签名证书之前,从服务器调用API请求,效果很好.

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

完成错误-代码:-1003

知道我为什么要得到这个吗?

any idea why i get this?

提前谢谢

推荐答案

我已经知道为什么会出现此问题.来自服务器的我的应用"请求,并且已沙箱化.我需要启用 Outgoing Connections insdie the Capabilities> App Sandbox才能成功从服务器请求

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

根据Apple文档

您需要出站连接功能,因为该应用程序是 启动连接.充当服务器的应用需要 入站连接权利.

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.

这篇关于启用开发人员签名失败服务器请求MacOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆