Alamofire: 4.0.0-beta.1 fails to build due to non-Swift 3 syntax

Created on 29 Aug 2016  路  4Comments  路  Source: Alamofire/Alamofire

When building with the 4.0.0-beta.1 tag on Xcode 8 Beta 6, I receive a number of errors due to syntax that is no longer valid as of Swift 3.

It appears that when #1420 was merged into the swift3 branch it resulted in the addition of Manager.swift which was removed/renamed as part of an earlier commit in the swift3 branch.

The last working commit was 3a9f9ef7a1135560a763f24ef54525ecf8e4b62a

Please let me know if additional details are needed.

Thank you for your time,
Noah

bug swift

Most helpful comment

I reverted d480f4d8 which is what introduced the issue, then applied the actual change to SessionManager in 62e82422 and released it as 4.0.0-beta.2.

Thanks for reporting this right away!

Cheers. 馃嵒

All 4 comments

@nmccann just noticed this too -- more specifically, the Alamofire project builds fine independently. I imagine Manager.swift was removed from the swift3 branch all together, but was added back here: https://github.com/Alamofire/Alamofire/commit/e1cc66446c635cb593eaf4f7635d64242cf5a9e9

Edit: It was renamed SessionManager, it seems

You are completely right. I'm working on fixing the issue now.

I reverted d480f4d8 which is what introduced the issue, then applied the actual change to SessionManager in 62e82422 and released it as 4.0.0-beta.2.

Thanks for reporting this right away!

Cheers. 馃嵒

@cnoon thanks!

Was this page helpful?
0 / 5 - 0 ratings