Skip to content

Commit 23deafd

Browse files
Merge pull request #545 from Iterable/tapash/mob-4275-maccatalyst
[MOB-4275] - Mac Catalyst support
2 parents 6fbb6ba + d016c2e commit 23deafd

File tree

4 files changed

+32
-4
lines changed

4 files changed

+32
-4
lines changed

inbox-ui-tests-app.entitlements

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.app-sandbox</key>
6+
<true/>
7+
<key>com.apple.security.network.client</key>
8+
<true/>
9+
</dict>
10+
</plist>

swift-sdk.xcodeproj/project.pbxproj

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@
414414
55E6F45E238E066400808BCE /* DeepLinkTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DeepLinkTests.swift; sourceTree = "<group>"; };
415415
5B49BB3D27CFB71500E6F00C /* PopupInboxSessionUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PopupInboxSessionUITests.swift; sourceTree = "<group>"; };
416416
5B6C3C1027CE871F00B9A753 /* NavInboxSessionUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NavInboxSessionUITests.swift; sourceTree = "<group>"; };
417+
5BFC7CED27FC9AF300E77479 /* inbox-ui-tests-app.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "inbox-ui-tests-app.entitlements"; sourceTree = "<group>"; };
417418
AC02480722791E2100495FB9 /* IterableInboxNavigationViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IterableInboxNavigationViewController.swift; sourceTree = "<group>"; };
418419
AC02CAA5234E50B5006617E0 /* RegistrationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RegistrationTests.swift; sourceTree = "<group>"; };
419420
AC03094A21E532470003A288 /* InAppPersistence.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InAppPersistence.swift; sourceTree = "<group>"; };
@@ -753,6 +754,7 @@
753754
AC2263D520CF49B8009800EB = {
754755
isa = PBXGroup;
755756
children = (
757+
5BFC7CED27FC9AF300E77479 /* inbox-ui-tests-app.entitlements */,
756758
AC2263E120CF49B8009800EB /* swift-sdk */,
757759
AC90C4C520D8632E00EECA5D /* notification-extension */,
758760
ACFCA72920EB02DB00BFB277 /* tests */,
@@ -2315,7 +2317,7 @@
23152317
PRODUCT_NAME = IterableSDK;
23162318
PROVISIONING_PROFILE_SPECIFIER = "";
23172319
SKIP_INSTALL = YES;
2318-
SUPPORTS_MACCATALYST = NO;
2320+
SUPPORTS_MACCATALYST = YES;
23192321
"SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*]" = "DEBUG NETWORK_DEBUG";
23202322
TARGETED_DEVICE_FAMILY = "1,2";
23212323
};
@@ -2346,7 +2348,7 @@
23462348
PRODUCT_NAME = IterableSDK;
23472349
PROVISIONING_PROFILE_SPECIFIER = "";
23482350
SKIP_INSTALL = YES;
2349-
SUPPORTS_MACCATALYST = NO;
2351+
SUPPORTS_MACCATALYST = YES;
23502352
TARGETED_DEVICE_FAMILY = "1,2";
23512353
};
23522354
name = Release;
@@ -2462,7 +2464,7 @@
24622464
PRODUCT_NAME = IterableAppExtensions;
24632465
PROVISIONING_PROFILE_SPECIFIER = "";
24642466
SKIP_INSTALL = YES;
2465-
SUPPORTS_MACCATALYST = NO;
2467+
SUPPORTS_MACCATALYST = YES;
24662468
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
24672469
TARGETED_DEVICE_FAMILY = "1,2";
24682470
};
@@ -2494,7 +2496,7 @@
24942496
PRODUCT_NAME = IterableAppExtensions;
24952497
PROVISIONING_PROFILE_SPECIFIER = "";
24962498
SKIP_INSTALL = YES;
2497-
SUPPORTS_MACCATALYST = NO;
2499+
SUPPORTS_MACCATALYST = YES;
24982500
TARGETED_DEVICE_FAMILY = "1,2";
24992501
};
25002502
name = Release;
@@ -2588,6 +2590,7 @@
25882590
buildSettings = {
25892591
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
25902592
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
2593+
CODE_SIGN_ENTITLEMENTS = "inbox-ui-tests-app.entitlements";
25912594
CODE_SIGN_STYLE = Automatic;
25922595
DEVELOPMENT_TEAM = BP98Z28R86;
25932596
INFOPLIST_FILE = "tests/hosting-apps/inbox-ui-tests-app/Info.plist";
@@ -2600,6 +2603,7 @@
26002603
MTL_FAST_MATH = YES;
26012604
PRODUCT_BUNDLE_IDENTIFIER = "iterable.inbox-ui-tests-app";
26022605
PRODUCT_NAME = "$(TARGET_NAME)";
2606+
SUPPORTS_MACCATALYST = YES;
26032607
SWIFT_VERSION = 5.0;
26042608
TARGETED_DEVICE_FAMILY = "1,2";
26052609
};
@@ -2610,6 +2614,7 @@
26102614
buildSettings = {
26112615
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
26122616
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
2617+
CODE_SIGN_ENTITLEMENTS = "inbox-ui-tests-app.entitlements";
26132618
CODE_SIGN_STYLE = Automatic;
26142619
DEVELOPMENT_TEAM = BP98Z28R86;
26152620
INFOPLIST_FILE = "tests/hosting-apps/inbox-ui-tests-app/Info.plist";
@@ -2621,6 +2626,7 @@
26212626
MTL_FAST_MATH = YES;
26222627
PRODUCT_BUNDLE_IDENTIFIER = "iterable.inbox-ui-tests-app";
26232628
PRODUCT_NAME = "$(TARGET_NAME)";
2629+
SUPPORTS_MACCATALYST = YES;
26242630
SWIFT_VERSION = 5.0;
26252631
TARGETED_DEVICE_FAMILY = "1,2";
26262632
};
@@ -2688,6 +2694,7 @@
26882694
);
26892695
PRODUCT_BUNDLE_IDENTIFIER = "iterable.host-app";
26902696
PRODUCT_NAME = "host-app";
2697+
SUPPORTS_MACCATALYST = YES;
26912698
TARGETED_DEVICE_FAMILY = "1,2";
26922699
};
26932700
name = Debug;
@@ -2709,6 +2716,7 @@
27092716
);
27102717
PRODUCT_BUNDLE_IDENTIFIER = "iterable.host-app";
27112718
PRODUCT_NAME = "host-app";
2719+
SUPPORTS_MACCATALYST = YES;
27122720
TARGETED_DEVICE_FAMILY = "1,2";
27132721
};
27142722
name = Release;
@@ -2775,6 +2783,7 @@
27752783
);
27762784
PRODUCT_BUNDLE_IDENTIFIER = "iterable.ui-tests-app";
27772785
PRODUCT_NAME = "ui-tests-app";
2786+
SUPPORTS_MACCATALYST = YES;
27782787
TARGETED_DEVICE_FAMILY = "1,2";
27792788
};
27802789
name = Debug;
@@ -2796,6 +2805,7 @@
27962805
);
27972806
PRODUCT_BUNDLE_IDENTIFIER = "iterable.ui-tests-app";
27982807
PRODUCT_NAME = "ui-tests-app";
2808+
SUPPORTS_MACCATALYST = YES;
27992809
TARGETED_DEVICE_FAMILY = "1,2";
28002810
};
28012811
name = Release;

tests/hosting-apps/host-app/host-app.entitlements

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@
88
<array>
99
<string>applinks:links.iterable.com</string>
1010
</array>
11+
<key>com.apple.security.app-sandbox</key>
12+
<true/>
13+
<key>com.apple.security.network.client</key>
14+
<true/>
1115
</dict>
1216
</plist>

tests/hosting-apps/ui-tests-app/ui-tests-app.entitlements

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@
88
<array>
99
<string>applinks:links.iterable.com</string>
1010
</array>
11+
<key>com.apple.security.app-sandbox</key>
12+
<true/>
13+
<key>com.apple.security.network.client</key>
14+
<true/>
1115
</dict>
1216
</plist>

0 commit comments

Comments
 (0)