Skip to content

Commit

Permalink
osx code signing
Browse files Browse the repository at this point in the history
  • Loading branch information
sorbo committed Mar 5, 2016
1 parent 5964e95 commit 2f0e9ee
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0640;
TargetAttributes = {
58C9293A121B3242002FE941 = {
DevelopmentTeam = QSMLJPBADY;
};
};
};
buildConfigurationList = 58C92931121B3241002FE941 /* Build configuration list for PBXProject "TcpcryptLauncher" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -312,6 +317,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "Developer ID Application";
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
Expand All @@ -322,13 +328,15 @@
OTHER_CFLAGS = "-mmacosx-version-min=10.5";
PREBINDING = NO;
PRODUCT_NAME = tcpcryptd_wrapper;
SKIP_INSTALL = YES;
};
name = Debug;
};
58B3969E121B7B8600EE7796 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "Developer ID Application";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_ENABLE_FIX_AND_CONTINUE = NO;
Expand All @@ -338,6 +346,7 @@
OTHER_CFLAGS = "-mmacosx-version-min=10.5";
PREBINDING = NO;
PRODUCT_NAME = tcpcryptd_wrapper;
SKIP_INSTALL = YES;
ZERO_LINK = NO;
};
name = Release;
Expand All @@ -352,6 +361,7 @@
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -381,6 +391,7 @@
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -401,6 +412,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "Developer ID Application";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
Expand All @@ -419,6 +431,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CODE_SIGN_IDENTITY = "Developer ID Application";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
Expand Down
4 changes: 4 additions & 0 deletions launchers/TcpcryptLauncher/makepkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ DIR=$1

pkgbuild --root $DIR --identifier org.tcpcrypt.TcpcryptLauncher \
--version 0.4 --install-location /Applications tcpcrypt.pkg

productsign --sign 'Developer ID Installer' tcpcrypt.pkg tcpcrypt-signed.pkg
spctl --asses --type install tcpcrypt-signed.pkg
mv tcpcrypt-signed.pkg tcpcrypt.pkg

0 comments on commit 2f0e9ee

Please sign in to comment.