Swift Package Manager: reusable deployment target warning
chrisvanbuskirk opened this issue · 3 comments
chrisvanbuskirk commented
adamjansch commented
This is also happening with Cocapods.
arkulpaKonstantin commented
@aj-bmdi for Cocoapods there is a solution. I used a similar solution to this. Just put this code snippet at the end of your Podfile:
post_install do |pi|
pi.pods_project.targets.each do |t|
t.build_configurations.each do |config|
if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 9 then
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
end
Sadly I don't know of a solution for Swift Package Manager beside updating the Package.swift file of the package itself to iOS 9.0.
AliSoftware commented
Hi there, sorry for the delay replying there. I'll try to take a look this week-end!