Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #168 from CocoaPods/sparkle
Browse files Browse the repository at this point in the history
Update Sparkle & Makefile for deploying
  • Loading branch information
orta committed Jan 12, 2016
2 parents 9e508e4 + 6317ab3 commit 3fbddf8
Show file tree
Hide file tree
Showing 173 changed files with 812 additions and 677 deletions.
7 changes: 5 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -979,8 +979,11 @@ namespace :release do

desc "Perform a full build of the bundle and app"
task :build => ['bundle:build', 'bundle:verify_linkage', 'bundle:test', 'app:build', PKG_DIR] do
output = `#{XCODEBUILD_COMMAND} -showBuildSettings | grep -w BUILT_PRODUCTS_DIR`.strip
build_dir = output.split('= ').last
build_dir = Dir.chdir('app') do
output = `#{XCODEBUILD_COMMAND.join(" ")} -showBuildSettings | grep -w BUILT_PRODUCTS_DIR`.strip
output.split('= ').last
end

# TODO use this once OS X supports xz out of the box.
#tarball = File.expand_path(File.join(PKG_DIR, "CocoaPods.app-#{install_cocoapods_version}.tar.xz"))
#sh "cd '#{build_dir}' && tar cfJ '#{tarball}' CocoaPods.app"
Expand Down
33 changes: 8 additions & 25 deletions app/CocoaPods.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@
51165E1D1A17AFF500DCFC94 /* Resources */,
1FFFBB091BA25469004A8D1E /* Copy Helper Executables */,
5102542E1C0A60680045FCD8 /* Embed XPC Services */,
5180FE921AD1CFE400314D61 /* Sign Sparkle.framework */,
B553C8F443325D68D3F0ECBC /* Embed Pods Frameworks */,
DDCA8595EBBF1866824DF78F /* Copy Pods Resources */,
);
Expand Down Expand Up @@ -614,11 +613,11 @@
TargetAttributes = {
510254221C0A60670045FCD8 = {
CreatedOnToolsVersion = 7.1;
DevelopmentTeam = 4R4XY9R8JR;
DevelopmentTeam = AX2Q2BH2XR;
};
51165E1E1A17AFF500DCFC94 = {
CreatedOnToolsVersion = 6.1;
DevelopmentTeam = 4R4XY9R8JR;
DevelopmentTeam = AX2Q2BH2XR;
};
51165E471A17B2D200DCFC94 = {
CreatedOnToolsVersion = 6.1;
Expand Down Expand Up @@ -717,20 +716,6 @@
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
5180FE921AD1CFE400314D61 /* Sign Sparkle.framework */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Sign Sparkle.framework";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${CONFIGURATION}\" = \"Release\" ]; then\n\n LOCATION=\"${BUILT_PRODUCTS_DIR}\"/\"${FRAMEWORKS_FOLDER_PATH}\"\n\n IDENTITY=\"Developer ID Application: COCODE LTD\"\n\n codesign --verbose --force --sign \"$IDENTITY\" \"$LOCATION/Sparkle.framework/Versions/A\"\nfi";
};
A58128BAFFF8FDE9690DE404 /* Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -901,7 +886,7 @@
510254301C0A60680045FCD8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -919,7 +904,6 @@
"$(inherited)",
"$(PROJECT_DIR)/CPReflectionService",
);
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.ReflectionService;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
Expand All @@ -930,7 +914,7 @@
510254311C0A60680045FCD8 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Developer ID Application";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -948,7 +932,6 @@
"$(inherited)",
"$(PROJECT_DIR)/CPReflectionService",
);
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.ReflectionService;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
Expand All @@ -973,6 +956,7 @@
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Mac Developer";
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand Down Expand Up @@ -1013,6 +997,7 @@
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
Expand All @@ -1034,6 +1019,7 @@
baseConfigurationReference = 57995E0E6B8704BE797552B2 /* Pods-CocoaPods.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Mac Developer";
COMBINE_HIDPI_IMAGES = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -1046,7 +1032,6 @@
);
INFOPLIST_FILE = "CocoaPods/Supporting Files/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "CocoaPods/CocoaPods-Bridging-Header.h";
Expand All @@ -1059,6 +1044,7 @@
baseConfigurationReference = EBD9373107B77CCDFCD43B67 /* Pods-CocoaPods.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Developer ID Application";
COMBINE_HIDPI_IMAGES = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -1071,7 +1057,6 @@
);
INFOPLIST_FILE = "CocoaPods/Supporting Files/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "CocoaPods/CocoaPods-Bridging-Header.h";
Expand Down Expand Up @@ -1101,7 +1086,6 @@
baseConfigurationReference = 750B3A66521735BD745849E5 /* Pods-CocoaPodsTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -1121,7 +1105,6 @@
baseConfigurationReference = 5D0F8EC2FC9E25C9EF3CED3F /* Pods-CocoaPodsTests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down
6 changes: 3 additions & 3 deletions app/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PODS:
- Fragaria/unicode (1.0.1)
- Nimble (3.0.0)
- Quick (0.8.0)
- Sparkle (1.9.0)
- Sparkle (1.13.0)

DEPENDENCIES:
- ANSIEscapeHelper (from `ANSIEscapeHelper.podspec`)
Expand All @@ -30,8 +30,8 @@ SPEC CHECKSUMS:
Fragaria: c2827df37476ae2d627db69ce1403049686f8e0e
Nimble: 4c353d43735b38b545cbb4cb91504588eb5de926
Quick: 563d0f6ec5f72e394645adb377708639b7dd38ab
Sparkle: 75bbbc5ab2d666f7f77c241afe7fd28364a8f9f7
Sparkle: d04d17a32eaddab19471d0c3d9db15164afdbc6e

PODFILE CHECKSUM: 6e6e64489329403dcef63aa5aaca51d0157ec2f1

COCOAPODS: 1.0.0.beta.1
COCOAPODS: 1.0.0.beta.2
6 changes: 3 additions & 3 deletions app/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3fbddf8

Please sign in to comment.