Skip to content

Commit

Permalink
support maccatalyst
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMoonThatRises committed Dec 16, 2024
1 parent aab12cb commit e0b5d5f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
8 changes: 6 additions & 2 deletions PortalBook.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
34FE66602D0FEEC000CB0F59 /* PortalBook.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = PortalBook.entitlements; sourceTree = "<group>"; };
B61A23282A8FBB67007E3965 /* Settings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Settings.swift; sourceTree = "<group>"; };
B61D05F02A8AC05D003219F8 /* PortalKeychain.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PortalKeychain.swift; sourceTree = "<group>"; };
B61D05F62A8AD3FC003219F8 /* Errors.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Errors.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -188,6 +189,7 @@
B6E103682A83DC7E00F98DA5 /* PortalBook */ = {
isa = PBXGroup;
children = (
34FE66602D0FEEC000CB0F59 /* PortalBook.entitlements */,
B62D555B2AEDB16500B896E0 /* ViewModels */,
B61D05EF2A8AC055003219F8 /* Utils */,
B61D05E92A8A8814003219F8 /* Extensions */,
Expand Down Expand Up @@ -470,6 +472,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CODE_SIGN_ENTITLEMENTS = PortalBook/PortalBook.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "";
Expand All @@ -496,7 +499,7 @@
PRODUCT_BUNDLE_IDENTIFIER = io.github.themoonthatrises.PortalBook;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -511,6 +514,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CODE_SIGN_ENTITLEMENTS = PortalBook/PortalBook.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "";
Expand All @@ -537,7 +541,7 @@
PRODUCT_BUNDLE_IDENTIFIER = io.github.themoonthatrises.PortalBook;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
12 changes: 12 additions & 0 deletions PortalBook/PortalBook.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.personal-information.location</key>
<true/>
</dict>
</plist>

0 comments on commit e0b5d5f

Please sign in to comment.