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

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Apr 5, 2015
1 parent ce77c3f commit 3e4db49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 4 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ end

installed_cacert = File.join(BUNDLE_DESTROOT, 'share/cacert.pem')
file installed_cacert do
sh "security find-certificate -a -p /Library/Keychains/System.keychain > '#{installed_cacerts}'"
sh "security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain > '#{installed_cacerts}'"
sh "security find-certificate -a -p /Library/Keychains/System.keychain > '#{installed_cacert}'"
sh "security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain > '#{installed_cacert}'"
end

# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -656,10 +656,9 @@ XCODEBUILD_COMMAND = "cd app && xcodebuild -workspace CocoaPods.xcworkspace -sch
namespace :app do
desc 'Updates the Info.plist of the application to reflect the CocoaPods version'
task :update_version do
info_plist = File.expand_path('app/CocoaPods/Info.plist')
info_plist = File.expand_path('app/CocoaPods/Supporting Files/Info.plist')
sh "/usr/libexec/PlistBuddy -c 'Set :CFBundleShortVersionString #{install_cocoapods_version}' '#{info_plist}'"
build = `/usr/libexec/PlistBuddy -c 'Print :CFBundleVersion' '#{info_plist}'`.strip.to_i
sh "/usr/libexec/PlistBuddy -c 'Set :CFBundleVersion #{build+1}' '#{info_plist}'"
sh "/usr/libexec/PlistBuddy -c 'Set :CFBundleVersion #{install_cocoapods_version}' '#{info_plist}'"
end

desc 'Build release version of application'
Expand Down
2 changes: 0 additions & 2 deletions app/CocoaPods/CPAppDelegate.m
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#import "CPAppDelegate.h"
#import "CPCLIToolInstallationController.h"

#import <Sparkle/Sparkle.h>

NSString * const kCPCLIToolSuggestedDestination = @"/usr/bin/pod";

@interface CPAppDelegate ()
Expand Down

0 comments on commit 3e4db49

Please sign in to comment.