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

Swift 4.2 #47

Open
Silent404 opened this issue Sep 19, 2018 · 5 comments
Open

Swift 4.2 #47

Silent404 opened this issue Sep 19, 2018 · 5 comments

Comments

@Silent404
Copy link

Silent404 commented Sep 19, 2018

Update to 4.2 please.

@wanbinkimoon
Copy link

please please please update update update

@ledanh57
Copy link

If you are using the latest Xcode version, just follow the hint on authorize and then Cmd + Shift + K to clean the Build Folder and try again. I have done and it run properly with Swift 4.2. Good luck!

@ugurethemaydin
Copy link

Unfortunately, this library has not been updated for a long time and does not work after swift 4.2.
If you get an error and cannot use this library, you can visit it.
For the active repo and many new features,

https://github.com/ugurethemaydin/SwiftConfettiView

@bendytree
Copy link

For anyone on a different version of Swift than SAConfettiView, you can do something like this in CocoaPods:

target 'myapp' do

  # CocoaPods isn't up-to-date, so use the latest commit
  pod "SAConfettiView", :git => 'https://github.com/sudeepag/SAConfettiView.git', :commit => '4c78e355def75a37b707af63b393ba09895405a9'

end

# Force SAConfettiView to build with Swift 4
post_install do |installer|
  installer.pods_project.targets.each do |target|
    if ['SAConfettiView'].include? target.name
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.0'
      end
    end
  end
end

@ThoseGuysInTown
Copy link

Thanks for this @bendytree! I'm now using it for other pods that haven't updated in a while either.

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

6 participants