Cocoapods platform, what does it mean exactly?

好久不见. 提交于 2020-01-03 07:24:08

问题


It is unclear to me what effect changing the platform value will have, can someone elaborate? Will this simply mean that an error gets thrown if minimum version requirements for a library are not met?

https://guides.cocoapods.org/syntax/podfile.html#platform


回答1:


Yes, if POD A supports iOS 4.0 and has a dependency on POD B which only supports iOS 7.0, an error will be thrown when trying to publish the POD A's pod spec.

It will also be used to populate the iOS Deployment Target build setting for the Pods target.



来源:https://stackoverflow.com/questions/30806294/cocoapods-platform-what-does-it-mean-exactly

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!