Skip to content
Snippets Groups Projects
Commit 128ddd07 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Update Package.swift

parent 9362468a
No related branches found
No related tags found
1 merge request!88HUD feature
// swift-tools-version:5.6 // swift-tools-version:5.6
import PackageDescription import PackageDescription
let swiftSettings: [SwiftSetting] = [
//.unsafeFlags(["-Xfrontend", "-warn-concurrency"]),
// .unsafeFlags(["-Xfrontend", "-debug-time-function-bodies"]),
// .unsafeFlags(["-Xfrontend", "-debug-time-expression-type-checking"]),
]
let package = Package( let package = Package(
name: "client-ios", name: "client-ios",
defaultLocalization: "en", defaultLocalization: "en",
...@@ -146,13 +152,15 @@ let package = Package( ...@@ -146,13 +152,15 @@ let package = Package(
.target(name: "RequestPermissionFeature"), .target(name: "RequestPermissionFeature"),
.product(name: "PulseUI", package: "Pulse"), // TO REMOVE .product(name: "PulseUI", package: "Pulse"), // TO REMOVE
.product(name: "PulseLogHandler", package: "Pulse"), // TO REMOVE .product(name: "PulseLogHandler", package: "Pulse"), // TO REMOVE
] ],
swiftSettings: swiftSettings
), ),
.testTarget( .testTarget(
name: "AppFeatureTests", name: "AppFeatureTests",
dependencies: [ dependencies: [
.target(name: "AppFeature"), .target(name: "AppFeature"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "AppCore", name: "AppCore",
...@@ -167,7 +175,8 @@ let package = Package( ...@@ -167,7 +175,8 @@ let package = Package(
.product(name: "XXMessengerClient", package: "elixxir-dapps-sdk-swift"), .product(name: "XXMessengerClient", package: "elixxir-dapps-sdk-swift"),
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"), .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"), .product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "CheckVersion", name: "CheckVersion",
...@@ -176,15 +185,20 @@ let package = Package( ...@@ -176,15 +185,20 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "Voxophone", name: "Voxophone",
dependencies: [ dependencies: [
.target(name: "Shared"), .target(name: "Shared"),
] ],
swiftSettings: swiftSettings
),
.target(
name: "WebsiteFeature",
swiftSettings: swiftSettings
), ),
.target(name: "WebsiteFeature"),
.target( .target(
name: "CrashReport", name: "CrashReport",
dependencies: [ dependencies: [
...@@ -196,7 +210,8 @@ let package = Package( ...@@ -196,7 +210,8 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "AppNavigation", name: "AppNavigation",
...@@ -209,19 +224,22 @@ let package = Package( ...@@ -209,19 +224,22 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "CreateGroupFeature", name: "CreateGroupFeature",
dependencies: [ dependencies: [
.target(name: "AppCore") .target(name: "AppCore")
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "GroupDraftFeature", name: "GroupDraftFeature",
dependencies: [ dependencies: [
.target(name: "AppCore") .target(name: "AppCore")
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "PermissionsFeature", name: "PermissionsFeature",
...@@ -234,7 +252,8 @@ let package = Package( ...@@ -234,7 +252,8 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "AppResources", name: "AppResources",
...@@ -243,13 +262,15 @@ let package = Package( ...@@ -243,13 +262,15 @@ let package = Package(
], ],
resources: [ resources: [
.process("Resources") .process("Resources")
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "InputField", name: "InputField",
dependencies: [ dependencies: [
.target(name: "Shared"), .target(name: "Shared"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "RequestPermissionFeature", name: "RequestPermissionFeature",
...@@ -263,7 +284,8 @@ let package = Package( ...@@ -263,7 +284,8 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "Keychain", name: "Keychain",
...@@ -276,7 +298,8 @@ let package = Package( ...@@ -276,7 +298,8 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "Defaults", name: "Defaults",
...@@ -285,14 +308,16 @@ let package = Package( ...@@ -285,14 +308,16 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "CountryListFeature", name: "CountryListFeature",
dependencies: [ dependencies: [
.target(name: "Shared"), .target(name: "Shared"),
.target(name: "AppCore") .target(name: "AppCore")
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "DrawerFeature", name: "DrawerFeature",
...@@ -300,7 +325,8 @@ let package = Package( ...@@ -300,7 +325,8 @@ let package = Package(
.target(name: "Shared"), .target(name: "Shared"),
.target(name: "InputField"), .target(name: "InputField"),
.product(name: "ScrollViewController", package: "ScrollViewController"), .product(name: "ScrollViewController", package: "ScrollViewController"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "Shared", name: "Shared",
...@@ -312,7 +338,8 @@ let package = Package( ...@@ -312,7 +338,8 @@ let package = Package(
], ],
resources: [ resources: [
.process("Resources"), .process("Resources"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "ChatInputFeature", name: "ChatInputFeature",
...@@ -324,7 +351,8 @@ let package = Package( ...@@ -324,7 +351,8 @@ let package = Package(
name: "ComposableArchitecture", name: "ComposableArchitecture",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "RestoreFeature", name: "RestoreFeature",
...@@ -337,7 +365,8 @@ let package = Package( ...@@ -337,7 +365,8 @@ let package = Package(
.product(name: "CloudFilesDropbox", package: "xxm-cloud-providers"), .product(name: "CloudFilesDropbox", package: "xxm-cloud-providers"),
.product(name: "CloudFilesSFTP", package: "xxm-cloud-providers"), .product(name: "CloudFilesSFTP", package: "xxm-cloud-providers"),
.product(name: "CloudFilesICloud", package: "xxm-cloud-providers"), .product(name: "CloudFilesICloud", package: "xxm-cloud-providers"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "ContactFeature", name: "ContactFeature",
...@@ -347,7 +376,8 @@ let package = Package( ...@@ -347,7 +376,8 @@ let package = Package(
.target(name: "ChatFeature"), .target(name: "ChatFeature"),
.product(name: "CombineSchedulers", package: "combine-schedulers"), .product(name: "CombineSchedulers", package: "combine-schedulers"),
.product(name: "ScrollViewController", package: "ScrollViewController"), .product(name: "ScrollViewController", package: "ScrollViewController"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "ChatFeature", name: "ChatFeature",
...@@ -367,7 +397,8 @@ let package = Package( ...@@ -367,7 +397,8 @@ let package = Package(
.product(name: "XXMessengerClient", package: "elixxir-dapps-sdk-swift"), .product(name: "XXMessengerClient", package: "elixxir-dapps-sdk-swift"),
.product(name: "ScrollViewController", package: "ScrollViewController"), .product(name: "ScrollViewController", package: "ScrollViewController"),
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"), .product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "SearchFeature", name: "SearchFeature",
...@@ -377,7 +408,8 @@ let package = Package( ...@@ -377,7 +408,8 @@ let package = Package(
.target(name: "CountryListFeature"), .target(name: "CountryListFeature"),
.product(name: "Retry", package: "Retry"), .product(name: "Retry", package: "Retry"),
.product(name: "XXDatabase", package: "client-ios-db"), .product(name: "XXDatabase", package: "client-ios-db"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "LaunchFeature", name: "LaunchFeature",
...@@ -397,7 +429,8 @@ let package = Package( ...@@ -397,7 +429,8 @@ let package = Package(
.product(name: "CloudFilesDropbox", package: "xxm-cloud-providers"), .product(name: "CloudFilesDropbox", package: "xxm-cloud-providers"),
.product(name: "XXLegacyDatabaseMigrator", package: "client-ios-db"), .product(name: "XXLegacyDatabaseMigrator", package: "client-ios-db"),
.product(name: "XXMessengerClient", package: "elixxir-dapps-sdk-swift"), .product(name: "XXMessengerClient", package: "elixxir-dapps-sdk-swift"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "TermsFeature", name: "TermsFeature",
...@@ -409,7 +442,8 @@ let package = Package( ...@@ -409,7 +442,8 @@ let package = Package(
name: "ComposableArchitecture", name: "ComposableArchitecture",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "UpdateErrors", name: "UpdateErrors",
...@@ -426,7 +460,8 @@ let package = Package( ...@@ -426,7 +460,8 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "ProcessBannedList", name: "ProcessBannedList",
...@@ -443,7 +478,8 @@ let package = Package( ...@@ -443,7 +478,8 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "FetchBannedList", name: "FetchBannedList",
...@@ -456,7 +492,8 @@ let package = Package( ...@@ -456,7 +492,8 @@ let package = Package(
name: "Dependencies", name: "Dependencies",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "RequestsFeature", name: "RequestsFeature",
...@@ -467,7 +504,8 @@ let package = Package( ...@@ -467,7 +504,8 @@ let package = Package(
name: "DifferenceKit", name: "DifferenceKit",
package: "DifferenceKit" package: "DifferenceKit"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "ProfileFeature", name: "ProfileFeature",
...@@ -485,7 +523,8 @@ let package = Package( ...@@ -485,7 +523,8 @@ let package = Package(
.product(name: "ScrollViewController", package: "ScrollViewController"), .product(name: "ScrollViewController", package: "ScrollViewController"),
.product(name: "XXClient", package: "elixxir-dapps-sdk-swift"), .product(name: "XXClient", package: "elixxir-dapps-sdk-swift"),
.product(name: "XXMessengerClient", package: "elixxir-dapps-sdk-swift"), .product(name: "XXMessengerClient", package: "elixxir-dapps-sdk-swift"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "ChatListFeature", name: "ChatListFeature",
...@@ -498,7 +537,8 @@ let package = Package( ...@@ -498,7 +537,8 @@ let package = Package(
.target(name: "SettingsFeature"), .target(name: "SettingsFeature"),
.target(name: "ContactListFeature"), .target(name: "ContactListFeature"),
.product(name: "DifferenceKit", package: "DifferenceKit"), .product(name: "DifferenceKit", package: "DifferenceKit"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "OnboardingFeature", name: "OnboardingFeature",
...@@ -515,7 +555,8 @@ let package = Package( ...@@ -515,7 +555,8 @@ let package = Package(
.product(name: "CombineSchedulers", package: "combine-schedulers"), .product(name: "CombineSchedulers", package: "combine-schedulers"),
.product(name: "ScrollViewController", package: "ScrollViewController"), .product(name: "ScrollViewController", package: "ScrollViewController"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"), .product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "MenuFeature", name: "MenuFeature",
...@@ -529,7 +570,8 @@ let package = Package( ...@@ -529,7 +570,8 @@ let package = Package(
name: "XXClient", name: "XXClient",
package: "elixxir-dapps-sdk-swift" package: "elixxir-dapps-sdk-swift"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "BackupFeature", name: "BackupFeature",
...@@ -566,7 +608,8 @@ let package = Package( ...@@ -566,7 +608,8 @@ let package = Package(
name: "ComposableArchitecture", name: "ComposableArchitecture",
package: "swift-composable-architecture" package: "swift-composable-architecture"
), ),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "ScanFeature", name: "ScanFeature",
...@@ -576,7 +619,8 @@ let package = Package( ...@@ -576,7 +619,8 @@ let package = Package(
.target(name: "CountryListFeature"), .target(name: "CountryListFeature"),
.target(name: "RequestPermissionFeature"), .target(name: "RequestPermissionFeature"),
.product(name: "SnapKit", package: "SnapKit"), .product(name: "SnapKit", package: "SnapKit"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "ContactListFeature", name: "ContactListFeature",
...@@ -584,7 +628,8 @@ let package = Package( ...@@ -584,7 +628,8 @@ let package = Package(
.target(name: "Shared"), .target(name: "Shared"),
.target(name: "ContactFeature"), .target(name: "ContactFeature"),
.product(name: "DifferenceKit", package: "DifferenceKit"), .product(name: "DifferenceKit", package: "DifferenceKit"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "SettingsFeature", name: "SettingsFeature",
...@@ -599,7 +644,8 @@ let package = Package( ...@@ -599,7 +644,8 @@ let package = Package(
.target(name: "RequestPermissionFeature"), .target(name: "RequestPermissionFeature"),
.product(name: "CombineSchedulers", package: "combine-schedulers"), .product(name: "CombineSchedulers", package: "combine-schedulers"),
.product(name: "ScrollViewController", package: "ScrollViewController"), .product(name: "ScrollViewController", package: "ScrollViewController"),
] ],
swiftSettings: swiftSettings
), ),
.target( .target(
name: "ReportingFeature", name: "ReportingFeature",
...@@ -610,7 +656,8 @@ let package = Package( ...@@ -610,7 +656,8 @@ let package = Package(
], ],
resources: [ resources: [
.process("Resources"), .process("Resources"),
] ],
swiftSettings: swiftSettings
), ),
] ]
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment