跳到正文
文章 flutter

‘AMapSearch-NO-IDFA’ uses the unencrypted ‘http’ protocol to transfer the Pod解决

‘AMapSearch-NO-IDFA’ uses the unencrypted ‘http’ protocol to transfer the Pod解决

错误提示

解决方法:

ios/Podfile文件

解决方案:注释掉Podfile里的 use_framework! ,或者使用objc重新创建项目。
原因:0.8.0开始使用Pod远程依赖,高德提供的pod是静态库,而swift默认用的是动态库依赖。