Skip to content

Commit

Permalink
Update sample for Mac Catalyst
Browse files Browse the repository at this point in the history
  • Loading branch information
apfritts committed Jan 29, 2022
1 parent 833ff09 commit c5ca41f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Samples/ObjC/SignInSample/SignInSample.entitlements
@@ -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>keychain-access-groups</key>
<array/>
</dict>
</plist>
10 changes: 10 additions & 0 deletions Samples/ObjC/SignInSample/SignInSample.xcodeproj/project.pbxproj
Expand Up @@ -24,6 +24,7 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
8FD9FDD827A60A3700338DC8 /* SignInSample.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SignInSample.entitlements; sourceTree = "<group>"; };
C15484C022FCB34100C76691 /* AuthenticationServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AuthenticationServices.framework; path = System/Library/Frameworks/AuthenticationServices.framework; sourceTree = SDKROOT; };
C1E69225264315E7004CE2BC /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
C1E69226264315E7004CE2BC /* SignInViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SignInViewController.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -132,6 +133,7 @@
D99924C11A92B3C7008CC226 = {
isa = PBXGroup;
children = (
8FD9FDD827A60A3700338DC8 /* SignInSample.entitlements */,
C1E6923C2643162E004CE2BC /* SignInSample-Info.plist */,
C1E69224264315E7004CE2BC /* Source */,
C1E6925226431E12004CE2BC /* Resources */,
Expand Down Expand Up @@ -443,6 +445,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = SignInSample.entitlements;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
..,
Expand All @@ -454,13 +458,17 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "com.google.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
};
name = Debug;
};
D99924EF1A92B3C7008CC226 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = SignInSample.entitlements;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
..,
Expand All @@ -472,6 +480,8 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "com.google.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
};
name = Release;
};
Expand Down

0 comments on commit c5ca41f

Please sign in to comment.