Commit 3f8fccf7 authored by Fabio Pelosin's avatar Fabio Pelosin

Merge branch 'master' into lib-subcommand

* master: (59 commits)
  [Bundle] update
  Update CHANGELOG.md
  Release 0.21.0.rc1
  [Gemspec] Update Xcodeproj
  [Bundle] update
  Changelog
  [Bundle] Update
  [Fixtures] Update for release
  [Bundle] Update
  [Rakefile] Examples robustness for future versions of Xcode
  [CHANGELOG]
  [Generator::Xcconfig] Docs
  [Bundle] Use Xcodeproj from master
  [Installer] Rename #targets to #aggregate_targets
  Add files which were creating issues with git
  Delete files creating issues with git
  Update integration test fixtures
  Case change for case-sensitive file systems
  Update tests
  Move method below attributes
  ...

Conflicts:
	Gemfile.lock
parents 51e74ff3 2fa29fb1
...@@ -3,10 +3,22 @@ ...@@ -3,10 +3,22 @@
To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides/installing_cocoapods.html). To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides/installing_cocoapods.html).
## Master ## 0.21.0.rc1
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.20.2...0.21.0.rc1)
[cocoapods-core](https://github.com/CocoaPods/Core/compare/0.20.2...0.21.0.rc1)
[Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.6.0...0.7.0)
###### Enhancements ###### Enhancements
* Pods are now built in dedicated targets. This enhancement isolates the build
environment of each Pod from other ones eliminating pollution issues. It also
introduces an important architectural improvement which lays the foundation
for the upcoming CocoaPods features. Stay tuned! This feature has been
implemented by [Jeremy Slater](https://github.com/jasl8r).
[#1011](https://github.com/CocoaPods/CocoaPods/issues/1011)
[#983](https://github.com/CocoaPods/CocoaPods/issues/983)
[#841](https://github.com/CocoaPods/CocoaPods/issues/841)
* Reduced external dependencies and deprecation of Rake::FileList. * Reduced external dependencies and deprecation of Rake::FileList.
[#1080](https://github.com/CocoaPods/CocoaPods/issues/1080) [#1080](https://github.com/CocoaPods/CocoaPods/issues/1080)
......
...@@ -7,20 +7,20 @@ GIT ...@@ -7,20 +7,20 @@ GIT
GIT GIT
remote: https://github.com/CocoaPods/Core.git remote: https://github.com/CocoaPods/Core.git
revision: 1dfeece9a5970654588719f2c8228918ab9af0c2 revision: 6e817dc96cdaf7b76d1ecb87e4676465b948f105
branch: master branch: master
specs: specs:
cocoapods-core (0.20.2) cocoapods-core (0.21.0.rc1)
activesupport (~> 3.2.13) activesupport (~> 3.2.13)
json (~> 1.8.0) json (~> 1.8.0)
nap (~> 0.5.1) nap (~> 0.5.1)
GIT GIT
remote: https://github.com/CocoaPods/Xcodeproj.git remote: https://github.com/CocoaPods/Xcodeproj.git
revision: fd27b6217686358aea5250f006b10ed73d4726e5 revision: af8b52abcf0849d8e7f4326615c6f2dc3846aacb
branch: master branch: master
specs: specs:
xcodeproj (0.6.0) xcodeproj (0.7.0)
activesupport (~> 3.2.13) activesupport (~> 3.2.13)
colored (~> 1.2) colored (~> 1.2)
...@@ -61,16 +61,16 @@ GIT ...@@ -61,16 +61,16 @@ GIT
PATH PATH
remote: . remote: .
specs: specs:
cocoapods (0.20.2) cocoapods (0.21.0.rc1)
activesupport (~> 3.2.13) activesupport (~> 3.2.13)
claide (~> 0.3.2) claide (~> 0.3.2)
cocoapods-core (= 0.20.2) cocoapods-core (= 0.21.0.rc1)
cocoapods-downloader (~> 0.1.1) cocoapods-downloader (~> 0.1.1)
colored (~> 1.2) colored (~> 1.2)
escape (~> 0.0.4) escape (~> 0.0.4)
json (~> 1.8.0) json (~> 1.8.0)
open4 (~> 1.3.0) open4 (~> 1.3.0)
xcodeproj (~> 0.6.0) xcodeproj (~> 0.7.0)
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
...@@ -84,11 +84,11 @@ GEM ...@@ -84,11 +84,11 @@ GEM
colored (1.2) colored (1.2)
diffy (2.1.4) diffy (2.1.4)
escape (0.0.4) escape (0.0.4)
ffi (1.8.1) ffi (1.9.0)
github-markup (0.7.5) github-markup (0.7.5)
i18n (0.6.1) i18n (0.6.1)
json (1.8.0) json (1.8.0)
listen (1.1.4) listen (1.1.6)
rb-fsevent (>= 0.9.3) rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9) rb-inotify (>= 0.9)
rb-kqueue (>= 0.2) rb-kqueue (>= 0.2)
...@@ -99,7 +99,7 @@ GEM ...@@ -99,7 +99,7 @@ GEM
metaclass (~> 0.0.1) metaclass (~> 0.0.1)
mocha-on-bacon (0.2.2) mocha-on-bacon (0.2.2)
mocha (>= 0.13.0) mocha (>= 0.13.0)
multi_json (1.7.4) multi_json (1.7.7)
nap (0.5.1) nap (0.5.1)
open4 (1.3.0) open4 (1.3.0)
posix-spawn (0.3.6) posix-spawn (0.3.6)
...@@ -128,7 +128,7 @@ GEM ...@@ -128,7 +128,7 @@ GEM
term-ansicolor (1.2.2) term-ansicolor (1.2.2)
tins (~> 0.8) tins (~> 0.8)
thor (0.18.1) thor (0.18.1)
tins (0.8.0) tins (0.8.2)
yajl-ruby (1.1.0) yajl-ruby (1.1.0)
yard (0.8.6.1) yard (0.8.6.1)
......
...@@ -331,9 +331,16 @@ namespace :examples do ...@@ -331,9 +331,16 @@ namespace :examples do
command = "xcodebuild -workspace '#{example.basename}.xcworkspace' -scheme '#{example.basename}'" command = "xcodebuild -workspace '#{example.basename}.xcworkspace' -scheme '#{example.basename}'"
if (example + 'Podfile').read.include?('platform :ios') if (example + 'Podfile').read.include?('platform :ios')
# Specifically build against the simulator SDK so we don't have to deal with code signing. # Specifically build against the simulator SDK so we don't have to deal with code signing.
xcode_version = `xcodebuild -version`.scan(/Xcode (.*)\n/).first.first
major_version = xcode_version.split('.').first.to_i
destination_flag_supported = major_version > 4
if destination_flag_supported
command << " -destination 'platform=iOS Simulator,name=iPhone'"
else
command << " -sdk " command << " -sdk "
command << Dir.glob("#{`xcode-select -print-path`.chomp}/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk").last command << Dir.glob("#{`xcode-select -print-path`.chomp}/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk").last
end end
end
execute_command(command) execute_command(command)
end end
end end
...@@ -379,3 +386,4 @@ def title(title) ...@@ -379,3 +386,4 @@ def title(title)
puts "-" * 80 puts "-" * 80
puts puts
end end
...@@ -30,7 +30,7 @@ s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHA ...@@ -30,7 +30,7 @@ s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHA
s.add_runtime_dependency 'cocoapods-core', "= #{Pod::VERSION}" s.add_runtime_dependency 'cocoapods-core', "= #{Pod::VERSION}"
s.add_runtime_dependency 'claide', '~> 0.3.2' s.add_runtime_dependency 'claide', '~> 0.3.2'
s.add_runtime_dependency 'cocoapods-downloader', '~> 0.1.1' s.add_runtime_dependency 'cocoapods-downloader', '~> 0.1.1'
s.add_runtime_dependency 'xcodeproj', '~> 0.6.0' s.add_runtime_dependency 'xcodeproj', '~> 0.7.0'
s.add_runtime_dependency 'colored', '~> 1.2' s.add_runtime_dependency 'colored', '~> 1.2'
s.add_runtime_dependency 'escape', '~> 0.0.4' s.add_runtime_dependency 'escape', '~> 0.0.4'
......
...@@ -42,7 +42,9 @@ module Pod ...@@ -42,7 +42,9 @@ module Pod
autoload :ExternalSources, 'cocoapods/external_sources' autoload :ExternalSources, 'cocoapods/external_sources'
autoload :Installer, 'cocoapods/installer' autoload :Installer, 'cocoapods/installer'
autoload :SourcesManager, 'cocoapods/sources_manager' autoload :SourcesManager, 'cocoapods/sources_manager'
autoload :Library, 'cocoapods/library' autoload :Target, 'cocoapods/target'
autoload :AggregateTarget, 'cocoapods/target/aggregate_target'
autoload :PodTarget, 'cocoapods/target/pod_target'
autoload :Project, 'cocoapods/project' autoload :Project, 'cocoapods/project'
autoload :Resolver, 'cocoapods/resolver' autoload :Resolver, 'cocoapods/resolver'
autoload :Sandbox, 'cocoapods/sandbox' autoload :Sandbox, 'cocoapods/sandbox'
...@@ -51,14 +53,17 @@ module Pod ...@@ -51,14 +53,17 @@ module Pod
module Generator module Generator
autoload :Acknowledgements, 'cocoapods/generator/acknowledgements' autoload :Acknowledgements, 'cocoapods/generator/acknowledgements'
autoload :Markdown, 'cocoapods/generator/acknowledgements/markdown'
autoload :Plist, 'cocoapods/generator/acknowledgements/plist'
autoload :BridgeSupport, 'cocoapods/generator/bridge_support' autoload :BridgeSupport, 'cocoapods/generator/bridge_support'
autoload :CopyResourcesScript, 'cocoapods/generator/copy_resources_script' autoload :CopyResourcesScript, 'cocoapods/generator/copy_resources_script'
autoload :DummySource, 'cocoapods/generator/dummy_source' autoload :DummySource, 'cocoapods/generator/dummy_source'
autoload :Markdown, 'cocoapods/generator/acknowledgements/markdown'
autoload :Plist, 'cocoapods/generator/acknowledgements/plist'
autoload :PrefixHeader, 'cocoapods/generator/prefix_header' autoload :PrefixHeader, 'cocoapods/generator/prefix_header'
autoload :TargetEnvironmentHeader, 'cocoapods/generator/target_environment_header' autoload :TargetEnvironmentHeader, 'cocoapods/generator/target_environment_header'
autoload :XCConfig, 'cocoapods/generator/xcconfig' autoload :XCConfig, 'cocoapods/generator/xcconfig'
autoload :AggregateXCConfig, 'cocoapods/generator/xcconfig/aggregate_xcconfig'
autoload :PublicPodXCConfig, 'cocoapods/generator/xcconfig/public_pod_xcconfig'
autoload :PrivatePodXCConfig, 'cocoapods/generator/xcconfig/private_pod_xcconfig'
end end
module Hooks module Hooks
......
module Pod module Pod
# The version of the cocoapods command line tool. # The version of the cocoapods command line tool.
# #
VERSION = '0.20.2' unless defined? Pod::VERSION VERSION = '0.21.0.rc1' unless defined? Pod::VERSION
end end
module Pod module Pod
module Generator module Generator
# Generates an xcconfig file for each target of the Pods project. The # Generates Xcode configuration files. A configuration file is generated
# configuration file should be used by the user target as well. # for each Pod and for each Pod target definition. The aggregates the
# configurations of the Pods and define target specific settings.
# #
class XCConfig class XCConfig
# @return [Sandbox] the sandbox where the Pods project is installed. # @return [Target] the target represented by this xcconfig.
# #
attr_reader :target
attr_reader :sandbox attr_reader :sandbox
# @return [Array<Specification::Consumer>] the consumers for the # @param [Target] target @see target
# specifications of the library which needs the xcconfig.
# #
attr_reader :spec_consumers def initialize(target)
@target = target
# @return [String] the relative path of the Pods root respect the user @sandbox = target.sandbox
# project that should be integrated by this library.
#
attr_reader :relative_pods_root
# @param [Sandbox] sandbox @see sandbox
# @param [Array<LocalPod>] pods @see pods
# @param [String] relative_pods_root @see relative_pods_root
#
def initialize(sandbox, spec_consumers, relative_pods_root)
@sandbox = sandbox
@spec_consumers = spec_consumers
@relative_pods_root = relative_pods_root
end
# @return [Bool] whether the Podfile specifies to add the `-fobjc-arc`
# flag for compatibility.
#
attr_accessor :set_arc_compatibility_flag
#-----------------------------------------------------------------------#
# Generates the xcconfig for the library.
#
# @return [Xcodeproj::Config]
#
# @note The value `PODS_HEADERS_SEARCH_PATHS` is used to store the headers
# so xcconfig can reference the variable.
#
def generate
ld_flags = '-ObjC'
if set_arc_compatibility_flag && spec_consumers.any? { |consumer| consumer.requires_arc }
ld_flags << ' -fobjc-arc'
end
@xcconfig = Xcodeproj::Config.new({
'ALWAYS_SEARCH_USER_PATHS' => 'YES',
'OTHER_LDFLAGS' => ld_flags,
'HEADER_SEARCH_PATHS' => '${PODS_HEADERS_SEARCH_PATHS}',
'PODS_ROOT' => relative_pods_root,
'PODS_HEADERS_SEARCH_PATHS' => '${PODS_PUBLIC_HEADERS_SEARCH_PATHS}',
'PODS_BUILD_HEADERS_SEARCH_PATHS' => quote(sandbox.build_headers.search_paths),
'PODS_PUBLIC_HEADERS_SEARCH_PATHS' => quote(sandbox.public_headers.search_paths),
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1'
})
spec_consumers.each do |consumer|
add_spec_build_settings_to_xcconfig(consumer, @xcconfig)
end
@xcconfig
end end
# @return [Xcodeproj::Config] The generated xcconfig. # @return [Xcodeproj::Config] The generated xcconfig.
# #
attr_reader :xcconfig attr_reader :xcconfig
# @return [Hash] The settings of the xcconfig that the Pods project
# needs to override.
#
def self.pods_project_settings
{ 'PODS_ROOT' => '${SRCROOT}',
'PODS_HEADERS_SEARCH_PATHS' => '${PODS_BUILD_HEADERS_SEARCH_PATHS}' }
end
# Generates and saves the xcconfig to the given path. # Generates and saves the xcconfig to the given path.
# #
# @param [Pathname] path # @param [Pathname] path
...@@ -88,7 +31,7 @@ module Pod ...@@ -88,7 +31,7 @@ module Pod
# @return [void] # @return [void]
# #
def save_as(path) def save_as(path)
path.open('w') { |file| file.write(generate) } generate.save_as(path)
end end
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
...@@ -102,12 +45,12 @@ module Pod ...@@ -102,12 +45,12 @@ module Pod
# Podfile. # Podfile.
# #
def default_ld_flags def default_ld_flags
flags = %w[ -ObjC ] ld_flags = '-ObjC'
requires_arc = pods.any? { |pod| pod.requires_arc? } if target.target_definition.podfile.set_arc_compatibility_flag? and
if requires_arc && set_arc_compatibility_flag target.spec_consumers.any? { |consumer| consumer.requires_arc? }
flags << '-fobjc-arc' ld_flags << ' -fobjc-arc'
end end
flags.join(" ") ld_flags
end end
# Converts an array of strings to a single string where the each string # Converts an array of strings to a single string where the each string
...@@ -132,8 +75,6 @@ module Pod ...@@ -132,8 +75,6 @@ module Pod
# @param [Xcodeproj::Config] xcconfig # @param [Xcodeproj::Config] xcconfig
# The xcconfig to edit. # The xcconfig to edit.
# #
# @return [void]
#
def add_spec_build_settings_to_xcconfig(consumer, xcconfig) def add_spec_build_settings_to_xcconfig(consumer, xcconfig)
xcconfig.merge!(consumer.xcconfig) xcconfig.merge!(consumer.xcconfig)
xcconfig.libraries.merge(consumer.libraries) xcconfig.libraries.merge(consumer.libraries)
......
module Pod
module Generator
# Generates the xcconfigs for the aggregate targets.
#
class AggregateXCConfig < XCConfig
# Generates the xcconfig.
#
# @note The xcconfig file for a Pods integration target includes the
# namespaced xcconfig files for each spec target dependency.
# Each namespaced configuration value is merged into the Pod
# xcconfig file.
#
# @return [Xcodeproj::Config]
#
def generate
config = {
'ALWAYS_SEARCH_USER_PATHS' => 'YES',
'OTHER_LDFLAGS' => default_ld_flags,
'HEADER_SEARCH_PATHS' => quote(sandbox.public_headers.search_paths),
'PODS_ROOT' => target.relative_pods_root,
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1',
}
target.pod_targets.each do |pod_target|
xcconfig = Xcodeproj::Config.new
pod_target.spec_consumers.each do |consumer|
add_spec_build_settings_to_xcconfig(consumer, xcconfig)
end
xcconfig.to_hash.each do |k, v|
prefixed_key = pod_target.xcconfig_prefix + k
config[k] = "#{config[k]} ${#{prefixed_key}}"
end
end
@xcconfig = Xcodeproj::Config.new(config)
@xcconfig.includes = target.pod_targets.map(&:name)
@xcconfig
end
#-----------------------------------------------------------------------#
end
end
end
module Pod
module Generator
# Generates the private xcconfigs for the pod targets.
#
# The private xcconfig file for a Pod target merges the configuration
# values of the public namespaced xcconfig with the default private
# configuration values required by CocoaPods.
#
class PrivatePodXCConfig < XCConfig
# Generates the xcconfig.
#
# @return [Xcodeproj::Config]
#
def generate
config = {
'ALWAYS_SEARCH_USER_PATHS' => 'YES',
'OTHER_LDFLAGS' => default_ld_flags,
'PODS_ROOT' => '${SRCROOT}',
'HEADER_SEARCH_PATHS' => quote(target.build_headers.search_paths) + ' ' + quote(sandbox.public_headers.search_paths),
'GCC_PREPROCESSOR_DEFINITIONS' => 'COCOAPODS=1',
# 'USE_HEADERMAP' => 'NO'
}
xcconfig = Xcodeproj::Config.new
target.spec_consumers.each do |consumer|
add_spec_build_settings_to_xcconfig(consumer, xcconfig)
end
xcconfig.to_hash.each do |k, v|
prefixed_key = target.xcconfig_prefix + k
config[k] = "#{config[k]} ${#{prefixed_key}}"
end
@xcconfig = Xcodeproj::Config.new(config)
@xcconfig.includes = [target.name]
@xcconfig
end
#-----------------------------------------------------------------------#
end
end
end
module Pod
module Generator
# Generates the public xcconfigs for the pod targets.
#
# The public xcconfig file for a Pod is completely namespaced to prevent
# configuration value collision with the build settings of other Pods. This
# xcconfig includes the standard podspec defined values including
# libraries, frameworks, weak frameworks and xcconfig overrides.
#
class PublicPodXCConfig < XCConfig
# Generates and saves the xcconfig to the given path.
#
# @param [Pathname] path
# the path where the prefix header should be stored.
#
# @return [void]
#
def save_as(path)
generate.save_as(path, target.xcconfig_prefix)
end
# Generates the xcconfig for the target.
#
# @return [Xcodeproj::Config]
#
def generate
@xcconfig = Xcodeproj::Config.new
target.spec_consumers.each do |consumer|
add_spec_build_settings_to_xcconfig(consumer, @xcconfig)
end
@xcconfig
end
#-----------------------------------------------------------------------#
end
end
end
...@@ -59,7 +59,7 @@ module Pod ...@@ -59,7 +59,7 @@ module Pod
# #
def specs_by_lib def specs_by_lib
result = {} result = {}
installer.libraries.each do |lib| installer.pod_targets.each do |lib|
result[installer.library_rep(lib)] = lib.specs result[installer.library_rep(lib)] = lib.specs
end end
result result
...@@ -70,8 +70,8 @@ module Pod ...@@ -70,8 +70,8 @@ module Pod
# #
def pods_by_lib def pods_by_lib
result = {} result = {}
installer.libraries.each do |lib| installer.aggregate_targets.map(&:pod_targets).flatten.each do |lib|
pod_names = lib.specs.map { |spec| spec.root.name }.uniq pod_names = [lib.root_spec.name]
pod_reps = pods.select { |rep| pod_names.include?(rep.name) } pod_reps = pods.select { |rep| pod_names.include?(rep.name) }
result[lib.target_definition] = pod_reps result[lib.target_definition] = pod_reps
end end
......
...@@ -32,6 +32,8 @@ module Pod ...@@ -32,6 +32,8 @@ module Pod
autoload :FileReferencesInstaller, 'cocoapods/installer/file_references_installer' autoload :FileReferencesInstaller, 'cocoapods/installer/file_references_installer'
autoload :PodSourceInstaller, 'cocoapods/installer/pod_source_installer' autoload :PodSourceInstaller, 'cocoapods/installer/pod_source_installer'
autoload :TargetInstaller, 'cocoapods/installer/target_installer' autoload :TargetInstaller, 'cocoapods/installer/target_installer'
autoload :AggregateTargetInstaller, 'cocoapods/installer/target_installer/aggregate_target_installer'
autoload :PodTargetInstaller, 'cocoapods/installer/target_installer/pod_target_installer'
autoload :UserProjectIntegrator, 'cocoapods/installer/user_project_integrator' autoload :UserProjectIntegrator, 'cocoapods/installer/user_project_integrator'
include Config::Mixin include Config::Mixin
...@@ -108,7 +110,8 @@ module Pod ...@@ -108,7 +110,8 @@ module Pod
UI.section "Generating Pods project" do UI.section "Generating Pods project" do
prepare_pods_project prepare_pods_project
install_file_references install_file_references
install_targets install_libraries
link_aggregate_target
run_post_install_hooks run_post_install_hooks
write_pod_project write_pod_project
write_lockfiles write_lockfiles
...@@ -134,10 +137,10 @@ module Pod ...@@ -134,10 +137,10 @@ module Pod
# #
attr_reader :names_of_pods_to_install attr_reader :names_of_pods_to_install
# @return [Array<Library>] The libraries generated by the installation # @return [Array<AggregateTarget>] The Podfile targets containing library
# process. # dependencies.
# #
attr_reader :libraries attr_reader :aggregate_targets
# @return [Array<Specification>] The specifications that where installed. # @return [Array<Specification>] The specifications that where installed.
# #
...@@ -165,7 +168,7 @@ module Pod ...@@ -165,7 +168,7 @@ module Pod
analyzer = Analyzer.new(sandbox, podfile, lockfile) analyzer = Analyzer.new(sandbox, podfile, lockfile)
analyzer.update_mode = update_mode analyzer.update_mode = update_mode
@analysis_result = analyzer.analyze @analysis_result = analyzer.analyze
@libraries = analyzer.result.libraries @aggregate_targets = analyzer.result.targets
end end
# Prepares the Pods folder in order to be compatible with the most recent # Prepares the Pods folder in order to be compatible with the most recent
...@@ -186,8 +189,10 @@ module Pod ...@@ -186,8 +189,10 @@ module Pod
# @todo [#247] Clean the headers of only the pods to install. # @todo [#247] Clean the headers of only the pods to install.
# #
def clean_sandbox def clean_sandbox
sandbox.build_headers.implode!
sandbox.public_headers.implode! sandbox.public_headers.implode!
pod_targets.each do |pod_target|
pod_target.build_headers.implode!
end
unless sandbox_state.deleted.empty? unless sandbox_state.deleted.empty?
title_options = { :verbose_prefix => "-> ".red } title_options = { :verbose_prefix => "-> ".red }
...@@ -203,13 +208,15 @@ module Pod ...@@ -203,13 +208,15 @@ module Pod
# created by the Pod source installer as well. # created by the Pod source installer as well.
# #
def create_file_accessors def create_file_accessors
libraries.each do |library| aggregate_targets.each do |target|
library.specs.each do |spec| target.pod_targets.each do |pod_target|
pod_root = sandbox.pod_dir(spec.root.name) pod_root = sandbox.pod_dir(pod_target.root_spec.name)
path_list = Sandbox::PathList.new(pod_root) path_list = Sandbox::PathList.new(pod_root)
file_accessor = Sandbox::FileAccessor.new(path_list, spec.consumer(library.platform)) file_accessors = pod_target.specs.map do |spec|
library.file_accessors ||= [] Sandbox::FileAccessor.new(path_list, spec.consumer(pod_target.platform))
library.file_accessors << file_accessor end
pod_target.file_accessors ||= []
pod_target.file_accessors.concat(file_accessors)
end end
end end
end end
...@@ -242,12 +249,10 @@ module Pod ...@@ -242,12 +249,10 @@ module Pod
# #
def install_source_of_pod(pod_name) def install_source_of_pod(pod_name)
specs_by_platform = {} specs_by_platform = {}
libraries.each do |library| pod_targets.each do |pod_target|
specs = library.specs.select { |spec| spec.root.name == pod_name } if pod_target.root_spec.name == pod_name
specs_by_platform[pod_target.platform] ||= []
unless specs.empty? specs_by_platform[pod_target.platform].concat(pod_target.specs)
specs_by_platform[library.platform] ||= []
specs_by_platform[library.platform].concat(specs)
end end
end end
...@@ -284,7 +289,7 @@ module Pod ...@@ -284,7 +289,7 @@ module Pod
@pods_project.add_podfile(config.podfile_path) @pods_project.add_podfile(config.podfile_path)
end end
sandbox.project = @pods_project sandbox.project = @pods_project
platforms = libraries.map(&:platform) platforms = aggregate_targets.map(&:platform)
osx_deployment_target = platforms.select { |p| p.name == :osx }.map(&:deployment_target).min osx_deployment_target = platforms.select { |p| p.name == :osx }.map(&:deployment_target).min
ios_deployment_target = platforms.select { |p| p.name == :ios }.map(&:deployment_target).min ios_deployment_target = platforms.select { |p| p.name == :ios }.map(&:deployment_target).min
@pods_project.build_configurations.each do |build_configuration| @pods_project.build_configurations.each do |build_configuration|
...@@ -296,30 +301,53 @@ module Pod ...@@ -296,30 +301,53 @@ module Pod
# Installs the file references in the Pods project. This is done once per # Installs the file references in the Pods project. This is done once per
# Pod as the same file reference might be shared by multiple targets. # Pod as the same file reference might be shared by multiple aggregate
# targets.
# #
# @return [void] # @return [void]
# #
def install_file_references def install_file_references
installer = FileReferencesInstaller.new(sandbox, libraries, pods_project) installer = FileReferencesInstaller.new(sandbox, pod_targets, pods_project)
installer.install! installer.install!
end end
# Installs the targets of the Pods projects and generates their support # Installs the aggregate targets of the Pods projects and generates their
# files. # support files.
# #
# @return [void] # @return [void]
# #
def install_targets def install_libraries
UI.message"- Installing targets" do UI.message"- Installing libraries" do
libraries.sort_by(&:name).each do |library| pod_targets.sort_by(&:name).each do |pod_target|
next if library.target_definition.empty? next if pod_target.target_definition.empty?
target_installer = TargetInstaller.new(sandbox, library) target_installer = PodTargetInstaller.new(sandbox, pod_target)
target_installer.install!
end
aggregate_targets.sort_by(&:name).each do |target|
next if target.target_definition.empty?
target_installer = AggregateTargetInstaller.new(sandbox, target)
target_installer.install! target_installer.install!
end end
end end
end end
# Links the aggregate targets with all the dependent libraries.
#
# @note This is run in the integration step to ensure that targets
# have been created for all per spec libraries.
#
def link_aggregate_target
aggregate_targets.each do |aggregate_target|
native_target = pods_project.targets.select { |t| t.name == aggregate_target.name }.first
products = pods_project.products_group
aggregate_target.pod_targets.each do |pod_target|
product = products.files.select { |f| f.path == pod_target.product_name }.first
native_target.frameworks_build_phase.add_file_reference(product)
end
end
end
# Writes the Pods project to the disk. # Writes the Pods project to the disk.
# #
# @return [void] # @return [void]
...@@ -364,9 +392,9 @@ module Pod ...@@ -364,9 +392,9 @@ module Pod
# information in the lockfile. # information in the lockfile.
# #
def integrate_user_project def integrate_user_project
UI.section "Integrating client #{'project'.pluralize(libraries.map(&:user_project_path).uniq.count) }" do UI.section "Integrating client #{'project'.pluralize(aggregate_targets.map(&:user_project_path).uniq.count) }" do
installation_root = config.installation_root installation_root = config.installation_root
integrator = UserProjectIntegrator.new(podfile, sandbox, installation_root, libraries) integrator = UserProjectIntegrator.new(podfile, sandbox, installation_root, aggregate_targets)
integrator.integrate! integrator.integrate!
end end
end end
...@@ -512,7 +540,7 @@ module Pod ...@@ -512,7 +540,7 @@ module Pod
# @return [PodRepresentation] The pod representation. # @return [PodRepresentation] The pod representation.
# #
def pod_rep(pod) def pod_rep(pod)
all_file_accessors = libraries.map(&:file_accessors).flatten.compact all_file_accessors = pod_targets.map(&:file_accessors).flatten.compact
file_accessors = all_file_accessors.select { |fa| fa.spec.root.name == pod } file_accessors = all_file_accessors.select { |fa| fa.spec.root.name == pod }
Hooks::PodRepresentation.new(pod, file_accessors) Hooks::PodRepresentation.new(pod, file_accessors)
end end
...@@ -526,7 +554,7 @@ module Pod ...@@ -526,7 +554,7 @@ module Pod
# @return [Array<LibraryRepresentation>] # @return [Array<LibraryRepresentation>]
# #
def library_reps def library_reps
@library_reps ||= libraries.map { |lib| library_rep(lib) } @library_reps ||= pod_targets.map { |lib| library_rep(lib) }
end end
# @return [Array<PodRepresentation>] # @return [Array<PodRepresentation>]
...@@ -543,7 +571,14 @@ module Pod ...@@ -543,7 +571,14 @@ module Pod
# @return [Array<Library>] The library. # @return [Array<Library>] The library.
# #
def libraries_using_spec(spec) def libraries_using_spec(spec)
libraries.select { |lib| lib.specs.include?(spec) } pod_targets.select { |pod_target| pod_target.specs.include?(spec) }
end
# @return [Array<Library>] The libraries generated by the installation
# process.
#
def pod_targets
aggregate_targets.map(&:pod_targets).flatten
end end
#-------------------------------------------------------------------------# #-------------------------------------------------------------------------#
......
...@@ -51,10 +51,11 @@ module Pod ...@@ -51,10 +51,11 @@ module Pod
@result.podfile_state = generate_podfile_state @result.podfile_state = generate_podfile_state
@locked_dependencies = generate_version_locking_dependencies @locked_dependencies = generate_version_locking_dependencies
@result.libraries = generated_libraries compute_target_platforms
fetch_external_sources if allow_fetches fetch_external_sources if allow_fetches
@result.specs_by_target = resolve_dependencies @result.specs_by_target = resolve_dependencies
@result.specifications = generate_specifications @result.specifications = generate_specifications
@result.targets = generate_targets
@result.sandbox_state = generate_sandbox_state @result.sandbox_state = generate_sandbox_state
@result @result
end end
...@@ -158,44 +159,40 @@ module Pod ...@@ -158,44 +159,40 @@ module Pod
# Creates the models that represent the libraries generated by CocoaPods. # Creates the models that represent the libraries generated by CocoaPods.
# #
# @note The libraries are generated before the resolution process
# because it might be necessary to infer the platform from the
# user targets, which in turns requires to identify the user
# project.
#
# @note The specification of the libraries are added in the
# {#resolve_dependencies} step.
#
# @return [Array<Libraries>] the generated libraries. # @return [Array<Libraries>] the generated libraries.
# #
def generated_libraries def generate_targets
libraries = [] targets = []
podfile.target_definition_list.each do |target_definition| result.specs_by_target.each do |target_definition, specs|
lib = Library.new(target_definition) target = AggregateTarget.new(target_definition, sandbox)
lib.support_files_root = sandbox.library_support_files_dir(lib.name) targets << target
if config.integrate_targets? if config.integrate_targets?
project_path = compute_user_project_path(target_definition) project_path = compute_user_project_path(target_definition)
user_project = Xcodeproj::Project.new(project_path) user_project = Xcodeproj::Project.new(project_path)
targets = compute_user_project_targets(target_definition, user_project) native_targets = compute_user_project_targets(target_definition, user_project)
lib.user_project_path = project_path target.user_project_path = project_path
lib.client_root = project_path.dirname target.client_root = project_path.dirname
lib.user_target_uuids = targets.map(&:uuid) target.user_target_uuids = native_targets.map(&:uuid)
lib.user_build_configurations = compute_user_build_configurations(target_definition, targets) target.user_build_configurations = compute_user_build_configurations(target_definition, native_targets)
lib.platform = compute_platform_for_target_definition(target_definition, targets)
else else
unless target_definition.platform target.client_root = config.installation_root
raise Informative, "It is necessary to specify the platform in the Podfile if not integrating." target.user_target_uuids = []
target.user_build_configurations = {}
end end
lib.client_root = config.installation_root
lib.user_target_uuids = [] grouped_specs = specs.map do |spec|
lib.user_build_configurations = {} specs.select { |s| s.root == spec.root }
lib.platform = target_definition.platform end.uniq
grouped_specs.each do |pod_specs|
pod_target = PodTarget.new(pod_specs, target_definition, sandbox)
pod_target.user_build_configurations = target.user_build_configurations
target.pod_targets << pod_target
end end
libraries << lib
end end
libraries targets
end end
# Generates dependencies that require the specific version of the Pods # Generates dependencies that require the specific version of the Pods
...@@ -263,8 +260,6 @@ module Pod ...@@ -263,8 +260,6 @@ module Pod
# Converts the Podfile in a list of specifications grouped by target. # Converts the Podfile in a list of specifications grouped by target.
# #
# @note In this step the specs are added to the libraries.
#
# @note As some dependencies might have external sources the resolver # @note As some dependencies might have external sources the resolver
# is aware of the {Sandbox} and interacts with it to download the # is aware of the {Sandbox} and interacts with it to download the
# podspecs of the external sources. This is necessary because the # podspecs of the external sources. This is necessary because the
...@@ -284,17 +279,10 @@ module Pod ...@@ -284,17 +279,10 @@ module Pod
# #
def resolve_dependencies def resolve_dependencies
specs_by_target = nil specs_by_target = nil
UI.section "Resolving dependencies of #{UI.path podfile.defined_in_file}" do UI.section "Resolving dependencies of #{UI.path podfile.defined_in_file}" do
resolver = Resolver.new(sandbox, podfile, locked_dependencies) resolver = Resolver.new(sandbox, podfile, locked_dependencies)
specs_by_target = resolver.resolve specs_by_target = resolver.resolve
end end
specs_by_target.each do |target_definition, specs|
lib = result.libraries.find { |l| l.target_definition == target_definition}
lib.specs = specs
end
specs_by_target specs_by_target
end end
...@@ -449,6 +437,29 @@ module Pod ...@@ -449,6 +437,29 @@ module Pod
Platform.new(name, deployment_target) Platform.new(name, deployment_target)
end end
# Precompute the platforms for each target_definition in the Podfile
#
# @note The platforms are computed and added to each target_definition
# because it might be necessary to infer the platform from the
# user targets.
#
# @return [void]
#
def compute_target_platforms
podfile.target_definition_list.each do |target_definition|
if config.integrate_targets?
project_path = compute_user_project_path(target_definition)
user_project = Xcodeproj::Project.new(project_path)
targets = compute_user_project_targets(target_definition, user_project)
platform = compute_platform_for_target_definition(target_definition, targets)
else
unless target_definition.platform
raise Informative, "It is necessary to specify the platform in the Podfile if not integrating."
end
end
end
end
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
class AnalysisResult class AnalysisResult
...@@ -472,10 +483,10 @@ module Pod ...@@ -472,10 +483,10 @@ module Pod
# #
attr_accessor :sandbox_state attr_accessor :sandbox_state
# @return [Array<Library>] the libraries generated by the target # @return [Array<Target>] The Podfile targets containing library
# definitions. # dependencies.
# #
attr_accessor :libraries attr_accessor :targets
end end
......
...@@ -107,14 +107,14 @@ module Pod ...@@ -107,14 +107,14 @@ module Pod
# #
def link_headers def link_headers
UI.message "- Linking headers" do UI.message "- Linking headers" do
libraries.each do |library|
file_accessors.each do |file_accessor| library.file_accessors.each do |file_accessor|
headers_sandbox = Pathname.new(file_accessor.spec.root.name) headers_sandbox = Pathname.new(file_accessor.spec.root.name)
sandbox.build_headers.add_search_path(headers_sandbox) library.build_headers.add_search_path(headers_sandbox)
sandbox.public_headers.add_search_path(headers_sandbox) sandbox.public_headers.add_search_path(headers_sandbox)
header_mappings(headers_sandbox, file_accessor, file_accessor.headers).each do |namespaced_path, files| header_mappings(headers_sandbox, file_accessor, file_accessor.headers).each do |namespaced_path, files|
sandbox.build_headers.add_files(namespaced_path, files) library.build_headers.add_files(namespaced_path, files)
end end
header_mappings(headers_sandbox, file_accessor, file_accessor.public_headers).each do |namespaced_path, files| header_mappings(headers_sandbox, file_accessor, file_accessor.public_headers).each do |namespaced_path, files|
...@@ -123,6 +123,7 @@ module Pod ...@@ -123,6 +123,7 @@ module Pod
end end
end end
end end
end
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
......
This diff is collapsed.
module Pod
class Installer
# Creates the targets which aggregate the Pods libraries in the Pods
# project and the relative support files.
#
class AggregateTargetInstaller < TargetInstaller
# Creates the target in the Pods project and the relative support files.
#
# @return [void]
#
def install!
UI.message "- Installing target `#{library.name}` #{library.platform}" do
add_target
create_suport_files_group
create_xcconfig_file
create_target_environment_header
create_bridge_support_file
create_copy_resources_script
create_acknowledgements
create_dummy_source
end
end
#-----------------------------------------------------------------------#
private
# Generates the contents of the xcconfig file and saves it to disk.
#
# @note The `ALWAYS_SEARCH_USER_PATHS` flag is enabled to support
# libraries like `EmbedReader`.
#
# @return [void]
#
def create_xcconfig_file
path = library.xcconfig_path
UI.message "- Generating xcconfig file at #{UI.path(path)}" do
gen = Generator::AggregateXCConfig.new(library)
gen.save_as(path)
library.xcconfig = gen.xcconfig
xcconfig_file_ref = add_file_to_support_group(path)
target.build_configurations.each do |c|
c.base_configuration_reference = xcconfig_file_ref
end
end
end
# Generates a header which allows to inspect at compile time the installed
# pods and the installed specifications of a pod.
#
def create_target_environment_header
path = library.target_environment_header_path
UI.message "- Generating target environment header at #{UI.path(path)}" do
generator = Generator::TargetEnvironmentHeader.new(library.pod_targets.map { |l| l.specs }.flatten)
generator.save_as(path)
add_file_to_support_group(path)
end
end
# Generates the bridge support metadata if requested by the {Podfile}.
#
# @note The bridge support metadata is added to the resources of the
# library because it is needed for environments interpreted at
# runtime.
#
# @return [void]
#
def create_bridge_support_file
if target_definition.podfile.generate_bridge_support?
path = library.bridge_support_path
UI.message "- Generating BridgeSupport metadata at #{UI.path(path)}" do
headers = target.headers_build_phase.files.map { |bf| sandbox.root + bf.file_ref.path }
generator = Generator::BridgeSupport.new(headers)
generator.save_as(path)
add_file_to_support_group(path)
@bridge_support_file = path.relative_path_from(sandbox.root)
end
end
end
# Creates a script that copies the resources to the bundle of the client
# target.
#
# @note The bridge support file needs to be created before the prefix
# header, otherwise it will not be added to the resources script.
#
# @return [void]
#
def create_copy_resources_script
path = library.copy_resources_script_path
UI.message "- Generating copy resources script at #{UI.path(path)}" do
file_accessors = library.pod_targets.map(&:file_accessors).flatten
resources = file_accessors.map { |accessor| accessor.resources.flatten.map {|res| project.relativize(res)} }.flatten
resources << bridge_support_file if bridge_support_file
generator = Generator::CopyResourcesScript.new(resources, library.platform)
generator.save_as(path)
add_file_to_support_group(path)
end
end
# Generates the acknowledgement files (markdown and plist) for the target.
#
# @return [void]
#
def create_acknowledgements
basepath = library.acknowledgements_basepath
Generator::Acknowledgements.generators.each do |generator_class|
path = generator_class.path_from_basepath(basepath)
UI.message "- Generating acknowledgements at #{UI.path(path)}" do
file_accessors = library.pod_targets.map(&:file_accessors).flatten
generator = generator_class.new(file_accessors)
generator.save_as(path)
add_file_to_support_group(path)
end
end
end
# @return [Pathname] the path of the bridge support file relative to the
# sandbox.
#
# @return [Nil] if no bridge support file was generated.
#
attr_reader :bridge_support_file
#-----------------------------------------------------------------------#
end
end
end
module Pod
class Installer
# Creates the target for the Pods libraries in the Pods project and the
# relative support files.
#
class PodTargetInstaller < TargetInstaller
# Creates the target in the Pods project and the relative support files.
#
# @return [void]
#
def install!
UI.message "- Installing target `#{library.name}` #{library.platform}" do
add_target
add_files_to_build_phases
create_suport_files_group
create_xcconfig_file
create_prefix_header
create_dummy_source
end
end
#-----------------------------------------------------------------------#
private
# Adds the build files of the pods to the target and adds a reference to
# the frameworks of the Pods.
#
# @note The Frameworks are used only for presentation purposes as the
# xcconfig is the authoritative source about their information.
#
# @return [void]
#
def add_files_to_build_phases
UI.message "- Adding Build files" do
library.file_accessors.each do |file_accessor|
consumer = file_accessor.spec_consumer
flags = compiler_flags_for_consumer(consumer)
source_files = file_accessor.source_files
file_refs = source_files.map { |sf| project.file_reference(sf) }
target.add_file_references(file_refs, flags)
file_accessor.spec_consumer.frameworks.each do |framework|
project.add_system_framework(framework, target)
end
end
end
end
# Generates the contents of the xcconfig file and saves it to disk.
#
# @note The `ALWAYS_SEARCH_USER_PATHS` flag is enabled to support
# libraries like `EmbedReader`.
#
# @return [void]
#
def create_xcconfig_file
path = library.xcconfig_path
UI.message "- Generating public xcconfig file at #{UI.path(path)}" do
gen = Generator::PublicPodXCConfig.new(library)
gen.save_as(path)
add_file_to_support_group(path)
end
path = library.xcconfig_private_path
UI.message "- Generating private xcconfig file at #{UI.path(path)}" do
gen = Generator::PrivatePodXCConfig.new(library)
gen.save_as(path)
xcconfig_file_ref = add_file_to_support_group(path)
target.build_configurations.each do |c|
c.base_configuration_reference = xcconfig_file_ref
end
end
end
# Creates a prefix header file which imports `UIKit` or `Cocoa` according
# to the platform of the target. This file also include any prefix header
# content reported by the specification of the pods.
#
# @return [void]
#
def create_prefix_header
path = library.prefix_header_path
UI.message "- Generating prefix header at #{UI.path(path)}" do
generator = Generator::PrefixHeader.new(library.file_accessors, library.platform)
generator.imports << library.target_environment_header_path.basename
generator.save_as(path)
add_file_to_support_group(path)
target.build_configurations.each do |c|
relative_path = path.relative_path_from(sandbox.root)
c.build_settings['GCC_PREFIX_HEADER'] = relative_path.to_s
end
end
end
ENABLE_OBJECT_USE_OBJC_FROM = {
:ios => Version.new('6'),
:osx => Version.new('10.8')
}
# Returns the compiler flags for the source files of the given specification.
#
# The following behavior is regarding the `OS_OBJECT_USE_OBJC` flag. When
# set to `0`, it will allow code to use `dispatch_release()` on >= iOS 6.0
# and OS X 10.8.
#
# * New libraries that do *not* require ARC don’t need to care about this
# issue at all.
#
# * New libraries that *do* require ARC _and_ have a deployment target of
# >= iOS 6.0 or OS X 10.8:
#
# These no longer use `dispatch_release()` and should *not* have the
# `OS_OBJECT_USE_OBJC` flag set to `0`.
#
# **Note:** this means that these libraries *have* to specify the
# deployment target in order to function well.
#
# * New libraries that *do* require ARC, but have a deployment target of
# < iOS 6.0 or OS X 10.8:
#
# These contain `dispatch_release()` calls and as such need the
# `OS_OBJECT_USE_OBJC` flag set to `1`.
#
# **Note:** libraries that do *not* specify a platform version are
# assumed to have a deployment target of < iOS 6.0 or OS X 10.8.
#
# For more information, see: http://opensource.apple.com/source/libdispatch/libdispatch-228.18/os/object.h
#
# @param [Specification::Consumer] consumer
# The consumer for the specification for which the compiler flags
# are needed.
#
# @return [String] The compiler flags.
#
def compiler_flags_for_consumer(consumer)
flags = consumer.compiler_flags.dup
if consumer.requires_arc
flags << '-fobjc-arc'
platform_name = consumer.platform_name
spec_deployment_target = consumer.spec.deployment_target(platform_name)
if spec_deployment_target.nil? || Version.new(spec_deployment_target) < ENABLE_OBJECT_USE_OBJC_FROM[platform_name]
flags << '-DOS_OBJECT_USE_OBJC=0'
end
end
if target_definition.inhibits_warnings_for_pod?(consumer.spec.root.name)
flags << '-w -Xanalyzer -analyzer-disable-checker'
end
flags * " "
end
#-----------------------------------------------------------------------#
end
end
end
...@@ -35,9 +35,9 @@ module Pod ...@@ -35,9 +35,9 @@ module Pod
# #
attr_reader :installation_root attr_reader :installation_root
# @return [Library] the libraries generated by the installer. # @return [Array<Target>] the targets represented in the Podfile.
# #
attr_reader :libraries attr_reader :targets
# @param [Podfile] podfile @see #podfile # @param [Podfile] podfile @see #podfile
# @param [Sandbox] sandbox @see #sandbox # @param [Sandbox] sandbox @see #sandbox
...@@ -46,11 +46,11 @@ module Pod ...@@ -46,11 +46,11 @@ module Pod
# #
# @todo Too many initialization arguments # @todo Too many initialization arguments
# #
def initialize(podfile, sandbox, installation_root, libraries) def initialize(podfile, sandbox, installation_root, targets)
@podfile = podfile @podfile = podfile
@sandbox = sandbox @sandbox = sandbox
@installation_root = installation_root @installation_root = installation_root
@libraries = libraries @targets = targets
end end
# Integrates the user projects associated with the {TargetDefinitions} # Integrates the user projects associated with the {TargetDefinitions}
...@@ -110,8 +110,8 @@ module Pod ...@@ -110,8 +110,8 @@ module Pod
# @return [void] # @return [void]
# #
def integrate_user_targets def integrate_user_targets
libraries_to_integrate.sort_by(&:name).each do |lib| targets_to_integrate.sort_by(&:name).each do |target|
TargetIntegrator.new(lib).integrate! TargetIntegrator.new(target).integrate!
end end
end end
...@@ -163,14 +163,14 @@ module Pod ...@@ -163,14 +163,14 @@ module Pod
# @note Empty target definitions are ignored. # @note Empty target definitions are ignored.
# #
def user_project_paths def user_project_paths
libraries.map do |lib| targets.map do |target|
lib.user_project_path target.user_project_path
end.compact.uniq end.compact.uniq
end end
def libraries_to_integrate def targets_to_integrate
libraries.reject { |lib| lib.target_definition.empty? } targets.reject { |target| target.target_definition.empty? }
end end
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
......
...@@ -9,14 +9,14 @@ module Pod ...@@ -9,14 +9,14 @@ module Pod
# #
class TargetIntegrator class TargetIntegrator
# @return [Library] the library that should be integrated. # @return [Target] the target that should be integrated.
# #
attr_reader :library attr_reader :target
# @param [Library] library @see #target_definition # @param [Target] target @see #target_definition
# #
def initialize(library) def initialize(target)
@library = library @target = target
end end
# Integrates the user project targets. Only the targets that do **not** # Integrates the user project targets. Only the targets that do **not**
...@@ -26,7 +26,7 @@ module Pod ...@@ -26,7 +26,7 @@ module Pod
# @return [void] # @return [void]
# #
def integrate! def integrate!
return if targets.empty? return if native_targets.empty?
UI.section(integration_message) do UI.section(integration_message) do
add_xcconfig_base_configuration add_xcconfig_base_configuration
add_pods_library add_pods_library
...@@ -36,46 +36,50 @@ module Pod ...@@ -36,46 +36,50 @@ module Pod
end end
end end
# @return [Array<PBXNativeTarget>] the list of targets that the Pods # @return [Array<PBXNativeTarget>] the user targets for integration.
# lib that need to be integrated.
# #
# @note A target is considered integrated if it already references def native_targets
# unless @native_targets
def targets target_uuids = target.user_target_uuids
unless @targets native_targets = target_uuids.map do |uuid|
target_uuids = library.user_target_uuids native_target = user_project.objects_by_uuid[uuid]
targets = target_uuids.map do |uuid| unless native_target
target = user_project.objects_by_uuid[uuid]
unless target
raise Informative, "[Bug] Unable to find the target with " \ raise Informative, "[Bug] Unable to find the target with " \
"the `#{uuid}` UUID for the `#{library}` library" "the `#{uuid}` UUID for the `#{target}` integration library"
end end
target native_target
end end
non_integrated = targets.reject do |target| non_integrated = native_targets.reject do |native_target|
target.frameworks_build_phase.files.any? do |build_file| native_target.frameworks_build_phase.files.any? do |build_file|
file_ref = build_file.file_ref file_ref = build_file.file_ref
file_ref && file_ref &&
file_ref.isa == 'PBXFileReference' && file_ref.isa == 'PBXFileReference' &&
file_ref.display_name == library.product_name file_ref.display_name == target.product_name
end end
end end
@targets = non_integrated @native_targets = non_integrated
end end
@targets @native_targets
end end
# Read the project from the disk to ensure that it is up to date as # Read the project from the disk to ensure that it is up to date as
# other TargetIntegrators might have modified it. # other TargetIntegrators might have modified it.
# #
def user_project def user_project
@user_project ||= Xcodeproj::Project.new(library.user_project_path) @user_project ||= Xcodeproj::Project.new(target.user_project_path)
end
# Read the pods project from the disk to ensure that it is up to date as
# other TargetIntegrators might have modified it.
#
def pods_project
@pods_project ||= Xcodeproj::Project.new(target.sandbox.project_path)
end end
# @return [String] a string representation suitable for debugging. # @return [String] a string representation suitable for debugging.
# #
def inspect def inspect
"#<#{self.class} for target `#{target_definition.label}'>" "#<#{self.class} for target `#{target.label}'>"
end end
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
...@@ -84,6 +88,12 @@ module Pod ...@@ -84,6 +88,12 @@ module Pod
private private
# @return [Specification::Consumer] the consumer for the specifications.
#
def spec_consumers
@spec_consumers ||= target.pod_targets.map(&:file_accessors).flatten.map(&:spec_consumer)
end
# Adds the `xcconfig` configurations files generated for the current # Adds the `xcconfig` configurations files generated for the current
# {TargetDefinition} to the build configurations of the targets that # {TargetDefinition} to the build configurations of the targets that
# should be integrated. # should be integrated.
...@@ -98,25 +108,31 @@ module Pod ...@@ -98,25 +108,31 @@ module Pod
# @return [void] # @return [void]
# #
def add_xcconfig_base_configuration def add_xcconfig_base_configuration
xcconfig = user_project.new_file(library.xcconfig_relative_path) xcconfig = user_project.files.select { |f| f.path == target.xcconfig_relative_path }.first ||
targets.each do |target| user_project.new_file(target.xcconfig_relative_path)
check_overridden_build_settings(library.xcconfig, target) native_targets.each do |native_target|
target.build_configurations.each do |config| check_overridden_build_settings(target.xcconfig, native_target)
native_target.build_configurations.each do |config|
config.base_configuration_reference = xcconfig config.base_configuration_reference = xcconfig
end end
end end
end end
# Adds a file reference to the library of the {TargetDefinition} and # Adds spec libraries to the frameworks build phase of the
# adds it to the frameworks build phase of the targets. # {TargetDefinition} integration libraries. Adds a file reference to
# the library of the {TargetDefinition} and adds it to the frameworks
# build phase of the targets.
# #
# @return [void] # @return [void]
# #
def add_pods_library def add_pods_library
frameworks = user_project.frameworks_group frameworks = user_project.frameworks_group
pods_library = frameworks.new_static_library(library.label) native_targets.each do |native_target|
targets.each do |target| library = frameworks.files.select { |f| f.path == target.product_name }.first ||
target.frameworks_build_phase.add_file_reference(pods_library) frameworks.new_static_library(target.name)
unless native_target.frameworks_build_phase.files_references.include?(library)
native_target.frameworks_build_phase.add_file_reference(library)
end
end end
end end
...@@ -127,9 +143,11 @@ module Pod ...@@ -127,9 +143,11 @@ module Pod
# @return [void] # @return [void]
# #
def add_copy_resources_script_phase def add_copy_resources_script_phase
targets.each do |target| phase_name = "Copy Pods Resources"
phase = target.new_shell_script_build_phase('Copy Pods Resources') native_targets.each do |native_target|
path = library.copy_resources_script_relative_path phase = native_target.shell_script_build_phases.select { |bp| bp.name == phase_name }.first ||
native_target.new_shell_script_build_phase(phase_name)
path = target.copy_resources_script_relative_path
phase.shell_script = %{"#{path}"\n} phase.shell_script = %{"#{path}"\n}
end end
end end
...@@ -144,10 +162,12 @@ module Pod ...@@ -144,10 +162,12 @@ module Pod
# @return [void] # @return [void]
# #
def add_check_manifest_lock_script_phase def add_check_manifest_lock_script_phase
targets.each do |target| phase_name = 'Check Pods Manifest.lock'
phase = target.project.new(Xcodeproj::Project::Object::PBXShellScriptBuildPhase) native_targets.each do |native_target|
target.build_phases.unshift(phase) next if native_target.shell_script_build_phases.any? { |phase| phase.name == phase_name }
phase.name = 'Check Pods Manifest.lock' phase = native_target.project.new(Xcodeproj::Project::Object::PBXShellScriptBuildPhase)
native_target.build_phases.unshift(phase)
phase.name = phase_name
phase.shell_script = <<-EOS.strip_heredoc phase.shell_script = <<-EOS.strip_heredoc
diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null
if [[ $? != 0 ]] ; then if [[ $? != 0 ]] ; then
...@@ -165,7 +185,7 @@ module Pod ...@@ -165,7 +185,7 @@ module Pod
# @return [void] # @return [void]
# #
def save_user_project def save_user_project
user_project.save_as(library.user_project_path) user_project.save_as(target.user_project_path)
end end
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
...@@ -179,11 +199,11 @@ module Pod ...@@ -179,11 +199,11 @@ module Pod
# #
# @return [void] # @return [void]
# #
def check_overridden_build_settings(xcconfig, target) def check_overridden_build_settings(xcconfig, native_target)
return unless xcconfig return unless xcconfig
configs_by_overridden_key = {} configs_by_overridden_key = {}
target.build_configurations.each do |config| native_target.build_configurations.each do |config|
xcconfig.attributes.keys.each do |key| xcconfig.attributes.keys.each do |key|
target_value = config.build_settings[key] target_value = config.build_settings[key]
...@@ -194,13 +214,13 @@ module Pod ...@@ -194,13 +214,13 @@ module Pod
end end
configs_by_overridden_key.each do |key, config_names| configs_by_overridden_key.each do |key, config_names|
name = "#{target.name} [#{config_names.join(' - ')}]" name = "#{native_target.name} [#{config_names.join(' - ')}]"
actions = [ actions = [
"Use the `$(inherited)` flag, or", "Use the `$(inherited)` flag, or",
"Remove the build settings from the target." "Remove the build settings from the target."
] ]
UI.warn("The target `#{name}` overrides the `#{key}` build " \ UI.warn("The target `#{name}` overrides the `#{key}` build " \
"setting defined in `#{library.xcconfig_relative_path}'.", "setting defined in `#{target.xcconfig_relative_path}'.",
actions) actions)
end end
end end
...@@ -210,10 +230,10 @@ module Pod ...@@ -210,10 +230,10 @@ module Pod
# integration. # integration.
# #
def integration_message def integration_message
"Integrating `#{library.product_name}` into " \ "Integrating Pod #{'target'.pluralize(target.pod_targets.size)} " \
"#{'target'.pluralize(targets.size)} " \ "`#{target.pod_targets.map(&:name).to_sentence}` " \
"`#{targets.map(&:name).to_sentence}` " \ "into aggregate target #{target.name} " \
"of project #{UI.path library.user_project_path}." "of project #{UI.path target.user_project_path}."
end end
#---------------------------------------------------------------------# #---------------------------------------------------------------------#
......
...@@ -55,10 +55,6 @@ module Pod ...@@ -55,10 +55,6 @@ module Pod
# #
attr_reader :root attr_reader :root
# @return [HeadersStore] the header directory for the Pods libraries.
#
attr_reader :build_headers
# @return [HeadersStore] the header directory for the user targets. # @return [HeadersStore] the header directory for the user targets.
# #
attr_reader :public_headers attr_reader :public_headers
...@@ -67,7 +63,6 @@ module Pod ...@@ -67,7 +63,6 @@ module Pod
# #
def initialize(root) def initialize(root)
@root = Pathname.new(root) @root = Pathname.new(root)
@build_headers = HeadersStore.new(self, "BuildHeaders")
@public_headers = HeadersStore.new(self, "Headers") @public_headers = HeadersStore.new(self, "Headers")
@predownloaded_pods = [] @predownloaded_pods = []
@head_pods = [] @head_pods = []
......
module Pod
# Model class which describes a Pods target.
#
# The Target class stores and provides the information necessary for
# working with a target in the Podfile and it's dependent libraries.
# This class is used to represent both the targets and their libraries.
#
class Target
# @return [PBXNativeTarget] the target definition of the Podfile that
# generated this target.
#
attr_reader :target_definition
# @return [Sandbox] The sandbox where the Pods should be installed.
#
attr_reader :sandbox
# @return [String] the name of the library.
#
def name
label
end
# @return [String] the name of the library.
#
def product_name
"lib#{label}.a"
end
# @return [String] the XCConfig namespaced prefix.
#
def xcconfig_prefix
label.upcase.gsub(/[^A-Z]/, '_') + '_'
end
# @return [String] A string suitable for debugging.
#
def inspect
"<#{self.class} name=#{name} platform=#{platform}>"
end
#-------------------------------------------------------------------------#
# @!group Information storage
# @return [Hash{String=>Symbol}] A hash representing the user build
# configurations where each key corresponds to the name of a
# configuration and its value to its type (`:debug` or `:release`).
#
attr_accessor :user_build_configurations
# @return [PBXNativeTarget] the target generated in the Pods project for
# this library.
#
attr_accessor :target
# @return [Platform] the platform for this library.
#
def platform
@platform ||= target_definition.platform
end
#-------------------------------------------------------------------------#
# @!group Support files
# @return [Pathname] the folder where to store the support files of this
# library.
#
def support_files_root
@sandbox.library_support_files_dir(name)
end
# @return [Pathname] the absolute path of the xcconfig file.
#
def xcconfig_path
support_files_root + "#{label}.xcconfig"
end
# @return [Pathname] the absolute path of the private xcconfig file.
#
def xcconfig_private_path
support_files_root + "#{label}-Private.xcconfig"
end
# @return [Pathname] the absolute path of the header file which contains
# the information about the installed pods.
#
def target_environment_header_path
support_files_root + "#{target_definition.label.to_s}-environment.h"
end
# @return [Pathname] the absolute path of the prefix header file.
#
def prefix_header_path
support_files_root + "#{label}-prefix.pch"
end
# @return [Pathname] the absolute path of the bridge support file.
#
def bridge_support_path
support_files_root + "#{label}.bridgesupport"
end
# @return [Pathname] the path of the dummy source generated by CocoaPods
#
def dummy_source_path
support_files_root + "#{label}-dummy.m"
end
#-------------------------------------------------------------------------#
end
end
module Pod module Pod
# Model class which describes a Pods library. # Stores the information relative to the target used to cluster the targets
# of the single Pods. The client targets will then depend on this one.
# #
# The Library class stores and provides the information necessary for class AggregateTarget < Target
# working with a library in the Pods project and in the user projects
# through the installation process.
#
class Library
# @return [PBXNativeTarget] the target definition of the Podfile that
# generated this library.
#
attr_reader :target_definition
# @param [TargetDefinition] target_definition @see target_definition # @param [TargetDefinition] target_definition @see target_definition
# @param [PBXNativeTarget] target @see target # @param [Sandbox] sandbox @see sandbox
# #
def initialize(target_definition) def initialize(target_definition, sandbox)
@target_definition = target_definition @target_definition = target_definition
@sandbox = sandbox
@pod_targets = []
@file_accessors = []
end end
# @return [String] the label for the library. # @return [String] the label for the target.
# #
def label def label
target_definition.label.to_s target_definition.label.to_s
end end
# @return [String] the name of the library.
#
def name
target_definition.label.to_s
end
# @return [String] the name of the library.
#
def product_name
"lib#{target_definition.label}.a"
end
# @return [String] A string suitable for debugging.
#
def inspect
"<#{self.class} name=#{name} platform=#{platform}>"
end
#-------------------------------------------------------------------------#
# @!group Information storage
# @return [Pathname] the folder where to store the support files of this
# library.
#
attr_accessor :support_files_root
# @return [Pathname] the folder where the client is stored used for # @return [Pathname] the folder where the client is stored used for
# computing the relative paths. If integrating it should be the # computing the relative paths. If integrating it should be the
# folder where the user project is stored, otherwise it should # folder where the user project is stored, otherwise it should
...@@ -60,7 +28,7 @@ module Pod ...@@ -60,7 +28,7 @@ module Pod
# #
attr_accessor :client_root attr_accessor :client_root
# @return [Pathname] the path of the user project that this library will # @return [Pathname] the path of the user project that this target will
# integrate as identified by the analyzer. # integrate as identified by the analyzer.
# #
# @note The project instance is not stored to prevent editing different # @note The project instance is not stored to prevent editing different
...@@ -69,29 +37,14 @@ module Pod ...@@ -69,29 +37,14 @@ module Pod
attr_accessor :user_project_path attr_accessor :user_project_path
# @return [String] the list of the UUIDs of the user targets that will be # @return [String] the list of the UUIDs of the user targets that will be
# integrated by this library as identified by the analizer. # integrated by this target as identified by the analizer.
# #
# @note The target instances are not stored to prevent editing different # @note The target instances are not stored to prevent editing different
# instances. # instances.
# #
attr_accessor :user_target_uuids attr_accessor :user_target_uuids
# @return [Hash{String=>Symbol}] A hash representing the user build # @return [Xcodeproj::Config] The configuration file of the target.
# configurations where each key corresponds to the name of a
# configuration and its value to its type (`:debug` or `:release`).
#
attr_accessor :user_build_configurations
# @return [Platform] the platform for this library.
#
attr_accessor :platform
# @return [PBXNativeTarget] the target generated in the Pods project for
# this library.
#
attr_accessor :target
# @return [Xcodeproj::Config] the configuration file of the library
# #
# @note The configuration is generated by the {TargetInstaller} and # @note The configuration is generated by the {TargetInstaller} and
# used by {UserProjectIntegrator} to check for any overridden # used by {UserProjectIntegrator} to check for any overridden
...@@ -99,51 +52,16 @@ module Pod ...@@ -99,51 +52,16 @@ module Pod
# #
attr_accessor :xcconfig attr_accessor :xcconfig
# @return [Array<Specification>] the specifications of this library. # @return [Array<PodTarget>] The dependencies for this target.
#
attr_accessor :specs
# @return [Array<Sandbox::FileAccessor>] the file accessors for the
# specifications of this library.
# #
attr_accessor :file_accessors attr_accessor :pod_targets
#-------------------------------------------------------------------------#
# @!group Support files
# @return [Pathname] the absolute path of the xcconfig file.
#
def xcconfig_path
support_files_root + "#{label}.xcconfig"
end
# @return [Pathname] the absolute path of the copy resources script. # @return [Array<SpecConsumer>]
# def spec_consumers
def copy_resources_script_path pod_targets.map(&:specs).flatten.map { |spec| spec.consumer(platform) }
support_files_root + "#{label}-resources.sh"
end
# @return [Pathname] the absolute path of the header file which contains
# the information about the installed pods.
#
def target_environment_header_path
support_files_root + "#{label}-environment.h"
end end
# @return [Pathname] the absolute path of the prefix header file. # @return [Pathname] The absolute path of acknowledgements file.
#
def prefix_header_path
support_files_root + "#{label}-prefix.pch"
end
# @return [Pathname] the absolute path of the bridge support file.
#
def bridge_support_path
support_files_root + "#{label}.bridgesupport"
end
# @return [Pathname] the absolute path of acknowledgements file.
# #
# @note The acknowledgements generators add the extension according to # @note The acknowledgements generators add the extension according to
# the file type. # the file type.
...@@ -152,14 +70,12 @@ module Pod ...@@ -152,14 +70,12 @@ module Pod
support_files_root + "#{label}-acknowledgements" support_files_root + "#{label}-acknowledgements"
end end
# @return [Pathname] the path of the dummy source generated by CocoaPods # @return [Pathname] The absolute path of the copy resources script.
# #
def dummy_source_path def copy_resources_script_path
support_files_root + "#{label}-dummy.m" support_files_root + "#{label}-resources.sh"
end end
#--------------------------------------#
# @return [String] The xcconfig path of the root from the `$(SRCROOT)` # @return [String] The xcconfig path of the root from the `$(SRCROOT)`
# variable of the user's project. # variable of the user's project.
# #
...@@ -167,14 +83,14 @@ module Pod ...@@ -167,14 +83,14 @@ module Pod
"${SRCROOT}/#{support_files_root.relative_path_from(client_root)}" "${SRCROOT}/#{support_files_root.relative_path_from(client_root)}"
end end
# @return [String] the path of the xcconfig file relative to the root of # @return [String] The path of the xcconfig file relative to the root of
# the user project. # the user project.
# #
def xcconfig_relative_path def xcconfig_relative_path
relative_to_srcroot(xcconfig_path).to_s relative_to_srcroot(xcconfig_path).to_s
end end
# @return [String] the path of the copy resources script relative to the # @return [String] The path of the copy resources script relative to the
# root of the user project. # root of the user project.
# #
def copy_resources_script_relative_path def copy_resources_script_relative_path
...@@ -193,10 +109,13 @@ module Pod ...@@ -193,10 +109,13 @@ module Pod
# @param [Pathname] path # @param [Pathname] path
# A relative path from the root of the sandbox. # A relative path from the root of the sandbox.
# #
# @return [String] the computed path. # @return [String] The computed path.
# #
def relative_to_srcroot(path) def relative_to_srcroot(path)
path.relative_path_from(client_root).to_s path.relative_path_from(client_root).to_s
end end
#-------------------------------------------------------------------------#
end end
end end
module Pod
# Stores the information relative to the target used to compile a single Pod.
# A pod can have one or more activated spec/subspecs.
#
class PodTarget < Target
# @return [Specification] the spec for the target.
#
attr_reader :specs
# @return [HeadersStore] the header directory for the target.
#
attr_reader :build_headers
# @param [Specification] spec @see spec
# @param [TargetDefinition] target_definition @see target_definition
# @param [Sandbox] sandbox @see sandbox
#
def initialize(specs, target_definition, sandbox)
@specs = specs
@target_definition = target_definition
@sandbox = sandbox
@build_headers = Sandbox::HeadersStore.new(sandbox, "BuildHeaders")
@file_accessors = []
end
# @return [String] the label for the target.
#
def label
"#{target_definition.label.to_s}-#{root_spec.name}"
end
# @return [Array<Sandbox::FileAccessor>] the file accessors for the
# specifications of this target.
#
attr_accessor :file_accessors
# @return [Array<Specification::Consumer>] the specification consumers for
# the target.
#
def spec_consumers
specs.map { |spec| spec.consumer(platform) }
end
# @return [Specification] the root specification for the target.
#
def root_spec
specs.first.root
end
end
end
...@@ -208,7 +208,7 @@ module Pod ...@@ -208,7 +208,7 @@ module Pod
installer = Installer.new(sandbox, podfile) installer = Installer.new(sandbox, podfile)
installer.install! installer.install!
file_accessors = installer.libraries.first.file_accessors file_accessors = installer.aggregate_targets.first.pod_targets.first.file_accessors
@file_accessor = file_accessors.find { |accessor| accessor.spec == spec } @file_accessor = file_accessors.find { |accessor| accessor.spec == spec }
config.silent config.silent
end end
......
...@@ -10,4 +10,4 @@ SPEC CHECKSUMS: ...@@ -10,4 +10,4 @@ SPEC CHECKSUMS:
JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601 JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -10,4 +10,4 @@ SPEC CHECKSUMS: ...@@ -10,4 +10,4 @@ SPEC CHECKSUMS:
JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601 JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
#include "Pods-JSONKit"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/JSONKit" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC
PODS_ROOT = ${SRCROOT}
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_JSONKit : NSObject
@end
@implementation PodsDummy_Pods_JSONKit
@end
#include "Pods-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_Reachability : NSObject
@end
@implementation PodsDummy_Pods_Reachability
@end
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
\ No newline at end of file
#ifdef __OBJC__ #ifdef __OBJC__
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-environment.h"
#include "Pods-JSONKit"
#include "Pods-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS} HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/JSONKit" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
...@@ -11,12 +11,23 @@ File References: ...@@ -11,12 +11,23 @@ File References:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods-JSONKit.a
- libPods-Reachability.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods-JSONKit:
- Pods-JSONKit.xcconfig
- Pods-JSONKit-Private.xcconfig
- Pods-JSONKit-prefix.pch
- Pods-JSONKit-dummy.m
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch
- Pods-resources.sh - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
...@@ -26,78 +37,187 @@ File References: ...@@ -26,78 +37,187 @@ File References:
Targets: Targets:
- Pods: - Pods-JSONKit:
Build Phases:
- SourcesBuildPhase:
- JSONKit.m
- Pods-JSONKit-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- JSONKit.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PODS_ROOT: ${SRCROOT} PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
ALWAYS_SEARCH_USER_PATHS: "NO" SDKROOT: iphoneos
COPY_PHASE_STRIP: "YES" VALIDATE_PRODUCT: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch
VALIDATE_PRODUCT: "YES"
ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "6.0"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME)
OTHER_CFLAGS: OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1 - -DNS_BLOCK_ASSERTIONS=1
- $(inherited) - $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS} SKIP_INSTALL: 'YES'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0 INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS: OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1 - -DNS_BLOCK_ASSERTIONS=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: "YES" ALWAYS_SEARCH_USER_PATHS: 'NO'
OTHER_LDFLAGS: "" GCC_VERSION: com.apple.compilers.llvm.clang.1_0
DSTROOT: /tmp/xcodeproj.dst ARCHS: $(ARCHS_STANDARD_32_BIT)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
SDKROOT: iphoneos OTHER_LDFLAGS: ''
Base Configuration: Pods.xcconfig IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-JSONKit-prefix.pch
Base Configuration: Pods-JSONKit-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
PODS_ROOT: ${SRCROOT} OTHER_LDFLAGS: ''
GCC_DYNAMIC_NO_PIC: "NO" PRODUCT_NAME: $(TARGET_NAME)
ALWAYS_SEARCH_USER_PATHS: "NO" PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
COPY_PHASE_STRIP: "NO" SDKROOT: iphoneos
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
ARCHS: $(ARCHS_STANDARD_32_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_32_BIT) GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: "6.0" IPHONEOS_DEPLOYMENT_TARGET: '6.0'
SKIP_INSTALL: "YES" COPY_PHASE_STRIP: 'NO'
PRODUCT_NAME: $(TARGET_NAME) GCC_PREFIX_HEADER: Pods-JSONKit-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-JSONKit-Private.xcconfig
- Pods-Reachability:
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
Build Configurations:
- Release:
Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS} SKIP_INSTALL: 'YES'
GCC_SYMBOLS_PRIVATE_EXTERN: "NO" INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
OTHER_LDFLAGS: ""
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ARCHS: $(ARCHS_STANDARD_32_BIT)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods-Reachability-Private.xcconfig
- Debug:
Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SDKROOT: iphoneos SDKROOT: iphoneos
Base Configuration: Pods.xcconfig GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
ARCHS: $(ARCHS_STANDARD_32_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods-Reachability-Private.xcconfig
- Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- JSONKit.m
- Reachability.m
- Pods-dummy.m - Pods-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-JSONKit.a
- JSONKit.h - libPods-Reachability.a
- Reachability.h Build Configurations:
- Release:
Build Settings:
SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ARCHS: $(ARCHS_STANDARD_32_BIT)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES'
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO'
OTHER_LDFLAGS: ''
Base Configuration: Pods.xcconfig
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" IPHONEOS_DEPLOYMENT_TARGET: '6.0'
- Debug: - Debug:
Build Settings: Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" IPHONEOS_DEPLOYMENT_TARGET: '6.0'
...@@ -28,25 +28,6 @@ File References: ...@@ -28,25 +28,6 @@ File References:
Targets: Targets:
- SampleApp: - SampleApp:
Build Configurations:
- Debug:
Build Settings:
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES"
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
WRAPPER_EXTENSION: app
Base Configuration: Pods.xcconfig
- Release:
Build Settings:
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES"
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
WRAPPER_EXTENSION: app
Base Configuration: Pods.xcconfig
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- main.m - main.m
...@@ -59,56 +40,74 @@ Targets: ...@@ -59,56 +40,74 @@ Targets:
- Credits.rtf - Credits.rtf
- MainMenu.xib - MainMenu.xib
- Copy Pods Resources: [] - Copy Pods Resources: []
Build Configurations:
- Debug:
Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Release:
Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
Build Configurations: Build Configurations:
- Debug: - Debug:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++ CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_64_BIT) ONLY_ACTIVE_ARCH: 'YES'
CLANG_WARN_EMPTY_BODY: "YES" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
CLANG_WARN_INT_CONVERSION: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
GCC_WARN_UNUSED_VARIABLE: "YES"
GCC_OPTIMIZATION_LEVEL: "0"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
CLANG_WARN_ENUM_CONVERSION: "YES"
GCC_ENABLE_OBJC_EXCEPTIONS: "YES"
GCC_WARN_UNINITIALIZED_AUTOS: "YES"
ONLY_ACTIVE_ARCH: "YES"
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES"
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
ALWAYS_SEARCH_USER_PATHS: 'NO'
COPY_PHASE_STRIP: 'NO'
SDKROOT: macosx SDKROOT: macosx
GCC_DYNAMIC_NO_PIC: 'NO'
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++
GCC_WARN_UNUSED_VARIABLE: 'YES'
- Release: - Release:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "YES"
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
ARCHS: $(ARCHS_STANDARD_64_BIT) GCC_WARN_UNUSED_VARIABLE: 'YES'
CLANG_WARN_INT_CONVERSION: "YES"
CLANG_WARN_EMPTY_BODY: "YES"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_UNUSED_VARIABLE: "YES"
CLANG_WARN_ENUM_CONVERSION: "YES"
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
GCC_WARN_UNINITIALIZED_AUTOS: "YES" GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
GCC_ENABLE_OBJC_EXCEPTIONS: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES" MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
ARCHS: $(ARCHS_STANDARD_64_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
SDKROOT: macosx SDKROOT: macosx
COPY_PHASE_STRIP: 'YES'
CLANG_CXX_LIBRARY: libc++
...@@ -18,17 +18,17 @@ Downloading dependencies ...@@ -18,17 +18,17 @@ Downloading dependencies
-> Installing JSONKit (1.5pre) -> Installing JSONKit (1.5pre)
> GitHub download > GitHub download
$ /opt/local/bin/git config core.bare $ /usr/bin/git config core.bare
true true
$ /opt/local/bin/git config core.bare $ /usr/bin/git config core.bare
true true
$ /opt/local/bin/git rev-list --max-count=1 0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce $ /usr/bin/git rev-list --max-count=1 0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce
0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce 0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce
> Cloning to Pods folder > Cloning to Pods folder
$ /opt/local/bin/git clone "CACHES_DIR/GitHub/de3e1c97c03ac13b29e7533beea2d2131589900f" "ROOT/tmp/install_add_pod/Pods/JSONKit" $ /usr/bin/git clone "CACHES_DIR/GitHub/de3e1c97c03ac13b29e7533beea2d2131589900f" "ROOT/tmp/install_add_pod/Pods/JSONKit"
Cloning into 'ROOT/tmp/install_add_pod/Pods/JSONKit'... Cloning into 'ROOT/tmp/install_add_pod/Pods/JSONKit'...
done. done.
$ /opt/local/bin/git checkout -b activated-pod-commit 0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce 2>&1 $ /usr/bin/git checkout -b activated-pod-commit 0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce 2>&1
Switched to a new branch 'activated-pod-commit' Switched to a new branch 'activated-pod-commit'
-> Using Reachability (3.1.0) -> Using Reachability (3.1.0)
...@@ -39,12 +39,22 @@ Generating Pods project ...@@ -39,12 +39,22 @@ Generating Pods project
- Adding source files to Pods project - Adding source files to Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing targets - Installing libraries
- Installing target `Pods` iOS 6.0 - Installing target `Pods-JSONKit` iOS 6.0
- Adding Build files
- Generating public xcconfig file at `Pods/Pods-JSONKit.xcconfig`
- Generating private xcconfig file at `Pods/Pods-JSONKit-Private.xcconfig`
- Generating prefix header at `Pods/Pods-JSONKit-prefix.pch`
- Generating dummy source file at `Pods/Pods-JSONKit-dummy.m`
- Installing target `Pods-Reachability` iOS 6.0
- Adding Build files - Adding Build files
- Generating public xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating private xcconfig file at `Pods/Pods-Reachability-Private.xcconfig`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Installing target `Pods` iOS 6.0
- Generating xcconfig file at `Pods/Pods.xcconfig` - Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target environment header at `Pods/Pods-environment.h` - Generating target environment header at `Pods/Pods-environment.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh` - Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist` - Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.markdown` - Generating acknowledgements at `Pods/Pods-acknowledgements.markdown`
......
...@@ -8,4 +8,4 @@ DEPENDENCIES: ...@@ -8,4 +8,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -8,4 +8,4 @@ DEPENDENCIES: ...@@ -8,4 +8,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
#include "Pods-SampleApp_1-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_SampleApp_1_Reachability : NSObject
@end
@implementation PodsDummy_Pods_SampleApp_1_Reachability
@end
PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
\ No newline at end of file
#include "Pods-SampleApp_1-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS} HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
#include "Pods-SampleApp_2-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_SampleApp_2_Reachability : NSObject
@end
@implementation PodsDummy_Pods_SampleApp_2_Reachability
@end
PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
\ No newline at end of file
#include "Pods-SampleApp_2-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS} HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
...@@ -28,25 +28,6 @@ File References: ...@@ -28,25 +28,6 @@ File References:
Targets: Targets:
- SampleApp_1: - SampleApp_1:
Build Configurations:
- Debug:
Build Settings:
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES"
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
WRAPPER_EXTENSION: app
Base Configuration: Pods-SampleApp_1.xcconfig
- Release:
Build Settings:
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES"
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
WRAPPER_EXTENSION: app
Base Configuration: Pods-SampleApp_1.xcconfig
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- main.m - main.m
...@@ -59,56 +40,74 @@ Targets: ...@@ -59,56 +40,74 @@ Targets:
- Credits.rtf - Credits.rtf
- MainMenu.xib - MainMenu.xib
- Copy Pods Resources: [] - Copy Pods Resources: []
Build Configurations:
- Debug:
Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-SampleApp_1.xcconfig
- Release:
Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-SampleApp_1.xcconfig
Build Configurations: Build Configurations:
- Debug: - Debug:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++ CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_64_BIT) ONLY_ACTIVE_ARCH: 'YES'
CLANG_WARN_EMPTY_BODY: "YES" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
CLANG_WARN_INT_CONVERSION: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
GCC_WARN_UNUSED_VARIABLE: "YES"
GCC_OPTIMIZATION_LEVEL: "0"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
CLANG_WARN_ENUM_CONVERSION: "YES"
GCC_ENABLE_OBJC_EXCEPTIONS: "YES"
GCC_WARN_UNINITIALIZED_AUTOS: "YES"
ONLY_ACTIVE_ARCH: "YES"
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES"
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
ALWAYS_SEARCH_USER_PATHS: 'NO'
COPY_PHASE_STRIP: 'NO'
SDKROOT: macosx SDKROOT: macosx
GCC_DYNAMIC_NO_PIC: 'NO'
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++
GCC_WARN_UNUSED_VARIABLE: 'YES'
- Release: - Release:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "YES"
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
ARCHS: $(ARCHS_STANDARD_64_BIT) GCC_WARN_UNUSED_VARIABLE: 'YES'
CLANG_WARN_INT_CONVERSION: "YES"
CLANG_WARN_EMPTY_BODY: "YES"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_UNUSED_VARIABLE: "YES"
CLANG_WARN_ENUM_CONVERSION: "YES"
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
GCC_WARN_UNINITIALIZED_AUTOS: "YES" GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
GCC_ENABLE_OBJC_EXCEPTIONS: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES" MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
ARCHS: $(ARCHS_STANDARD_64_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
SDKROOT: macosx SDKROOT: macosx
COPY_PHASE_STRIP: 'YES'
CLANG_CXX_LIBRARY: libc++
...@@ -28,25 +28,6 @@ File References: ...@@ -28,25 +28,6 @@ File References:
Targets: Targets:
- SampleApp_2: - SampleApp_2:
Build Configurations:
- Debug:
Build Settings:
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES"
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
WRAPPER_EXTENSION: app
Base Configuration: Pods-SampleApp_2.xcconfig
- Release:
Build Settings:
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES"
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
WRAPPER_EXTENSION: app
Base Configuration: Pods-SampleApp_2.xcconfig
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- main.m - main.m
...@@ -59,58 +40,75 @@ Targets: ...@@ -59,58 +40,75 @@ Targets:
- Credits.rtf - Credits.rtf
- MainMenu.xib - MainMenu.xib
- Copy Pods Resources: [] - Copy Pods Resources: []
- Copy Pods Resources: [] - Copy Pods Resources: []
Build Configurations:
- Debug:
Build Settings:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
WRAPPER_EXTENSION: app
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-SampleApp_2.xcconfig
- Release:
Build Settings:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
WRAPPER_EXTENSION: app
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-SampleApp_2.xcconfig
Build Configurations: Build Configurations:
- Debug: - Debug:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++ CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_64_BIT) ONLY_ACTIVE_ARCH: 'YES'
CLANG_WARN_EMPTY_BODY: "YES" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
CLANG_WARN_INT_CONVERSION: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
GCC_WARN_UNUSED_VARIABLE: "YES"
GCC_OPTIMIZATION_LEVEL: "0"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
CLANG_WARN_ENUM_CONVERSION: "YES"
GCC_ENABLE_OBJC_EXCEPTIONS: "YES"
GCC_WARN_UNINITIALIZED_AUTOS: "YES"
ONLY_ACTIVE_ARCH: "YES"
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES"
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
ALWAYS_SEARCH_USER_PATHS: 'NO'
COPY_PHASE_STRIP: 'NO'
SDKROOT: macosx SDKROOT: macosx
GCC_DYNAMIC_NO_PIC: 'NO'
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++
GCC_WARN_UNUSED_VARIABLE: 'YES'
- Release: - Release:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "YES"
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
ARCHS: $(ARCHS_STANDARD_64_BIT) GCC_WARN_UNUSED_VARIABLE: 'YES'
CLANG_WARN_EMPTY_BODY: "YES"
CLANG_WARN_INT_CONVERSION: "YES"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_UNUSED_VARIABLE: "YES"
CLANG_WARN_ENUM_CONVERSION: "YES"
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
GCC_WARN_UNINITIALIZED_AUTOS: "YES" GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
GCC_ENABLE_OBJC_EXCEPTIONS: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES" MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
ALWAYS_SEARCH_USER_PATHS: 'NO'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
ARCHS: $(ARCHS_STANDARD_64_BIT)
CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
SDKROOT: macosx SDKROOT: macosx
COPY_PHASE_STRIP: 'YES'
CLANG_CXX_LIBRARY: libc++
...@@ -15,21 +15,21 @@ Downloading dependencies ...@@ -15,21 +15,21 @@ Downloading dependencies
-> Installing Reachability (3.1.0) -> Installing Reachability (3.1.0)
> GitHub download > GitHub download
$ /opt/local/bin/git config core.bare $ /usr/bin/git config core.bare
true true
$ /opt/local/bin/git config core.bare $ /usr/bin/git config core.bare
true true
$ /opt/local/bin/git rev-list --max-count=1 v3.1.0 $ /usr/bin/git rev-list --max-count=1 v3.1.0
f7176f4798d068d233dca5223ae4bd9c8059e830 f7176f4798d068d233dca5223ae4bd9c8059e830
$ /opt/local/bin/git init $ /usr/bin/git init
Initialized empty Git repository in ROOT/tmp/install_custom_workspace/Pods/Reachability/.git/ Initialized empty Git repository in ROOT/tmp/install_custom_workspace/Pods/Reachability/.git/
$ /opt/local/bin/git remote add origin 'CACHES_DIR/GitHub/48f11286750afa2e2eb80564e288f42eed7cbab6' $ /usr/bin/git remote add origin 'CACHES_DIR/GitHub/48f11286750afa2e2eb80564e288f42eed7cbab6'
$ /opt/local/bin/git fetch origin tags/v3.1.0 2>&1 $ /usr/bin/git fetch origin tags/v3.1.0 2>&1
From CACHES_DIR/GitHub/48f11286750afa2e2eb80564e288f42eed7cbab6 From CACHES_DIR/GitHub/48f11286750afa2e2eb80564e288f42eed7cbab6
* tag v3.1.0 -> FETCH_HEAD * tag v3.1.0 -> FETCH_HEAD
$ /opt/local/bin/git reset --hard FETCH_HEAD $ /usr/bin/git reset --hard FETCH_HEAD
HEAD is now at f7176f4 updated podspec HEAD is now at f7176f4 updated podspec
$ /opt/local/bin/git checkout -b activated-pod-commit 2>&1 $ /usr/bin/git checkout -b activated-pod-commit 2>&1
Switched to a new branch 'activated-pod-commit' Switched to a new branch 'activated-pod-commit'
- Running pre install hooks - Running pre install hooks
...@@ -38,21 +38,29 @@ Generating Pods project ...@@ -38,21 +38,29 @@ Generating Pods project
- Adding source files to Pods project - Adding source files to Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing targets - Installing libraries
- Installing target `Pods-SampleApp_1` iOS 6.0 - Installing target `Pods-SampleApp_1-Reachability` iOS 6.0
- Adding Build files
- Generating public xcconfig file at `Pods/Pods-SampleApp_1-Reachability.xcconfig`
- Generating private xcconfig file at `Pods/Pods-SampleApp_1-Reachability-Private.xcconfig`
- Generating prefix header at `Pods/Pods-SampleApp_1-Reachability-prefix.pch`
- Generating dummy source file at `Pods/Pods-SampleApp_1-Reachability-dummy.m`
- Installing target `Pods-SampleApp_2-Reachability` iOS 6.0
- Adding Build files - Adding Build files
- Generating public xcconfig file at `Pods/Pods-SampleApp_2-Reachability.xcconfig`
- Generating private xcconfig file at `Pods/Pods-SampleApp_2-Reachability-Private.xcconfig`
- Generating prefix header at `Pods/Pods-SampleApp_2-Reachability-prefix.pch`
- Generating dummy source file at `Pods/Pods-SampleApp_2-Reachability-dummy.m`
- Installing target `Pods-SampleApp_1` iOS 6.0
- Generating xcconfig file at `Pods/Pods-SampleApp_1.xcconfig` - Generating xcconfig file at `Pods/Pods-SampleApp_1.xcconfig`
- Generating target environment header at `Pods/Pods-SampleApp_1-environment.h` - Generating target environment header at `Pods/Pods-SampleApp_1-environment.h`
- Generating prefix header at `Pods/Pods-SampleApp_1-prefix.pch`
- Generating copy resources script at `Pods/Pods-SampleApp_1-resources.sh` - Generating copy resources script at `Pods/Pods-SampleApp_1-resources.sh`
- Generating acknowledgements at `Pods/Pods-SampleApp_1-acknowledgements.plist` - Generating acknowledgements at `Pods/Pods-SampleApp_1-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-SampleApp_1-acknowledgements.markdown` - Generating acknowledgements at `Pods/Pods-SampleApp_1-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-SampleApp_1-dummy.m` - Generating dummy source file at `Pods/Pods-SampleApp_1-dummy.m`
- Installing target `Pods-SampleApp_2` iOS 6.0 - Installing target `Pods-SampleApp_2` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-SampleApp_2.xcconfig` - Generating xcconfig file at `Pods/Pods-SampleApp_2.xcconfig`
- Generating target environment header at `Pods/Pods-SampleApp_2-environment.h` - Generating target environment header at `Pods/Pods-SampleApp_2-environment.h`
- Generating prefix header at `Pods/Pods-SampleApp_2-prefix.pch`
- Generating copy resources script at `Pods/Pods-SampleApp_2-resources.sh` - Generating copy resources script at `Pods/Pods-SampleApp_2-resources.sh`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.plist` - Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.markdown` - Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.markdown`
......
...@@ -15,4 +15,4 @@ EXTERNAL SOURCES: ...@@ -15,4 +15,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -15,4 +15,4 @@ EXTERNAL SOURCES: ...@@ -15,4 +15,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
#include "Pods-PodTest"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/PodTest" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
OTHER_LDFLAGS = -ObjC
PODS_ROOT = ${SRCROOT}
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_PodTest : NSObject
@end
@implementation PodsDummy_Pods_PodTest
@end
#include "Pods-PodTest"
ALWAYS_SEARCH_USER_PATHS = YES ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS} HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
OTHER_LDFLAGS = -ObjC OTHER_LDFLAGS = -ObjC
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/PodTest"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
PODS_ROOT = ${SRCROOT}/Pods PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
...@@ -11,12 +11,17 @@ File References: ...@@ -11,12 +11,17 @@ File References:
- subspec_2.h - subspec_2.h
- subspec_2.m - subspec_2.m
- Products: - Products:
- libPods-PodTest.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods-PodTest:
- Pods-PodTest.xcconfig
- Pods-PodTest-Private.xcconfig
- Pods-PodTest-prefix.pch
- Pods-PodTest-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch
- Pods-resources.sh - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
...@@ -26,78 +31,129 @@ File References: ...@@ -26,78 +31,129 @@ File References:
Targets: Targets:
- Pods: - Pods-PodTest:
Build Phases:
- SourcesBuildPhase:
- subspec_1.m
- subspec_2.m
- Pods-PodTest-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- subspec_1.h
- subspec_2.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PODS_ROOT: ${SRCROOT} PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
ALWAYS_SEARCH_USER_PATHS: "NO" SDKROOT: iphoneos
COPY_PHASE_STRIP: "YES" VALIDATE_PRODUCT: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch
VALIDATE_PRODUCT: "YES"
ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "4.3"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME)
OTHER_CFLAGS: OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1 - -DNS_BLOCK_ASSERTIONS=1
- $(inherited) - $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS} SKIP_INSTALL: 'YES'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0 INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS: OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1 - -DNS_BLOCK_ASSERTIONS=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: "YES" ALWAYS_SEARCH_USER_PATHS: 'NO'
OTHER_LDFLAGS: "" GCC_VERSION: com.apple.compilers.llvm.clang.1_0
DSTROOT: /tmp/xcodeproj.dst ARCHS: $(ARCHS_STANDARD_32_BIT)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
SDKROOT: iphoneos OTHER_LDFLAGS: ''
Base Configuration: Pods.xcconfig IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-PodTest-prefix.pch
Base Configuration: Pods-PodTest-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
PODS_ROOT: ${SRCROOT} OTHER_LDFLAGS: ''
GCC_DYNAMIC_NO_PIC: "NO"
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
GCC_PREFIX_HEADER: Pods-prefix.pch
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "4.3"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
GCC_OPTIMIZATION_LEVEL: "0"
GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS}
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
OTHER_LDFLAGS: ""
DSTROOT: /tmp/xcodeproj.dst
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SDKROOT: iphoneos SDKROOT: iphoneos
Base Configuration: Pods.xcconfig GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
ARCHS: $(ARCHS_STANDARD_32_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-PodTest-prefix.pch
Base Configuration: Pods-PodTest-Private.xcconfig
- Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- subspec_1.m
- subspec_2.m
- Pods-dummy.m - Pods-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-PodTest.a
- subspec_1.h Build Configurations:
- subspec_2.h - Release:
Build Settings:
SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ARCHS: $(ARCHS_STANDARD_32_BIT)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES'
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO'
OTHER_LDFLAGS: ''
Base Configuration: Pods.xcconfig
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: "4.3" IPHONEOS_DEPLOYMENT_TARGET: '4.3'
- Debug: - Debug:
Build Settings: Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: "4.3" IPHONEOS_DEPLOYMENT_TARGET: '4.3'
...@@ -44,40 +44,8 @@ File References: ...@@ -44,40 +44,8 @@ File References:
Targets: Targets:
- iOS App: - iOS App:
Build Configurations:
- Debug:
Build Settings:
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
IPHONEOS_DEPLOYMENT_TARGET: "6.1"
FRAMEWORK_SEARCH_PATHS:
- $(inherited)
- "\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\""
PRODUCT_NAME: $(TARGET_NAME)
INFOPLIST_FILE: iOS App/iOS App-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
WRAPPER_EXTENSION: app
SDKROOT: iphoneos
Base Configuration: Pods.xcconfig
- Release:
Build Settings:
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
VALIDATE_PRODUCT: "YES"
IPHONEOS_DEPLOYMENT_TARGET: "6.1"
FRAMEWORK_SEARCH_PATHS:
- $(inherited)
- "\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\""
PRODUCT_NAME: $(TARGET_NAME)
OTHER_CFLAGS: -DNS_BLOCK_ASSERTIONS=1
INFOPLIST_FILE: iOS App/iOS App-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
WRAPPER_EXTENSION: app
SDKROOT: iphoneos
Base Configuration: Pods.xcconfig
Build Phases: Build Phases:
- Check Pods Manifest.lock: [] - Check Pods Manifest.lock: []
- SourcesBuildPhase: - SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
...@@ -92,56 +60,86 @@ Targets: ...@@ -92,56 +60,86 @@ Targets:
- Default@2x.png - Default@2x.png
- Default-568h@2x.png - Default-568h@2x.png
- Copy Pods Resources: [] - Copy Pods Resources: []
Build Configurations:
- Debug:
Build Settings:
WRAPPER_EXTENSION: app
FRAMEWORK_SEARCH_PATHS:
- $(inherited)
- '"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"'
IPHONEOS_DEPLOYMENT_TARGET: '6.1'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: iOS App/iOS App-Info.plist
SDKROOT: iphoneos
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Release:
Build Settings:
VALIDATE_PRODUCT: 'YES'
WRAPPER_EXTENSION: app
OTHER_CFLAGS: -DNS_BLOCK_ASSERTIONS=1
FRAMEWORK_SEARCH_PATHS:
- $(inherited)
- '"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"'
IPHONEOS_DEPLOYMENT_TARGET: '6.1'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: iOS App/iOS App-Info.plist
SDKROOT: iphoneos
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
Build Configurations: Build Configurations:
- Debug: - Debug:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++ CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_64_BIT) ONLY_ACTIVE_ARCH: 'YES'
CLANG_WARN_EMPTY_BODY: "YES" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
CLANG_WARN_INT_CONVERSION: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
GCC_WARN_UNUSED_VARIABLE: "YES"
GCC_OPTIMIZATION_LEVEL: "0"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
CLANG_WARN_ENUM_CONVERSION: "YES"
GCC_ENABLE_OBJC_EXCEPTIONS: "YES"
GCC_WARN_UNINITIALIZED_AUTOS: "YES"
ONLY_ACTIVE_ARCH: "YES"
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES"
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
ALWAYS_SEARCH_USER_PATHS: 'NO'
COPY_PHASE_STRIP: 'NO'
SDKROOT: macosx SDKROOT: macosx
GCC_DYNAMIC_NO_PIC: 'NO'
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++
GCC_WARN_UNUSED_VARIABLE: 'YES'
- Release: - Release:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "YES"
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
ARCHS: $(ARCHS_STANDARD_64_BIT) GCC_WARN_UNUSED_VARIABLE: 'YES'
CLANG_WARN_INT_CONVERSION: "YES"
CLANG_WARN_EMPTY_BODY: "YES"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_UNUSED_VARIABLE: "YES"
CLANG_WARN_ENUM_CONVERSION: "YES"
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
GCC_WARN_UNINITIALIZED_AUTOS: "YES" GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
GCC_ENABLE_OBJC_EXCEPTIONS: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES" MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
ARCHS: $(ARCHS_STANDARD_64_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
SDKROOT: macosx SDKROOT: macosx
COPY_PHASE_STRIP: 'YES'
CLANG_CXX_LIBRARY: libc++
...@@ -4,7 +4,7 @@ Analyzing dependencies ...@@ -4,7 +4,7 @@ Analyzing dependencies
Fetching external sources Fetching external sources
-> Pre-downloading: `PodTest` from `PodTest-hg-source` -> Pre-downloading: `PodTest` from `PodTest-hg-source`
> Mercurial download > Mercurial download
$ /opt/local/bin/hg clone "PodTest-hg-source" "ROOT/tmp/install_external_source/Pods/PodTest" $ /usr/local/bin/hg clone "PodTest-hg-source" "ROOT/tmp/install_external_source/Pods/PodTest"
updating to branch default updating to branch default
5 files updated, 0 files merged, 0 files removed, 0 files unresolved 5 files updated, 0 files merged, 0 files removed, 0 files unresolved
...@@ -27,12 +27,16 @@ Generating Pods project ...@@ -27,12 +27,16 @@ Generating Pods project
- Adding source files to Pods project - Adding source files to Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing targets - Installing libraries
- Installing target `Pods` iOS 4.3 - Installing target `Pods-PodTest` iOS 4.3
- Adding Build files - Adding Build files
- Generating public xcconfig file at `Pods/Pods-PodTest.xcconfig`
- Generating private xcconfig file at `Pods/Pods-PodTest-Private.xcconfig`
- Generating prefix header at `Pods/Pods-PodTest-prefix.pch`
- Generating dummy source file at `Pods/Pods-PodTest-dummy.m`
- Installing target `Pods` iOS 4.3
- Generating xcconfig file at `Pods/Pods.xcconfig` - Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target environment header at `Pods/Pods-environment.h` - Generating target environment header at `Pods/Pods-environment.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh` - Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist` - Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.markdown` - Generating acknowledgements at `Pods/Pods-acknowledgements.markdown`
...@@ -46,4 +50,4 @@ Integrating client project ...@@ -46,4 +50,4 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating `libPods.a` into target `iOS App` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-PodTest` into aggregate target Pods of project `SampleApp.xcodeproj`.
...@@ -11,4 +11,4 @@ EXTERNAL SOURCES: ...@@ -11,4 +11,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -11,4 +11,4 @@ EXTERNAL SOURCES: ...@@ -11,4 +11,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
#include "Pods-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_Reachability : NSObject
@end
@implementation PodsDummy_Pods_Reachability
@end
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
\ No newline at end of file
#include "Pods-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS} HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
...@@ -8,12 +8,17 @@ File References: ...@@ -8,12 +8,17 @@ File References:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods-Reachability.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch
- Pods-resources.sh - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
...@@ -23,76 +28,127 @@ File References: ...@@ -23,76 +28,127 @@ File References:
Targets: Targets:
- Pods: - Pods-Reachability:
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PODS_ROOT: ${SRCROOT} PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
ALWAYS_SEARCH_USER_PATHS: "NO" SDKROOT: iphoneos
COPY_PHASE_STRIP: "YES" VALIDATE_PRODUCT: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch
VALIDATE_PRODUCT: "YES"
ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "4.3"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME)
OTHER_CFLAGS: OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1 - -DNS_BLOCK_ASSERTIONS=1
- $(inherited) - $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS} SKIP_INSTALL: 'YES'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0 INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS: OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1 - -DNS_BLOCK_ASSERTIONS=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: "YES" ALWAYS_SEARCH_USER_PATHS: 'NO'
OTHER_LDFLAGS: "" GCC_VERSION: com.apple.compilers.llvm.clang.1_0
DSTROOT: /tmp/xcodeproj.dst ARCHS: $(ARCHS_STANDARD_32_BIT)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
SDKROOT: iphoneos OTHER_LDFLAGS: ''
Base Configuration: Pods.xcconfig IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
PODS_ROOT: ${SRCROOT} OTHER_LDFLAGS: ''
GCC_DYNAMIC_NO_PIC: "NO"
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
GCC_PREFIX_HEADER: Pods-prefix.pch
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "4.3"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
GCC_OPTIMIZATION_LEVEL: "0"
GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS}
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
OTHER_LDFLAGS: ""
DSTROOT: /tmp/xcodeproj.dst
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SDKROOT: iphoneos SDKROOT: iphoneos
Base Configuration: Pods.xcconfig GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
ARCHS: $(ARCHS_STANDARD_32_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods-Reachability-Private.xcconfig
- Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m
- Pods-dummy.m - Pods-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-Reachability.a
- Reachability.h Build Configurations:
- Release:
Build Settings:
SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ARCHS: $(ARCHS_STANDARD_32_BIT)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES'
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO'
OTHER_LDFLAGS: ''
Base Configuration: Pods.xcconfig
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: "4.3" IPHONEOS_DEPLOYMENT_TARGET: '4.3'
- Debug: - Debug:
Build Settings: Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: "4.3" IPHONEOS_DEPLOYMENT_TARGET: '4.3'
...@@ -44,40 +44,8 @@ File References: ...@@ -44,40 +44,8 @@ File References:
Targets: Targets:
- iOS App: - iOS App:
Build Configurations:
- Debug:
Build Settings:
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
IPHONEOS_DEPLOYMENT_TARGET: "6.1"
FRAMEWORK_SEARCH_PATHS:
- $(inherited)
- "\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\""
PRODUCT_NAME: $(TARGET_NAME)
INFOPLIST_FILE: iOS App/iOS App-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
WRAPPER_EXTENSION: app
SDKROOT: iphoneos
Base Configuration: Pods.xcconfig
- Release:
Build Settings:
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
VALIDATE_PRODUCT: "YES"
IPHONEOS_DEPLOYMENT_TARGET: "6.1"
FRAMEWORK_SEARCH_PATHS:
- $(inherited)
- "\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\""
PRODUCT_NAME: $(TARGET_NAME)
OTHER_CFLAGS: -DNS_BLOCK_ASSERTIONS=1
INFOPLIST_FILE: iOS App/iOS App-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
WRAPPER_EXTENSION: app
SDKROOT: iphoneos
Base Configuration: Pods.xcconfig
Build Phases: Build Phases:
- Check Pods Manifest.lock: [] - Check Pods Manifest.lock: []
- SourcesBuildPhase: - SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
...@@ -92,56 +60,86 @@ Targets: ...@@ -92,56 +60,86 @@ Targets:
- Default@2x.png - Default@2x.png
- Default-568h@2x.png - Default-568h@2x.png
- Copy Pods Resources: [] - Copy Pods Resources: []
Build Configurations:
- Debug:
Build Settings:
WRAPPER_EXTENSION: app
FRAMEWORK_SEARCH_PATHS:
- $(inherited)
- '"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"'
IPHONEOS_DEPLOYMENT_TARGET: '6.1'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: iOS App/iOS App-Info.plist
SDKROOT: iphoneos
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Release:
Build Settings:
VALIDATE_PRODUCT: 'YES'
WRAPPER_EXTENSION: app
OTHER_CFLAGS: -DNS_BLOCK_ASSERTIONS=1
FRAMEWORK_SEARCH_PATHS:
- $(inherited)
- '"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"'
IPHONEOS_DEPLOYMENT_TARGET: '6.1'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: iOS App/iOS App-Info.plist
SDKROOT: iphoneos
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
Build Configurations: Build Configurations:
- Debug: - Debug:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++ CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_64_BIT) ONLY_ACTIVE_ARCH: 'YES'
CLANG_WARN_EMPTY_BODY: "YES" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
CLANG_WARN_INT_CONVERSION: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
GCC_WARN_UNUSED_VARIABLE: "YES"
GCC_OPTIMIZATION_LEVEL: "0"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
CLANG_WARN_ENUM_CONVERSION: "YES"
GCC_ENABLE_OBJC_EXCEPTIONS: "YES"
GCC_WARN_UNINITIALIZED_AUTOS: "YES"
ONLY_ACTIVE_ARCH: "YES"
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES"
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_C_LANGUAGE_STANDARD: gnu99
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
ALWAYS_SEARCH_USER_PATHS: 'NO'
COPY_PHASE_STRIP: 'NO'
SDKROOT: macosx SDKROOT: macosx
GCC_DYNAMIC_NO_PIC: 'NO'
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++
GCC_WARN_UNUSED_VARIABLE: 'YES'
- Release: - Release:
Build Settings: Build Settings:
CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "YES"
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
ARCHS: $(ARCHS_STANDARD_64_BIT) GCC_WARN_UNUSED_VARIABLE: 'YES'
CLANG_WARN_INT_CONVERSION: "YES"
CLANG_WARN_EMPTY_BODY: "YES"
GCC_WARN_ABOUT_RETURN_TYPE: "YES"
MACOSX_DEPLOYMENT_TARGET: "10.8"
GCC_WARN_UNUSED_VARIABLE: "YES"
CLANG_WARN_ENUM_CONVERSION: "YES"
CLANG_WARN_CONSTANT_CONVERSION: "YES"
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
GCC_WARN_UNINITIALIZED_AUTOS: "YES" GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
GCC_ENABLE_OBJC_EXCEPTIONS: "YES" GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
CLANG_WARN__DUPLICATE_METHOD_MATCH: "YES" MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
GCC_WARN_64_TO_32_BIT_CONVERSION: "YES" CLANG_WARN_INT_CONVERSION: 'YES'
CLANG_WARN_CONSTANT_CONVERSION: 'YES'
ARCHS: $(ARCHS_STANDARD_64_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
SDKROOT: macosx SDKROOT: macosx
COPY_PHASE_STRIP: 'YES'
CLANG_CXX_LIBRARY: libc++
...@@ -21,12 +21,16 @@ Generating Pods project ...@@ -21,12 +21,16 @@ Generating Pods project
- Adding source files to Pods project - Adding source files to Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing targets - Installing libraries
- Installing target `Pods` iOS 4.3 - Installing target `Pods-Reachability` iOS 4.3
- Adding Build files - Adding Build files
- Generating public xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating private xcconfig file at `Pods/Pods-Reachability-Private.xcconfig`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Installing target `Pods` iOS 4.3
- Generating xcconfig file at `Pods/Pods.xcconfig` - Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target environment header at `Pods/Pods-environment.h` - Generating target environment header at `Pods/Pods-environment.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh` - Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist` - Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.markdown` - Generating acknowledgements at `Pods/Pods-acknowledgements.markdown`
...@@ -40,6 +44,6 @@ Integrating client project ...@@ -40,6 +44,6 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating `libPods.a` into target `iOS App` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-Reachability` into aggregate target Pods of project `SampleApp.xcodeproj`.
[!] The `:local` option of the Podfile has been renamed to `:path` and is deprecated. [!] The `:local` option of the Podfile has been renamed to `:path` and is deprecated.
...@@ -10,4 +10,4 @@ SPEC CHECKSUMS: ...@@ -10,4 +10,4 @@ SPEC CHECKSUMS:
JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601 JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -10,4 +10,4 @@ SPEC CHECKSUMS: ...@@ -10,4 +10,4 @@ SPEC CHECKSUMS:
JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601 JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
#include "Pods-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_Reachability : NSObject
@end
@implementation PodsDummy_Pods_Reachability
@end
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
\ No newline at end of file
#include "Pods-SampleApp_2-JSONKit"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/JSONKit" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC
PODS_ROOT = ${SRCROOT}
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_SampleApp_2_JSONKit : NSObject
@end
@implementation PodsDummy_Pods_SampleApp_2_JSONKit
@end
...@@ -3,4 +3,3 @@ ...@@ -3,4 +3,3 @@
#endif #endif
#import "Pods-SampleApp_2-environment.h" #import "Pods-SampleApp_2-environment.h"
#include "Pods-SampleApp_2-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability" "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_SampleApp_2_Reachability : NSObject
@end
@implementation PodsDummy_Pods_SampleApp_2_Reachability
@end
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-SampleApp_2-environment.h"
PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
\ No newline at end of file
#include "Pods-SampleApp_2-JSONKit"
#include "Pods-SampleApp_2-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS} HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/JSONKit" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment