CocoaPods警告:Automatically assigning platform `ios` with version `11.4` on target

警告内容:

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

产生原因:

在Podfile中未指定target的平台platform。

解决办法:

指定平台platform

platform :ios, ‘4.0’

platform :ios


platform说明

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

尊重原创内容,转载请注明出处
本文链接地址: http://www.awnlab.com/archives/211

为您推荐

发表评论

电子邮件地址不会被公开。 必填项已用*标注