Skip to content

Commit df8da2f

Browse files
authored
Fix reference issues in project file. (#114)
fix: example project reference to SDK Fix issue because of which `Example` project didn't built with missing `swift` reference error. Closes #113 fix: Carthage build issue with package schemas Fix issue because of which Carthage was unable to build caused by schemas without targets. Closes #111 #112
1 parent 98efba0 commit df8da2f

File tree

7 files changed

+48
-201
lines changed

7 files changed

+48
-201
lines changed

.pubnub.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
---
22
name: swift
33
scm: github.com/pubnub/swift
4-
version: "6.0.0"
4+
version: "6.0.1"
55
schema: 1
66
changelog:
7+
- date: 2022-09-05
8+
version: 6.0.1
9+
changes:
10+
- type: bug
11+
text: "Fix issue because of which `Example` project didn't built with missing `swift` reference error."
12+
- type: bug
13+
text: "Fix issue because of which Carthage was unable to build caused by schemas without targets."
714
- date: 2022-07-05
815
version: 6.0.0
916
changes:
@@ -454,7 +461,7 @@ sdks:
454461
- distribution-type: source
455462
distribution-repository: GitHub release
456463
package-name: PubNub
457-
location: https://github.com/pubnub/swift/archive/refs/tags/6.0.0.zip
464+
location: https://github.com/pubnub/swift/archive/refs/tags/6.0.1.zip
458465
supported-platforms:
459466
supported-operating-systems:
460467
macOS:

Examples/Examples.xcodeproj/project.pbxproj

Lines changed: 29 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
35012EBE285007B400CF7E0A /* PubNubMembership in Frameworks */ = {isa = PBXBuildFile; productRef = 35012EBD285007B400CF7E0A /* PubNubMembership */; };
11-
35012EC0285007B400CF7E0A /* PubNubSpace in Frameworks */ = {isa = PBXBuildFile; productRef = 35012EBF285007B400CF7E0A /* PubNubSpace */; };
12-
35012EC2285007B400CF7E0A /* PubNubUser in Frameworks */ = {isa = PBXBuildFile; productRef = 35012EC1285007B400CF7E0A /* PubNubUser */; };
13-
3503519C23EE2C6E006DFDC3 /* PubNub in Frameworks */ = {isa = PBXBuildFile; productRef = 3503519B23EE2C6E006DFDC3 /* PubNub */; };
1410
3567432822DF974600BF2639 /* MasterDetailTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 359F779922B7FEF600B6B46F /* MasterDetailTableViewController.swift */; };
1511
357AD4EC252D067800099EB7 /* FileAPIViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 357AD4EB252D067800099EB7 /* FileAPIViewController.swift */; };
1612
357AD4EE252D087800099EB7 /* FileAPI.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 357AD4ED252D087800099EB7 /* FileAPI.storyboard */; };
@@ -21,6 +17,10 @@
2117
359F779F22B7FEF700B6B46F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 359F779E22B7FEF700B6B46F /* Assets.xcassets */; };
2218
359F77A222B7FEF700B6B46F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 359F77A022B7FEF700B6B46F /* LaunchScreen.storyboard */; };
2319
35F0258F22BAC6C9007BD7D3 /* ConfigDetailTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35F0258E22BAC6C9007BD7D3 /* ConfigDetailTableViewController.swift */; };
20+
792CF27228C4FBB300C83408 /* PubNub in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27128C4FBB300C83408 /* PubNub */; };
21+
792CF27428C4FBB300C83408 /* PubNubMembership in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27328C4FBB300C83408 /* PubNubMembership */; };
22+
792CF27628C4FBB300C83408 /* PubNubSpace in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27528C4FBB300C83408 /* PubNubSpace */; };
23+
792CF27828C4FBB300C83408 /* PubNubUser in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27728C4FBB300C83408 /* PubNubUser */; };
2424
/* End PBXBuildFile section */
2525

2626
/* Begin PBXCopyFilesBuildPhase section */
@@ -47,7 +47,6 @@
4747
/* End PBXCopyFilesBuildPhase section */
4848

4949
/* Begin PBXFileReference section */
50-
35012EC3285009C400CF7E0A /* swift */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = swift; path = ..; sourceTree = "<group>"; };
5150
35304F9022FF64D4006A02CA /* iOS Example.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "iOS Example.entitlements"; sourceTree = SOURCE_ROOT; };
5251
357AD4EB252D067800099EB7 /* FileAPIViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FileAPIViewController.swift; sourceTree = "<group>"; };
5352
357AD4ED252D087800099EB7 /* FileAPI.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = FileAPI.storyboard; sourceTree = "<group>"; };
@@ -62,17 +61,18 @@
6261
359F77A322B7FEF700B6B46F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
6362
359F77AA22B7FF5700B6B46F /* PubNub.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = PubNub.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6463
35F0258E22BAC6C9007BD7D3 /* ConfigDetailTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConfigDetailTableViewController.swift; sourceTree = "<group>"; };
64+
792CF27A28C4FCB800C83408 /* PubNub SDK */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "PubNub SDK"; path = ..; sourceTree = "<group>"; };
6565
/* End PBXFileReference section */
6666

6767
/* Begin PBXFrameworksBuildPhase section */
6868
359F779122B7FEF600B6B46F /* Frameworks */ = {
6969
isa = PBXFrameworksBuildPhase;
7070
buildActionMask = 2147483647;
7171
files = (
72-
35012EBE285007B400CF7E0A /* PubNubMembership in Frameworks */,
73-
35012EC2285007B400CF7E0A /* PubNubUser in Frameworks */,
74-
35012EC0285007B400CF7E0A /* PubNubSpace in Frameworks */,
75-
3503519C23EE2C6E006DFDC3 /* PubNub in Frameworks */,
72+
792CF27428C4FBB300C83408 /* PubNubMembership in Frameworks */,
73+
792CF27828C4FBB300C83408 /* PubNubUser in Frameworks */,
74+
792CF27628C4FBB300C83408 /* PubNubSpace in Frameworks */,
75+
792CF27228C4FBB300C83408 /* PubNub in Frameworks */,
7676
);
7777
runOnlyForDeploymentPostprocessing = 0;
7878
};
@@ -93,7 +93,7 @@
9393
359F778B22B7FEF600B6B46F = {
9494
isa = PBXGroup;
9595
children = (
96-
35012EC3285009C400CF7E0A /* swift */,
96+
792CF27928C4FCB800C83408 /* Packages */,
9797
35F0258A22BAC173007BD7D3 /* Sources */,
9898
359F779622B7FEF600B6B46F /* iOS Example */,
9999
359F779522B7FEF600B6B46F /* Products */,
@@ -149,6 +149,14 @@
149149
path = Sources;
150150
sourceTree = "<group>";
151151
};
152+
792CF27928C4FCB800C83408 /* Packages */ = {
153+
isa = PBXGroup;
154+
children = (
155+
792CF27A28C4FCB800C83408 /* PubNub SDK */,
156+
);
157+
name = Packages;
158+
sourceTree = "<group>";
159+
};
152160
/* End PBXGroup section */
153161

154162
/* Begin PBXNativeTarget section */
@@ -168,10 +176,10 @@
168176
);
169177
name = "iOS Example";
170178
packageProductDependencies = (
171-
3503519B23EE2C6E006DFDC3 /* PubNub */,
172-
35012EBD285007B400CF7E0A /* PubNubMembership */,
173-
35012EBF285007B400CF7E0A /* PubNubSpace */,
174-
35012EC1285007B400CF7E0A /* PubNubUser */,
179+
792CF27128C4FBB300C83408 /* PubNub */,
180+
792CF27328C4FBB300C83408 /* PubNubMembership */,
181+
792CF27528C4FBB300C83408 /* PubNubSpace */,
182+
792CF27728C4FBB300C83408 /* PubNubUser */,
175183
);
176184
productName = swiftSdkiOS;
177185
productReference = 359F779422B7FEF600B6B46F /* iOS Example.app */;
@@ -207,7 +215,6 @@
207215
);
208216
mainGroup = 359F778B22B7FEF600B6B46F;
209217
packageReferences = (
210-
3503519A23EE2C6E006DFDC3 /* XCRemoteSwiftPackageReference "swift" */,
211218
);
212219
productRefGroup = 359F779522B7FEF600B6B46F /* Products */;
213220
projectDirPath = "";
@@ -455,38 +462,23 @@
455462
};
456463
/* End XCConfigurationList section */
457464

458-
/* Begin XCRemoteSwiftPackageReference section */
459-
3503519A23EE2C6E006DFDC3 /* XCRemoteSwiftPackageReference "swift" */ = {
460-
isa = XCRemoteSwiftPackageReference;
461-
repositoryURL = "https://github.com/pubnub/swift.git";
462-
requirement = {
463-
branch = "features/CLEN-351_VSP-modules";
464-
kind = branch;
465-
};
466-
};
467-
/* End XCRemoteSwiftPackageReference section */
468-
469465
/* Begin XCSwiftPackageProductDependency section */
470-
35012EBD285007B400CF7E0A /* PubNubMembership */ = {
466+
792CF27128C4FBB300C83408 /* PubNub */ = {
467+
isa = XCSwiftPackageProductDependency;
468+
productName = PubNub;
469+
};
470+
792CF27328C4FBB300C83408 /* PubNubMembership */ = {
471471
isa = XCSwiftPackageProductDependency;
472-
package = 3503519A23EE2C6E006DFDC3 /* XCRemoteSwiftPackageReference "swift" */;
473472
productName = PubNubMembership;
474473
};
475-
35012EBF285007B400CF7E0A /* PubNubSpace */ = {
474+
792CF27528C4FBB300C83408 /* PubNubSpace */ = {
476475
isa = XCSwiftPackageProductDependency;
477-
package = 3503519A23EE2C6E006DFDC3 /* XCRemoteSwiftPackageReference "swift" */;
478476
productName = PubNubSpace;
479477
};
480-
35012EC1285007B400CF7E0A /* PubNubUser */ = {
478+
792CF27728C4FBB300C83408 /* PubNubUser */ = {
481479
isa = XCSwiftPackageProductDependency;
482-
package = 3503519A23EE2C6E006DFDC3 /* XCRemoteSwiftPackageReference "swift" */;
483480
productName = PubNubUser;
484481
};
485-
3503519B23EE2C6E006DFDC3 /* PubNub */ = {
486-
isa = XCSwiftPackageProductDependency;
487-
package = 3503519A23EE2C6E006DFDC3 /* XCRemoteSwiftPackageReference "swift" */;
488-
productName = PubNub;
489-
};
490482
/* End XCSwiftPackageProductDependency section */
491483
};
492484
rootObject = 359F778C22B7FEF600B6B46F /* Project object */;

PubNub.xcodeproj/project.pbxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3181,7 +3181,7 @@
31813181
"@executable_path/Frameworks",
31823182
"@loader_path/Frameworks",
31833183
);
3184-
MARKETING_VERSION = 6.0.0;
3184+
MARKETING_VERSION = 6.0.1;
31853185
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
31863186
MTL_FAST_MATH = YES;
31873187
PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubUser;
@@ -3226,7 +3226,7 @@
32263226
"@executable_path/Frameworks",
32273227
"@loader_path/Frameworks",
32283228
);
3229-
MARKETING_VERSION = 6.0.0;
3229+
MARKETING_VERSION = 6.0.1;
32303230
MTL_ENABLE_DEBUG_INFO = NO;
32313231
MTL_FAST_MATH = YES;
32323232
PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubUser;
@@ -3320,7 +3320,7 @@
33203320
"@executable_path/Frameworks",
33213321
"@loader_path/Frameworks",
33223322
);
3323-
MARKETING_VERSION = 6.0.0;
3323+
MARKETING_VERSION = 6.0.1;
33243324
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
33253325
MTL_FAST_MATH = YES;
33263326
PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubSpace;
@@ -3367,7 +3367,7 @@
33673367
"@executable_path/Frameworks",
33683368
"@loader_path/Frameworks",
33693369
);
3370-
MARKETING_VERSION = 6.0.0;
3370+
MARKETING_VERSION = 6.0.1;
33713371
MTL_ENABLE_DEBUG_INFO = NO;
33723372
MTL_FAST_MATH = YES;
33733373
PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubSpace;
@@ -3474,7 +3474,7 @@
34743474
"@executable_path/Frameworks",
34753475
"@loader_path/Frameworks",
34763476
);
3477-
MARKETING_VERSION = 6.0.0;
3477+
MARKETING_VERSION = 6.0.1;
34783478
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
34793479
MTL_FAST_MATH = YES;
34803480
PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubMembership;
@@ -3520,7 +3520,7 @@
35203520
"@executable_path/Frameworks",
35213521
"@loader_path/Frameworks",
35223522
);
3523-
MARKETING_VERSION = 6.0.0;
3523+
MARKETING_VERSION = 6.0.1;
35243524
MTL_ENABLE_DEBUG_INFO = NO;
35253525
MTL_FAST_MATH = YES;
35263526
PRODUCT_BUNDLE_IDENTIFIER = com.pubnub.swift.PubNubMembership;
@@ -3922,7 +3922,7 @@
39223922
"$(inherited)",
39233923
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
39243924
);
3925-
MARKETING_VERSION = 6.0.0;
3925+
MARKETING_VERSION = 6.0.1;
39263926
OTHER_CFLAGS = "$(inherited)";
39273927
OTHER_LDFLAGS = "$(inherited)";
39283928
OTHER_SWIFT_FLAGS = "$(inherited)";
@@ -3955,7 +3955,7 @@
39553955
"$(inherited)",
39563956
"$(TOOLCHAIN_DIR)/usr/lib/swift/macosx",
39573957
);
3958-
MARKETING_VERSION = 6.0.0;
3958+
MARKETING_VERSION = 6.0.1;
39593959
OTHER_CFLAGS = "$(inherited)";
39603960
OTHER_LDFLAGS = "$(inherited)";
39613961
OTHER_SWIFT_FLAGS = "$(inherited)";

PubNub.xcodeproj/xcshareddata/xcschemes/PubNubPackageDescription.xcscheme

Lines changed: 0 additions & 76 deletions
This file was deleted.

PubNub.xcodeproj/xcshareddata/xcschemes/PubNubPackageTests.xcscheme

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)