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

New package not showing up in Xcode dependencies #11

Closed
simonnarang opened this issue May 29, 2016 · 3 comments
Closed

New package not showing up in Xcode dependencies #11

simonnarang opened this issue May 29, 2016 · 3 comments

Comments

@simonnarang
Copy link
Contributor

In package.swift I added .Package(url: "https://github.com/Alamofire/Alamofire.git", majorVersion: 3)
I then ran swift build in terminal and the package showed up in the sources folder in finder
However, in the dependencies tab of the Xcode project, Alamofire doesn't show up, and I can't import it into main.swift either. Is there a way to add it in build phases or something like that?

@zmeyc
Copy link
Member

zmeyc commented May 29, 2016

Regenerating the project should work: swift build -X
But Alamofire doesn't build with Swift 3, I tried adding it to example project but got a lot of compilation errors. I'm using raw NSURLSession + SwiftyJSON.

@zmeyc
Copy link
Member

zmeyc commented May 29, 2016

Btw I created a chat for discussing the SDK: https://telegram.me/swiftsdkchat
welcome :)

@simonnarang
Copy link
Contributor Author

Thank you just figured that out.

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