[!] Unable to satisfy the following requirements:

今天使用Cocoapods安装一个第三方工具SafeAreaExtension出错了,以前也没出现过,这里记录下:

SafeAreaExtension Github地址: https://github.com/marty-suzuki/SafeAreaExtension

错误如下:

错误分析:

终端中出现上面的报错,是因为刚才配置的Podfile文件里面的ios版本过低导致

今天我安装SafeAreaExtension时写的是8.0,可是SafeAreaExtension支持的最低版本是11.0,所以安装失败了.

解决办法:

将Profile文件的target设置为11.0,终端:pod install即可。

原文地址:https://www.cnblogs.com/pengsi/p/7685177.html