DKChainableAnimationKit icon indicating copy to clipboard operation
DKChainableAnimationKit copied to clipboard

Can't compile in XCode 9.3 Swift 4

Open Droppix opened this issue 7 years ago • 1 comments

Hi,

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

Any suggestions?

Droppix avatar Mar 31 '18 13:03 Droppix

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

basvankuijck avatar Apr 25 '18 14:04 basvankuijck