From 5817acb58287aac0adcbf84a38ae8ba920a91636 Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Thu, 2 Feb 2017 11:55:20 +0100 Subject: [PATCH] Mac binaries signing (#4397) --- .gitlab-ci.yml | 3 ++- mac/Parity Ethereum.xcodeproj/project.pbxproj | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35c9c8056..5f0ffc3bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -386,8 +386,9 @@ darwin: - xcodebuild -configuration Release - cd .. - packagesbuild -v mac/Parity.pkgproj + - productsign --sign 'Developer ID Installer: PARITY TECHNOLOGIES LIMITED (P2PX3JU8FT)' target/release/Parity\ Ethereum.pkg target/release/Parity\ Ethereum-signed.pkg - export VER=$(grep -m 1 version Cargo.toml | awk '{print $3}' | tr -d '"' | tr -d "\n") - - mv target/release/Parity\ Ethereum.pkg "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg" + - mv target/release/Parity\ Ethereum-signed.pkg "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg" - md5sum "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg" >> "parity-"$VER"-osx-installer-EXPERIMENTAL.pkg.md5" - aws configure set aws_access_key_id $s3_key - aws configure set aws_secret_access_key $s3_secret diff --git a/mac/Parity Ethereum.xcodeproj/project.pbxproj b/mac/Parity Ethereum.xcodeproj/project.pbxproj index f7879f41b..0660fee06 100644 --- a/mac/Parity Ethereum.xcodeproj/project.pbxproj +++ b/mac/Parity Ethereum.xcodeproj/project.pbxproj @@ -115,7 +115,8 @@ TargetAttributes = { 0ACF9ABD1E30FAB600D5C935 = { CreatedOnToolsVersion = 8.0; - ProvisioningStyle = Automatic; + DevelopmentTeam = P2PX3JU8FT; + ProvisioningStyle = Manual; }; }; }; @@ -267,7 +268,9 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "Mac Developer"; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = P2PX3JU8FT; GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; INFOPLIST_FILE = Parity/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; @@ -281,7 +284,9 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "Developer ID Application"; COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = P2PX3JU8FT; GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; INFOPLIST_FILE = Parity/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";