Skip to content

Commit

Permalink
osx: update installer to have new kbfuse version
Browse files Browse the repository at this point in the history
  • Loading branch information
strib committed Feb 22, 2019
1 parent 0bf065f commit 4186f5d
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 38 deletions.
4 changes: 2 additions & 2 deletions osx/Installer/Info.plist
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1.74</string>
<string>1.1.75</string>
<key>CFBundleSignature</key>
<string>KEYB</string>
<key>CFBundleVersion</key>
<string>1.1.74</string>
<string>1.1.75</string>
<key>KBFuseBuild</key>
<string>3.8.3</string>
<key>KBFuseVersion</key>
Expand Down
10 changes: 10 additions & 0 deletions osx/KBKit/KBKit.xcodeproj/project.pbxproj
Expand Up @@ -1599,9 +1599,11 @@
TargetAttributes = {
00010B0B1BE19F2100A9C285 = {
CreatedOnToolsVersion = 7.1;
DevelopmentTeam = 99229SGT5K;
};
00010B151BE19F2100A9C285 = {
CreatedOnToolsVersion = 7.1;
DevelopmentTeam = 99229SGT5K;
};
};
};
Expand Down Expand Up @@ -1973,8 +1975,10 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 479C84E44E80724FA433EBC6 /* Pods-KBKit.debug.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 99229SGT5K;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -1992,8 +1996,10 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 09A69C34EE77C4A0563C93F3 /* Pods-KBKit.release.xcconfig */;
buildSettings = {
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 99229SGT5K;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand All @@ -2010,7 +2016,9 @@
00010B241BE19F2100A9C285 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 99229SGT5K;
INFOPLIST_FILE = KBKitTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = keybase.KBKitTests;
Expand All @@ -2021,7 +2029,9 @@
00010B251BE19F2100A9C285 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 99229SGT5K;
INFOPLIST_FILE = KBKitTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = keybase.KBKitTests;
Expand Down
93 changes: 78 additions & 15 deletions osx/Keybase.xcodeproj/project.pbxproj
Expand Up @@ -492,6 +492,7 @@
003608191C442ED200B3300E /* Frameworks */,
0036081A1C442ED200B3300E /* Resources */,
6DDFBFD461DBB29084739629 /* [CP] Embed Pods Frameworks */,
C3F46ABB1A68D40F475BA55C /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -526,6 +527,7 @@
166B875C609738F652A27DA5 /* [CP] Check Pods Manifest.lock */,
0057B0B01AE57A4900BFB0E7 /* Sources */,
0057B0B11AE57A4900BFB0E7 /* Frameworks */,
686B54452900E90D626FC44F /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -585,6 +587,7 @@
0057B0DA1AE57B4C00BFB0E7 /* Copy Files */,
0043D1051B28ED290036C532 /* Embed Frameworks */,
6EBF4CB0181E5A8EE38B470D /* [CP] Embed Pods Frameworks */,
72F37374AAE787F0E43DC27B /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -610,6 +613,7 @@
001C6B361B24F8630048F086 = {
CreatedOnToolsVersion = 6.3.2;
DevelopmentTeam = 99229SGT5K;
ProvisioningStyle = Manual;
SystemCapabilities = {
com.apple.ApplicationGroups.Mac = {
enabled = 1;
Expand All @@ -626,6 +630,7 @@
CreatedOnToolsVersion = 7.2;
DevelopmentTeam = 99229SGT5K;
LastSwiftMigration = 0830;
ProvisioningStyle = Manual;
SystemCapabilities = {
com.apple.ApplicationGroups.Mac = {
enabled = 1;
Expand All @@ -638,6 +643,7 @@
004624B01B2917AB00E218AC = {
CreatedOnToolsVersion = 6.3.2;
DevelopmentTeam = 99229SGT5K;
ProvisioningStyle = Manual;
SystemCapabilities = {
com.apple.ApplicationGroups.Mac = {
enabled = 1;
Expand All @@ -650,10 +656,12 @@
0057B0B31AE57A4900BFB0E7 = {
CreatedOnToolsVersion = 6.3;
DevelopmentTeam = 99229SGT5K;
ProvisioningStyle = Manual;
};
009E13651B27B39300C72B28 = {
CreatedOnToolsVersion = 6.3.2;
DevelopmentTeam = 99229SGT5K;
ProvisioningStyle = Manual;
SystemCapabilities = {
com.apple.ApplicationGroups.Mac = {
enabled = 1;
Expand All @@ -665,13 +673,15 @@
};
00AA750E1B27635D0069A6CC = {
CreatedOnToolsVersion = 6.3.2;
DevelopmentTeam = 99229SGT5K;
ProvisioningStyle = Manual;
TestTargetID = 00CC43481A3A9E6C006118A9;
};
00CC43481A3A9E6C006118A9 = {
CreatedOnToolsVersion = 6.1.1;
DevelopmentTeam = 99229SGT5K;
LastSwiftMigration = 0830;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
SystemCapabilities = {
com.apple.ApplicationGroups.Mac = {
enabled = 0;
Expand Down Expand Up @@ -840,6 +850,21 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
686B54452900E90D626FC44F /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-keybase.Helper/Pods-keybase.Helper-resources.sh\"\n";
showEnvVarsInLog = 0;
};
6DDFBFD461DBB29084739629 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -928,6 +953,36 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Installer/Pods-Installer-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
72F37374AAE787F0E43DC27B /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Installer/Pods-Installer-resources.sh\"\n";
showEnvVarsInLog = 0;
};
C3F46ABB1A68D40F475BA55C /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Status/Pods-Status-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -1042,7 +1097,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Extensions/Share/Share.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -1063,7 +1118,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Extensions/Share/Share.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -1083,10 +1138,11 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Status/Status.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 99229SGT5K;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = Status/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
Expand All @@ -1104,10 +1160,11 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Status/Status.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = 99229SGT5K;
GCC_NO_COMMON_BLOCKS = YES;
INFOPLIST_FILE = Status/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
Expand All @@ -1122,7 +1179,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Extensions/FinderSync/FinderSync.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -1143,7 +1200,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Extensions/FinderSync/FinderSync.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -1162,6 +1219,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = 99229SGT5K;
GCC_NO_COMMON_BLOCKS = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
Expand Down Expand Up @@ -1190,6 +1248,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = 99229SGT5K;
GCC_NO_COMMON_BLOCKS = YES;
OTHER_LDFLAGS = (
"$(inherited)",
Expand All @@ -1212,7 +1271,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Extensions/Action/Action.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -1233,7 +1292,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = Extensions/Action/Action.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -1311,8 +1370,10 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = 99229SGT5K;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
Expand Down Expand Up @@ -1358,9 +1419,11 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
CODE_SIGN_STYLE = Manual;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = 99229SGT5K;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
Expand All @@ -1386,7 +1449,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Installer/Installer.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = 99229SGT5K;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
Expand All @@ -1412,7 +1475,7 @@
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Installer/Installer.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_IDENTITY = "Developer ID Application: Keybase, Inc. (99229SGT5K)";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEVELOPMENT_TEAM = 99229SGT5K;
Expand Down
17 changes: 1 addition & 16 deletions osx/Podfile.lock
Expand Up @@ -63,21 +63,6 @@ DEPENDENCIES:
- ObjectiveSugar
- Slash

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- AFNetworking
- CocoaLumberjack
- GBCli
- GHKeychain
- GHKit
- GHODictionary
- Mantle
- MDPSplitView
- ObjectiveSugar
- Slash
- Tikppa
- YOLayout

EXTERNAL SOURCES:
KBKit:
:path: KBKit
Expand All @@ -102,4 +87,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 8fe857c66d9734d19aa442ba588e66c6cc83dc52

COCOAPODS: 1.5.3
COCOAPODS: 1.4.0
6 changes: 3 additions & 3 deletions osx/Scripts/build.sh
@@ -1,6 +1,6 @@
#!/bin/bash

set -e -u -o pipefail # Fail on error
set -x -e -u -o pipefail # Fail on error

dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd "$dir"
Expand Down Expand Up @@ -37,7 +37,7 @@ app_path="$build_dest/$app_name.app"
rm -rf $archive_path

echo "Archiving..."
set -o pipefail && xcodebuild archive -scheme "$scheme" -workspace "$dir/../Keybase.xcworkspace" -configuration "$xcode_configuration" -archivePath "$archive_path" | xcpretty -c
set -o pipefail && xcodebuild archive -scheme "$scheme" -workspace "$dir/../Keybase.xcworkspace" -configuration "$xcode_configuration" -archivePath "$archive_path"

# echo "Copying to archive"
# archive_hold_path="/Users/gabe/Library/Developer/Xcode/Archives/$archive_dir_day/$app_name $archive_postfix.xcarchive"
Expand All @@ -51,7 +51,7 @@ set -o pipefail && xcodebuild archive -scheme "$scheme" -workspace "$dir/../Keyb
rm -rf "$app_path"

echo "Exporting..."
set -o pipefail && xcodebuild -exportArchive -archivePath $archive_path -exportOptionsPlist export.plist -exportPath "$build_dest" | xcpretty -c
set -o pipefail && xcodebuild -exportArchive -archivePath $archive_path -exportOptionsPlist export.plist -exportPath "$build_dest"
mv "$build_dest/Keybase.app" "$app_path"

echo "Done"
Expand Down

0 comments on commit 4186f5d

Please sign in to comment.