Skip to content

Commit

Permalink
refactor: Rename product (#114)
Browse files Browse the repository at this point in the history
refactor: Rename product name
  • Loading branch information
fabriziodemaria committed May 3, 2024
1 parent 4d58327 commit 587a778
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions ConfidenceDemoApp/ConfidenceDemoApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
objects = {

/* Begin PBXBuildFile section */
733219BF2BE3C11100747AC2 /* ConfidenceOpenFeature in Frameworks */ = {isa = PBXBuildFile; productRef = 733219BE2BE3C11100747AC2 /* ConfidenceOpenFeature */; };
C770C99A2A739FBC00C2AC8C /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C770C9962A739FBC00C2AC8C /* Preview Assets.xcassets */; };
C770C99B2A739FBC00C2AC8C /* ConfidenceDemoApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C770C9972A739FBC00C2AC8C /* ConfidenceDemoApp.swift */; };
C770C99C2A739FBC00C2AC8C /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C770C9982A739FBC00C2AC8C /* ContentView.swift */; };
C770C99D2A739FBC00C2AC8C /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C770C9992A739FBC00C2AC8C /* Assets.xcassets */; };
C770C99F2A739FCE00C2AC8C /* ConfidenceDemoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C770C99E2A739FCE00C2AC8C /* ConfidenceDemoTests.swift */; };
C770C9A22A739FDF00C2AC8C /* ConfidenceDemoUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C770C9A02A739FDF00C2AC8C /* ConfidenceDemoUITests.swift */; };
C770C9A32A739FDF00C2AC8C /* ConfidenceDemoUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C770C9A12A739FDF00C2AC8C /* ConfidenceDemoUITestsLaunchTests.swift */; };
C770C9AD2A73A06600C2AC8C /* ConfidenceProvider in Frameworks */ = {isa = PBXBuildFile; productRef = C770C9AC2A73A06600C2AC8C /* ConfidenceProvider */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -45,7 +45,7 @@
C770C99E2A739FCE00C2AC8C /* ConfidenceDemoTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConfidenceDemoTests.swift; sourceTree = "<group>"; };
C770C9A02A739FDF00C2AC8C /* ConfidenceDemoUITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConfidenceDemoUITests.swift; sourceTree = "<group>"; };
C770C9A12A739FDF00C2AC8C /* ConfidenceDemoUITestsLaunchTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ConfidenceDemoUITestsLaunchTests.swift; sourceTree = "<group>"; };
C770C9A92A73A04B00C2AC8C /* confidence-openfeature-provider-swift */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "confidence-openfeature-provider-swift"; path = ..; sourceTree = "<group>"; };
C770C9A92A73A04B00C2AC8C /* confidence-sdk-swift */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "confidence-sdk-swift"; path = ..; sourceTree = "<group>"; };
C770C9AA2A73A06000C2AC8C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand All @@ -54,7 +54,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C770C9AD2A73A06600C2AC8C /* ConfidenceProvider in Frameworks */,
733219BF2BE3C11100747AC2 /* ConfidenceOpenFeature in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -137,7 +137,7 @@
C770C9A82A73A04B00C2AC8C /* Packages */ = {
isa = PBXGroup;
children = (
C770C9A92A73A04B00C2AC8C /* confidence-openfeature-provider-swift */,
C770C9A92A73A04B00C2AC8C /* confidence-sdk-swift */,
);
name = Packages;
sourceTree = "<group>";
Expand Down Expand Up @@ -166,7 +166,7 @@
);
name = ConfidenceDemoApp;
packageProductDependencies = (
C770C9AC2A73A06600C2AC8C /* ConfidenceProvider */,
733219BE2BE3C11100747AC2 /* ConfidenceOpenFeature */,
);
productName = ConfidenceDemoApp;
productReference = C770C9682A739FA000C2AC8C /* ConfidenceDemoApp.app */;
Expand Down Expand Up @@ -638,9 +638,9 @@
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
C770C9AC2A73A06600C2AC8C /* ConfidenceProvider */ = {
733219BE2BE3C11100747AC2 /* ConfidenceOpenFeature */ = {
isa = XCSwiftPackageProductDependency;
productName = ConfidenceProvider;
productName = ConfidenceOpenFeature;
};
/* End XCSwiftPackageProductDependency section */
};
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let package = Package(
],
products: [
.library(
name: "ConfidenceProvider",
name: "ConfidenceOpenFeature",
targets: ["ConfidenceProvider"]),
.library(
name: "Confidence",
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You have two options, both start from File > Add Packages... in the code menu.
First, ensure you have your GitHub account added as an option (+ > Add Source Control Account...). You will need to create a [Personal Access Token](https://github.com/settings/tokens) with the permissions defined in the Xcode interface.

1. Add as a remote repository
* Search for `git@github.com:spotify/confidence-openfeature-provider-swift.git` and click "Add Package"
* Search for `git@github.com:spotify/confidence-sdk-swift.git` and click "Add Package"
2. Clone the repository locally
* Clone locally using your preferred method
* Use the "Add Local..." button to select the local folder
Expand All @@ -30,14 +30,14 @@ the relevant OpenFeature SDK dependency manually.
<!---x-release-please-start-version-->
In the dependencies section of Package.swift add:
```swift
.package(url: "git@github.com:spotify/confidence-openfeature-provider-swift.git", from: "0.1.4")
.package(url: "git@github.com:spotify/confidence-sdk-swift.git", from: "0.1.4")
```
<!---x-release-please-end-->

and in the target dependencies section add:
```swift
.product(name: "ConfidenceProvider", package: "confidence-openfeature-provider-swift"),
.product(name: "Confidence", package: "confidence-openfeature-provider-swift"),
.product(name: "ConfidenceProvider", package: "confidence-sdk-swift"),
.product(name: "Confidence", package: "confidence-sdk-swift"),
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: confidence-openfeature-provider-swift
name: confidence-sdk-swift
spec:
type: library
owner: hawkeye

0 comments on commit 587a778

Please sign in to comment.