Skip to content
This repository has been archived by the owner on Jan 5, 2020. It is now read-only.

Can't compile in XCode 9.3 Swift 4 #34

Open
Droppix opened this issue Mar 31, 2018 · 1 comment
Open

Can't compile in XCode 9.3 Swift 4 #34

Droppix opened this issue Mar 31, 2018 · 1 comment

Comments

@Droppix
Copy link

Droppix commented Mar 31, 2018

Hi,

I can't compile in XCode 9.3 Swift 4...

Any suggestions?

@basvankuijck
Copy link

Just make the DKChainableAnimationKit target compile to Swift 3.3

Append this in your PodFile:

post_install do |installer|
    swift3_targets = [ "DKChainableAnimationKit" ]
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            if swift3_targets.include? target.name
                config.build_settings['SWIFT_VERSION'] = '3.3'
            end
        end
    end
end

And run pod install again

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

2 participants