Skip to content

Commit 9340707

Browse files
committed
Add Mac catalyst destination to example project
1 parent 9f9aaa0 commit 9340707

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

FlowStackExample/FlowStackExample.xcodeproj/project.pbxproj

+12-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
/* End PBXBuildFile section */
2020

2121
/* Begin PBXFileReference section */
22+
ED183AB22BB4D99A0041F7C7 /* FlowStackExample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = FlowStackExample.entitlements; sourceTree = "<group>"; };
2223
ED8DE15D2A6765F500215165 /* FlowStackExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FlowStackExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
2324
ED8DE1642A6765F600215165 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
2425
ED8DE1672A6765F600215165 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
@@ -64,6 +65,7 @@
6465
ED8DE15F2A6765F500215165 /* FlowStackExample */ = {
6566
isa = PBXGroup;
6667
children = (
68+
ED183AB22BB4D99A0041F7C7 /* FlowStackExample.entitlements */,
6769
EDA1DD372A67693A00D82A9D /* FlowStackExampleApp.swift */,
6870
EDA1DD342A67693A00D82A9D /* ContentView.swift */,
6971
EDFD07BB2A6F319E00CB0737 /* ProductRow.swift */,
@@ -303,6 +305,7 @@
303305
buildSettings = {
304306
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
305307
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
308+
CODE_SIGN_ENTITLEMENTS = FlowStackExample/FlowStackExample.entitlements;
306309
CODE_SIGN_STYLE = Automatic;
307310
CURRENT_PROJECT_VERSION = 1;
308311
DEVELOPMENT_ASSET_PATHS = "\"FlowStackExample/Preview Content\"";
@@ -313,6 +316,7 @@
313316
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
314317
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
315318
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
319+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
316320
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
317321
LD_RUNPATH_SEARCH_PATHS = (
318322
"$(inherited)",
@@ -321,9 +325,11 @@
321325
MARKETING_VERSION = 1.0;
322326
PRODUCT_BUNDLE_IDENTIFIER = com.velosmobile.FlowStackExample;
323327
PRODUCT_NAME = "$(TARGET_NAME)";
328+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
329+
SUPPORTS_MACCATALYST = YES;
324330
SWIFT_EMIT_LOC_STRINGS = YES;
325331
SWIFT_VERSION = 5.0;
326-
TARGETED_DEVICE_FAMILY = "1,2";
332+
TARGETED_DEVICE_FAMILY = "1,2,6";
327333
};
328334
name = Debug;
329335
};
@@ -332,6 +338,7 @@
332338
buildSettings = {
333339
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
334340
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
341+
CODE_SIGN_ENTITLEMENTS = FlowStackExample/FlowStackExample.entitlements;
335342
CODE_SIGN_STYLE = Automatic;
336343
CURRENT_PROJECT_VERSION = 1;
337344
DEVELOPMENT_ASSET_PATHS = "\"FlowStackExample/Preview Content\"";
@@ -342,6 +349,7 @@
342349
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
343350
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
344351
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
352+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
345353
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
346354
LD_RUNPATH_SEARCH_PATHS = (
347355
"$(inherited)",
@@ -350,9 +358,11 @@
350358
MARKETING_VERSION = 1.0;
351359
PRODUCT_BUNDLE_IDENTIFIER = com.velosmobile.FlowStackExample;
352360
PRODUCT_NAME = "$(TARGET_NAME)";
361+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
362+
SUPPORTS_MACCATALYST = YES;
353363
SWIFT_EMIT_LOC_STRINGS = YES;
354364
SWIFT_VERSION = 5.0;
355-
TARGETED_DEVICE_FAMILY = "1,2";
365+
TARGETED_DEVICE_FAMILY = "1,2,6";
356366
};
357367
name = Release;
358368
};
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>

0 commit comments

Comments
 (0)