pod报错:Automatically assigning platform `ios` with version `10.0` on target `CloudLive` because no pl

来源:互联网 发布:网络不稳定不能玩dnf 编辑:程序博客网 时间:2024/06/18 08:25
# Uncomment the next line to define a global platform for your project
#platform :ios, '10.0'
target 'CloudLive' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
pod 'AFNetworking', '~> 3.1.0'
pod 'Qiniu', '~> 7.1.1'
pod 'SVProgressHUD', '~> 2.0.3'
pod 'Toast', '~> 3.0'
pod 'SDWebImage', '4.0.0'
# Pods for CloudLive
target 'CloudLiveTests' do
inherit! :search_paths
# Pods for testing
end
target 'CloudLiveUITests' do
inherit! :search_paths
# Pods for testing
end
end

原因分析:

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

翻译:

由于没有指定平台,所以在target CloudLive上自动分配平台ios版本10.0。请在您的播客文件中为这个目标指定一个平台。看到“https://guides.cocoapods.org/syntax/podfile.html平台”。

说明没有指定iOS版本

解决:

platform :ios, '10.0' 去掉警号

阅读全文
0 0
原创粉丝点击