Skip to content

Commit 6c43731

Browse files
Move swiftui to separate folder and exclude from cocoapods.
1 parent 7eb2a91 commit 6c43731

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

Iterable-iOS-SDK.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Pod::Spec.new do |s|
1616
s.platform = :ios, "9.0"
1717
s.source = { :git => "https://github.com/Iterable/swift-sdk.git", :tag => s.version }
1818
s.source_files = "swift-sdk/**/*.{h,m,swift}"
19+
s.exclude_files = "swift-sdk/swiftui/**"
1920

2021
s.pod_target_xcconfig = {
2122
'SWIFT_VERSION' => '5.3'

swift-sdk.xcodeproj/project.pbxproj

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@
770770
AC2263E120CF49B8009800EB /* swift-sdk */ = {
771771
isa = PBXGroup;
772772
children = (
773+
AC5C467E2756AEA4000762B6 /* swiftui */,
773774
AC72A0BB20CF4C8C004D7997 /* Internal */,
774775
AC44C0EB22615F8100E0641D /* Resources */,
775776
AC2263F920CF4B63009800EB /* Supporting Files */,
@@ -788,7 +789,6 @@
788789
AC02480722791E2100495FB9 /* IterableInboxNavigationViewController.swift */,
789790
AC219C48225FD7EB00B98631 /* IterableInboxViewController.swift */,
790791
55DD2014269E5A4200773CC7 /* IterableInboxViewControllerViewDelegate.swift */,
791-
ACA95D2E2754AA6800AF4666 /* IterableInboxView.swift */,
792792
AC3C10F8213F46A900A9B839 /* IterableLogging.swift */,
793793
ACA8D1A221910C66001B1332 /* IterableMessaging.swift */,
794794
AC78F0E6253D7F09006378A5 /* IterablePushNotificationMetadata.swift */,
@@ -962,6 +962,23 @@
962962
name = "local-storage-tests";
963963
sourceTree = "<group>";
964964
};
965+
AC5C467E2756AEA4000762B6 /* swiftui */ = {
966+
isa = PBXGroup;
967+
children = (
968+
AC5C467F2756B065000762B6 /* Internal */,
969+
ACA95D2E2754AA6800AF4666 /* IterableInboxView.swift */,
970+
);
971+
path = swiftui;
972+
sourceTree = "<group>";
973+
};
974+
AC5C467F2756B065000762B6 /* Internal */ = {
975+
isa = PBXGroup;
976+
children = (
977+
ACA95D2C275494A100AF4666 /* InboxViewRepresentable.swift */,
978+
);
979+
name = Internal;
980+
sourceTree = "<group>";
981+
};
965982
AC5E888724E1B7AD00752321 /* Request Processing */ = {
966983
isa = PBXGroup;
967984
children = (
@@ -992,7 +1009,6 @@
9921009
AC72A0BB20CF4C8C004D7997 /* Internal */ = {
9931010
isa = PBXGroup;
9941011
children = (
995-
ACA95D2B2754942F00AF4666 /* SwiftUI */,
9961012
AC845105228DF5360052BB8F /* API Client */,
9971013
AC0248062279132400495FB9 /* Dwifft */,
9981014
AC2263FA20CF4B84009800EB /* In-App */,
@@ -1147,14 +1163,6 @@
11471163
path = common;
11481164
sourceTree = "<group>";
11491165
};
1150-
ACA95D2B2754942F00AF4666 /* SwiftUI */ = {
1151-
isa = PBXGroup;
1152-
children = (
1153-
ACA95D2C275494A100AF4666 /* InboxViewRepresentable.swift */,
1154-
);
1155-
name = SwiftUI;
1156-
sourceTree = "<group>";
1157-
};
11581166
ACC362BB24D21153002C67BA /* Task Processing */ = {
11591167
isa = PBXGroup;
11601168
children = (

0 commit comments

Comments
 (0)