iOS Cocoapods的pod install出现的某个错误 but they required a higher minimum deployment target.

时间:2023-03-09 05:05:31
iOS Cocoapods的pod install出现的某个错误 but they required a higher minimum deployment target.

关于cocoapods的安装和使用的基本教程:

http://my.oschina.net/vimfung/blog/182427?fromerr=j7l3DvCG

出现以下错误提示:

Specs satisfying the `IQKeyboardManager (~> 3.3.4)` dependency were found, but they required a higher minimum deployment target.

解决方案:
platform :ios 
pod 'JSONKit', '~> 1.5pre'
需要在:ios后添加代码ios的版本号,如添加:  ,'7.0'
即像这样:
platform :ios , '7.0'
pod 'JSONKit', '~> 1.5pre'