Skip to content

Commit

Permalink
Replacing module name with PubNubSDK
Browse files Browse the repository at this point in the history
  • Loading branch information
jguz-pubnub committed Aug 14, 2024
1 parent 8a1c153 commit dacd7ad
Show file tree
Hide file tree
Showing 143 changed files with 215 additions and 231 deletions.
10 changes: 5 additions & 5 deletions Examples/Examples.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
359F779F22B7FEF700B6B46F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 359F779E22B7FEF700B6B46F /* Assets.xcassets */; };
359F77A222B7FEF700B6B46F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 359F77A022B7FEF700B6B46F /* LaunchScreen.storyboard */; };
35F0258F22BAC6C9007BD7D3 /* ConfigDetailTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35F0258E22BAC6C9007BD7D3 /* ConfigDetailTableViewController.swift */; };
3D26A6152C6BB68A007B4539 /* PubNubSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 3D26A6142C6BB68A007B4539 /* PubNubSDK */; };
3D34160D2BB5CE20008558A0 /* DetailTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D34160C2BB5CE20008558A0 /* DetailTableViewController.swift */; };
792CF27228C4FBB300C83408 /* PubNub in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27128C4FBB300C83408 /* PubNub */; };
792CF27428C4FBB300C83408 /* PubNubMembership in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27328C4FBB300C83408 /* PubNubMembership */; };
792CF27628C4FBB300C83408 /* PubNubSpace in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27528C4FBB300C83408 /* PubNubSpace */; };
792CF27828C4FBB300C83408 /* PubNubUser in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27728C4FBB300C83408 /* PubNubUser */; };
Expand Down Expand Up @@ -70,9 +70,9 @@
buildActionMask = 2147483647;
files = (
792CF27428C4FBB300C83408 /* PubNubMembership in Frameworks */,
3D26A6152C6BB68A007B4539 /* PubNubSDK in Frameworks */,
792CF27828C4FBB300C83408 /* PubNubUser in Frameworks */,
792CF27628C4FBB300C83408 /* PubNubSpace in Frameworks */,
792CF27228C4FBB300C83408 /* PubNub in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -176,10 +176,10 @@
);
name = "iOS Example";
packageProductDependencies = (
792CF27128C4FBB300C83408 /* PubNub */,
792CF27328C4FBB300C83408 /* PubNubMembership */,
792CF27528C4FBB300C83408 /* PubNubSpace */,
792CF27728C4FBB300C83408 /* PubNubUser */,
3D26A6142C6BB68A007B4539 /* PubNubSDK */,
);
productName = swiftSdkiOS;
productReference = 359F779422B7FEF600B6B46F /* iOS Example.app */;
Expand Down Expand Up @@ -464,9 +464,9 @@
/* End XCConfigurationList section */

/* Begin XCSwiftPackageProductDependency section */
792CF27128C4FBB300C83408 /* PubNub */ = {
3D26A6142C6BB68A007B4539 /* PubNubSDK */ = {
isa = XCSwiftPackageProductDependency;
productName = PubNub;
productName = PubNubSDK;
};
792CF27328C4FBB300C83408 /* PubNubMembership */ = {
isa = XCSwiftPackageProductDependency;
Expand Down
3 changes: 1 addition & 2 deletions Examples/Sources/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
//

import UIKit

import PubNub
import PubNubSDK

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
Expand Down
3 changes: 1 addition & 2 deletions Examples/Sources/ConfigDetailTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
//

import UIKit

import PubNub
import PubNubSDK

class ConfigDetailTableViewController: UITableViewController {

Expand Down
2 changes: 1 addition & 1 deletion Examples/Sources/DetailTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import Foundation
import UIKit

import PubNub
import PubNubSDK
import PubNubMembership
import PubNubSpace
import PubNubUser
Expand Down
3 changes: 1 addition & 2 deletions Examples/Sources/File/FileAPIViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
//

import UIKit

import PubNub
import PubNubSDK

enum AlertMessageDirection: String {
case upload = "Uploading"
Expand Down
3 changes: 1 addition & 2 deletions Examples/Sources/File/LocalFileExample.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
//

import Foundation

import PubNub
import PubNubSDK

enum FileError: Error {
case fileNameError
Expand Down
14 changes: 7 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ let package = Package(
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "PubNub",
targets: ["PubNub"]
name: "PubNubSDK",
targets: ["PubNubSDK"]
),
.library(
name: "PubNubUser",
Expand All @@ -45,28 +45,28 @@ let package = Package(
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "PubNub",
name: "PubNubSDK",
path: "Sources/PubNub",
resources: [.copy("PrivacyInfo.xcprivacy")]
),
.target(
name: "PubNubUser",
dependencies: ["PubNub"],
dependencies: ["PubNubSDK"],
path: "PubNubUser/Sources"
),
.target(
name: "PubNubSpace",
dependencies: ["PubNub"],
dependencies: ["PubNubSDK"],
path: "PubNubSpace/Sources"
),
.target(
name: "PubNubMembership",
dependencies: ["PubNub", "PubNubUser", "PubNubSpace"],
dependencies: ["PubNubSDK", "PubNubUser", "PubNubSpace"],
path: "PubNubMembership/Sources"
),
.testTarget(
name: "PubNubTests",
dependencies: ["PubNub"]
dependencies: ["PubNubSDK"]
)
],
swiftLanguageVersions: [.v5]
Expand Down
50 changes: 25 additions & 25 deletions PubNub.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
35580682230F3A34005CDD92 /* RequestIdOperator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35580681230F3A34005CDD92 /* RequestIdOperator.swift */; };
35580686230F47EA005CDD92 /* RequestIdOperatorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35580684230F4771005CDD92 /* RequestIdOperatorTests.swift */; };
3558069C231303D9005CDD92 /* AutomaticRetryTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3558069B231303D9005CDD92 /* AutomaticRetryTests.swift */; };
355806DB23145749005CDD92 /* PubNub.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNub.framework */; };
355806DB23145749005CDD92 /* PubNubSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNubSDK.framework */; };
3559977B23073D53000BCFD1 /* WeakBoxTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3559977A23073D53000BCFD1 /* WeakBoxTests.swift */; };
3559977F23078A7C000BCFD1 /* message_counts_error_invalid_arguments.json in Resources */ = {isa = PBXBuildFile; fileRef = 3559977E230787E7000BCFD1 /* message_counts_error_invalid_arguments.json */; };
3559978223079070000BCFD1 /* forbidden_Message.json in Resources */ = {isa = PBXBuildFile; fileRef = 3559978023078F85000BCFD1 /* forbidden_Message.json */; };
Expand Down Expand Up @@ -473,9 +473,9 @@
79407BE5271D4CFA0032076C /* PubNubFilesContractTestSteps.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79407BD1271D4CFA0032076C /* PubNubFilesContractTestSteps.swift */; };
79407C00271D519F0032076C /* Features in Resources */ = {isa = PBXBuildFile; fileRef = 79407BFF271D519F0032076C /* Features */; };
79407C01271D519F0032076C /* Features in Resources */ = {isa = PBXBuildFile; fileRef = 79407BFF271D519F0032076C /* Features */; };
7941EEA9270E433F0054D9EF /* PubNub.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNub.framework */; platformFilter = ios; };
7941EEA9270E433F0054D9EF /* PubNubSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNubSDK.framework */; platformFilter = ios; };
7951954E26C955CE001E308C /* PAMToken.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7951954D26C955CE001E308C /* PAMToken.swift */; };
79657AA3271A13F700BACEC5 /* PubNub.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNub.framework */; platformFilter = ios; };
79657AA3271A13F700BACEC5 /* PubNubSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNubSDK.framework */; platformFilter = ios; };
A5115F2529195AF400F6ADA1 /* PubNubObjectsMembersContractTestSteps.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5115F2429195AF400F6ADA1 /* PubNubObjectsMembersContractTestSteps.swift */; };
A5115F2629195AF400F6ADA1 /* PubNubObjectsMembersContractTestSteps.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5115F2429195AF400F6ADA1 /* PubNubObjectsMembersContractTestSteps.swift */; };
A5115F28291D54F500F6ADA1 /* PubNubObjectsMembershipsContractTestSteps.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5115F27291D54F500F6ADA1 /* PubNubObjectsMembershipsContractTestSteps.swift */; };
Expand All @@ -492,7 +492,7 @@
D2635DFB22FCCF080097CF64 /* message_counts_success.json in Resources */ = {isa = PBXBuildFile; fileRef = D2635DFA22FCCF080097CF64 /* message_counts_success.json */; };
OBJ_31 /* PubNub.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_11 /* PubNub.swift */; };
OBJ_49 /* PubNubTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_15 /* PubNubTests.swift */; };
OBJ_51 /* PubNub.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNub.framework */; };
OBJ_51 /* PubNubSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNubSDK.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -1078,7 +1078,7 @@
OBJ_24 /* PubNubSwift.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; path = PubNubSwift.podspec; sourceTree = "<group>"; };
OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
OBJ_9 /* PubNub.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PubNub.h; sourceTree = "<group>"; };
"PubNub::PubNub::Product" /* PubNub.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = PubNub.framework; sourceTree = BUILT_PRODUCTS_DIR; };
"PubNub::PubNub::Product" /* PubNubSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = PubNubSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; };
"PubNub::PubNubTests::Product" /* PubNubTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; path = PubNubTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

Expand All @@ -1087,7 +1087,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 0;
files = (
355806DB23145749005CDD92 /* PubNub.framework in Frameworks */,
355806DB23145749005CDD92 /* PubNubSDK.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1164,7 +1164,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 0;
files = (
7941EEA9270E433F0054D9EF /* PubNub.framework in Frameworks */,
7941EEA9270E433F0054D9EF /* PubNubSDK.framework in Frameworks */,
4C2A8D84BCD39B07A66FD9B4 /* Pods_PubNubContractTests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -1173,7 +1173,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 0;
files = (
79657AA3271A13F700BACEC5 /* PubNub.framework in Frameworks */,
79657AA3271A13F700BACEC5 /* PubNubSDK.framework in Frameworks */,
0162B986DE5A8773D6F8C8A0 /* Pods_PubNubContractTestsBeta.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -1189,7 +1189,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 0;
files = (
OBJ_51 /* PubNub.framework in Frameworks */,
OBJ_51 /* PubNubSDK.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -2473,7 +2473,7 @@
isa = PBXGroup;
children = (
"PubNub::PubNubTests::Product" /* PubNubTests.xctest */,
"PubNub::PubNub::Product" /* PubNub.framework */,
"PubNub::PubNub::Product" /* PubNubSDK.framework */,
3558073723145749005CDD92 /* PubNubIntTests.xctest */,
7941EF40270E433F0054D9EF /* PubNubContractTests.xctest */,
79657AAB271A13F700BACEC5 /* PubNubContractTestsBeta.xctest */,
Expand Down Expand Up @@ -2782,9 +2782,9 @@
productReference = 79657AAB271A13F700BACEC5 /* PubNubContractTestsBeta.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
"PubNub::PubNub" /* PubNub */ = {
"PubNub::PubNub" /* PubNubSDK */ = {
isa = PBXNativeTarget;
buildConfigurationList = OBJ_27 /* Build configuration list for PBXNativeTarget "PubNub" */;
buildConfigurationList = OBJ_27 /* Build configuration list for PBXNativeTarget "PubNubSDK" */;
buildPhases = (
3D5BE9AD2BCEA5AC0091ACA7 /* Resources */,
OBJ_30 /* Sources */,
Expand All @@ -2794,9 +2794,9 @@
);
dependencies = (
);
name = PubNub;
name = PubNubSDK;
productName = PubNub;
productReference = "PubNub::PubNub::Product" /* PubNub.framework */;
productReference = "PubNub::PubNub::Product" /* PubNubSDK.framework */;
productType = "com.apple.product-type.framework";
};
"PubNub::PubNubTests" /* PubNubTests */ = {
Expand Down Expand Up @@ -2867,7 +2867,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
"PubNub::PubNub" /* PubNub */,
"PubNub::PubNub" /* PubNubSDK */,
"PubNub::PubNubTests" /* PubNubTests */,
7941EE6B270E433F0054D9EF /* PubNubContractTests */,
79657A93271A13F700BACEC5 /* PubNubContractTestsBeta */,
Expand Down Expand Up @@ -3667,7 +3667,7 @@
/* Begin PBXTargetDependency section */
3558069E23145749005CDD92 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = "PubNub::PubNub" /* PubNub */;
target = "PubNub::PubNub" /* PubNubSDK */;
targetProxy = 3558069F23145749005CDD92 /* PBXContainerItemProxy */;
};
358B8917284D206B00DB0F3D /* PBXTargetDependency */ = {
Expand All @@ -3687,17 +3687,17 @@
};
358B8962284D22B100DB0F3D /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = "PubNub::PubNub" /* PubNub */;
target = "PubNub::PubNub" /* PubNubSDK */;
targetProxy = 358B8961284D22B100DB0F3D /* PBXContainerItemProxy */;
};
358B8966284D22D800DB0F3D /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = "PubNub::PubNub" /* PubNub */;
target = "PubNub::PubNub" /* PubNubSDK */;
targetProxy = 358B8965284D22D800DB0F3D /* PBXContainerItemProxy */;
};
358B8968284D22E200DB0F3D /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = "PubNub::PubNub" /* PubNub */;
target = "PubNub::PubNub" /* PubNubSDK */;
targetProxy = 358B8967284D22E200DB0F3D /* PBXContainerItemProxy */;
};
358B896A284D22E200DB0F3D /* PBXTargetDependency */ = {
Expand Down Expand Up @@ -3728,18 +3728,18 @@
7941EE6C270E433F0054D9EF /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
platformFilter = ios;
target = "PubNub::PubNub" /* PubNub */;
target = "PubNub::PubNub" /* PubNubSDK */;
targetProxy = 7941EE6D270E433F0054D9EF /* PBXContainerItemProxy */;
};
79657A94271A13F700BACEC5 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
platformFilter = ios;
target = "PubNub::PubNub" /* PubNub */;
target = "PubNub::PubNub" /* PubNubSDK */;
targetProxy = 79657A95271A13F700BACEC5 /* PBXContainerItemProxy */;
};
OBJ_52 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = "PubNub::PubNub" /* PubNub */;
target = "PubNub::PubNub" /* PubNubSDK */;
targetProxy = 35EA73F422B1916100D97BF0 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
Expand Down Expand Up @@ -4729,7 +4729,7 @@
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
TARGET_NAME = PubNub;
TARGET_NAME = PubNubSDK;
TVOS_DEPLOYMENT_TARGET = 12.0;
WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
Expand Down Expand Up @@ -4771,7 +4771,7 @@
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
TARGET_NAME = PubNub;
TARGET_NAME = PubNubSDK;
TVOS_DEPLOYMENT_TARGET = 12.0;
WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
Expand Down Expand Up @@ -5091,7 +5091,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
OBJ_27 /* Build configuration list for PBXNativeTarget "PubNub" */ = {
OBJ_27 /* Build configuration list for PBXNativeTarget "PubNubSDK" */ = {
isa = XCConfigurationList;
buildConfigurations = (
OBJ_28 /* Debug */,
Expand Down
16 changes: 8 additions & 8 deletions PubNub.xcodeproj/xcshareddata/xcschemes/PubNub.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PubNub::PubNub"
BuildableName = "PubNub.framework"
BlueprintName = "PubNub"
BuildableName = "PubNubSDK.framework"
BlueprintName = "PubNubSDK"
ReferencedContainer = "container:PubNub.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -34,8 +34,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PubNub::PubNub"
BuildableName = "PubNub.framework"
BlueprintName = "PubNub"
BuildableName = "PubNubSDK.framework"
BlueprintName = "PubNubSDK"
ReferencedContainer = "container:PubNub.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
Expand Down Expand Up @@ -80,8 +80,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PubNub::PubNub"
BuildableName = "PubNub.framework"
BlueprintName = "PubNub"
BuildableName = "PubNubSDK.framework"
BlueprintName = "PubNubSDK"
ReferencedContainer = "container:PubNub.xcodeproj">
</BuildableReference>
</MacroExpansion>
Expand All @@ -96,8 +96,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PubNub::PubNub"
BuildableName = "PubNub.framework"
BlueprintName = "PubNub"
BuildableName = "PubNubSDK.framework"
BlueprintName = "PubNubSDK"
ReferencedContainer = "container:PubNub.xcodeproj">
</BuildableReference>
</MacroExpansion>
Expand Down
3 changes: 1 addition & 2 deletions PubNubMembership/Sources/Membership+PubNub.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
//

import Foundation

import PubNub
import PubNubSDK
import PubNubSpace
import PubNubUser

Expand Down
3 changes: 1 addition & 2 deletions PubNubMembership/Sources/Patcher+PubNubMembership.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
//

import Foundation

import PubNub
import PubNubSDK
import PubNubSpace
import PubNubUser

Expand Down
Loading

0 comments on commit dacd7ad

Please sign in to comment.