Skip to content

Commit d17a030

Browse files
committed
# Update Example.
1 parent 5503436 commit d17a030

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Example/Example.xcodeproj/project.pbxproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
/* Begin PBXFileReference section */
5656
36F7ED9E2465231100CF20CB /* LotteryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LotteryView.swift; sourceTree = "<group>"; };
5757
36F7EDA02465265200CF20CB /* LotteryControl.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LotteryControl.swift; sourceTree = "<group>"; };
58+
4117B81624946600000F4BF8 /* Example.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Example.entitlements; sourceTree = "<group>"; };
5859
4132A45D22AD561500A8DBBE /* GroupPage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GroupPage.swift; sourceTree = "<group>"; };
5960
4132A45F22AD624700A8DBBE /* SectionPage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SectionPage.swift; sourceTree = "<group>"; };
6061
4132A46222AD709300A8DBBE /* Color+Ext.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Color+Ext.swift"; sourceTree = "<group>"; };
@@ -211,6 +212,7 @@
211212
4196ABC622A97AB1008B8FD2 /* Example */ = {
212213
isa = PBXGroup;
213214
children = (
215+
4117B81624946600000F4BF8 /* Example.entitlements */,
214216
4196ABC722A97AB1008B8FD2 /* AppDelegate.swift */,
215217
4196ABC922A97AB1008B8FD2 /* SceneDelegate.swift */,
216218
4196ABCB22A97AB1008B8FD2 /* ContentView.swift */,
@@ -536,8 +538,10 @@
536538
isa = XCBuildConfiguration;
537539
buildSettings = {
538540
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
541+
CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements;
539542
CODE_SIGN_STYLE = Automatic;
540543
DEVELOPMENT_ASSET_PATHS = "Example/Preview\\ Content";
544+
DEVELOPMENT_TEAM = 3RDZ44DXB9;
541545
ENABLE_PREVIEWS = YES;
542546
INFOPLIST_FILE = Example/Info.plist;
543547
LD_RUNPATH_SEARCH_PATHS = (
@@ -546,6 +550,7 @@
546550
);
547551
PRODUCT_BUNDLE_IDENTIFIER = com.jinxiansen.Example;
548552
PRODUCT_NAME = "$(TARGET_NAME)";
553+
SUPPORTS_MACCATALYST = YES;
549554
SWIFT_VERSION = 5.0;
550555
TARGETED_DEVICE_FAMILY = "1,2";
551556
};
@@ -555,8 +560,10 @@
555560
isa = XCBuildConfiguration;
556561
buildSettings = {
557562
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
563+
CODE_SIGN_ENTITLEMENTS = Example/Example.entitlements;
558564
CODE_SIGN_STYLE = Automatic;
559565
DEVELOPMENT_ASSET_PATHS = "Example/Preview\\ Content";
566+
DEVELOPMENT_TEAM = 3RDZ44DXB9;
560567
ENABLE_PREVIEWS = YES;
561568
INFOPLIST_FILE = Example/Info.plist;
562569
LD_RUNPATH_SEARCH_PATHS = (
@@ -565,6 +572,7 @@
565572
);
566573
PRODUCT_BUNDLE_IDENTIFIER = com.jinxiansen.Example;
567574
PRODUCT_NAME = "$(TARGET_NAME)";
575+
SUPPORTS_MACCATALYST = YES;
568576
SWIFT_VERSION = 5.0;
569577
TARGETED_DEVICE_FAMILY = "1,2";
570578
};

Example/Example/Example.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>

Example/Example/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<string>1</string>
2121
<key>LSRequiresIPhoneOS</key>
2222
<true/>
23+
<key>NSAppleEventsUsageDescription</key>
24+
<string>AppleEvents Sending Usage Description</string>
2325
<key>UIApplicationSceneManifest</key>
2426
<dict>
2527
<key>UIApplicationSupportsMultipleScenes</key>

0 commit comments

Comments
 (0)