rapierorg / telegram-bot-swift

Telegram Bot SDK for Swift (unofficial)
https://github.com/rapierorg/telegram-bot-swift/wiki
Apache License 2.0
374 stars 63 forks source link

New package not showing up in Xcode dependencies #11

Closed simonnarang closed 8 years ago

simonnarang commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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

simonnarang commented 8 years ago

Thank you just figured that out.