沙箱不允许访问com.apple.dnssd.service,可可macos和firebase firestore

发布于 2025-02-10 02:38:28 字数 362 浏览 0 评论 0原文

我是迅速发展的新手。我正在为iOS和MACOS创建与Firebase Firestore存储连接的MacOS应用程序。

在iOS中,Everying可以很好地与Firebase中的读/写数据一起工作。

但是在Macos方面,我正在努力配置Firebase。

当我尝试从Firestore读取数据时,请检查此HAPEND

已检查MacOS目标的SandBox复选框。

传入网络连接(服务器) 和 传出网络连接(客户端)

I'm new in swift development. I'm creating a storyboard app for ios and macOS connected with firebase firestore Storage.

In ios everthing works fine with read/write data in Firebase.

But on the macOS side I'm struggling with configuring firebase.

This hapend when i try to read data from firestore

The Sandbox checkbox for macOS Target are checked.

Incoming network connections (server)
and
Outgoing network connections (client)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

娇纵 2025-02-17 02:38:28

在MacOS上,您需要启用网络功能,使您的应用程序可以访问Internet。

为了解决这个问题,请进入目标设置 - >签名&功能和检查:

  • 传入网络连接(服务器)。
  • 传出网络连接(客户端)

On macOS you need to enable network capabilities for your app to have access to the internet.

To fix that, go into Target Settings -> Signing & Capabilities and check:

  • Incoming network connections (server).
  • Outgoing network connections (client)
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文