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

I update the pod to 3.0.0 but Xcode still wants to convert to Swift 3 #1699

Closed
portfort opened this issue Oct 22, 2016 · 4 comments
Closed

Comments

@portfort
Copy link

I do a pod update before opening a Swift 2 project in Xcode and pod update says

Using Charts (3.0.0)

but when I open the project in Xcode it's still offering to convert Charts.framework (and when it does there's around 2600 issues next to it). I know I'm doing something wrong but I can't even begin to figure out what. I just want to update my app.

@danielgindi
Copy link
Collaborator

@petester42 is it possible that Pods think of Charts as Swift 2 and messes up the project configuration when fetching?

@pmairoldi
Copy link
Collaborator

No. The problem is probably in the user's project. They have to make sure the "Use Legacy Swift" setting is "No" before installing any pods and in addition they need to be using cocoapods 1.1 with Xcode 8.

@pmairoldi
Copy link
Collaborator

Yup just tried it and it works just fine. Make sure the "Use Legacy Swift" build setting is set to "No", make sure the cocoapods specs are up to date by using pod repo update, and then run pod update. And of course use cocoapods 1.1.

@portfort
Copy link
Author

portfort commented Oct 23, 2016

No, just couldn't get it working. I went back to Xcode 7.3 and old versions of everything. Maybe in a few months there will be some useful guides to migrating. Thanks for your help anyway.

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