网页学习体会

  • 首页
  • 个人博客
您的位置: 首页  >  IT文章  >  xcode9.4 报错 error:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

xcode9.4 报错 error:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

分类: IT文章 • 2022-02-25 14:44:47

xcode9.4 报错 error:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

原因 http | https 协议  不能正常使用

找到的解决方案

但是在字段名上有了变化,不过复制进去 还是会自动选择对应的

解决办法

1. 在Info.plist中添加 App Transport Security Settings,类型Dictionary

2. 在 App Transport Security   Settings 下  添加  Allow Arbitrary Loads 值为yes 

xcode9.4 报错 error:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

相关推荐

  • 网络请求报错:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
  • Xcode7 网络请求报错:The resource could not be loaded because the App Transport Security policy requir
  • iOS9 出现 the resource could not be loaded because the app transport security policy requires the use of a secure connection 解决办法
  • xcode9.4 报错 error:The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
  • 端口访问不了的原因
  • swift 加载 本地html 和 网络路径
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 网页学习体会    备案号:   粤ICP备20002247号