Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Xcode 9 and swift 4 compatibilty #96

Open
tenzinsamten opened this issue May 10, 2018 · 4 comments
Open

Xcode 9 and swift 4 compatibilty #96

tenzinsamten opened this issue May 10, 2018 · 4 comments

Comments

@tenzinsamten
Copy link

The build fails for Jukebox for swift 4.
imported the library using pod

pod 'Jukebox'

@BogdanPintilei
Copy link

@tenzinsamten if you change the Swift Language Version to Swift 3.3 in build settings for the Jukebox pod target, it works

@alokvnair
Copy link

alokvnair commented Sep 21, 2018

@tenzinsamten write this command to end of your Podfile to solve this issue while installing pod or as @BogdanPintilei mentioned, change Swift Language Version to 3.3 everytime you do pod install.

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

@sam961
Copy link

sam961 commented Mar 1, 2019

I had updated the pod for swift 4.2
pod 'Jukebox', :git => 'https://github.com/sam961/Jukebox.git',:branch => 'swift-4.2'

@terrysulivan
Copy link

Hi @sam961! This branch 'https://github.com/sam961/Jukebox.git',:branch => 'swift-4.2' doesn't seem to exist anymore?

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

No branches or pull requests

5 participants