CocoaPods-遇到的问题以及解决Q&A

  • 执行pod install失败
    问题现象:

    MacBook73:~/Documents/ProjectPersonal/SKeyUtils/Example$ pod install
    Analyzing dependencies
    Fetching podspec for SKeyUtils from ../
    [!] CocoaPods could not find compatible versions for pod “SKeyUtils”:
    In Podfile:
    SKeyUtils (from ../)

Specs satisfying the SKeyUtils (from ../) dependency were found, but they required a higher minimum deployment target.

[!] Automatically assigning platform ios with version 9.3 on target SKeyUtils_Tests because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.

问题原因:
此处问题原因为:工程的iOS Deployment Target9.3,而SKeyUtils最低支持10.3。将工程最低支持版本改为10.3解决。

问题解决:
将工程最低支持版本改为10.3解决。

解决结果:
已解决。


CocoaPods-遇到的问题以及解决Q&A
https://dnacore.github.io/post/ae3aeca0-9e34-45ac-a6ec-1cc87d6abac8.html
作者
DNACore
发布于
2019年3月18日
更新于
2025年2月11日
许可协议