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

Swift 2.0 compatibility #117

Closed
peterjenkins opened this issue Jun 15, 2015 · 3 comments
Closed

Swift 2.0 compatibility #117

peterjenkins opened this issue Jun 15, 2015 · 3 comments

Comments

@peterjenkins
Copy link

I'm trying to use pod lib create to product something Xcode 7 beta will enjoy compiling.

Right now I get swift compatibility conversions popping up when it first loads the demo project.

I see both Quick and Nimble have a swift-2.0 branch as their default branch, and I tried switching my Podfile to reference them. However, looks like Nimble-Snapshots still uses Nimble ~> 0.3 which is causing problems.

If anyone else has gotten further than I have, please do share.

@peterjenkins
Copy link
Author

Quick update with the latest that I've been able to accomplish. I couldn't use a branch in the Podspec for Nimble-Snapshots, as I re-realized. So I cloned Nimble and Quick locally and switched my Podfile to reference them, and I removed the version number in the Nimble-Snapshots podspec.

Seems like Nimble-Snapshots is still the blocking factor, they have a bunch of stuff that doesn't compile with Swift 2.0. I think I would have better luck making development pods and then trying to run the Swift conversion tool (Edit -> Convert -> To latest Swift syntax). But I haven't done so yet.

So that's it, just a quick update for anyone else who might be trying to get this working.

@peterjenkins
Copy link
Author

@orta This is fairly close to a PR. Does it belong in a swift-2.0 branch for now?

@orta
Copy link
Member

orta commented Jun 17, 2015

an interesting debate, cause I don't know if pod lib create can work with a branch, it may make sense to keep your PR open till 2.0 is done, and at the top it says how to use it (we use your repo + master branch ) until it's looking like 2.0 is going public

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

2 participants