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

Not compatible with swift 3 #64

Closed
abdulelah1 opened this issue Nov 21, 2016 · 6 comments
Closed

Not compatible with swift 3 #64

abdulelah1 opened this issue Nov 21, 2016 · 6 comments

Comments

@abdulelah1
Copy link

abdulelah1 commented Nov 21, 2016

When i install Cache pod or update the pods i should convert the syntax to Swift 3
( this problem starts after i install Cache pod )

@zenangst
Copy link
Contributor

Hey @abdulelah1, which version are you using? Version 2.0.0 has been converted to Swift 3. Maybe you just need to do pod update Cache. Try and check what your pod lock file states, it is probably just pointing to an older version.

@abdulelah1
Copy link
Author

i'm using cache version 2.1.1
screen shot 2016-11-22 at 4 33 18 pm

@zenangst
Copy link
Contributor

Have you tried removing the Pods folder and tried pod install again?

@abdulelah1
Copy link
Author

I'm just tried nothing changed

@zenangst
Copy link
Contributor

This seems super odd to me. One thing that you could try is to add the following to your Podfile.

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '3.0.1'
    end
  end
end

That has worked for us in the past.
Let us know how it goes.

@JohnSundell
Copy link

Closed due to inactivity. Let us know if this issue is still relevant and we'll re-open 😄

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

3 participants