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

Rename library to XXClient

parent 0fab8f45
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!32Refactor
Showing
with 112 additions and 53 deletions
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1340"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "XXClient"
BuildableName = "XXClient"
BlueprintName = "XXClient"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "XXClientTests"
BuildableName = "XXClientTests"
BlueprintName = "XXClientTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "XXClient"
BuildableName = "XXClient"
BlueprintName = "XXClient"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
......@@ -14,23 +14,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ElixxirDAppsSDK"
BuildableName = "ElixxirDAppsSDK"
BlueprintName = "ElixxirDAppsSDK"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ElixxirDAppsSDKTests"
BuildableName = "ElixxirDAppsSDKTests"
BlueprintName = "ElixxirDAppsSDKTests"
BlueprintIdentifier = "XXClient"
BuildableName = "XXClient"
BlueprintName = "XXClient"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
......@@ -47,9 +33,9 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ElixxirDAppsSDKTests"
BuildableName = "ElixxirDAppsSDKTests"
BlueprintName = "ElixxirDAppsSDKTests"
BlueprintIdentifier = "XXClientTests"
BuildableName = "XXClientTests"
BlueprintName = "XXClientTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
......@@ -75,9 +61,9 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ElixxirDAppsSDK"
BuildableName = "ElixxirDAppsSDK"
BlueprintName = "ElixxirDAppsSDK"
BlueprintIdentifier = "XXClient"
BuildableName = "XXClient"
BlueprintName = "XXClient"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
......
......@@ -4,10 +4,8 @@ import PackageDescription
let swiftSettings: [SwiftSetting] = [
.unsafeFlags(
[
"-Xfrontend",
"-debug-time-function-bodies",
"-Xfrontend",
"-debug-time-expression-type-checking",
"-Xfrontend", "-debug-time-function-bodies",
"-Xfrontend", "-debug-time-expression-type-checking",
],
.when(configuration: .debug)
),
......@@ -25,6 +23,9 @@ let package = Package(
.library(name: "SessionFeature", targets: ["SessionFeature"]),
],
dependencies: [
.package(
path: "../../"
),
.package(
url: "https://github.com/pointfreeco/swift-composable-architecture.git",
.upToNextMajor(from: "0.39.0")
......@@ -33,10 +34,6 @@ let package = Package(
url: "https://github.com/darrarski/swift-composable-presentation.git",
.upToNextMajor(from: "0.5.2")
),
.package(
// ElixxirDAppsSDK
path: "../../"
),
.package(
url: "https://github.com/kishikawakatsumi/KeychainAccess.git",
.upToNextMajor(from: "4.2.2")
......@@ -55,9 +52,9 @@ let package = Package(
.target(name: "SessionFeature"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
.product(name: "ComposablePresentation", package: "swift-composable-presentation"),
.product(name: "ElixxirDAppsSDK", package: "elixxir-dapps-sdk-swift"),
.product(name: "KeychainAccess", package: "KeychainAccess"),
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
.product(name: "XXClient", package: "elixxir-dapps-sdk-swift"),
],
swiftSettings: swiftSettings
),
......@@ -72,8 +69,8 @@ let package = Package(
name: "ErrorFeature",
dependencies: [
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
.product(name: "ElixxirDAppsSDK", package: "elixxir-dapps-sdk-swift"),
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
.product(name: "XXClient", package: "elixxir-dapps-sdk-swift"),
],
swiftSettings: swiftSettings
),
......@@ -90,8 +87,8 @@ let package = Package(
.target(name: "ErrorFeature"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
.product(name: "ComposablePresentation", package: "swift-composable-presentation"),
.product(name: "ElixxirDAppsSDK", package: "elixxir-dapps-sdk-swift"),
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
.product(name: "XXClient", package: "elixxir-dapps-sdk-swift"),
],
swiftSettings: swiftSettings
),
......@@ -108,8 +105,8 @@ let package = Package(
.target(name: "ErrorFeature"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
.product(name: "ComposablePresentation", package: "swift-composable-presentation"),
.product(name: "ElixxirDAppsSDK", package: "elixxir-dapps-sdk-swift"),
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
.product(name: "XXClient", package: "elixxir-dapps-sdk-swift"),
],
swiftSettings: swiftSettings
),
......
import Combine
import ComposableArchitecture
import ElixxirDAppsSDK
import ErrorFeature
import LandingFeature
import SessionFeature
import SwiftUI
import XXClient
@main
struct App: SwiftUI.App {
......
import ElixxirDAppsSDK
import KeychainAccess
import XXClient
extension PasswordStorage {
static let keychain: PasswordStorage = {
......
import Combine
import ComposableArchitecture
import ElixxirDAppsSDK
import ErrorFeature
import XCTestDynamicOverlay
import XXClient
public struct LandingState: Equatable {
public init(
......
import ElixxirDAppsSDK
import SwiftUI
import XXClient
struct NetworkFollowerStatusView: View {
var status: NetworkFollowerStatus?
......
import Combine
import ComposableArchitecture
import ElixxirDAppsSDK
import ErrorFeature
import XCTestDynamicOverlay
import XXClient
public struct SessionState: Equatable {
public init(
......
import ComposableArchitecture
import ComposablePresentation
import ElixxirDAppsSDK
import ErrorFeature
import SwiftUI
import XXClient
public struct SessionView: View {
public init(store: Store<SessionState, SessionAction>) {
......
import ComposableArchitecture
import ElixxirDAppsSDK
import ErrorFeature
import XCTest
import XXClient
@testable import SessionFeature
final class SessionFeatureTests: XCTestCase {
......
......@@ -5,10 +5,8 @@ import PackageDescription
let swiftSettings: [SwiftSetting] = [
.unsafeFlags(
[
"-Xfrontend",
"-debug-time-function-bodies",
"-Xfrontend",
"-debug-time-expression-type-checking",
"-Xfrontend", "-debug-time-function-bodies",
"-Xfrontend", "-debug-time-expression-type-checking",
],
.when(configuration: .debug)
),
......@@ -21,7 +19,7 @@ let package = Package(
.iOS(.v14),
],
products: [
.library(name: "ElixxirDAppsSDK", targets: ["ElixxirDAppsSDK"]),
.library(name: "XXClient", targets: ["XXClient"]),
],
dependencies: [
.package(
......@@ -35,7 +33,7 @@ let package = Package(
],
targets: [
.target(
name: "ElixxirDAppsSDK",
name: "XXClient",
dependencies: [
.target(name: "Bindings"),
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
......@@ -43,9 +41,9 @@ let package = Package(
swiftSettings: swiftSettings
),
.testTarget(
name: "ElixxirDAppsSDKTests",
name: "XXClientTests",
dependencies: [
.target(name: "ElixxirDAppsSDK"),
.target(name: "XXClient"),
.product(name: "CustomDump", package: "swift-custom-dump"),
],
swiftSettings: swiftSettings
......
......@@ -15,7 +15,7 @@ You can find full documentation with step by step guide [here](https://xxdk-dev.
## 🚀 Quick Start
Add `ElixxirDAppsSDK` library as a dependency to your project using Swift Package Manager.
Add `XXClient` library as a dependency to your project using Swift Package Manager.
### ▶️ Instantiating cMix
......@@ -139,7 +139,7 @@ Open `ElixxirDAppsSDK.xcworkspace` in Xcode (≥13.4).
```
ElixxirDAppsSDK [Xcode Workspace]
├─ elixxir-dapps-sdk-swift [Swift Package]
| └─ ElixxirDAppsSDK [Library]
| └─ XXClient [Library]
└─ Example [Xcode Project]
├─ ExampleApp (iOS) [iOS App Target]
├─ example-app [Swift Package]
......@@ -152,7 +152,7 @@ ElixxirDAppsSDK [Xcode Workspace]
### Build schemes
- Use `exlixxir-dapps-sdk-swift` scheme to build and test the package with `ElixxirDAppsSDK` library.
- Use `exlixxir-dapps-sdk-swift` scheme to build and test the package.
- Use `ExampleApp (iOS)` to build and run the example app.
- Use `example-app` scheme to build and test the example app package with all contained libraries.
- Use `ExampleAppIcon` scheme with macOS target to build and preview the example app icon.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment