Cocoapods平台到底是什么意思? [英] Cocoapods platform, what does it mean exactly?

查看:130
本文介绍了Cocoapods平台到底是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不清楚改变平台价值会有什么影响,有人可以详细说明吗?这是否仅表示如果不满足库的最低版本要求,就会引发错误?

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

推荐答案

是的,如果POD A支持iOS 4.0并且依赖于仅支持iOS 7.0的POD B,则在尝试发布POD A的pod规范时将引发错误。

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.

它还将用于填充Pods目标的 iOS部署目标构建设置。

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

这篇关于Cocoapods平台到底是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆