You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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 finderHowever, 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?The text was updated successfully, but these errors were encountered: