Swinject: Swift 5 release

Created on 22 May 2019  路  5Comments  路  Source: Swinject/Swinject

Release Swinject with Swift Language Version - Swift 5 so it can be picked up by Swift 5 projects without needing to modify project configuration.

Most helpful comment

@jakubvano if I want to build the framework for Swift 5 I have to update the Swift version in project/target settings and then compile it. Although it is all the same source code, but IMO if I make this change, I no longer have the same version as this repo, so if the repo has latest 2.6.2 mine would be 2.6.2.1 or something silly like that, and I don't want to maintain my own Swift 5 version.

All 5 comments

@janhalousek doesn't look like resolved, just pulled 2.6.2 and Swift Language Version is still set to 4.2

In what usecase does the language version matter? AFAIK as long as all modules are compiled with the same version of the compiler, swift version should not matter - i.e. project using Swift 5 should be compatible with latest version of Swinject.

@jakubvano if I want to build the framework for Swift 5 I have to update the Swift version in project/target settings and then compile it. Although it is all the same source code, but IMO if I make this change, I no longer have the same version as this repo, so if the repo has latest 2.6.2 mine would be 2.6.2.1 or something silly like that, and I don't want to maintain my own Swift 5 version.

Hi, I'm working on a demo project with Xcode 11 beta 5 and I wanted to import this library but it was not possible until I added the Swift 5 Language Version swiftLanguageVersions: [.v4, .v5] in the Package.swift.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alynmuntean picture alynmuntean  路  6Comments

igorkotkovets picture igorkotkovets  路  7Comments

Mijail picture Mijail  路  6Comments

igorkotkovets picture igorkotkovets  路  7Comments

diwengrum picture diwengrum  路  5Comments