📒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


📢原创文章📢
未经授权不得转载或转载请注明出处
本文地址: https://www.zhaoxiangguang.cn/note/ios/322.html

为您推荐

发表评论

您的电子邮箱地址不会被公开。