~emersion/goguma-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] ios: Add release-specific entitlement

Details
Message ID
<20240302201547.4733-1-virgule@jeanthomas.me>
DKIM signature
pass
Download raw message
Patch: +12 -2
Use 'development' APNs on default entitlement, use 'production'
on a new entitlement.
---
 ios/Runner.xcodeproj/project.pbxproj  | 4 +++-
 ios/Runner/Runner.entitlements        | 2 +-
 ios/Runner/RunnerRelease.entitlements | 8 ++++++++
 3 files changed, 12 insertions(+), 2 deletions(-)
 create mode 100644 ios/Runner/RunnerRelease.entitlements

diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
index fcc42ff..381c819 100644
--- a/ios/Runner.xcodeproj/project.pbxproj
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -31,6 +31,7 @@

/* Begin PBXFileReference section */
		0F3DEC032B90E7FB00F2106A /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
		0FCB8DE52B93BFE8002037EF /* RunnerRelease.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = RunnerRelease.entitlements; sourceTree = "<group>"; };
		1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; };
		1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
		3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
@@ -95,6 +96,7 @@
		97C146F01CF9000F007C117D /* Runner */ = {
			isa = PBXGroup;
			children = (
				0FCB8DE52B93BFE8002037EF /* RunnerRelease.entitlements */,
				0F3DEC032B90E7FB00F2106A /* Runner.entitlements */,
				97C146FA1CF9000F007C117D /* Main.storyboard */,
				97C146FD1CF9000F007C117D /* Assets.xcassets */,
@@ -533,7 +535,7 @@
				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
				ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
				CLANG_ENABLE_MODULES = YES;
				CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
				CODE_SIGN_ENTITLEMENTS = Runner/RunnerRelease.entitlements;
				CURRENT_PROJECT_VERSION = 900;
				DEVELOPMENT_TEAM = 9YRYAT4YQL;
				ENABLE_BITCODE = NO;
diff --git a/ios/Runner/Runner.entitlements b/ios/Runner/Runner.entitlements
index 28c29bf..903def2 100644
--- a/ios/Runner/Runner.entitlements
+++ b/ios/Runner/Runner.entitlements
@@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
	<key>aps-environment</key>
	<string>production</string>
	<string>development</string>
</dict>
</plist>
diff --git a/ios/Runner/RunnerRelease.entitlements b/ios/Runner/RunnerRelease.entitlements
new file mode 100644
index 0000000..28c29bf
--- /dev/null
+++ b/ios/Runner/RunnerRelease.entitlements
@@ -0,0 +1,8 @@
<?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>aps-environment</key>
	<string>production</string>
</dict>
</plist>
-- 
2.39.3 (Apple Git-145)
Details
Message ID
<vz4eYvmFzt0dBRgqTrP5k9lr4DmyZ8SNiI-F_ktJyQCey4kZQj0r3Ni5De75A562C_3KTdj8JdjTAI01pvNNMdFgAOyvqGlNsG3EX3rd_iE=@emersion.fr>
In-Reply-To
<20240302201547.4733-1-virgule@jeanthomas.me> (view parent)
DKIM signature
pass
Download raw message
Pushed, thanks!
Reply to thread Export thread (mbox)