CocoaPods-遇到的问题以及解决Q&A
- 执行
pod install
失败
问题现象:MacBook73:~/Documents/ProjectPersonal/SKeyUtils/Example$ pod install
Analyzing dependencies
Fetching podspec forSKeyUtils
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 version9.3
on targetSKeyUtils_Tests
because no platform was specified. Please specify a platform for this target in your Podfile. Seehttps://guides.cocoapods.org/syntax/podfile.html#platform
.
问题原因:
此处问题原因为:工程的iOS Deployment Target
为9.3
,而SKeyUtils
最低支持10.3
。将工程最低支持版本改为10.3
解决。
问题解决:
将工程最低支持版本改为10.3
解决。
解决结果:
已解决。
CocoaPods-遇到的问题以及解决Q&A
https://dnacore.github.io/post/ae3aeca0-9e34-45ac-a6ec-1cc87d6abac8.html