~handlerug/TelegramSwift

5496c289a45512be98728c3bd95a22f522d76924 — handlerug 3 years ago 907598d
Fix signing, also removed Maps capability!!!!!!!
M Telegram-Mac/Telegram-Mac.entitlements => Telegram-Mac/Telegram-Mac.entitlements +2 -2
@@ 6,8 6,8 @@
	<false/>
	<key>com.apple.security.application-groups</key>
	<array>
		<string>me.handlerug.Telegram</string>
		<string>me.handlerug.Telegram.TelegramShare</string>
		<string>$(TeamIdentifierPrefix)me.handlerug.Telegram</string>
		<string>$(TeamIdentifierPrefix)me.handlerug.Telegram.TelegramShare</string>
	</array>
	<key>com.apple.security.device.audio-input</key>
	<true/>

M Telegram-Mac/Telegram-Sandbox.entitlements => Telegram-Mac/Telegram-Sandbox.entitlements +4 -6
@@ 2,14 2,12 @@
<!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.developer.maps</key>
	<true/>
	<key>com.apple.security.app-sandbox</key>
	<true/>
	<key>com.apple.security.application-groups</key>
	<array>
		<string>me.handlerug.Telegram</string>
		<string>me.handlerug.Telegram.TelegramShare</string>
		<string>$(TeamIdentifierPrefix)me.handlerug.Telegram.TelegramShare</string>
		<string>$(TeamIdentifierPrefix)me.handlerug.Telegram</string>
	</array>
	<key>com.apple.security.device.audio-input</key>
	<true/>


@@ 29,8 27,8 @@
	<true/>
	<key>keychain-access-groups</key>
	<array>
		<string>$(AppIdentifierPrefix)me.handlerug.Telegram</string>
		<string>$(AppIdentifierPrefix)me.handlerug.Telegram.TelegramShare</string>
		<string>$(AppIdentifierPrefix)6U66H297KV.me.handlerug.Telegram</string>
		<string>$(AppIdentifierPrefix)6U66H297KV.me.handlerug.Telegram.TelegramShare</string>
	</array>
</dict>
</plist>

M Telegram.xcodeproj/project.pbxproj => Telegram.xcodeproj/project.pbxproj +24 -22
@@ 4819,6 4819,7 @@
				TargetAttributes = {
					C232EA901E1D07E700C4D38C = {
						CreatedOnToolsVersion = 8.2;
						DevelopmentTeam = 6U66H297KV;
						ProvisioningStyle = Automatic;
						SystemCapabilities = {
							com.apple.ApplicationGroups.Mac = {


@@ 4831,6 4832,7 @@
					};
					D098C7141D7E175A007784E4 = {
						CreatedOnToolsVersion = 8.0;
						DevelopmentTeam = 6U66H297KV;
						LastSwiftMigration = 0800;
						ProvisioningStyle = Automatic;
						SystemCapabilities = {


@@ 5890,13 5892,13 @@
				CLANG_WARN_SUSPICIOUS_MOVE = NO;
				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
				CODE_SIGN_ENTITLEMENTS = "Telegram-Mac/Telegram-Mac.entitlements";
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES;
				CODE_SIGN_STYLE = Automatic;
				COMBINE_HIDPI_IMAGES = YES;
				DEAD_CODE_STRIPPING = YES;
				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_BITCODE = NO;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (


@@ 5957,9 5959,9 @@
			isa = XCBuildConfiguration;
			buildSettings = {
				CODE_SIGN_ENTITLEMENTS = TelegramShare/TelegramShare.entitlements;
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				COMBINE_HIDPI_IMAGES = YES;
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (
					"$(inherited)",


@@ 6041,11 6043,11 @@
				CLANG_WARN_SUSPICIOUS_MOVE = NO;
				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
				CODE_SIGN_ENTITLEMENTS = "Telegram-Mac/Telegram-Sandbox.entitlements";
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				CODE_SIGN_STYLE = Automatic;
				COMBINE_HIDPI_IMAGES = YES;
				DEAD_CODE_STRIPPING = YES;
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_BITCODE = NO;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (


@@ 6100,9 6102,9 @@
			isa = XCBuildConfiguration;
			buildSettings = {
				CODE_SIGN_ENTITLEMENTS = TelegramShare/TelegramShare.entitlements;
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				COMBINE_HIDPI_IMAGES = YES;
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (
					"$(inherited)",


@@ 6138,7 6140,7 @@
				CODE_SIGN_ENTITLEMENTS = TelegramShare/TelegramShare.entitlements;
				CODE_SIGN_IDENTITY = "Mac Developer";
				COMBINE_HIDPI_IMAGES = YES;
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (
					"$(inherited)",


@@ 6167,9 6169,9 @@
			isa = XCBuildConfiguration;
			buildSettings = {
				CODE_SIGN_ENTITLEMENTS = TelegramShare/TelegramShare.entitlements;
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				COMBINE_HIDPI_IMAGES = YES;
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (
					"$(inherited)",


@@ 6250,11 6252,11 @@
				CLANG_WARN_SUSPICIOUS_MOVE = NO;
				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
				CODE_SIGN_ENTITLEMENTS = "Telegram-Mac/Telegram-Mac.entitlements";
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				CODE_SIGN_STYLE = Automatic;
				COMBINE_HIDPI_IMAGES = YES;
				DEAD_CODE_STRIPPING = YES;
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_BITCODE = NO;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (


@@ 6309,9 6311,9 @@
			isa = XCBuildConfiguration;
			buildSettings = {
				CODE_SIGN_ENTITLEMENTS = TelegramShare/TelegramShare.entitlements;
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				COMBINE_HIDPI_IMAGES = YES;
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (
					"$(inherited)",


@@ 6399,12 6401,12 @@
				CLANG_WARN_SUSPICIOUS_MOVE = NO;
				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
				CODE_SIGN_ENTITLEMENTS = "Telegram-Mac/Telegram-Mac.entitlements";
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				CODE_SIGN_STYLE = Automatic;
				COMBINE_HIDPI_IMAGES = YES;
				DEAD_CODE_STRIPPING = YES;
				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_BITCODE = NO;
				ENABLE_HARDENED_RUNTIME = YES;
				ENABLE_NS_ASSERTIONS = NO;


@@ 6462,9 6464,9 @@
			isa = XCBuildConfiguration;
			buildSettings = {
				CODE_SIGN_ENTITLEMENTS = TelegramShare/TelegramShare.entitlements;
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				COMBINE_HIDPI_IMAGES = YES;
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (
					"$(inherited)",


@@ 6602,12 6604,12 @@
				CLANG_WARN_SUSPICIOUS_MOVE = NO;
				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
				CODE_SIGN_ENTITLEMENTS = "Telegram-Mac/Telegram-Mac.entitlements";
				CODE_SIGN_IDENTITY = "";
				CODE_SIGN_IDENTITY = "Apple Development";
				CODE_SIGN_STYLE = Automatic;
				COMBINE_HIDPI_IMAGES = YES;
				DEAD_CODE_STRIPPING = YES;
				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_BITCODE = NO;
				ENABLE_HARDENED_RUNTIME = YES;
				ENABLE_NS_ASSERTIONS = NO;


@@ 6680,7 6682,7 @@
				COMBINE_HIDPI_IMAGES = YES;
				DEAD_CODE_STRIPPING = YES;
				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
				DEVELOPMENT_TEAM = "";
				DEVELOPMENT_TEAM = 6U66H297KV;
				ENABLE_BITCODE = NO;
				ENABLE_HARDENED_RUNTIME = YES;
				FRAMEWORK_SEARCH_PATHS = (

M TelegramShare/TelegramShare.entitlements => TelegramShare/TelegramShare.entitlements +2 -2
@@ 6,8 6,8 @@
	<true/>
	<key>com.apple.security.application-groups</key>
	<array>
		<string>me.handlerug.Telegram</string>
		<string>me.handlerug.Telegram.TelegramShare</string>
		<string>$(TeamIdentifierPrefix)me.handlerug.Telegram.TelegramShare</string>
		<string>$(TeamIdentifierPrefix)me.handlerug.Telegram</string>
	</array>
	<key>com.apple.security.files.user-selected.read-only</key>
	<true/>