Skip to content

Commit cfa25fc

Browse files
authored
Add APS to iOS sample (#2008)
1 parent ce10862 commit cfa25fc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

flutter/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
4848
15A74CDD250075770078F130 /* Buggy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Buggy.h; sourceTree = "<group>"; };
4949
15A74CDE250075770078F130 /* Buggy.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Buggy.m; sourceTree = "<group>"; };
50+
247E97BE2BD7CCF100751E38 /* RunnerRelease.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = RunnerRelease.entitlements; sourceTree = "<group>"; };
5051
38199AEAF0F80C193173BC10 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
5152
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
5253
3CEA108DF90E0A3E0A377D59 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
@@ -146,6 +147,7 @@
146147
97C146F01CF9000F007C117D /* Runner */ = {
147148
isa = PBXGroup;
148149
children = (
150+
247E97BE2BD7CCF100751E38 /* RunnerRelease.entitlements */,
149151
15A74CDD250075770078F130 /* Buggy.h */,
150152
15A74CDE250075770078F130 /* Buggy.m */,
151153
97C146FA1CF9000F007C117D /* Main.storyboard */,
@@ -731,6 +733,7 @@
731733
buildSettings = {
732734
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
733735
CLANG_ENABLE_MODULES = YES;
736+
CODE_SIGN_ENTITLEMENTS = Runner/RunnerRelease.entitlements;
734737
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
735738
DEVELOPMENT_TEAM = 97JCY7859U;
736739
ENABLE_BITCODE = NO;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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>aps-environment</key>
6+
<string>development</string>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)