有些强迫症不能看到xcode编译报出的警告⚠️,所以在podfile中添加一行
inhibit_all_warnings!
如果没有多个target
或者需要所有都隐藏这个黄色警告就在最外层写
# platform :ios, '9.0'
inhibit_all_warnings!
target 'MVVM' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
pod 'ReactiveObjC', '~> 3.1.0'
pod 'MBProgressHUD', '~> 1.1.0'
pod 'MJRefresh', '~> 3.1.15.7'
# Pods for MVVM
end
如果有多个target的话就可以在各个需要隐藏的target当中写上这句话
# platform :ios, '9.0'
target 'MVVM' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
inhibit_all_warnings!
pod 'ReactiveObjC', '~> 3.1.0'
pod 'MBProgressHUD', '~> 1.1.0'
pod 'MJRefresh', '~> 3.1.15.7'
# Pods for MVVM
end
target 'RAC' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
pod 'Masonry',
pod 'AFNetworking', # Pods for RAC
end