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 #167 from CocoaPods/deployment
Browse files Browse the repository at this point in the history
@segiddins => Updates for deployment
  • Loading branch information
orta committed Jan 6, 2016
2 parents cc3b3ec + bbf6ac5 commit 9e508e4
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 20 deletions.
5 changes: 4 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ VERBOSE = !!RakeFileUtils.verbose_flag
RELEASE_PLATFORM = '10.11'

DEPLOYMENT_TARGET = '10.10'
DEPLOYMENT_TARGET_SDK = "MacOSX#{DEPLOYMENT_TARGET}.sdk"

# Ideally this would be deployment target, but
# we use generics which didn't exist in 10.10.
DEPLOYMENT_TARGET_SDK = "MacOSX#{RELEASE_PLATFORM}.sdk"

$build_started_at = Time.now
at_exit do
Expand Down
6 changes: 2 additions & 4 deletions app/CocoaPods.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,6 @@
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
Expand All @@ -991,7 +990,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.8;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
};
Expand All @@ -1014,7 +1013,6 @@
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
Expand All @@ -1026,7 +1024,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.8;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
};
name = Release;
Expand Down
2 changes: 1 addition & 1 deletion app/CocoaPods/Base.lproj/CPHomeWindowController.xib
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
</constraints>
</customView>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8mn-Z8-QE9">
<rect key="frame" x="363" y="25" width="50" height="19"/>
<rect key="frame" x="266" y="25" width="147" height="19"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="0.38.2" id="J6B-uz-TYN">
<font key="font" size="16" name=".HelveticaNeueDeskInterface-Regular"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
Expand Down
1 change: 1 addition & 0 deletions app/CocoaPods/CPAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#import "CPCLIToolInstallationController.h"
#import <Quartz/Quartz.h>


@interface CPAppDelegate ()
@property (nonatomic, strong) CPHomeWindowController *homeWindowController;
@property (strong) NSXPCConnection *reflectionService;
Expand Down
4 changes: 2 additions & 2 deletions app/CocoaPods/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.39.0</string>
<string>1.0.0.beta.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -73,7 +73,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>0.39.0</string>
<string>1.0.0.beta.2</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
Expand Down
2 changes: 1 addition & 1 deletion app/Fragaria.podspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"public_header_files": "*.h",
"platforms": {
"osx": null
"osx": "10.10"
},
"libraries": "icucore",
"license": "BSD",
Expand Down
8 changes: 4 additions & 4 deletions app/Pods/Pods.xcodeproj/project.pbxproj

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

3 changes: 2 additions & 1 deletion cocoapods-plugins-install/cocoapods-plugins-install.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'cocoapods-plugins-install/gem_version.rb'
require 'yaml'

Gem::Specification.new do |spec|
spec.name = "cocoapods-plugins-install"
Expand All @@ -16,7 +17,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_runtime_dependency "cocoapods-plugins", "~> 0"
spec.add_runtime_dependency "cocoapods-plugins"

spec.add_development_dependency "bundler", "~> 1.10"
spec.add_development_dependency "rake", "~> 10.4"
Expand Down
14 changes: 8 additions & 6 deletions test/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
install :cocoapods, :integrate_targets => false
install! "cocoapods", :integrate_targets => false

platform :ios, '8'

Expand All @@ -10,9 +10,11 @@ pods = [
# TODO no public bazaar repos? :/
]

cache_dir = File.expand_path('~/Library/Caches/CocoaPods/Pods/Release')
pods.each do |name|
# Ensure the downloaders are actually tested.
FileUtils.rm_rf(File.join(cache_dir, name))
pod(name)
target "Test" do
cache_dir = File.expand_path('~/Library/Caches/CocoaPods/Pods/Release')
pods.each do |name|
# Ensure the downloaders are actually tested.
FileUtils.rm_rf(File.join(cache_dir, name))
pod(name)
end
end

0 comments on commit 9e508e4

Please sign in to comment.