‘AMapSearch-NO-IDFA’ uses the unencrypted ‘http’ protocol to transfer the Pod解决
- 发表于
- flutter
错误提示
1 |
[!] 'AMapFoundation' uses the unencrypted 'http' protocol to transfer the Pod. Please be sure you're in a safe network with only trusted hosts. Otherwise, please reach out to the library author to notify them of this security issue. |
解决方法:
ios/Podfile文件
1 2 3 |
target 'Runner' do # use_frameworks! 注释这行 use_modular_headers! |
解决方案:注释掉Podfile里的use_framework!
,或者使用objc重新创建项目。
原因:0.8.0开始使用Pod远程依赖,高德提供的pod是静态库,而swift默认用的是动态库依赖。
原文连接:‘AMapSearch-NO-IDFA’ uses the unencrypted ‘http’ protocol to transfer the Pod解决
所有媒体,可在保留署名、
原文连接
的情况下转载,若非则不得使用我方内容。