Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Swift 5.0 carthage update #63

Open
vijay2pvk opened this issue Apr 3, 2019 · 7 comments
Open

Support for Swift 5.0 carthage update #63

vijay2pvk opened this issue Apr 3, 2019 · 7 comments

Comments

@vijay2pvk
Copy link

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')

@filipealva
Copy link

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

@vijay2pvk
Copy link
Author

Thanks. But I am using Carthage. Can you please post the above code for Carthage

@filipealva
Copy link

ah, sorry, I didn't notice. I'm actually not aware of a carthage workaround like this

@brunomunizaf
Copy link

Just did a pull request for this @vijay2pvk . If you want, comment on it so it can be approved faster. #65

@vijay2pvk
Copy link
Author

Any updates for Carthage Swift 5.0 upgrade?

@eduardo22i
Copy link

eduardo22i commented Jan 28, 2020

@vijay2pvk I add support for Swift 5+, Xcode 11. You can install with Carthage or Swift Package Manager.

#71

@vijay2pvk
Copy link
Author

@eduardo22i Thank you. I will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants