沙箱不允许访问com.apple.dnssd.service,可可macos和firebase firestore
我是迅速发展的新手。我正在为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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在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: