gpt4 book ai didi

ios - WatchKit NSAppTransportSecurity 错误

转载 作者:行者123 更新时间:2023-11-30 12:23:32 27 4
gpt4 key购买 nike

运行项目时出现此错误:

enter image description here

我已经阅读了很多问题,但这些并不能帮助我解决我的问题。事实上,我已在我的 iOS 应用程序和 watchOS 扩展中将App Transport Security Settings 的值设置为 YES(如我的屏幕截图所示)。

enter image description here

有什么想法吗?谢谢!

最佳答案

“watchkitapp”目标本身似乎是不允许的。您仍然可以将 ATS-Key 添加到“watchkitapp-extension”目标的 Info.plist 中。

您应该能够像这样定义异常域:

enter image description here

关于ios - WatchKit NSAppTransportSecurity 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44506432/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com