升级到`Google-Mobile-Ads-SDK(->7.68)`,导出Unity工程产生的几个BUG以及解决办法

问题1: Specs satisfying the 'Google-Mobile-Ads-SDK(->7.68)' dependency were found, but they required a higher minimun deployment target.
解决办法: 把Minimun depolyment target设置为9.0, 之前的值为8.0
实际上 Admob从7.51.0开始就对版本做出了要求,ios最低版本为为9.0。详细连接点这里
ios_9

问题2: `GoogleAppMeasurement` requires Cocopods version `>=1.10.0`, which is not satisfying by your current version `1.9.1`
该问题说Cocopods的版本较低,升级版本即可。
网上有人建议用这个命令来升级,但因为网络问题,没有能成功安装brew。

brew upgrade cocoapods

我采用的是以下命令成功升级:

sudo gem install cocoapods
pod setup

 

brew官网 用一条命令安装brew, 对此有兴趣的小伙伴可以自己去试试。

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

posted @ 2021-02-25 18:17  opencoder  阅读(590)  评论(0编辑  收藏  举报