-
Notifications
You must be signed in to change notification settings - Fork 1
Swift6 compilation mode support #5
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
805dd3a
Swift6 compilation mode support
lvalenta 8e2c78a
Support Swift 5.5
lvalenta 7f7e571
Fix responseHandler not being deallocated
lvalenta a01881c
Weakly catching self in response handler
lvalenta f3e7977
Fixing response handler concurrency issue
lvalenta 5931f6f
MR fix
lvalenta f8a4a50
Supporting Swift6
lvalenta c9fa7b4
Specifying swift version
lvalenta 50876ba
Setup Swift version using swift-actions
lvalenta 2666f4d
Updated run
lvalenta 792aa5a
Improved indentation
lvalenta 0c8f168
Specify Swift version
lvalenta 455822b
Indentation
lvalenta 7b42589
Update checkout
lvalenta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| // swift-tools-version: 5.5 | ||
| // The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
|
||
| import PackageDescription | ||
|
|
||
| let swiftSettings: [SwiftSetting] = [ | ||
| // Use for development to catch concurrency issues. SPM packages cannot depend on other packages that use unsafeFlags. | ||
| // SwiftSetting.unsafeFlags([ | ||
| // "-Xfrontend", "-strict-concurrency=complete", | ||
| // "-Xfrontend", "-warn-concurrency", | ||
| // "-Xfrontend", "-enable-actor-data-race-checks", | ||
| // ]) | ||
| ] | ||
|
|
||
| let package = Package( | ||
| name: "FlowPilot", | ||
| platforms: [ | ||
| .iOS(.v13) | ||
| ], | ||
| products: [ | ||
| .library( | ||
| name: "FlowPilot", | ||
| targets: ["FlowPilot"]), | ||
| .library(name: "FlowPilotFloatingRouters", targets: ["FlowPilotFloatingRouters"]), | ||
| .library(name: "FlowPilotLegacyCombineCoordinators", targets: ["FlowPilotLegacyCombineCoordinators"]) | ||
| ], | ||
| dependencies: [ | ||
| .package(url: "https://github.com/cleevio/CleevioCore.git", .upToNextMajor(from: Version(2,0,0))), | ||
| .package(url: "https://github.com/scenee/FloatingPanel", .upToNextMajor(from: Version(2,6,1))), | ||
| .package(url: "https://github.com/apple/swift-collections", .upToNextMajor(from: Version(1,0,0))) | ||
| ], | ||
| targets: [ | ||
| .target( | ||
| name: "FlowPilot", | ||
| dependencies: [ | ||
| .product(name: "CleevioCore", package: "CleevioCore"), | ||
| .product(name: "OrderedCollections", package: "swift-collections") | ||
| ], | ||
| swiftSettings: swiftSettings | ||
| ), | ||
| .target(name: "FlowPilotFloatingRouters", dependencies: [ | ||
| "FlowPilot", | ||
| .product(name: "FloatingPanel", package: "FloatingPanel", condition: .when(platforms: [.iOS, .macCatalyst])) | ||
| ], | ||
| swiftSettings: swiftSettings | ||
| ), | ||
| .target(name: "FlowPilotLegacyCombineCoordinators", dependencies: [ | ||
| "FlowPilot", | ||
| .product(name: "CleevioCore", package: "CleevioCore") | ||
| ] | ||
| ), | ||
| .testTarget( | ||
| name: "FlowPilotTests", | ||
| dependencies: ["FlowPilot"], | ||
| swiftSettings: swiftSettings | ||
| ), | ||
| ], | ||
| swiftLanguageModes: [.v5, .v6] | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.