Skip to content

Commit

Permalink
Remove unused headerfiles and also remove .h,.m reference from podspe…
Browse files Browse the repository at this point in the history
…cs (#26)

Co-authored-by: Sanju Naik <[email protected]>
  • Loading branch information
sanju-naik and Sanju Naik authored Jul 26, 2023
1 parent f447db2 commit 50c98ba
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 21 deletions.
12 changes: 5 additions & 7 deletions Courier.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@
8BC4E3162803D54F0079DADE /* MockIncomingMessagePersistence.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MockIncomingMessagePersistence.swift; sourceTree = "<group>"; };
8BE0DD41270BE3B000630D60 /* libCourierCore.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libCourierCore.a; sourceTree = BUILT_PRODUCTS_DIR; };
8BE0DD6D270BE47300630D60 /* libCourierMQTT.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libCourierMQTT.a; sourceTree = BUILT_PRODUCTS_DIR; };
8BE0DEAE270BE50500630D60 /* CourierMQTT-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CourierMQTT-Bridging-Header.h"; sourceTree = "<group>"; };
8BE0DEB0270BE50600630D60 /* Publisher.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Publisher.swift; sourceTree = "<group>"; };
8BE0DEB1270BE50600630D60 /* AnyCancellable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AnyCancellable.swift; sourceTree = "<group>"; };
8BE0DEB4270BE50700630D60 /* IAuthFailureHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = IAuthFailureHandler.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1118,7 +1117,6 @@
8BE0DEAF270BE50600630D60 /* Publishers */,
8BE0DEF9270BE50800630D60 /* Reactive */,
8BE0DF57270BE50900630D60 /* Utils */,
8BE0DEAE270BE50500630D60 /* CourierMQTT-Bridging-Header.h */,
);
path = CourierMQTT;
sourceTree = "<group>";
Expand Down Expand Up @@ -2644,7 +2642,7 @@
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "CourierMQTT/CourierMQTT-Bridging-Header.h";
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -2667,7 +2665,7 @@
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "CourierMQTT/CourierMQTT-Bridging-Header.h";
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -2690,7 +2688,7 @@
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "CourierMQTT/CourierMQTT-Bridging-Header.h";
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -2713,7 +2711,7 @@
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "CourierMQTT/CourierMQTT-Bridging-Header.h";
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -2736,7 +2734,7 @@
OTHER_LDFLAGS = "-ObjC";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "CourierMQTT/CourierMQTT-Bridging-Header.h";
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down
4 changes: 2 additions & 2 deletions CourierCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |c|
c.name = 'CourierCore'
c.version = '0.0.20'
c.version = '0.0.21'
c.summary = "Gojek iOS Long Run Connection Open Source SDK"
c.description = "Publish and Subscribe data with bidirectional communication between client and server"

Expand All @@ -14,5 +14,5 @@ Pod::Spec.new do |c|
:tag => "#{c.version}"
}
c.swift_version = '5.3'
c.source_files = 'CourierCore/**/*.{h,m,swift}'
c.source_files = 'CourierCore/**/*.swift'
end
4 changes: 2 additions & 2 deletions CourierMQTT.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |c|
c.name = 'CourierMQTT'
c.version = '0.0.20'
c.version = '0.0.21'
c.summary = "Gojek iOS Long Run Connection Open Source SDK"
c.description = "Publish and Subscribe data with bidirectional communication between client and server"

Expand All @@ -14,7 +14,7 @@ Pod::Spec.new do |c|
:tag => "#{c.version}"
}
c.swift_version = '5.3'
c.source_files = "CourierMQTT/**/*.{h,m,swift}"
c.source_files = "CourierMQTT/**/*.swift"

c.dependency 'CourierCore', "#{c.version}"
# Make sure to use the forked version from private podspec "ios-ca-podspecs" as it contains critical fix on MQTTSession for transportDidClose
Expand Down
4 changes: 0 additions & 4 deletions CourierMQTT/CourierMQTT-Bridging-Header.h

This file was deleted.

4 changes: 2 additions & 2 deletions CourierMQTTChuck.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |c|
c.name = 'CourierMQTTChuck'
c.version = '0.0.20'
c.version = '0.0.21'
c.summary = "Gojek iOS Long Run Connection Open Source SDK"
c.description = "Publish and Subscribe data with bidirectional communication between client and server"

Expand All @@ -15,7 +15,7 @@ Pod::Spec.new do |c|
}
c.swift_version = '5.3'

c.source_files = "CourierMQTTChuck/**/*.{h,m,swift}"
c.source_files = "CourierMQTTChuck/**/*.swift"

c.dependency 'CourierCore', "#{c.version}"
c.dependency 'CourierMQTT', "#{c.version}"
Expand Down
4 changes: 2 additions & 2 deletions CourierProtobuf.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |c|
c.name = 'CourierProtobuf'
c.version = '0.0.20'
c.version = '0.0.21'
c.summary = "Gojek iOS Long Run Connection Open Source SDK"
c.description = "Publish and Subscribe data with bidirectional communication between client and server"

Expand All @@ -15,7 +15,7 @@ Pod::Spec.new do |c|
}
c.swift_version = '5.3'

c.source_files = "CourierProtobuf/**/*.{h,m,swift}"
c.source_files = "CourierProtobuf/**/*.swift"

c.dependency 'CourierCore', "#{c.version}"
c.dependency 'CourierMQTT', "#{c.version}"
Expand Down
2 changes: 1 addition & 1 deletion MQTTClientGJ.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |mqttc|
mqttc.name = "MQTTClientGJ"
mqttc.version = "0.0.20"
mqttc.version = "0.0.21"
mqttc.summary = "iOS, macOS and tvOS native ObjectiveC MQTT Client Framework"
mqttc.homepage = "https://github.com/gojek/courier-iOS"
mqttc.license = "EPLv1"
Expand Down
2 changes: 1 addition & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DEPENDENCIES:
- SwiftProtobuf

SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
trunk:
- ReachabilitySwift
- SwiftProtobuf

Expand Down

0 comments on commit 50c98ba

Please sign in to comment.