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

Update to Swift 3 description #96

Open
alexanderkhitev opened this issue Nov 21, 2016 · 1 comment
Open

Update to Swift 3 description #96

alexanderkhitev opened this issue Nov 21, 2016 · 1 comment

Comments

@alexanderkhitev
Copy link
Contributor

Hello everybody! Firstly I want to say thank you so much for this wonderful library.
Secondly I want to tell you, the way that I've got to update this library on the Swift 3.

At first I did add this pod, and at the end of my file I have the following entry

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '3.0'
        end
    end
end

but after the update pods, I got an error that the library does not meet the Swift 3.

Then, I decided to make an update to this library and did my fork. And then I decided to just try to change the entry on the pod replace of pod "LiquidFloatingActionButton" with pod 'LiquidFloatingActionButton', :git => 'https://github.com/alexsanderkhitev/LiquidFloatingActionButton.git'

Then I updated again, and then update the compiler no longer shows the error, I just looked at the outcome of the code, it is now matched against the Swift 3. Please do not forget this record at the end of the Podfile

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['SWIFT_VERSION'] = '3.0'
        end
    end
end
@alexanderkhitev alexanderkhitev changed the title Update to Swift description Update to Swift 3 description Nov 22, 2016
@munibrahman
Copy link

munibrahman commented Nov 27, 2016

Wait, I am confused, which action did you use that resulted in the project working properly? Thanks

Edit:

Got it to work and I used

pod 'LiquidFloatingActionButton', :git => 'https://github.com/alexsanderkhitev/LiquidFloatingActionButton.git'

Thanks a lot!!!

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

2 participants