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 #37

Open
AndrewBarba opened this issue Oct 16, 2017 · 2 comments
Open

Swift 4 #37

AndrewBarba opened this issue Oct 16, 2017 · 2 comments

Comments

@AndrewBarba
Copy link

Add support for building with Swift 4

@tschob
Copy link
Owner

tschob commented Oct 16, 2017

The project can be build with Swift 3.2. As Xcode 9 is supported with this way, Swift 4 is not on my urgency list. The advantage is that upcoming features can be used with Xcode 8.3 and and Xcode 9.

@bshirley
Copy link

workaround: add this right before the last end in your Podfile.

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

This will set the swift version for only this pod.

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

No branches or pull requests

3 participants