小编sin*_*ibu的帖子

不允许向本地主机发出请求 - swift

我无法在 swift 5、XCode 版本 11.6 (11E708) 和 iOS 13.6 中发布到服务器。我收到此错误:

2020-08-26 08:20:55.252545-0400 iris[1642:721953] Task <BBB3809B-7BEF-4F60-9685-774027ADA7E6>.<1> finished with error [-1022] Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." UserInfo={NSUnderlyingError=0x2810ad710 {Error Domain=kCFErrorDomainCFNetwork Code=-1022 "(null)"}, NSErrorFailingURLStringKey=http://localhost:8000/searchImage/, NSErrorFailingURLKey=http://localhost:8000/searchImage/, NSLocalizedDescription=The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.}
error=Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport …
Run Code Online (Sandbox Code Playgroud)

security xcode ios swift5

2
推荐指数
1
解决办法
6064
查看次数

更改哪些键或字符触发 vscode 自动完成

我是 VSCode 的新手,到目前为止我很喜欢它,但是我在更改智能感知自动完成触发器时遇到了问题。在 javascript 文件中,键入.(句点、点) 或((括号) 会自动完成建议。我觉得这非常烦人。

我想仅在选项卡上触发自动完成。

我读过这个页面:https : //code.visualstudio.com/docs/editor/intellisense#_customizing-intellisense

我搜索了我的 keybindings.json 文件,但找不到.(键绑定,所以我可以关闭它。

如果我忽略了一些明显的东西,任何帮助都表示赞赏和抱歉。

visual-studio-code

1
推荐指数
1
解决办法
875
查看次数

标签 统计

ios ×1

security ×1

swift5 ×1

visual-studio-code ×1

xcode ×1