RazzleDazzle
RazzleDazzle copied to clipboard
Support for Swift 5.0 carthage update
I am getting the following error after i upgrade to Swift 5.0 (XCode 10.2)
SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'RazzleDazzle')
Hi @vijay2pvk
You can make it work by adding the following lines to the bottom of your Podfile
:
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'RazzleDazzle'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
end
Thanks. But I am using Carthage. Can you please post the above code for Carthage
ah, sorry, I didn't notice. I'm actually not aware of a carthage workaround like this
Just did a pull request for this @vijay2pvk . If you want, comment on it so it can be approved faster. https://github.com/IFTTT/RazzleDazzle/pull/65
Any updates for Carthage Swift 5.0 upgrade?
@vijay2pvk I add support for Swift 5+, Xcode 11. You can install with Carthage or Swift Package Manager.
#71
@eduardo22i Thank you. I will look into it.