fmdb
fmdb copied to clipboard
"Dispatch queue specific" warnings
There are warnings related to the fact that dispatch_queue_set_specific
and dispatch_get_specific
are implemented in iOS 5.
I think something like s.platform = :ios, '5.0'
should be presented in the podspec. But I'm not sure about minimal versions for other platforms.
Anyone know how to get rid of these warnings?
I've solved it by adding these lines into Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'FMDB'
target.build_configurations.each do |config|
config.build_settings['CLANG_WARN_UNGUARDED_AVAILABILITY'] = 'NO'
end
end
end
end
Thanks @bamx23