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)
......
...@@ -329,11 +329,18 @@ namespace :examples do ...@@ -329,11 +329,18 @@ namespace :examples do
execute_command "rm -rf Pods DerivedData" execute_command "rm -rf Pods DerivedData"
execute_command "#{'../../bin/' unless ENV['FROM_GEM']}sandbox-pod install --verbose --no-repo-update" execute_command "#{'../../bin/' unless ENV['FROM_GEM']}sandbox-pod install --verbose --no-repo-update"
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.
command << " -sdk " xcode_version = `xcodebuild -version`.scan(/Xcode (.*)\n/).first.first
command << Dir.glob("#{`xcode-select -print-path`.chomp}/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk").last major_version = xcode_version.split('.').first.to_i
end destination_flag_supported = major_version > 4
if destination_flag_supported
command << " -destination 'platform=iOS Simulator,name=iPhone'"
else
command << " -sdk "
command << Dir.glob("#{`xcode-select -print-path`.chomp}/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator*.sdk").last
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)
...@@ -153,7 +94,7 @@ module Pod ...@@ -153,7 +94,7 @@ module Pod
] ]
# Adds the search paths of the developer frameworks to the specification # Adds the search paths of the developer frameworks to the specification
# if needed. This is done because the `SenTestingKit` requires them and # if needed. This is done because the `SenTestingKit` requires them and
# adding them to each specification which requires it is repetitive and # adding them to each specification which requires it is repetitive and
# error prone. # error prone.
# #
......
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
......
...@@ -28,11 +28,13 @@ module Pod ...@@ -28,11 +28,13 @@ module Pod
# #
class Installer class Installer
autoload :Analyzer, 'cocoapods/installer/analyzer' autoload :Analyzer, 'cocoapods/installer/analyzer'
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 :UserProjectIntegrator, 'cocoapods/installer/user_project_integrator' 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'
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 = []
end target.user_build_configurations = {}
lib.client_root = config.installation_root end
lib.user_target_uuids = []
lib.user_build_configurations = {} grouped_specs = specs.map do |spec|
lib.platform = target_definition.platform specs.select { |s| s.root == spec.root }
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,18 +107,19 @@ module Pod ...@@ -107,18 +107,19 @@ 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|
sandbox.public_headers.add_files(namespaced_path, files) sandbox.public_headers.add_files(namespaced_path, files)
end
end end
end end
end end
......
...@@ -24,30 +24,10 @@ module Pod ...@@ -24,30 +24,10 @@ module Pod
@library = library @library = library
end end
# Creates the target in the Pods project and the relative support files. private
#
# @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_target_environment_header
create_prefix_header
create_bridge_support_file
create_copy_resources_script
create_acknowledgements
create_dummy_source
end
end
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
private
# @!group Installation steps # @!group Installation steps
# Adds the target for the library to the Pods project with the # Adds the target for the library to the Pods project with the
...@@ -55,11 +35,6 @@ module Pod ...@@ -55,11 +35,6 @@ module Pod
# #
# @note The `PODS_HEADERS_SEARCH_PATHS` overrides the xcconfig. # @note The `PODS_HEADERS_SEARCH_PATHS` overrides the xcconfig.
# #
# @todo CocoaPods 0.16 used to add the build configurations to the build
# configuration list of the project (`root object`) as well with
# an empty build settings. This behaviour was changed in 0.17.
# Restore if needed.
#
# @return [void] # @return [void]
# #
def add_target def add_target
...@@ -89,154 +64,13 @@ module Pod ...@@ -89,154 +64,13 @@ module Pod
library.target = @target library.target = @target
end end
# 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
# Creates the group that holds the references to the support files # Creates the group that holds the references to the support files
# generated by this installer. # generated by this installer.
# #
# @return [void] # @return [void]
# #
def create_suport_files_group def create_suport_files_group
name = target_definition.label @support_files_group = project.support_files_group.new_group(library.name)
@support_files_group = project.support_files_group.new_group(name)
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 xcconfig file at #{UI.path(path)}" do
gen = Generator::XCConfig.new(sandbox, spec_consumers, library.relative_pods_root)
gen.set_arc_compatibility_flag = target_definition.podfile.set_arc_compatibility_flag?
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
Generator::XCConfig.pods_project_settings.each do |key, value|
c.build_settings[key] = value
end
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.specs)
generator.save_as(path)
add_file_to_support_group(path)
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
# 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
resources = library.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
generator = generator_class.new(library.file_accessors)
generator.save_as(path)
add_file_to_support_group(path)
end
end
end end
# Generates a dummy source file for each target so libraries that contain # Generates a dummy source file for each target so libraries that contain
...@@ -254,10 +88,6 @@ module Pod ...@@ -254,10 +88,6 @@ module Pod
end end
end end
#-----------------------------------------------------------------------#
private
# @return [PBXNativeTarget] the target generated by the installation # @return [PBXNativeTarget] the target generated by the installation
# process. # process.
# #
...@@ -265,6 +95,10 @@ module Pod ...@@ -265,6 +95,10 @@ module Pod
# #
attr_reader :target attr_reader :target
private
#-----------------------------------------------------------------------#
# @!group Private helpers. # @!group Private helpers.
# @return [Project] the Pods project of the sandbox. # @return [Project] the Pods project of the sandbox.
...@@ -279,24 +113,11 @@ module Pod ...@@ -279,24 +113,11 @@ module Pod
library.target_definition library.target_definition
end end
# @return [Specification::Consumer] the consumer for the specifications.
#
def spec_consumers
@spec_consumers ||= library.file_accessors.map(&:spec_consumer)
end
# @return [PBXGroup] the group where the file references to the support # @return [PBXGroup] the group where the file references to the support
# files should be stored. # files should be stored.
# #
attr_reader :support_files_group attr_reader :support_files_group
# @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
# Adds a reference to the given file in the support group of this target. # Adds a reference to the given file in the support group of this target.
# #
# @param [Pathname] path # @param [Pathname] path
...@@ -309,62 +130,6 @@ module Pod ...@@ -309,62 +130,6 @@ module Pod
support_files_group.new_file(relative_path) support_files_group.new_file(relative_path)
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
......
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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Pods: - Pods:
- JSONKit: - JSONKit:
- JSONKit.h - JSONKit.h
- JSONKit.m - JSONKit.m
- Reachability: - Reachability:
- 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: - 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.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
...@@ -24,80 +35,189 @@ File References: ...@@ -24,80 +35,189 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-JSONKit:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - JSONKit.m
PODS_ROOT: ${SRCROOT} - Pods-JSONKit-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Foundation.framework
GCC_PREFIX_HEADER: Pods-prefix.pch - HeadersBuildPhase:
VALIDATE_PRODUCT: "YES" - JSONKit.h
ARCHS: $(ARCHS_STANDARD_32_BIT) Build Configurations:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" - Release:
SKIP_INSTALL: "YES" Build Settings:
PRODUCT_NAME: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
OTHER_CFLAGS: SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-JSONKit-prefix.pch
Base Configuration: Pods-JSONKit-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
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-JSONKit-prefix.pch
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
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) ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "6.0"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
GCC_OPTIMIZATION_LEVEL: "0" 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)
SDKROOT: iphoneos
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)
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_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PRECOMPILE_PREFIX_HEADER: "YES" GCC_PREPROCESSOR_DEFINITIONS:
OTHER_LDFLAGS: "" - 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:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-JSONKit.a
- libPods-Reachability.a
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 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) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SDKROOT: iphoneos 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 Base Configuration: Pods.xcconfig
Build Phases:
- SourcesBuildPhase:
- JSONKit.m
- Reachability.m
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- JSONKit.h
- Reachability.h
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'
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods.xcconfig - Pods.xcconfig
Targets: Targets:
- SampleApp: - SampleApp:
Build Configurations: Build Phases:
- Debug: - SourcesBuildPhase:
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:
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Pods: - Pods:
- Reachability: - Reachability:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods-SampleApp_1-Reachability.a
- libPods-SampleApp_2-Reachability.a
- libPods-SampleApp_1.a - libPods-SampleApp_1.a
- libPods-SampleApp_2.a - libPods-SampleApp_2.a
- Targets Support Files: - Targets Support Files:
- Pods-SampleApp_1: - Pods-SampleApp_1-Reachability:
- Pods-SampleApp_1-Reachability.xcconfig
- Pods-SampleApp_1-Reachability-Private.xcconfig
- Pods-SampleApp_1-Reachability-prefix.pch
- Pods-SampleApp_1-Reachability-dummy.m
- Pods-SampleApp_2-Reachability:
- Pods-SampleApp_2-Reachability.xcconfig
- Pods-SampleApp_2-Reachability-Private.xcconfig
- Pods-SampleApp_2-Reachability-prefix.pch
- Pods-SampleApp_2-Reachability-dummy.m
- Pods-SampleApp_1:
- Pods-SampleApp_1.xcconfig - Pods-SampleApp_1.xcconfig
- Pods-SampleApp_1-environment.h - Pods-SampleApp_1-environment.h
- Pods-SampleApp_1-prefix.pch
- Pods-SampleApp_1-resources.sh - Pods-SampleApp_1-resources.sh
- Pods-SampleApp_1-acknowledgements.plist - Pods-SampleApp_1-acknowledgements.plist
- Pods-SampleApp_1-acknowledgements.markdown - Pods-SampleApp_1-acknowledgements.markdown
- Pods-SampleApp_1-dummy.m - Pods-SampleApp_1-dummy.m
- Pods-SampleApp_2: - Pods-SampleApp_2:
- Pods-SampleApp_2.xcconfig - Pods-SampleApp_2.xcconfig
- Pods-SampleApp_2-environment.h - Pods-SampleApp_2-environment.h
- Pods-SampleApp_2-prefix.pch
- Pods-SampleApp_2-resources.sh - Pods-SampleApp_2-resources.sh
- Pods-SampleApp_2-acknowledgements.plist - Pods-SampleApp_2-acknowledgements.plist
- Pods-SampleApp_2-acknowledgements.markdown - Pods-SampleApp_2-acknowledgements.markdown
...@@ -30,141 +40,243 @@ File References: ...@@ -30,141 +40,243 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods-SampleApp_1: - Pods-SampleApp_1-Reachability:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - Reachability.m
PODS_ROOT: ${SRCROOT} - Pods-SampleApp_1-Reachability-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Foundation.framework
GCC_PREFIX_HEADER: Pods-SampleApp_1-prefix.pch - HeadersBuildPhase:
VALIDATE_PRODUCT: "YES" - Reachability.h
ARCHS: $(ARCHS_STANDARD_32_BIT) Build Configurations:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" - Release:
SKIP_INSTALL: "YES" Build Settings:
PRODUCT_NAME: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
OTHER_CFLAGS: SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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
OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
OTHER_LDFLAGS: ""
DSTROOT: /tmp/xcodeproj.dst
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SDKROOT: iphoneos DSTROOT: /tmp/xcodeproj.dst
Base Configuration: Pods-SampleApp_1.xcconfig OTHER_CPLUSPLUSFLAGS:
- Debug: - -DNS_BLOCK_ASSERTIONS=1
Build Settings:
PODS_ROOT: ${SRCROOT}
GCC_DYNAMIC_NO_PIC: "NO"
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
GCC_PREFIX_HEADER: Pods-SampleApp_1-prefix.pch
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited) - $(inherited)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ARCHS: $(ARCHS_STANDARD_32_BIT) ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "6.0"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
GCC_OPTIMIZATION_LEVEL: "0" GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
GCC_C_LANGUAGE_STANDARD: gnu99 OTHER_LDFLAGS: ''
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS} IPHONEOS_DEPLOYMENT_TARGET: '6.0'
GCC_SYMBOLS_PRIVATE_EXTERN: "NO" COPY_PHASE_STRIP: 'YES'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0 GCC_PREFIX_HEADER: Pods-SampleApp_1-Reachability-prefix.pch
GCC_PRECOMPILE_PREFIX_HEADER: "YES" Base Configuration: Pods-SampleApp_1-Reachability-Private.xcconfig
OTHER_LDFLAGS: "" - Debug:
DSTROOT: /tmp/xcodeproj.dst 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-SampleApp_1.xcconfig GCC_C_LANGUAGE_STANDARD: gnu99
Build Phases: SKIP_INSTALL: 'YES'
- SourcesBuildPhase: 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-SampleApp_1-Reachability-prefix.pch
Base Configuration: Pods-SampleApp_1-Reachability-Private.xcconfig
- Pods-SampleApp_2-Reachability:
Build Phases:
- SourcesBuildPhase:
- Reachability.m - Reachability.m
- Pods-SampleApp_1-dummy.m - Pods-SampleApp_2-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - HeadersBuildPhase:
- Reachability.h - Reachability.h
- Pods-SampleApp_2: Build Configurations:
Build Configurations: - Release:
- Release: Build Settings:
Build Settings: PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
PODS_ROOT: ${SRCROOT} SDKROOT: iphoneos
ALWAYS_SEARCH_USER_PATHS: "NO" VALIDATE_PRODUCT: 'YES'
COPY_PHASE_STRIP: "YES" OTHER_CFLAGS:
GCC_PREFIX_HEADER: Pods-SampleApp_2-prefix.pch
VALIDATE_PRODUCT: "YES"
ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "6.0"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME)
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch
Base Configuration: Pods-SampleApp_2-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-SampleApp_2.xcconfig GCC_C_LANGUAGE_STANDARD: gnu99
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-SampleApp_2-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch
Base Configuration: Pods-SampleApp_2-Reachability-Private.xcconfig
- Pods-SampleApp_1:
Build Phases:
- SourcesBuildPhase:
- Pods-SampleApp_1-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-SampleApp_1-Reachability.a
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) ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "6.0"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
GCC_OPTIMIZATION_LEVEL: "0" 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-SampleApp_1.xcconfig
- Debug:
Build Settings:
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
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)
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 GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PRECOMPILE_PREFIX_HEADER: "YES" ALWAYS_SEARCH_USER_PATHS: 'NO'
OTHER_LDFLAGS: "" 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-SampleApp_1.xcconfig
- Pods-SampleApp_2:
Build Phases:
- SourcesBuildPhase:
- Pods-SampleApp_2-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-SampleApp_2-Reachability.a
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 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-SampleApp_2.xcconfig
- Debug:
Build Settings:
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
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-SampleApp_2.xcconfig Base Configuration: Pods-SampleApp_2.xcconfig
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- Pods-SampleApp_2-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
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'
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods-SampleApp_1.a - libPods-SampleApp_1.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods-SampleApp_1.xcconfig - Pods-SampleApp_1.xcconfig
Targets: Targets:
- SampleApp_1: - SampleApp_1:
Build Configurations: Build Phases:
- Debug: - SourcesBuildPhase:
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:
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods-SampleApp_1.a - libPods-SampleApp_1.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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++
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods-SampleApp_2.a - libPods-SampleApp_2.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods-SampleApp_2.xcconfig - Pods-SampleApp_2.xcconfig
Targets: Targets:
- SampleApp_2: - SampleApp_2:
Build Configurations: Build Phases:
- Debug: - SourcesBuildPhase:
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:
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods-SampleApp_2.a - libPods-SampleApp_2.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- Pods: - Pods:
- PodTest: - PodTest:
- subspec_1: - subspec_1:
- subspec_1.h - subspec_1.h
- subspec_1.m - subspec_1.m
- subspec_2: - subspec_2:
- 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: - Pods-PodTest:
- Pods-PodTest.xcconfig
- Pods-PodTest-Private.xcconfig
- Pods-PodTest-prefix.pch
- Pods-PodTest-dummy.m
- 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
...@@ -24,80 +29,131 @@ File References: ...@@ -24,80 +29,131 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-PodTest:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - subspec_1.m
PODS_ROOT: ${SRCROOT} - subspec_2.m
ALWAYS_SEARCH_USER_PATHS: "NO" - Pods-PodTest-dummy.m
COPY_PHASE_STRIP: "YES" - FrameworksBuildPhase:
GCC_PREFIX_HEADER: Pods-prefix.pch - Foundation.framework
VALIDATE_PRODUCT: "YES" - HeadersBuildPhase:
ARCHS: $(ARCHS_STANDARD_32_BIT) - subspec_1.h
IPHONEOS_DEPLOYMENT_TARGET: "4.3" - subspec_2.h
SKIP_INSTALL: "YES" Build Configurations:
PRODUCT_NAME: $(TARGET_NAME) - Release:
OTHER_CFLAGS: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-PodTest-prefix.pch
Base Configuration: Pods-PodTest-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
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_32_BIT) GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: "4.3" IPHONEOS_DEPLOYMENT_TARGET: '4.3'
SKIP_INSTALL: "YES" COPY_PHASE_STRIP: 'NO'
PRODUCT_NAME: $(TARGET_NAME) GCC_PREFIX_HEADER: Pods-PodTest-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-PodTest-Private.xcconfig
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-PodTest.a
Build Configurations:
- Release:
Build Settings:
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: '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) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SDKROOT: iphoneos 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 Base Configuration: Pods.xcconfig
Build Phases:
- SourcesBuildPhase:
- subspec_1.m
- subspec_2.m
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- subspec_1.h
- subspec_2.h
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'
File References: File References:
- iOS App: - iOS App:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- Supporting Files: - Supporting Files:
- iOS App-Info.plist - iOS App-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- iOS App-Prefix.pch - iOS App-Prefix.pch
- Default.png - Default.png
- Default@2x.png - Default@2x.png
- Default-568h@2x.png - Default-568h@2x.png
- OS X App: - OS X App:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- OS X App-Info.plist - OS X App-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- OS X App-Prefix.pch - OS X App-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- SenTestingKit.framework - SenTestingKit.framework
- UIKit.framework - UIKit.framework
- Foundation.framework - Foundation.framework
- CoreGraphics.framework - CoreGraphics.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- Products: - Products:
- iOS App.app - iOS App.app
- Pods.xcconfig - Pods.xcconfig
Targets:
- 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:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: Targets:
- iOS App:
Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- UIKit.framework - UIKit.framework
- Foundation.framework - Foundation.framework
- CoreGraphics.framework - CoreGraphics.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- Default.png - Default.png
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Local Pods: - Local Pods:
- Reachability: - Reachability:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods-Reachability.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods: - Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- 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
...@@ -21,78 +26,129 @@ File References: ...@@ -21,78 +26,129 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - Reachability.m
PODS_ROOT: ${SRCROOT} - Pods-Reachability-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Foundation.framework
GCC_PREFIX_HEADER: Pods-prefix.pch - HeadersBuildPhase:
VALIDATE_PRODUCT: "YES" - Reachability.h
ARCHS: $(ARCHS_STANDARD_32_BIT) Build Configurations:
IPHONEOS_DEPLOYMENT_TARGET: "4.3" - Release:
SKIP_INSTALL: "YES" Build Settings:
PRODUCT_NAME: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
OTHER_CFLAGS: SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
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
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_32_BIT) GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: "4.3" IPHONEOS_DEPLOYMENT_TARGET: '4.3'
SKIP_INSTALL: "YES" COPY_PHASE_STRIP: 'NO'
PRODUCT_NAME: $(TARGET_NAME) GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-Reachability-Private.xcconfig
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-Reachability.a
Build Configurations:
- Release:
Build Settings:
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: '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) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SDKROOT: iphoneos 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 Base Configuration: Pods.xcconfig
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
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'
File References: File References:
- iOS App: - iOS App:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- Supporting Files: - Supporting Files:
- iOS App-Info.plist - iOS App-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- iOS App-Prefix.pch - iOS App-Prefix.pch
- Default.png - Default.png
- Default@2x.png - Default@2x.png
- Default-568h@2x.png - Default-568h@2x.png
- OS X App: - OS X App:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- OS X App-Info.plist - OS X App-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- OS X App-Prefix.pch - OS X App-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- SenTestingKit.framework - SenTestingKit.framework
- UIKit.framework - UIKit.framework
- Foundation.framework - Foundation.framework
- CoreGraphics.framework - CoreGraphics.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- Products: - Products:
- iOS App.app - iOS App.app
- Pods.xcconfig - Pods.xcconfig
Targets:
- 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:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: Targets:
- iOS App:
Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- UIKit.framework - UIKit.framework
- Foundation.framework - Foundation.framework
- CoreGraphics.framework - CoreGraphics.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- Default.png - Default.png
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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
#include "Pods-test-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_test_JSONKit : NSObject
@end
@implementation PodsDummy_Pods_test_JSONKit
@end
#include "Pods-test-JSONKit"
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 OTHER_LDFLAGS = -ObjC
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
#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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Pods: - Pods:
- Reachability: - Reachability:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- JSONKit: - JSONKit:
- JSONKit.h - JSONKit.h
- JSONKit.m - JSONKit.m
- Products: - Products:
- libPods-Reachability.a
- libPods-SampleApp_2-JSONKit.a
- libPods-SampleApp_2-Reachability.a
- libPods-test-JSONKit.a
- libPods.a - libPods.a
- libPods-SampleApp_2.a - libPods-SampleApp_2.a
- libPods-test.a - libPods-test.a
- Targets Support Files: - Targets Support Files:
- Pods: - Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- Pods-SampleApp_2-JSONKit:
- Pods-SampleApp_2-JSONKit.xcconfig
- Pods-SampleApp_2-JSONKit-Private.xcconfig
- Pods-SampleApp_2-JSONKit-prefix.pch
- Pods-SampleApp_2-JSONKit-dummy.m
- Pods-SampleApp_2-Reachability:
- Pods-SampleApp_2-Reachability.xcconfig
- Pods-SampleApp_2-Reachability-Private.xcconfig
- Pods-SampleApp_2-Reachability-prefix.pch
- Pods-SampleApp_2-Reachability-dummy.m
- Pods-test-JSONKit:
- Pods-test-JSONKit.xcconfig
- Pods-test-JSONKit-Private.xcconfig
- Pods-test-JSONKit-prefix.pch
- Pods-test-JSONKit-dummy.m
- 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
- Pods-dummy.m - Pods-dummy.m
- Pods-SampleApp_2: - Pods-SampleApp_2:
- Pods-SampleApp_2.xcconfig - Pods-SampleApp_2.xcconfig
- Pods-SampleApp_2-environment.h - Pods-SampleApp_2-environment.h
- Pods-SampleApp_2-prefix.pch
- Pods-SampleApp_2-resources.sh - Pods-SampleApp_2-resources.sh
- Pods-SampleApp_2-acknowledgements.plist - Pods-SampleApp_2-acknowledgements.plist
- Pods-SampleApp_2-acknowledgements.markdown - Pods-SampleApp_2-acknowledgements.markdown
- Pods-SampleApp_2-dummy.m - Pods-SampleApp_2-dummy.m
- Pods-test: - Pods-test:
- Pods-test.xcconfig - Pods-test.xcconfig
- Pods-test-environment.h - Pods-test-environment.h
- Pods-test-prefix.pch
- Pods-test-resources.sh - Pods-test-resources.sh
- Pods-test-acknowledgements.plist - Pods-test-acknowledgements.plist
- Pods-test-acknowledgements.markdown - Pods-test-acknowledgements.markdown
...@@ -42,206 +63,417 @@ File References: ...@@ -42,206 +63,417 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - Reachability.m
PODS_ROOT: ${SRCROOT} - Pods-Reachability-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Foundation.framework
GCC_PREFIX_HEADER: Pods-prefix.pch - HeadersBuildPhase:
VALIDATE_PRODUCT: "YES" - Reachability.h
ARCHS: $(ARCHS_STANDARD_32_BIT) Build Configurations:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" - Release:
SKIP_INSTALL: "YES" Build Settings:
PRODUCT_NAME: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
OTHER_CFLAGS: SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
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
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
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-Reachability-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-Reachability-Private.xcconfig
- Pods-SampleApp_2-JSONKit:
Build Phases:
- SourcesBuildPhase:
- JSONKit.m
- Pods-SampleApp_2-JSONKit-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- JSONKit.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-SampleApp_2-JSONKit-prefix.pch
Base Configuration: Pods-SampleApp_2-JSONKit-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
Build Phases: SKIP_INSTALL: 'YES'
- SourcesBuildPhase: 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-SampleApp_2-JSONKit-prefix.pch
Base Configuration: Pods-SampleApp_2-JSONKit-Private.xcconfig
- Pods-SampleApp_2-Reachability:
Build Phases:
- SourcesBuildPhase:
- Reachability.m - Reachability.m
- Pods-dummy.m - Pods-SampleApp_2-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - HeadersBuildPhase:
- Reachability.h - Reachability.h
- Pods-SampleApp_2: Build Configurations:
Build Configurations: - Release:
- Release: Build Settings:
Build Settings: PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
PODS_ROOT: ${SRCROOT} SDKROOT: iphoneos
ALWAYS_SEARCH_USER_PATHS: "NO" VALIDATE_PRODUCT: 'YES'
COPY_PHASE_STRIP: "YES" OTHER_CFLAGS:
GCC_PREFIX_HEADER: Pods-SampleApp_2-prefix.pch
VALIDATE_PRODUCT: "YES"
ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "6.0"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME)
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch
Base Configuration: Pods-SampleApp_2-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-SampleApp_2.xcconfig GCC_C_LANGUAGE_STANDARD: gnu99
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-SampleApp_2-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch
Base Configuration: Pods-SampleApp_2-Reachability-Private.xcconfig
- Pods-test-JSONKit:
Build Phases:
- SourcesBuildPhase:
- JSONKit.m
- Pods-test-JSONKit-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- JSONKit.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
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) ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "6.0"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
GCC_OPTIMIZATION_LEVEL: "0" GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-test-JSONKit-prefix.pch
Base Configuration: Pods-test-JSONKit-Private.xcconfig
- Debug:
Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
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)
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_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PRECOMPILE_PREFIX_HEADER: "YES" GCC_PREPROCESSOR_DEFINITIONS:
OTHER_LDFLAGS: "" - DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-test-JSONKit-prefix.pch
Base Configuration: Pods-test-JSONKit-Private.xcconfig
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-Reachability.a
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 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) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SDKROOT: iphoneos SDKROOT: iphoneos
Base Configuration: Pods-SampleApp_2.xcconfig GCC_C_LANGUAGE_STANDARD: gnu99
Build Phases: SKIP_INSTALL: 'YES'
- SourcesBuildPhase: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
- JSONKit.m DSTROOT: /tmp/xcodeproj.dst
- Reachability.m 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
- Pods-SampleApp_2:
Build Phases:
- SourcesBuildPhase:
- Pods-SampleApp_2-dummy.m - Pods-SampleApp_2-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-SampleApp_2-JSONKit.a
- JSONKit.h - libPods-SampleApp_2-Reachability.a
- Reachability.h Build Configurations:
- Pods-test: - Release:
Build Configurations: Build Settings:
- Release: SDKROOT: iphoneos
Build Settings: VALIDATE_PRODUCT: 'YES'
PODS_ROOT: ${SRCROOT} OTHER_CFLAGS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "YES"
GCC_PREFIX_HEADER: Pods-test-prefix.pch
VALIDATE_PRODUCT: "YES"
ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "6.0"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME)
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
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-SampleApp_2.xcconfig
- Debug:
Build Settings:
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-test.xcconfig GCC_C_LANGUAGE_STANDARD: gnu99
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
COPY_PHASE_STRIP: "NO" GCC_OPTIMIZATION_LEVEL: '0'
GCC_PREFIX_HEADER: Pods-test-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ALWAYS_SEARCH_USER_PATHS: 'NO'
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) OTHER_LDFLAGS: ''
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-SampleApp_2.xcconfig
- Pods-test:
Build Phases:
- SourcesBuildPhase:
- Pods-test-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-test-JSONKit.a
Build Configurations:
- Release:
Build Settings:
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'
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-test.xcconfig
- Debug:
Build Settings:
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
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-test.xcconfig Base Configuration: Pods-test.xcconfig
Build Phases:
- SourcesBuildPhase:
- JSONKit.m
- Pods-test-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- JSONKit.h
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'
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- SampleAppTests: - SampleAppTests:
- SampleAppTests.h - SampleAppTests.h
- SampleAppTests.m - SampleAppTests.m
- Supporting Files: - Supporting Files:
- SampleAppTests-Info.plist - SampleAppTests-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- SampleApp_2: - SampleApp_2:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp_2-Info.plist - SampleApp_2-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp_2-Prefix.pch - SampleApp_2-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- NonIntegrated: - NonIntegrated:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- NonIntegrated-Info.plist - NonIntegrated-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- NonIntegrated-Prefix.pch - NonIntegrated-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- SenTestingKit.framework - SenTestingKit.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- libPods-SampleApp_2.a - libPods-SampleApp_2.a
- libPods-test.a - libPods-test.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- SampleAppTests.octest - SampleAppTests.octest
- SampleApp_2.app - SampleApp_2.app
...@@ -66,196 +66,189 @@ File References: ...@@ -66,196 +66,189 @@ File References:
- Pods-test.xcconfig - Pods-test.xcconfig
Targets:
- 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:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: Targets:
- SampleApp:
Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- Credits.rtf - Credits.rtf
- MainMenu.xib - MainMenu.xib
- Copy Pods Resources: [] - Copy Pods Resources: []
Build Configurations:
- SampleAppTests: - Debug:
Build Configurations: Build Settings:
- Debug: WRAPPER_EXTENSION: app
Build Settings: COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
BUNDLE_LOADER: $(BUILT_PRODUCTS_DIR)/SampleApp.app/Contents/MacOS/SampleApp
FRAMEWORK_SEARCH_PATHS: "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\""
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES" Base Configuration: Pods.xcconfig
TEST_HOST: $(BUNDLE_LOADER) - Release:
INFOPLIST_FILE: SampleAppTests/SampleAppTests-Info.plist Build Settings:
GCC_PRECOMPILE_PREFIX_HEADER: "YES" WRAPPER_EXTENSION: app
WRAPPER_EXTENSION: octest COMBINE_HIDPI_IMAGES: 'YES'
Base Configuration: Pods-test.xcconfig GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
- Release: INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
Build Settings:
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
BUNDLE_LOADER: $(BUILT_PRODUCTS_DIR)/SampleApp.app/Contents/MacOS/SampleApp
FRAMEWORK_SEARCH_PATHS: "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\""
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES" Base Configuration: Pods.xcconfig
TEST_HOST: $(BUNDLE_LOADER) - SampleAppTests:
INFOPLIST_FILE: SampleAppTests/SampleAppTests-Info.plist Build Phases:
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
WRAPPER_EXTENSION: octest
Base Configuration: Pods-test.xcconfig
Build Phases:
- Check Pods Manifest.lock: [] - Check Pods Manifest.lock: []
- SourcesBuildPhase:
- SourcesBuildPhase:
- SampleAppTests.m - SampleAppTests.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- SenTestingKit.framework - SenTestingKit.framework
- Cocoa.framework - Cocoa.framework
- libPods-test.a - libPods-test.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- ShellScriptBuildPhase: [] - ShellScriptBuildPhase: []
- Copy Pods Resources: [] - Copy Pods Resources: []
Build Configurations:
- SampleApp_2: - Debug:
Build Configurations: Build Settings:
- Debug: WRAPPER_EXTENSION: octest
Build Settings: COMBINE_HIDPI_IMAGES: 'YES'
GCC_PREFIX_HEADER: SampleApp_2/SampleApp_2-Prefix.pch FRAMEWORK_SEARCH_PATHS: '"$(DEVELOPER_LIBRARY_DIR)/Frameworks"'
TEST_HOST: $(BUNDLE_LOADER)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleAppTests/SampleAppTests-Info.plist
BUNDLE_LOADER: $(BUILT_PRODUCTS_DIR)/SampleApp.app/Contents/MacOS/SampleApp
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES" Base Configuration: Pods-test.xcconfig
INFOPLIST_FILE: SampleApp_2/SampleApp_2-Info.plist - Release:
GCC_PRECOMPILE_PREFIX_HEADER: "YES" Build Settings:
WRAPPER_EXTENSION: app WRAPPER_EXTENSION: octest
Base Configuration: Pods-SampleApp_2.xcconfig COMBINE_HIDPI_IMAGES: 'YES'
- Release: FRAMEWORK_SEARCH_PATHS: '"$(DEVELOPER_LIBRARY_DIR)/Frameworks"'
Build Settings: TEST_HOST: $(BUNDLE_LOADER)
GCC_PREFIX_HEADER: SampleApp_2/SampleApp_2-Prefix.pch GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleAppTests/SampleAppTests-Info.plist
BUNDLE_LOADER: $(BUILT_PRODUCTS_DIR)/SampleApp.app/Contents/MacOS/SampleApp
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES" Base Configuration: Pods-test.xcconfig
INFOPLIST_FILE: SampleApp_2/SampleApp_2-Info.plist - SampleApp_2:
GCC_PRECOMPILE_PREFIX_HEADER: "YES" Build Phases:
WRAPPER_EXTENSION: app
Base Configuration: Pods-SampleApp_2.xcconfig
Build Phases:
- Check Pods Manifest.lock: [] - Check Pods Manifest.lock: []
- SourcesBuildPhase:
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods-SampleApp_2.a - libPods-SampleApp_2.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- Credits.rtf - Credits.rtf
- MainMenu.xib - MainMenu.xib
- Copy Pods Resources: [] - Copy Pods Resources: []
Build Configurations:
- NonIntegrated: - Debug:
Build Configurations: Build Settings:
- Debug:
Build Settings:
GCC_PREFIX_HEADER: NonIntegrated/NonIntegrated-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES"
INFOPLIST_FILE: NonIntegrated/NonIntegrated-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
WRAPPER_EXTENSION: app WRAPPER_EXTENSION: app
- Release: COMBINE_HIDPI_IMAGES: 'YES'
Build Settings: GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
GCC_PREFIX_HEADER: NonIntegrated/NonIntegrated-Prefix.pch INFOPLIST_FILE: SampleApp_2/SampleApp_2-Info.plist
GCC_PREFIX_HEADER: SampleApp_2/SampleApp_2-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES" Base Configuration: Pods-SampleApp_2.xcconfig
INFOPLIST_FILE: NonIntegrated/NonIntegrated-Info.plist - Release:
GCC_PRECOMPILE_PREFIX_HEADER: "YES" Build Settings:
WRAPPER_EXTENSION: app WRAPPER_EXTENSION: app
Build Phases: COMBINE_HIDPI_IMAGES: 'YES'
- SourcesBuildPhase: GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp_2/SampleApp_2-Info.plist
GCC_PREFIX_HEADER: SampleApp_2/SampleApp_2-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-SampleApp_2.xcconfig
- NonIntegrated:
Build Phases:
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- Credits.rtf - Credits.rtf
- MainMenu.xib - MainMenu.xib
Build Configurations:
- Debug:
Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: NonIntegrated/NonIntegrated-Info.plist
GCC_PREFIX_HEADER: NonIntegrated/NonIntegrated-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
- Release:
Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: NonIntegrated/NonIntegrated-Info.plist
GCC_PREFIX_HEADER: NonIntegrated/NonIntegrated-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
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" GCC_PREPROCESSOR_DEFINITIONS:
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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,37 +18,36 @@ Downloading dependencies ...@@ -18,37 +18,36 @@ 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" $ /usr/bin/git clone "CACHES_DIR/GitHub/de3e1c97c03ac13b29e7533beea2d2131589900f" "ROOT/tmp/install_multiple_targets/Pods/JSONKit"
"ROOT/tmp/install_multiple_targets/Pods/JSONKit"
Cloning into 'ROOT/tmp/install_multiple_targets/Pods/JSONKit'... Cloning into 'ROOT/tmp/install_multiple_targets/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'
-> 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_multiple_targets/Pods/Reachability/.git/ Initialized empty Git repository in ROOT/tmp/install_multiple_targets/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
...@@ -57,30 +56,48 @@ Generating Pods project ...@@ -57,30 +56,48 @@ 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-Reachability` iOS 6.0
- 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-SampleApp_2-JSONKit` iOS 6.0
- Adding Build files
- Generating public xcconfig file at `Pods/Pods-SampleApp_2-JSONKit.xcconfig`
- Generating private xcconfig file at `Pods/Pods-SampleApp_2-JSONKit-Private.xcconfig`
- Generating prefix header at `Pods/Pods-SampleApp_2-JSONKit-prefix.pch`
- Generating dummy source file at `Pods/Pods-SampleApp_2-JSONKit-dummy.m`
- Installing target `Pods-SampleApp_2-Reachability` iOS 6.0
- 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-test-JSONKit` iOS 6.0
- Adding Build files - Adding Build files
- Generating public xcconfig file at `Pods/Pods-test-JSONKit.xcconfig`
- Generating private xcconfig file at `Pods/Pods-test-JSONKit-Private.xcconfig`
- Generating prefix header at `Pods/Pods-test-JSONKit-prefix.pch`
- Generating dummy source file at `Pods/Pods-test-JSONKit-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`
- Generating dummy source file at `Pods/Pods-dummy.m` - Generating dummy source file at `Pods/Pods-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`
- Generating dummy source file at `Pods/Pods-SampleApp_2-dummy.m` - Generating dummy source file at `Pods/Pods-SampleApp_2-dummy.m`
- Installing target `Pods-test` iOS 6.0 - Installing target `Pods-test` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-test.xcconfig` - Generating xcconfig file at `Pods/Pods-test.xcconfig`
- Generating target environment header at `Pods/Pods-test-environment.h` - Generating target environment header at `Pods/Pods-test-environment.h`
- Generating prefix header at `Pods/Pods-test-prefix.pch`
- Generating copy resources script at `Pods/Pods-test-resources.sh` - Generating copy resources script at `Pods/Pods-test-resources.sh`
- Generating acknowledgements at `Pods/Pods-test-acknowledgements.plist` - Generating acknowledgements at `Pods/Pods-test-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-test-acknowledgements.markdown` - Generating acknowledgements at `Pods/Pods-test-acknowledgements.markdown`
...@@ -94,8 +111,8 @@ Integrating client project ...@@ -94,8 +111,8 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating `libPods.a` into target `SampleApp` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-Reachability` into aggregate target Pods of project `SampleApp.xcodeproj`.
Integrating `libPods-SampleApp_2.a` into target `SampleApp_2` of project `SampleApp.xcodeproj`. Integrating Pod targets `Pods-SampleApp_2-JSONKit and Pods-SampleApp_2-Reachability` into aggregate target Pods-SampleApp_2 of project `SampleApp.xcodeproj`.
Integrating `libPods-test.a` into target `SampleAppTests` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-test-JSONKit` into aggregate target Pods-test of project `SampleApp.xcodeproj`.
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
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/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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Pods: - Pods:
- Reachability: - Reachability:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods-Reachability.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods: - Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- 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
...@@ -21,78 +26,129 @@ File References: ...@@ -21,78 +26,129 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - Reachability.m
PODS_ROOT: ${SRCROOT} - Pods-Reachability-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Foundation.framework
GCC_PREFIX_HEADER: Pods-prefix.pch - HeadersBuildPhase:
VALIDATE_PRODUCT: "YES" - Reachability.h
ARCHS: $(ARCHS_STANDARD_32_BIT) Build Configurations:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" - Release:
SKIP_INSTALL: "YES" Build Settings:
PRODUCT_NAME: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
OTHER_CFLAGS: SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
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
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
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-Reachability-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-Reachability-Private.xcconfig
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-Reachability.a
Build Configurations:
- Release:
Build Settings:
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'
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
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
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 Base Configuration: Pods.xcconfig
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
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'
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods.xcconfig - Pods.xcconfig
Targets:
- 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:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: Targets:
- SampleApp:
Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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++
...@@ -12,21 +12,21 @@ Downloading dependencies ...@@ -12,21 +12,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_new/Pods/Reachability/.git/ Initialized empty Git repository in ROOT/tmp/install_new/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
...@@ -35,12 +35,16 @@ Generating Pods project ...@@ -35,12 +35,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 6.0 - 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`
...@@ -54,4 +58,4 @@ Integrating client project ...@@ -54,4 +58,4 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating `libPods.a` into target `SampleApp` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-Reachability` into aggregate target Pods of project `SampleApp.xcodeproj`.
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
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/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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Pods: - Pods:
- Reachability: - Reachability:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods-Reachability.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods: - Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- 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
...@@ -21,80 +26,131 @@ File References: ...@@ -21,80 +26,131 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - Reachability.m
PODS_ROOT: ${SRCROOT} - Pods-Reachability-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Foundation.framework
GCC_PREFIX_HEADER: Pods-prefix.pch - HeadersBuildPhase:
VALIDATE_PRODUCT: "YES" - Reachability.h
ARCHS: $(ARCHS_STANDARD_32_BIT) Build Configurations:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" - Release:
SKIP_INSTALL: "YES" Build Settings:
PRODUCT_NAME: $(TARGET_NAME) GCC_ENABLE_OBJC_GC: supported
OTHER_CFLAGS: PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
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:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) DSTROOT: /tmp/xcodeproj.dst
GCC_ENABLE_OBJC_GC: supported GCC_ENABLE_OBJC_GC: supported
SDKROOT: iphoneos GCC_PREPROCESSOR_DEFINITIONS:
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
PODS_ROOT: ${SRCROOT}
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 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_32_BIT) GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
IPHONEOS_DEPLOYMENT_TARGET: "6.0" GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
SKIP_INSTALL: "YES" GCC_OPTIMIZATION_LEVEL: '0'
PRODUCT_NAME: $(TARGET_NAME)
GCC_OPTIMIZATION_LEVEL: "0"
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS} OTHER_LDFLAGS: ''
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
GCC_VERSION: com.apple.compilers.llvm.clang.1_0 GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PRECOMPILE_PREFIX_HEADER: "YES" ALWAYS_SEARCH_USER_PATHS: 'NO'
OTHER_LDFLAGS: "" SDKROOT: iphoneos
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
COPY_PHASE_STRIP: 'NO'
PRODUCT_NAME: $(TARGET_NAME)
GCC_DYNAMIC_NO_PIC: 'NO'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
ARCHS: $(ARCHS_STANDARD_32_BIT)
SKIP_INSTALL: 'YES'
Base Configuration: Pods-Reachability-Private.xcconfig
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-Reachability.a
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 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) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
GCC_ENABLE_OBJC_GC: supported
SDKROOT: iphoneos 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 Base Configuration: Pods.xcconfig
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
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'
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods.xcconfig - Pods.xcconfig
Targets:
- 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:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: Targets:
- SampleApp:
Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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++
...@@ -12,21 +12,21 @@ Downloading dependencies ...@@ -12,21 +12,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_podfile_callbacks/Pods/Reachability/.git/ Initialized empty Git repository in ROOT/tmp/install_podfile_callbacks/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
- Podfile - Podfile
...@@ -36,12 +36,16 @@ Generating Pods project ...@@ -36,12 +36,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 6.0 - 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`
...@@ -56,6 +60,6 @@ Integrating client project ...@@ -56,6 +60,6 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating `libPods.a` into target `SampleApp` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-Reachability` into aggregate target Pods of project `SampleApp.xcodeproj`.
[!] Podfile#config is deprecated. The config is accessible from the parameter passed to the hooks [!] Podfile#config is deprecated. The config is accessible from the parameter passed to the hooks
PODS:Reachability (3.1.0) TARGETS:Pods PODS:Reachability (3.1.0) TARGETS:Pods-Reachability
...@@ -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
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Pods: - Pods:
- Reachability: - Reachability:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods-Reachability.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods: - Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- 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
...@@ -21,78 +26,129 @@ File References: ...@@ -21,78 +26,129 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - Reachability.m
PODS_ROOT: ${SRCROOT} - Pods-Reachability-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Foundation.framework
GCC_PREFIX_HEADER: Pods-prefix.pch - HeadersBuildPhase:
VALIDATE_PRODUCT: "YES" - Reachability.h
ARCHS: $(ARCHS_STANDARD_32_BIT) Build Configurations:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" - Release:
SKIP_INSTALL: "YES" Build Settings:
PRODUCT_NAME: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
OTHER_CFLAGS: SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
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
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
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-Reachability-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-Reachability-Private.xcconfig
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-Reachability.a
Build Configurations:
- Release:
Build Settings:
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'
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
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
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 Base Configuration: Pods.xcconfig
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
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'
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods.xcconfig - Pods.xcconfig
Targets:
- 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:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: Targets:
- SampleApp:
Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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++
...@@ -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_podspec/Pods/Reachability/.git/ Initialized empty Git repository in ROOT/tmp/install_podspec/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,12 +38,16 @@ Generating Pods project ...@@ -38,12 +38,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 6.0 - 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`
...@@ -57,4 +61,4 @@ Integrating client project ...@@ -57,4 +61,4 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating `libPods.a` into target `SampleApp` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-Reachability` into aggregate target Pods of project `SampleApp.xcodeproj`.
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
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/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
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
\ No newline at end of file
# Acknowledgements
This application makes use of the following third party libraries:
## Reachability
Copyright (c) 2011, Tony Million.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Generated by CocoaPods - http://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Copyright (c) 2011, Tony Million.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</string>
<key>Title</key>
<string>Reachability</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
#ifdef __OBJC__ #ifdef __OBJC__
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-environment.h"
#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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Pods: - Pods:
- Reachability: - Reachability:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods-Reachability.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods: - Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- 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
...@@ -21,78 +26,129 @@ File References: ...@@ -21,78 +26,129 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - Reachability.m
PODS_ROOT: ${SRCROOT} - Pods-Reachability-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Foundation.framework
GCC_PREFIX_HEADER: Pods-prefix.pch - HeadersBuildPhase:
VALIDATE_PRODUCT: "YES" - Reachability.h
ARCHS: $(ARCHS_STANDARD_32_BIT) Build Configurations:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" - Release:
SKIP_INSTALL: "YES" Build Settings:
PRODUCT_NAME: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
OTHER_CFLAGS: SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
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
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
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-Reachability-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-Reachability-Private.xcconfig
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-Reachability.a
Build Configurations:
- Release:
Build Settings:
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'
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
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
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 Base Configuration: Pods.xcconfig
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
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'
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods.xcconfig - Pods.xcconfig
Targets: Targets:
- SampleApp: - SampleApp:
Build Configurations: Build Phases:
- Debug: - SourcesBuildPhase:
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:
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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++
...@@ -25,12 +25,16 @@ Generating Pods project ...@@ -25,12 +25,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 6.0 - 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`
......
...@@ -11,4 +11,4 @@ EXTERNAL SOURCES: ...@@ -11,4 +11,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: c1e48cc25f8e7cba878c83ad1981d334ef325522 Reachability: c1e48cc25f8e7cba878c83ad1981d334ef325522
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: c1e48cc25f8e7cba878c83ad1981d334ef325522 Reachability: c1e48cc25f8e7cba878c83ad1981d334ef325522
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
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Pods: - Pods:
- Reachability: - Reachability:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- TestClass.h - TestClass.h
- TestClass.m - TestClass.m
- Products: - Products:
- libPods-Reachability.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods: - Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- 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,80 +28,131 @@ File References: ...@@ -23,80 +28,131 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - Reachability.m
PODS_ROOT: ${SRCROOT} - TestClass.m
ALWAYS_SEARCH_USER_PATHS: "NO" - Pods-Reachability-dummy.m
COPY_PHASE_STRIP: "YES" - FrameworksBuildPhase:
GCC_PREFIX_HEADER: Pods-prefix.pch - Foundation.framework
VALIDATE_PRODUCT: "YES" - HeadersBuildPhase:
ARCHS: $(ARCHS_STANDARD_32_BIT) - Reachability.h
IPHONEOS_DEPLOYMENT_TARGET: "6.0" - TestClass.h
SKIP_INSTALL: "YES" Build Configurations:
PRODUCT_NAME: $(TARGET_NAME) - Release:
OTHER_CFLAGS: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
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
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
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-Reachability-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-Reachability-Private.xcconfig
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-Reachability.a
Build Configurations:
- Release:
Build Settings:
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'
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
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
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 Base Configuration: Pods.xcconfig
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- TestClass.m
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
- TestClass.h
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'
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods.xcconfig - Pods.xcconfig
Targets:
- 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:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: Targets:
- SampleApp:
Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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++
...@@ -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_spec_callbacks/Pods/Reachability/.git/ Initialized empty Git repository in ROOT/tmp/install_spec_callbacks/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
- Reachability - Reachability
...@@ -39,12 +39,16 @@ Generating Pods project ...@@ -39,12 +39,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 6.0 - 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`
...@@ -59,4 +63,4 @@ Integrating client project ...@@ -59,4 +63,4 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating `libPods.a` into target `SampleApp` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-Reachability` into aggregate target Pods of project `SampleApp.xcodeproj`.
...@@ -13,4 +13,4 @@ EXTERNAL SOURCES: ...@@ -13,4 +13,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -13,4 +13,4 @@ EXTERNAL SOURCES: ...@@ -13,4 +13,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
#include "Pods-OS X App-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_OS_X_App_PodTest : NSObject
@end
@implementation PodsDummy_Pods_OS_X_App_PodTest
@end
#include "Pods-OS X App-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
#include "Pods-iOS App-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_iOS_App_PodTest : NSObject
@end
@implementation PodsDummy_Pods_iOS_App_PodTest
@end
#include "Pods-iOS App-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
File References: File References:
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Foundation.framework - Foundation.framework
- Pods: - Pods:
- PodTest: - PodTest:
- subspec_1: - subspec_1:
- subspec_1.h - subspec_1.h
- subspec_1.m - subspec_1.m
- subspec_2: - subspec_2:
- subspec_2.h - subspec_2.h
- subspec_2.m - subspec_2.m
- Products: - Products:
- libPods-OS X App-PodTest.a
- libPods-iOS App-PodTest.a
- libPods-OS X App.a - libPods-OS X App.a
- libPods-iOS App.a - libPods-iOS App.a
- Targets Support Files: - Targets Support Files:
- Pods-OS X App: - Pods-OS X App-PodTest:
- Pods-OS X App-PodTest.xcconfig
- Pods-OS X App-PodTest-Private.xcconfig
- Pods-OS X App-PodTest-prefix.pch
- Pods-OS X App-PodTest-dummy.m
- Pods-iOS App-PodTest:
- Pods-iOS App-PodTest.xcconfig
- Pods-iOS App-PodTest-Private.xcconfig
- Pods-iOS App-PodTest-prefix.pch
- Pods-iOS App-PodTest-dummy.m
- Pods-OS X App:
- Pods-OS X App.xcconfig - Pods-OS X App.xcconfig
- Pods-OS X App-environment.h - Pods-OS X App-environment.h
- Pods-OS X App-prefix.pch
- Pods-OS X App-resources.sh - Pods-OS X App-resources.sh
- Pods-OS X App-acknowledgements.plist - Pods-OS X App-acknowledgements.plist
- Pods-OS X App-acknowledgements.markdown - Pods-OS X App-acknowledgements.markdown
- Pods-OS X App-dummy.m - Pods-OS X App-dummy.m
- Pods-iOS App: - Pods-iOS App:
- Pods-iOS App.xcconfig - Pods-iOS App.xcconfig
- Pods-iOS App-environment.h - Pods-iOS App-environment.h
- Pods-iOS App-prefix.pch
- Pods-iOS App-resources.sh - Pods-iOS App-resources.sh
- Pods-iOS App-acknowledgements.plist - Pods-iOS App-acknowledgements.plist
- Pods-iOS App-acknowledgements.markdown - Pods-iOS App-acknowledgements.markdown
...@@ -34,146 +44,251 @@ File References: ...@@ -34,146 +44,251 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods-OS X App: - Pods-OS X App-PodTest:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - subspec_2.m
PODS_ROOT: ${SRCROOT} - Pods-OS X App-PodTest-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Cocoa.framework
- HeadersBuildPhase:
- subspec_2.h
Build Configurations:
- Release:
Build Settings:
COPY_PHASE_STRIP: 'YES'
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
GCC_PREFIX_HEADER: Pods-OS X App-prefix.pch OTHER_CFLAGS:
ARCHS: $(ARCHS_STANDARD_64_BIT)
COMBINE_HIDPI_IMAGES: "YES"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME)
OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1 - -DNS_BLOCK_ASSERTIONS=1
- $(inherited) - $(inherited)
MACOSX_DEPLOYMENT_TARGET: "10.6"
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS} GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
GCC_ENABLE_OBJC_EXCEPTIONS: "YES" INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
GCC_VERSION: com.apple.compilers.llvm.clang.1_0 MACOSX_DEPLOYMENT_TARGET: '10.6'
OTHER_CPLUSPLUSFLAGS: SKIP_INSTALL: 'YES'
DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1 - -DNS_BLOCK_ASSERTIONS=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: "YES" ALWAYS_SEARCH_USER_PATHS: 'NO'
OTHER_LDFLAGS: "" ARCHS: $(ARCHS_STANDARD_64_BIT)
DSTROOT: /tmp/xcodeproj.dst GCC_VERSION: com.apple.compilers.llvm.clang.1_0
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
SDKROOT: macosx SDKROOT: macosx
Base Configuration: Pods-OS X App.xcconfig COMBINE_HIDPI_IMAGES: 'YES'
- Debug: GCC_PREFIX_HEADER: Pods-OS X App-PodTest-prefix.pch
Build Settings: Base Configuration: Pods-OS X App-PodTest-Private.xcconfig
PODS_ROOT: ${SRCROOT} - Debug:
GCC_DYNAMIC_NO_PIC: "NO" Build Settings:
ALWAYS_SEARCH_USER_PATHS: "NO" DSTROOT: /tmp/xcodeproj.dst
COPY_PHASE_STRIP: "NO" GCC_PREPROCESSOR_DEFINITIONS:
GCC_PREFIX_HEADER: Pods-OS X App-prefix.pch
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_64_BIT) ONLY_ACTIVE_ARCH: 'YES'
COMBINE_HIDPI_IMAGES: "YES" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
SKIP_INSTALL: "YES" MACOSX_DEPLOYMENT_TARGET: '10.6'
PRODUCT_NAME: $(TARGET_NAME) GCC_PREFIX_HEADER: Pods-OS X App-PodTest-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" GCC_OPTIMIZATION_LEVEL: '0'
MACOSX_DEPLOYMENT_TARGET: "10.6"
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS} OTHER_LDFLAGS: ''
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
GCC_ENABLE_OBJC_EXCEPTIONS: "YES"
GCC_VERSION: com.apple.compilers.llvm.clang.1_0 GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ONLY_ACTIVE_ARCH: "YES" ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PRECOMPILE_PREFIX_HEADER: "YES" COPY_PHASE_STRIP: 'NO'
OTHER_LDFLAGS: "" GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
DSTROOT: /tmp/xcodeproj.dst
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SDKROOT: macosx SDKROOT: macosx
Base Configuration: Pods-OS X App.xcconfig
Build Phases:
- SourcesBuildPhase:
- subspec_2.m
- Pods-OS X App-dummy.m
- FrameworksBuildPhase:
- Cocoa.framework
- HeadersBuildPhase:
- subspec_2.h
- Pods-iOS App:
Build Configurations:
- Release:
Build Settings:
PODS_ROOT: ${SRCROOT}
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "YES"
GCC_PREFIX_HEADER: Pods-iOS App-prefix.pch
VALIDATE_PRODUCT: "YES"
ARCHS: $(ARCHS_STANDARD_32_BIT)
IPHONEOS_DEPLOYMENT_TARGET: "4.3"
SKIP_INSTALL: "YES"
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
OTHER_CFLAGS: GCC_DYNAMIC_NO_PIC: 'NO'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SKIP_INSTALL: 'YES'
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
COMBINE_HIDPI_IMAGES: 'YES'
Base Configuration: Pods-OS X App-PodTest-Private.xcconfig
- Pods-iOS App-PodTest:
Build Phases:
- SourcesBuildPhase:
- subspec_1.m
- Pods-iOS App-PodTest-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- subspec_1.h
Build Configurations:
- Release:
Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-iOS App-PodTest-prefix.pch
Base Configuration: Pods-iOS App-PodTest-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-iOS App.xcconfig GCC_C_LANGUAGE_STANDARD: gnu99
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-iOS App-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
ARCHS: $(ARCHS_STANDARD_32_BIT) GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: "4.3" IPHONEOS_DEPLOYMENT_TARGET: '4.3'
SKIP_INSTALL: "YES" COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-iOS App-PodTest-prefix.pch
Base Configuration: Pods-iOS App-PodTest-Private.xcconfig
- Pods-OS X App:
Build Phases:
- SourcesBuildPhase:
- Pods-OS X App-dummy.m
- FrameworksBuildPhase:
- Cocoa.framework
- libPods-OS X App-PodTest.a
Build Configurations:
- Release:
Build Settings:
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
MACOSX_DEPLOYMENT_TARGET: '10.6'
SKIP_INSTALL: 'YES'
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_64_BIT)
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
GCC_OPTIMIZATION_LEVEL: "0" GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
SDKROOT: macosx
COMBINE_HIDPI_IMAGES: 'YES'
COPY_PHASE_STRIP: 'YES'
Base Configuration: Pods-OS X App.xcconfig
- Debug:
Build Settings:
DSTROOT: /tmp/xcodeproj.dst
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
ONLY_ACTIVE_ARCH: 'YES'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
MACOSX_DEPLOYMENT_TARGET: '10.6'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_C_LANGUAGE_STANDARD: gnu99 GCC_C_LANGUAGE_STANDARD: gnu99
PODS_HEADERS_SEARCH_PATHS: ${PODS_BUILD_HEADERS_SEARCH_PATHS} OTHER_LDFLAGS: ''
GCC_SYMBOLS_PRIVATE_EXTERN: "NO"
GCC_VERSION: com.apple.compilers.llvm.clang.1_0 GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PRECOMPILE_PREFIX_HEADER: "YES" ALWAYS_SEARCH_USER_PATHS: 'NO'
OTHER_LDFLAGS: "" SDKROOT: macosx
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
COPY_PHASE_STRIP: 'NO'
PRODUCT_NAME: $(TARGET_NAME)
GCC_DYNAMIC_NO_PIC: 'NO'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
SKIP_INSTALL: 'YES'
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
COMBINE_HIDPI_IMAGES: 'YES'
Base Configuration: Pods-OS X App.xcconfig
- Pods-iOS App:
Build Phases:
- SourcesBuildPhase:
- Pods-iOS App-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-iOS App-PodTest.a
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 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-iOS App.xcconfig
- Debug:
Build Settings:
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
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-iOS App.xcconfig Base Configuration: Pods-iOS App.xcconfig
Build Phases:
- SourcesBuildPhase:
- subspec_1.m
- Pods-iOS App-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- subspec_1.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: "4.3" IPHONEOS_DEPLOYMENT_TARGET: '4.3'
MACOSX_DEPLOYMENT_TARGET: "10.6" MACOSX_DEPLOYMENT_TARGET: '10.6'
- Debug: - Debug:
Build Settings: Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: "4.3" IPHONEOS_DEPLOYMENT_TARGET: '4.3'
MACOSX_DEPLOYMENT_TARGET: "10.6" MACOSX_DEPLOYMENT_TARGET: '10.6'
File References: File References:
- iOS App: - iOS App:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- Supporting Files: - Supporting Files:
- iOS App-Info.plist - iOS App-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- iOS App-Prefix.pch - iOS App-Prefix.pch
- Default.png - Default.png
- Default@2x.png - Default@2x.png
- Default-568h@2x.png - Default-568h@2x.png
- OS X App: - OS X App:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- OS X App-Info.plist - OS X App-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- OS X App-Prefix.pch - OS X App-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- SenTestingKit.framework - SenTestingKit.framework
- UIKit.framework - UIKit.framework
- Foundation.framework - Foundation.framework
- CoreGraphics.framework - CoreGraphics.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods-OS X App.a - libPods-OS X App.a
- libPods-iOS App.a - libPods-iOS App.a
- Products: - Products:
- iOS App.app - iOS App.app
- OS X App.app - OS X App.app
- Pods-OS X App.xcconfig - Pods-OS X App.xcconfig
- Pods-iOS App.xcconfig - Pods-iOS App.xcconfig
Targets:
- 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-iOS App.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-iOS App.xcconfig
Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: Targets:
- iOS App:
Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- UIKit.framework - UIKit.framework
- Foundation.framework - Foundation.framework
- CoreGraphics.framework - CoreGraphics.framework
- libPods-iOS App.a - libPods-iOS App.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- Default.png - Default.png
- Default@2x.png - Default@2x.png
- Default-568h@2x.png - Default-568h@2x.png
- Copy Pods Resources: [] - Copy Pods Resources: []
Build Configurations:
- OS X App: - Debug:
Build Configurations: Build Settings:
- Debug:
Build Settings:
GCC_PREFIX_HEADER: OS X App/OS X App-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES"
INFOPLIST_FILE: OS X App/OS X App-Info.plist
GCC_PRECOMPILE_PREFIX_HEADER: "YES"
WRAPPER_EXTENSION: app WRAPPER_EXTENSION: app
Base Configuration: Pods-OS X App.xcconfig FRAMEWORK_SEARCH_PATHS:
- Release: - $(inherited)
Build Settings: - '"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"'
GCC_PREFIX_HEADER: OS X App/OS X App-Prefix.pch 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) PRODUCT_NAME: $(TARGET_NAME)
COMBINE_HIDPI_IMAGES: "YES" Base Configuration: Pods-iOS App.xcconfig
INFOPLIST_FILE: OS X App/OS X App-Info.plist - Release:
GCC_PRECOMPILE_PREFIX_HEADER: "YES" Build Settings:
VALIDATE_PRODUCT: 'YES'
WRAPPER_EXTENSION: app WRAPPER_EXTENSION: app
Base Configuration: Pods-OS X App.xcconfig OTHER_CFLAGS: -DNS_BLOCK_ASSERTIONS=1
Build Phases: 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-iOS App.xcconfig
- OS X App:
Build Phases:
- Check Pods Manifest.lock: [] - Check Pods Manifest.lock: []
- SourcesBuildPhase:
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods-OS X App.a - libPods-OS X App.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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: OS X App/OS X App-Info.plist
GCC_PREFIX_HEADER: OS X App/OS X App-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-OS X App.xcconfig
- Release:
Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: OS X App/OS X App-Info.plist
GCC_PREFIX_HEADER: OS X App/OS X App-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-OS X App.xcconfig
Build Configurations:
Build Configurations: - Debug:
- Debug: Build Settings:
Build Settings: CLANG_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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,12 +4,12 @@ Analyzing dependencies ...@@ -4,12 +4,12 @@ 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_subspecs/Pods/PodTest" $ /usr/local/bin/hg clone "PodTest-hg-source" "ROOT/tmp/install_subspecs/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
-> 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_subspecs/Pods/PodTest" $ /usr/local/bin/hg clone "PodTest-hg-source" "ROOT/tmp/install_subspecs/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
...@@ -33,21 +33,29 @@ Generating Pods project ...@@ -33,21 +33,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-OS X App` OS X 10.6 - Installing target `Pods-OS X App-PodTest` OS X 10.6
- Adding Build files
- Generating public xcconfig file at `Pods/Pods-OS X App-PodTest.xcconfig`
- Generating private xcconfig file at `Pods/Pods-OS X App-PodTest-Private.xcconfig`
- Generating prefix header at `Pods/Pods-OS X App-PodTest-prefix.pch`
- Generating dummy source file at `Pods/Pods-OS X App-PodTest-dummy.m`
- Installing target `Pods-iOS App-PodTest` iOS 4.3
- Adding Build files - Adding Build files
- Generating public xcconfig file at `Pods/Pods-iOS App-PodTest.xcconfig`
- Generating private xcconfig file at `Pods/Pods-iOS App-PodTest-Private.xcconfig`
- Generating prefix header at `Pods/Pods-iOS App-PodTest-prefix.pch`
- Generating dummy source file at `Pods/Pods-iOS App-PodTest-dummy.m`
- Installing target `Pods-OS X App` OS X 10.6
- Generating xcconfig file at `Pods/Pods-OS X App.xcconfig` - Generating xcconfig file at `Pods/Pods-OS X App.xcconfig`
- Generating target environment header at `Pods/Pods-OS X App-environment.h` - Generating target environment header at `Pods/Pods-OS X App-environment.h`
- Generating prefix header at `Pods/Pods-OS X App-prefix.pch`
- Generating copy resources script at `Pods/Pods-OS X App-resources.sh` - Generating copy resources script at `Pods/Pods-OS X App-resources.sh`
- Generating acknowledgements at `Pods/Pods-OS X App-acknowledgements.plist` - Generating acknowledgements at `Pods/Pods-OS X App-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-OS X App-acknowledgements.markdown` - Generating acknowledgements at `Pods/Pods-OS X App-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-OS X App-dummy.m` - Generating dummy source file at `Pods/Pods-OS X App-dummy.m`
- Installing target `Pods-iOS App` iOS 4.3 - Installing target `Pods-iOS App` iOS 4.3
- Adding Build files
- Generating xcconfig file at `Pods/Pods-iOS App.xcconfig` - Generating xcconfig file at `Pods/Pods-iOS App.xcconfig`
- Generating target environment header at `Pods/Pods-iOS App-environment.h` - Generating target environment header at `Pods/Pods-iOS App-environment.h`
- Generating prefix header at `Pods/Pods-iOS App-prefix.pch`
- Generating copy resources script at `Pods/Pods-iOS App-resources.sh` - Generating copy resources script at `Pods/Pods-iOS App-resources.sh`
- Generating acknowledgements at `Pods/Pods-iOS App-acknowledgements.plist` - Generating acknowledgements at `Pods/Pods-iOS App-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-iOS App-acknowledgements.markdown` - Generating acknowledgements at `Pods/Pods-iOS App-acknowledgements.markdown`
...@@ -61,6 +69,6 @@ Integrating client project ...@@ -61,6 +69,6 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating `libPods-OS X App.a` into target `OS X App` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-OS X App-PodTest` into aggregate target Pods-OS X App of project `SampleApp.xcodeproj`.
Integrating `libPods-iOS App.a` into target `iOS App` of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-iOS App-PodTest` into aggregate target Pods-iOS App of project `SampleApp.xcodeproj`.
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.20.2 COCOAPODS: 0.21.0.rc1
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
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/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
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
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-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
File References: File References:
- Frameworks: - Frameworks:
- Foundation.framework - Foundation.framework
- SystemConfiguration.framework - SystemConfiguration.framework
- Pods: - Pods:
- Reachability: - Reachability:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods-Reachability.a
- libPods.a - libPods.a
- Targets Support Files: - Targets Support Files:
- Pods: - Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- 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
...@@ -21,78 +26,129 @@ File References: ...@@ -21,78 +26,129 @@ File References:
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Configurations: Build Phases:
- Release: - SourcesBuildPhase:
Build Settings: - Reachability.m
PODS_ROOT: ${SRCROOT} - Pods-Reachability-dummy.m
ALWAYS_SEARCH_USER_PATHS: "NO" - FrameworksBuildPhase:
COPY_PHASE_STRIP: "YES" - Foundation.framework
GCC_PREFIX_HEADER: Pods-prefix.pch - HeadersBuildPhase:
VALIDATE_PRODUCT: "YES" - Reachability.h
ARCHS: $(ARCHS_STANDARD_32_BIT) Build Configurations:
IPHONEOS_DEPLOYMENT_TARGET: "6.0" - Release:
SKIP_INSTALL: "YES" Build Settings:
PRODUCT_NAME: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
OTHER_CFLAGS: SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
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)
OTHER_CPLUSPLUSFLAGS: DSTROOT: /tmp/xcodeproj.dst
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)
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
- Debug: SKIP_INSTALL: 'YES'
Build Settings: INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
PODS_ROOT: ${SRCROOT} DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: "NO" GCC_DYNAMIC_NO_PIC: 'NO'
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_OPTIMIZATION_LEVEL: '0'
COPY_PHASE_STRIP: "NO" GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_PREPROCESSOR_DEFINITIONS: ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
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-Reachability-prefix.pch
GCC_OPTIMIZATION_LEVEL: "0" Base Configuration: Pods-Reachability-Private.xcconfig
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-Reachability.a
Build Configurations:
- Release:
Build Settings:
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'
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
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
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 Base Configuration: Pods.xcconfig
Build Phases:
- SourcesBuildPhase:
- Reachability.m
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- Reachability.h
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'
File References: File References:
- SampleApp: - SampleApp:
- CPAppDelegate.h - CPAppDelegate.h
- CPAppDelegate.m - CPAppDelegate.m
- MainMenu.xib: - MainMenu.xib:
- en - en
- Supporting Files: - Supporting Files:
- SampleApp-Info.plist - SampleApp-Info.plist
- InfoPlist.strings: - InfoPlist.strings:
- en - en
- main.m - main.m
- SampleApp-Prefix.pch - SampleApp-Prefix.pch
- Credits.rtf: - Credits.rtf:
- en - en
- Frameworks: - Frameworks:
- Cocoa.framework - Cocoa.framework
- Other Frameworks: - Other Frameworks:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a - libPods.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods.xcconfig - Pods.xcconfig
Targets: Targets:
- SampleApp: - SampleApp:
Build Configurations: Build Phases:
- Debug: - SourcesBuildPhase:
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:
- SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods.a - libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- 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_WARN_ENUM_CONVERSION: 'YES'
CLANG_CXX_LIBRARY: libc++ GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
GCC_DYNAMIC_NO_PIC: "NO" GCC_PREPROCESSOR_DEFINITIONS:
ALWAYS_SEARCH_USER_PATHS: "NO"
COPY_PHASE_STRIP: "NO"
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
- Release: GCC_DYNAMIC_NO_PIC: 'NO'
Build Settings: ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
CLANG_CXX_LIBRARY: libc++ CLANG_CXX_LIBRARY: libc++
ALWAYS_SEARCH_USER_PATHS: "NO" GCC_WARN_UNUSED_VARIABLE: 'YES'
COPY_PHASE_STRIP: "YES" - Release:
Build Settings:
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++
...@@ -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/update/Pods/Reachability/.git/ Initialized empty Git repository in ROOT/tmp/update/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,12 +38,16 @@ Generating Pods project ...@@ -38,12 +38,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 6.0 - 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`
......
...@@ -52,7 +52,7 @@ require 'bundler/setup' ...@@ -52,7 +52,7 @@ require 'bundler/setup'
require 'pretty_bacon' require 'pretty_bacon'
require 'colored' require 'colored'
require 'diffy' require 'diffy'
require 'Xcodeproj' # For Differ require 'xcodeproj' # For Differ
# @return [Pathname The folder where the CocoaPods binary should operate. # @return [Pathname The folder where the CocoaPods binary should operate.
# #
......
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Generator::AggregateXCConfig do
before do
@spec = fixture_spec('banana-lib/BananaLib.podspec')
@consumer = @spec.consumer(:ios)
target_definition = Podfile::TargetDefinition.new('Pods', nil)
@target = AggregateTarget.new(target_definition, config.sandbox)
@target.client_root = config.sandbox.root.dirname
@target.stubs(:platform).returns(:ios)
@pod_target = PodTarget.new([@spec], target_definition, config.sandbox)
@pod_target.stubs(:platform).returns(:ios)
@pod_target.stubs(:spec_consumers).returns([@consumer])
@target.pod_targets = [@pod_target]
@generator = Generator::AggregateXCConfig.new(@target)
end
it "returns the sandbox" do
@generator.sandbox.class.should == Sandbox
end
it "returns the path of the pods root relative to the user project" do
@generator.target.relative_pods_root.should == '${SRCROOT}/Pods'
end
#-----------------------------------------------------------------------#
before do
@podfile = Podfile.new
@target.target_definition.stubs(:podfile).returns(@podfile)
@xcconfig = @generator.generate
end
it "generates the xcconfig" do
@xcconfig.class.should == Xcodeproj::Config
end
it "sets to always search the user paths" do
@xcconfig.to_hash['ALWAYS_SEARCH_USER_PATHS'].should == 'YES'
end
it "configures the project to load all members that implement Objective-c classes or categories from the static library" do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include '-ObjC'
end
it 'does not add the -fobjc-arc to OTHER_LDFLAGS by default as Xcode 4.3.2 does not support it' do
@consumer.stubs(:requires_arc?).returns(true)
@xcconfig.to_hash['OTHER_LDFLAGS'].should.not.include("-fobjc-arc")
end
it 'adds the -fobjc-arc to OTHER_LDFLAGS if any pods require arc and the podfile explicitly requires it' do
@podfile.stubs(:set_arc_compatibility_flag?).returns(true)
@consumer.stubs(:requires_arc?).returns(true)
@xcconfig = @generator.generate
@xcconfig.to_hash['OTHER_LDFLAGS'].split(" ").should.include("-fobjc-arc")
end
it "sets the PODS_ROOT build variable" do
@xcconfig.to_hash['PODS_ROOT'].should == '${SRCROOT}/Pods'
end
it 'adds the sandbox public headers search paths to the xcconfig, with quotes' do
expected = "\"#{config.sandbox.public_headers.search_paths.join('" "')}\""
@xcconfig.to_hash['HEADER_SEARCH_PATHS'].should == expected
end
it 'adds the COCOAPODS macro definition' do
@xcconfig.to_hash['GCC_PREPROCESSOR_DEFINITIONS'].should.include 'COCOAPODS=1'
end
it 'inherits the parent GCC_PREPROCESSOR_DEFINITIONS value' do
@xcconfig.to_hash['GCC_PREPROCESSOR_DEFINITIONS'].should.include '$(inherited)'
end
it 'adds the pod namespaced configuration items' do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include("${#{@pod_target.xcconfig_prefix}OTHER_LDFLAGS}")
end
#-----------------------------------------------------------------------#
before do
@path = temporary_directory + 'sample.xcconfig'
@generator.save_as(@path)
end
it "saves the xcconfig" do
generated = Xcodeproj::Config.new(@path)
generated.class.should == Xcodeproj::Config
end
it "includes the namespaced public pod xcconfig file" do
generated = Xcodeproj::Config.new(@path)
generated.includes.should.include("#{@pod_target.label}")
end
end
end
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Generator::PrivatePodXCConfig do
before do
@spec = fixture_spec('banana-lib/BananaLib.podspec')
@consumer = @spec.consumer(:ios)
target_definition = Podfile::TargetDefinition.new('Pods', nil)
@pod_target = PodTarget.new([@spec], target_definition, config.sandbox)
@pod_target.stubs(:platform).returns(:ios)
@generator = Generator::PrivatePodXCConfig.new(@pod_target)
end
it "returns the sandbox" do
@generator.sandbox.class.should == Sandbox
end
#-----------------------------------------------------------------------#
before do
@podfile = Podfile.new
@pod_target.target_definition.stubs(:podfile).returns(@podfile)
@xcconfig = @generator.generate
end
it "generates the xcconfig" do
@xcconfig.class.should == Xcodeproj::Config
end
it "sets to always search the user paths" do
@xcconfig.to_hash['ALWAYS_SEARCH_USER_PATHS'].should == 'YES'
end
it "configures the project to load all members that implement Objective-c classes or categories from the static library" do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include '-ObjC'
end
it 'does not add the -fobjc-arc to OTHER_LDFLAGS by default as Xcode 4.3.2 does not support it' do
@consumer.stubs(:requires_arc?).returns(true)
@xcconfig.to_hash['OTHER_LDFLAGS'].should.not.include("-fobjc-arc")
end
it 'adds the -fobjc-arc to OTHER_LDFLAGS if any pods require arc and the podfile explicitly requires it' do
@podfile.stubs(:set_arc_compatibility_flag?).returns(true)
@consumer.stubs(:requires_arc?).returns(true)
@xcconfig = @generator.generate
@xcconfig.to_hash['OTHER_LDFLAGS'].split(" ").should.include("-fobjc-arc")
end
it "sets the PODS_ROOT build variable" do
@xcconfig.to_hash['PODS_ROOT'].should.not == nil
end
it 'adds the library build headers and public headers search paths to the xcconfig, with quotes' do
private_headers = "\"#{@pod_target.build_headers.search_paths.join('" "')}\""
public_headers = "\"#{config.sandbox.public_headers.search_paths.join('" "')}\""
@xcconfig.to_hash['HEADER_SEARCH_PATHS'].should.include private_headers
@xcconfig.to_hash['HEADER_SEARCH_PATHS'].should.include public_headers
end
it 'adds the COCOAPODS macro definition' do
@xcconfig.to_hash['GCC_PREPROCESSOR_DEFINITIONS'].should.include 'COCOAPODS=1'
end
it 'adds the pod namespaced configuration items' do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include("${#{@pod_target.xcconfig_prefix}OTHER_LDFLAGS}")
end
#-----------------------------------------------------------------------#
it 'sets the relative path of the pods root for spec libraries to ${SRCROOT}' do
@xcconfig.to_hash['PODS_ROOT'].should == '${SRCROOT}'
end
#-----------------------------------------------------------------------#
it "saves the xcconfig" do
path = temporary_directory + 'sample.xcconfig'
@generator.save_as(path)
generated = Xcodeproj::Config.new(path)
generated.class.should == Xcodeproj::Config
end
end
end
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Generator::PublicPodXCConfig do
before do
@spec = fixture_spec('banana-lib/BananaLib.podspec')
@target_definition = Podfile::TargetDefinition.new('Pods', nil)
@pod_target = PodTarget.new([@spec], @target_definition, config.sandbox)
@pod_target.stubs(:platform).returns(:ios)
@generator = Generator::PublicPodXCConfig.new(@pod_target)
end
it "returns the sandbox" do
@generator.sandbox.class.should == Sandbox
end
#-----------------------------------------------------------------------#
before do
@podfile = Podfile.new
@pod_target.target_definition.stubs(:podfile).returns(@podfile)
@spec.xcconfig = { 'OTHER_LDFLAGS' => '-no_compact_unwind' }
@spec.frameworks = ['QuartzCore']
@spec.weak_frameworks = ['iAd']
@spec.libraries = ['xml2']
@xcconfig = @generator.generate
end
it "generates the xcconfig" do
@xcconfig.class.should == Xcodeproj::Config
end
it "includes the xcconfig of the specifications" do
@xcconfig.to_hash["OTHER_LDFLAGS"].should.include('-no_compact_unwind')
end
it "includes the libraries for the specifications" do
@xcconfig.to_hash["OTHER_LDFLAGS"].should.include('-lxml2')
end
it "includes the frameworks of the specifications" do
@xcconfig.to_hash["OTHER_LDFLAGS"].should.include('-framework QuartzCore')
end
it "includes the weak-frameworks of the specifications" do
@xcconfig.to_hash["OTHER_LDFLAGS"].should.include('-weak_framework iAd')
end
it "includes the developer frameworks search paths when SenTestingKit is detected" do
@spec.xcconfig = { 'OTHER_LDFLAGS' => '-no_compact_unwind' }
@spec.frameworks = ['SenTestingKit']
xcconfig = @generator.generate
xcconfig.to_hash["FRAMEWORK_SEARCH_PATHS"].should == '$(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks"'
end
it "doesn't include the developer frameworks if already present" do
spec = fixture_spec('banana-lib/BananaLib.podspec')
pod_target = PodTarget.new([@spec, spec], @target_definition, config.sandbox)
pod_target.stubs(:platform).returns(:ios)
generator = Generator::PublicPodXCConfig.new(pod_target)
@spec.frameworks = ['SenTestingKit']
spec.frameworks = ['SenTestingKit']
xcconfig = generator.generate
xcconfig.to_hash["FRAMEWORK_SEARCH_PATHS"].should == '$(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks"'
end
#-----------------------------------------------------------------------#
before do
@path = temporary_directory + 'sample.xcconfig'
@generator.save_as(@path)
end
it "saves the xcconfig" do
generated = Xcodeproj::Config.new(@path)
generated.class.should == Xcodeproj::Config
end
it "writes the xcconfig with a prefix computed from the target definition and root spec" do
generated = Xcodeproj::Config.new(@path)
generated.to_hash.each { |k, v| k.should.start_with(@pod_target.xcconfig_prefix) }
end
end
end
...@@ -2,142 +2,6 @@ require File.expand_path('../../../spec_helper', __FILE__) ...@@ -2,142 +2,6 @@ require File.expand_path('../../../spec_helper', __FILE__)
module Pod module Pod
describe Generator::XCConfig do describe Generator::XCConfig do
before do
@spec = fixture_spec('banana-lib/BananaLib.podspec')
@consumer = @spec.consumer(:ios)
@generator = Generator::XCConfig.new(config.sandbox, [@consumer], './Pods')
end
it "returns the sandbox" do
@generator.sandbox.class.should == Sandbox
end
it "returns the pods" do
names = @generator.spec_consumers.should == [@consumer]
end
it "returns the path of the pods root relative to the user project" do
@generator.relative_pods_root.should == './Pods'
end
#-----------------------------------------------------------------------#
before do
@spec.xcconfig = { 'OTHER_LDFLAGS' => '-no_compact_unwind' }
@spec.frameworks = ['QuartzCore']
@spec.weak_frameworks = ['iAd']
@spec.libraries = ['xml2']
@xcconfig = @generator.generate
end
it "generates the xcconfig" do
@xcconfig.class.should == Xcodeproj::Config
end
it "sets to always search the user paths" do
@xcconfig.to_hash['ALWAYS_SEARCH_USER_PATHS'].should == 'YES'
end
it "configures the project to load all members that implement Objective-c classes or categories from the static library" do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include '-ObjC'
end
it 'does not add the -fobjc-arc to OTHER_LDFLAGS by default as Xcode 4.3.2 does not support it' do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.not.include("-fobjc-arc")
end
it 'adds the -fobjc-arc to OTHER_LDFLAGS if any pods require arc (to support non-ARC projects on iOS 4.0)' do
@generator.set_arc_compatibility_flag = true
@consumer.stubs(:requires_arc).returns(true)
@xcconfig = @generator.generate
@xcconfig.to_hash['OTHER_LDFLAGS'].split(" ").should.include("-fobjc-arc")
end
it "sets the PODS_ROOT build variable" do
@xcconfig.to_hash['PODS_ROOT'].should.not == nil
end
it "redirects the HEADERS_SEARCH_PATHS to the pod variable" do
@xcconfig.to_hash['HEADER_SEARCH_PATHS'].should =='${PODS_HEADERS_SEARCH_PATHS}'
end
it "sets the PODS_HEADERS_SEARCH_PATHS to look for the public headers as it is overridden in the Pods project" do
@xcconfig.to_hash['PODS_HEADERS_SEARCH_PATHS'].should =='${PODS_PUBLIC_HEADERS_SEARCH_PATHS}'
end
it 'adds the sandbox build headers search paths to the xcconfig, with quotes' do
expected = "\"#{config.sandbox.build_headers.search_paths.join('" "')}\""
@xcconfig.to_hash['PODS_BUILD_HEADERS_SEARCH_PATHS'].should == expected
end
it 'adds the sandbox public headers search paths to the xcconfig, with quotes' do
expected = "\"#{config.sandbox.public_headers.search_paths.join('" "')}\""
@xcconfig.to_hash['PODS_PUBLIC_HEADERS_SEARCH_PATHS'].should == expected
end
it 'adds the COCOAPODS macro definition' do
@xcconfig.to_hash['GCC_PREPROCESSOR_DEFINITIONS'].should == '$(inherited) COCOAPODS=1'
end
it "includes the xcconfig of the specifications" do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include('-no_compact_unwind')
end
it "includes the libraries for the specifications" do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include('-lxml2')
end
it "includes the frameworks of the specifications" do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include('-framework QuartzCore')
end
it "includes the weak-frameworks of the specifications" do
@xcconfig.to_hash['OTHER_LDFLAGS'].should.include('-weak_framework iAd')
end
it "includes the developer frameworks search paths when SenTestingKit is detected" do
spec = fixture_spec('banana-lib/BananaLib.podspec')
consumer = spec.consumer(:ios)
generator = Generator::XCConfig.new(config.sandbox, [consumer], './Pods')
spec.xcconfig = { 'OTHER_LDFLAGS' => '-no_compact_unwind' }
spec.frameworks = ['SenTestingKit']
xcconfig = generator.generate
xcconfig.to_hash['FRAMEWORK_SEARCH_PATHS'].should == '$(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks"'
end
it "doesn't include the developer frameworks if already present" do
spec = fixture_spec('banana-lib/BananaLib.podspec')
consumer_1 = spec.consumer(:ios)
consumer_2 = spec.consumer(:ios)
generator = Generator::XCConfig.new(config.sandbox, [consumer_1, consumer_2], './Pods')
spec.frameworks = ['SenTestingKit']
xcconfig = generator.generate
xcconfig.to_hash['FRAMEWORK_SEARCH_PATHS'].should == '$(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks"'
end
#-----------------------------------------------------------------------#
it 'returns the settings that the pods project needs to override' do
Generator::XCConfig.pods_project_settings.should.not.be.nil
end
it 'overrides the relative path of the pods root in the Pods project' do
Generator::XCConfig.pods_project_settings['PODS_ROOT'].should == '${SRCROOT}'
end
it 'overrides the headers search path of the pods project to the build headers folder' do
expected = '${PODS_BUILD_HEADERS_SEARCH_PATHS}'
Generator::XCConfig.pods_project_settings['PODS_HEADERS_SEARCH_PATHS'].should == expected
end
#-----------------------------------------------------------------------#
it "saves the xcconfig" do
path = temporary_directory + 'sample.xcconfig'
@generator.save_as(path)
generated = Xcodeproj::Config.new(path)
generated.class.should == Xcodeproj::Config
end
end end
end end
...@@ -16,7 +16,7 @@ module Pod ...@@ -16,7 +16,7 @@ module Pod
config.integrate_targets = false config.integrate_targets = false
@installer = Installer.new(config.sandbox, podfile) @installer = Installer.new(config.sandbox, podfile)
@installer.send(:analyze) @installer.send(:analyze)
@specs = @installer.libraries.map(&:specs).flatten @specs = @installer.aggregate_targets.first.pod_targets.first.specs
@installer.stubs(:installed_specs).returns(@specs) @installer.stubs(:installed_specs).returns(@specs)
@rep = Hooks::InstallerRepresentation.new(@installer) @rep = Hooks::InstallerRepresentation.new(@installer)
end end
...@@ -40,19 +40,19 @@ module Pod ...@@ -40,19 +40,19 @@ module Pod
end end
it "the hook representation of the libraries" do it "the hook representation of the libraries" do
@rep.libraries.map(&:name).should == ['Pods'] @rep.libraries.map(&:name).sort.should == ['Pods-JSONKit'].sort
end end
it "returns the specs by library representation" do it "returns the specs by library representation" do
specs_by_lib = @rep.specs_by_lib specs_by_lib = @rep.specs_by_lib
lib_rep = specs_by_lib.keys.first lib_rep = specs_by_lib.keys.first
lib_rep.name.should == 'Pods' lib_rep.name.should == 'Pods-JSONKit'
specs_by_lib.should == { lib_rep => @specs } specs_by_lib.should == { lib_rep => @specs }
end end
it "returns the pods representation by library representation" do it "returns the pods representation by library representation" do
pods_by_lib = @rep.pods_by_lib pods_by_lib = @rep.pods_by_lib
target_definition = @installer.libraries.first.target_definition target_definition = @installer.aggregate_targets.first.pod_targets.first.target_definition
pods_by_lib[target_definition].map(&:name).should == ['JSONKit'] pods_by_lib[target_definition].map(&:name).should == ['JSONKit']
end end
......
...@@ -5,7 +5,9 @@ module Pod ...@@ -5,7 +5,9 @@ module Pod
before do before do
@target_definition = Podfile::TargetDefinition.new('MyApp', nil) @target_definition = Podfile::TargetDefinition.new('MyApp', nil)
@lib = Library.new(@target_definition) @spec = Spec.new
@spec.name = 'RestKit'
@lib = PodTarget.new([@spec], @target_definition, config.sandbox)
@rep = Hooks::LibraryRepresentation.new(config.sandbox, @lib) @rep = Hooks::LibraryRepresentation.new(config.sandbox, @lib)
end end
...@@ -14,7 +16,7 @@ module Pod ...@@ -14,7 +16,7 @@ module Pod
describe "Public Hooks API" do describe "Public Hooks API" do
it "returns the name" do it "returns the name" do
@rep.name.should == 'Pods-MyApp' @rep.name.should == 'Pods-MyApp-RestKit'
end end
it "returns the dependencies" do it "returns the dependencies" do
...@@ -27,13 +29,7 @@ module Pod ...@@ -27,13 +29,7 @@ module Pod
end end
it "returns the path of the prefix header" do it "returns the path of the prefix header" do
@lib.support_files_root = temporary_directory @rep.prefix_header_path.should == temporary_directory + 'Pods/Pods-MyApp-RestKit-prefix.pch'
@rep.prefix_header_path.should == temporary_directory + 'Pods-MyApp-prefix.pch'
end
it "returns the path of the copy resources script" do
@lib.support_files_root = temporary_directory
@rep.copy_resources_script_path.should == temporary_directory + 'Pods-MyApp-resources.sh'
end end
it "returns the pods project" do it "returns the pods project" do
......
...@@ -75,28 +75,32 @@ module Pod ...@@ -75,28 +75,32 @@ module Pod
#--------------------------------------# #--------------------------------------#
it "generates the libraries which represent the target definitions" do it "generates the libraries which represent the target definitions" do
libs = @analyzer.analyze.libraries target = @analyzer.analyze.targets.first
libs.map(&:name).should == ['Pods'] target.pod_targets.map(&:name).sort.should == [
lib = libs.first 'Pods-JSONKit',
lib.support_files_root.should == config.sandbox.root 'Pods-AFNetworking',
'Pods-SVPullToRefresh',
lib.user_project_path.to_s.should.include 'SampleProject/SampleProject' 'Pods-libextobjc'
lib.client_root.to_s.should.include 'SampleProject' ].sort
lib.user_target_uuids.should == ["A346496C14F9BE9A0080D870"] target.support_files_root.should == config.sandbox.root
user_proj = Xcodeproj::Project.new(lib.user_project_path)
user_proj.objects_by_uuid[lib.user_target_uuids.first].name.should == 'SampleProject' target.user_project_path.to_s.should.include 'SampleProject/SampleProject'
lib.user_build_configurations.should == {"Test"=>:release, "App Store"=>:release} target.client_root.to_s.should.include 'SampleProject'
lib.platform.to_s.should == 'iOS 6.0' target.user_target_uuids.should == ["A346496C14F9BE9A0080D870"]
user_proj = Xcodeproj::Project.new(target.user_project_path)
user_proj.objects_by_uuid[target.user_target_uuids.first].name.should == 'SampleProject'
target.user_build_configurations.should == {"Test"=>:release, "App Store"=>:release}
target.platform.to_s.should == 'iOS 6.0'
end end
it "generates configures the library appropriately if the installation will not integrate" do it "generates the integration library appropriately if the installation will not integrate" do
config.integrate_targets = false config.integrate_targets = false
lib = @analyzer.analyze.libraries.first target = @analyzer.analyze.targets.first
lib.client_root.should == config.installation_root target.client_root.should == config.installation_root
lib.user_target_uuids.should == [] target.user_target_uuids.should == []
lib.user_build_configurations.should == {} target.user_build_configurations.should == {}
lib.platform.to_s.should == 'iOS 6.0' target.platform.to_s.should == 'iOS 6.0'
end end
#--------------------------------------# #--------------------------------------#
...@@ -163,8 +167,8 @@ module Pod ...@@ -163,8 +167,8 @@ module Pod
podspec.should.not.exist? podspec.should.not.exist?
end end
it "adds the specifications to the correspondent libraries in after the resolution" do it "adds the specifications to the correspondent libraries" do
@analyzer.analyze.libraries.first.specs.map(&:to_s).should == [ @analyzer.analyze.targets.first.pod_targets.map(&:specs).flatten.map(&:to_s).should == [
"AFNetworking (1.0.1)", "AFNetworking (1.0.1)",
"JSONKit (1.5pre)", "JSONKit (1.5pre)",
"SVPullToRefresh (0.4)", "SVPullToRefresh (0.4)",
......
...@@ -5,10 +5,10 @@ module Pod ...@@ -5,10 +5,10 @@ module Pod
before do before do
@file_accessor = fixture_file_accessor('banana-lib/BananaLib.podspec') @file_accessor = fixture_file_accessor('banana-lib/BananaLib.podspec')
@library = Library.new(nil) @pod_target = PodTarget.new([], nil, config.sandbox)
@library.file_accessors = [@file_accessor] @pod_target.file_accessors = [@file_accessor]
@project = Project.new(config.sandbox.project_path) @project = Project.new(config.sandbox.project_path)
@installer = Installer::FileReferencesInstaller.new(config.sandbox, [@library], @project) @installer = Installer::FileReferencesInstaller.new(config.sandbox, [@pod_target], @project)
end end
#-------------------------------------------------------------------------# #-------------------------------------------------------------------------#
...@@ -50,8 +50,8 @@ module Pod ...@@ -50,8 +50,8 @@ module Pod
it "links the build headers" do it "links the build headers" do
@installer.install! @installer.install!
headers_root = config.sandbox.build_headers.root headers_root = @pod_target.build_headers.root
public_header = headers_root+ 'BananaLib/Banana.h' public_header = headers_root + 'BananaLib/Banana.h'
private_header = headers_root + 'BananaLib/BananaPrivate.h' private_header = headers_root + 'BananaLib/BananaPrivate.h'
public_header.should.exist public_header.should.exist
private_header.should.exist private_header.should.exist
...@@ -73,19 +73,19 @@ module Pod ...@@ -73,19 +73,19 @@ module Pod
describe "Private Helpers" do describe "Private Helpers" do
it "returns the file accessors" do it "returns the file accessors" do
library_1 = Library.new(nil) pod_target_1 = PodTarget.new([], nil, config.sandbox)
library_1.file_accessors = [fixture_file_accessor('banana-lib/BananaLib.podspec')] pod_target_1.file_accessors = [fixture_file_accessor('banana-lib/BananaLib.podspec')]
library_2 = Library.new(nil) pod_target_2 = PodTarget.new([], nil, config.sandbox)
library_2.file_accessors = [fixture_file_accessor('banana-lib/BananaLib.podspec')] pod_target_2.file_accessors = [fixture_file_accessor('banana-lib/BananaLib.podspec')]
installer = Installer::FileReferencesInstaller.new(config.sandbox, [library_1, library_2], @project) installer = Installer::FileReferencesInstaller.new(config.sandbox, [pod_target_1, pod_target_2], @project)
roots = installer.send(:file_accessors).map { |fa| fa.path_list.root } roots = installer.send(:file_accessors).map { |fa| fa.path_list.root }
roots.should == [fixture('banana-lib'), fixture('banana-lib')] roots.should == [fixture('banana-lib'), fixture('banana-lib')]
end end
it "handles libraries empty libraries without file accessors" do it "handles libraries empty libraries without file accessors" do
library_1 = Library.new(nil) pod_target_1 = PodTarget.new([], nil, config.sandbox)
library_1.file_accessors = [] pod_target_1.file_accessors = []
installer = Installer::FileReferencesInstaller.new(config.sandbox, [library_1], @project) installer = Installer::FileReferencesInstaller.new(config.sandbox, [pod_target_1], @project)
roots = installer.send(:file_accessors).should == [] roots = installer.send(:file_accessors).should == []
end end
......
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Installer::AggregateTargetInstaller do
describe "In General" do
before do
@podfile = Podfile.new do
platform :ios
xcodeproj 'dummy'
end
@target_definition = @podfile.target_definitions['Pods']
@project = Project.new(config.sandbox.project_path)
config.sandbox.project = @project
path_list = Sandbox::PathList.new(fixture('banana-lib'))
@spec = fixture_spec('banana-lib/BananaLib.podspec')
file_accessor = Sandbox::FileAccessor.new(path_list, @spec.consumer(:ios))
@project.add_file_references(file_accessor.source_files, 'BananaLib', @project.pods)
@target = AggregateTarget.new(@target_definition, config.sandbox)
@target.stubs(:platform).returns(Platform.new(:ios, '6.0'))
@target.user_project_path = config.sandbox.root + '../user_project.xcodeproj'
@target.client_root = config.sandbox.root.dirname
@target.user_build_configurations = { 'Debug' => :debug, 'Release' => :release, 'AppStore' => :release, 'Test' => :debug }
@pod_target = PodTarget.new([@spec], @target_definition, config.sandbox)
@pod_target.stubs(:platform).returns(Platform.new(:ios, '6.0'))
@pod_target.user_build_configurations = @target.user_build_configurations
@pod_target.file_accessors = [file_accessor]
@target.pod_targets = [@pod_target]
@installer = Installer::AggregateTargetInstaller.new(config.sandbox, @target)
@spec.prefix_header_contents = '#import "BlocksKit.h"'
end
it "adds file references for the support files of the target" do
@installer.install!
group = @project.support_files_group['Pods']
group.children.map(&:display_name).sort.should == [
"Pods-acknowledgements.markdown",
"Pods-acknowledgements.plist",
"Pods-dummy.m",
"Pods-environment.h",
"Pods-resources.sh",
"Pods.xcconfig"
]
end
#--------------------------------------#
it 'adds the target for the static library to the project' do
@installer.install!
@project.targets.count.should == 1
@project.targets.first.name.should == @target_definition.label
end
it "adds the user build configurations to the target" do
@installer.install!
target = @project.targets.first
target.build_settings('Test')["VALIDATE_PRODUCT"].should == nil
target.build_settings('AppStore')["VALIDATE_PRODUCT"].should == "YES"
end
it "sets ARCHS to 'armv6 armv7' for both configurations if the deployment target is less than 4.3 for iOS targets" do
@target.stubs(:platform).returns(Platform.new(:ios, '4.0'))
@installer.install!
target = @project.targets.first
target.build_settings('Debug')["ARCHS"].should == "armv6 armv7"
target.build_settings('Release')["ARCHS"].should == "armv6 armv7"
end
it "uses standard ARCHs if deployment target is 4.3 or above" do
@installer.install!
target = @project.targets.first
target.build_settings('Debug')["ARCHS"].should == "$(ARCHS_STANDARD_32_BIT)"
target.build_settings('AppStore')["ARCHS"].should == "$(ARCHS_STANDARD_32_BIT)"
end
it "sets VALIDATE_PRODUCT to YES for the Release configuration for iOS targets" do
@installer.install!
target = @project.targets.first
target.build_settings('Release')["VALIDATE_PRODUCT"].should == "YES"
end
it "sets the platform and the deployment target for iOS targets" do
@installer.install!
target = @project.targets.first
target.platform_name.should == :ios
target.deployment_target.should == "6.0"
target.build_settings('Debug')["IPHONEOS_DEPLOYMENT_TARGET"].should == "6.0"
target.build_settings('AppStore')["IPHONEOS_DEPLOYMENT_TARGET"].should == "6.0"
end
it "sets the platform and the deployment target for OS X targets" do
@target.stubs(:platform).returns(Platform.new(:osx, '10.8'))
@installer.install!
target = @project.targets.first
target.platform_name.should == :osx
target.deployment_target.should == "10.8"
target.build_settings('Debug')["MACOSX_DEPLOYMENT_TARGET"].should == "10.8"
target.build_settings('AppStore')["MACOSX_DEPLOYMENT_TARGET"].should == "10.8"
end
it "adds the user's build configurations to the target" do
@installer.install!
@project.targets.first.build_configurations.map(&:name).sort.should == %w{ AppStore Debug Release Test }
end
it "it creates different hash instances for the build settings of various build configurations" do
@installer.install!
build_settings = @project.targets.first.build_configurations.map(&:build_settings)
build_settings.map(&:object_id).uniq.count.should == 4
end
it "does not enable the GCC_WARN_INHIBIT_ALL_WARNINGS flag by default" do
@installer.install!
@installer.library.target.build_configurations.each do |config|
config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'].should.be.nil
end
end
#--------------------------------------#
it "creates the xcconfig file" do
@installer.install!
file = config.sandbox.root + @target.xcconfig_path
xcconfig = Xcodeproj::Config.new(file)
xcconfig.to_hash['PODS_ROOT'].should == '${SRCROOT}/Pods'
end
it "creates a header for the target which contains the information about the installed Pods" do
@installer.install!
file = config.sandbox.root + 'Pods-environment.h'
contents = file.read
contents.should.include?('#define COCOAPODS_POD_AVAILABLE_BananaLib')
contents.should.include?('#define COCOAPODS_VERSION_MAJOR_BananaLib 1')
contents.should.include?('#define COCOAPODS_VERSION_MINOR_BananaLib 0')
contents.should.include?('#define COCOAPODS_VERSION_PATCH_BananaLib 0')
end
it "creates a bridge support file" do
Podfile.any_instance.stubs(:generate_bridge_support? => true)
Generator::BridgeSupport.any_instance.expects(:save_as).once
@installer.install!
end
it "creates a create copy resources script" do
@installer.install!
script = config.sandbox.root + 'Pods-resources.sh'
script.read.should.include?('logo-sidebar.png')
end
it "creates the acknowledgements files " do
@installer.install!
markdown = config.sandbox.root + 'Pods-acknowledgements.markdown'
markdown.read.should.include?('Permission is hereby granted')
plist = config.sandbox.root + 'Pods-acknowledgements.plist'
plist.read.should.include?('Permission is hereby granted')
end
it "creates a dummy source to ensure the creation of a single base library" do
@installer.install!
build_files = @installer.library.target.source_build_phase.files
build_file = build_files.find { |bf| bf.file_ref.name == 'Pods-dummy.m' }
build_file.should.be.not.nil
build_file.file_ref.path.should == 'Pods-dummy.m'
dummy = config.sandbox.root + 'Pods-dummy.m'
dummy.read.should.include?('@interface PodsDummy_Pods')
end
end
end
end
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Installer::PodTargetInstaller do
describe "In General" do
before do
@podfile = Podfile.new do
platform :ios
xcodeproj 'dummy'
end
@target_definition = @podfile.target_definitions['Pods']
@project = Project.new(config.sandbox.project_path)
config.sandbox.project = @project
path_list = Sandbox::PathList.new(fixture('banana-lib'))
@spec = fixture_spec('banana-lib/BananaLib.podspec')
file_accessor = Sandbox::FileAccessor.new(path_list, @spec.consumer(:ios))
@project.add_file_references(file_accessor.source_files, 'BananaLib', @project.pods)
@pod_target = PodTarget.new([@spec], @target_definition, config.sandbox)
@pod_target.stubs(:platform).returns(Platform.new(:ios, '6.0'))
@pod_target.user_build_configurations = { 'Debug' => :debug, 'Release' => :release, 'AppStore' => :release, 'Test' => :debug }
@pod_target.file_accessors = [file_accessor]
@installer = Installer::PodTargetInstaller.new(config.sandbox, @pod_target)
@spec.prefix_header_contents = '#import "BlocksKit.h"'
end
it "adds file references for the support files of the target" do
@installer.install!
@project.support_files_group
group = @project.support_files_group['Pods-BananaLib']
group.children.map(&:display_name).sort.should == [
"Pods-BananaLib-Private.xcconfig",
"Pods-BananaLib-dummy.m",
"Pods-BananaLib-prefix.pch",
"Pods-BananaLib.xcconfig",
]
end
#--------------------------------------#
it 'adds the target for the static library to the project' do
@installer.install!
@project.targets.count.should == 1
@project.targets.first.name.should == 'Pods-BananaLib'
end
it "adds the user build configurations to the target" do
@installer.install!
target = @project.targets.first
target.build_settings('Test')["VALIDATE_PRODUCT"].should == nil
target.build_settings('AppStore')["VALIDATE_PRODUCT"].should == "YES"
end
it "sets ARCHS to 'armv6 armv7' for both configurations if the deployment target is less than 4.3 for iOS targets" do
@pod_target.stubs(:platform).returns(Platform.new(:ios, '4.0'))
@installer.install!
target = @project.targets.first
target.build_settings('Debug')["ARCHS"].should == "armv6 armv7"
target.build_settings('Release')["ARCHS"].should == "armv6 armv7"
end
it "uses standard ARCHs if deployment target is 4.3 or above" do
@installer.install!
target = @project.targets.first
target.build_settings('Debug')["ARCHS"].should == "$(ARCHS_STANDARD_32_BIT)"
target.build_settings('AppStore')["ARCHS"].should == "$(ARCHS_STANDARD_32_BIT)"
end
it "sets VALIDATE_PRODUCT to YES for the Release configuration for iOS targets" do
@installer.install!
target = @project.targets.first
target.build_settings('Release')["VALIDATE_PRODUCT"].should == "YES"
end
it "sets the platform and the deployment target for iOS targets" do
@installer.install!
target = @project.targets.first
target.platform_name.should == :ios
target.deployment_target.should == "6.0"
target.build_settings('Debug')["IPHONEOS_DEPLOYMENT_TARGET"].should == "6.0"
target.build_settings('AppStore')["IPHONEOS_DEPLOYMENT_TARGET"].should == "6.0"
end
it "sets the platform and the deployment target for OS X targets" do
@pod_target.stubs(:platform).returns(Platform.new(:osx, '10.8'))
@installer.install!
target = @project.targets.first
target.platform_name.should == :osx
target.deployment_target.should == "10.8"
target.build_settings('Debug')["MACOSX_DEPLOYMENT_TARGET"].should == "10.8"
target.build_settings('AppStore')["MACOSX_DEPLOYMENT_TARGET"].should == "10.8"
end
it "adds the user's build configurations to the target" do
@installer.install!
@project.targets.first.build_configurations.map(&:name).sort.should == %w{ AppStore Debug Release Test }
end
it "it creates different hash instances for the build settings of various build configurations" do
@installer.install!
build_settings = @project.targets.first.build_configurations.map(&:build_settings)
build_settings.map(&:object_id).uniq.count.should == 4
end
it "does not enable the GCC_WARN_INHIBIT_ALL_WARNINGS flag by default" do
@installer.install!
@installer.library.target.build_configurations.each do |config|
config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'].should.be.nil
end
end
#--------------------------------------#
it 'adds the source files of each pod to the target of the Pod library' do
@installer.install!
names = @installer.library.target.source_build_phase.files.map { |bf| bf.file_ref.name }
names.should.include("Banana.m")
end
it 'adds the frameworks required by to the pod to the project for informative purposes' do
Specification::Consumer.any_instance.stubs(:frameworks).returns(['QuartzCore'])
@installer.install!
names = @installer.sandbox.project['Frameworks'].children.map(&:name)
names.sort.should == ["Foundation.framework", "QuartzCore.framework"]
end
#--------------------------------------#
it "creates the xcconfig file" do
@installer.install!
file = config.sandbox.root + @pod_target.xcconfig_private_path
xcconfig = Xcodeproj::Config.new(file)
xcconfig.to_hash['PODS_ROOT'].should == '${SRCROOT}'
end
it "creates a prefix header, including the contents of the specification's prefix header" do
@spec.prefix_header_contents = '#import "BlocksKit.h"'
@installer.install!
prefix_header = config.sandbox.root + 'Pods-BananaLib-prefix.pch'
generated = prefix_header.read
expected = <<-EOS.strip_heredoc
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
#import "BlocksKit.h"
#import <BananaTree/BananaTree.h>
EOS
generated.should == expected
end
it "creates a dummy source to ensure the compilation of libraries with only categories" do
@installer.install!
build_files = @installer.library.target.source_build_phase.files
build_file = build_files.find { |bf| bf.file_ref.name == 'Pods-BananaLib-dummy.m' }
build_file.should.be.not.nil
build_file.file_ref.path.should == 'Pods-BananaLib-dummy.m'
dummy = config.sandbox.root + 'Pods-BananaLib-dummy.m'
dummy.read.should.include?('@interface PodsDummy_Pods')
end
#--------------------------------------------------------------------------------#
describe "concerning ARC before and after iOS 6.0 and OS X 10.8" do
before do
@spec = Pod::Spec.new
end
it "does not do anything if ARC is *not* required" do
@spec.requires_arc = false
@spec.ios.deployment_target = '5'
@spec.osx.deployment_target = '10.6'
ios_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
osx_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:osx))
ios_flags.should.not.include '-DOS_OBJECT_USE_OBJC'
osx_flags.should.not.include '-DOS_OBJECT_USE_OBJC'
end
it "does *not* disable the `OS_OBJECT_USE_OBJC` flag if ARC is required and has a deployment target of >= iOS 6.0 or OS X 10.8" do
@spec.requires_arc = false
@spec.ios.deployment_target = '6'
@spec.osx.deployment_target = '10.8'
ios_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
osx_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:osx))
ios_flags.should.not.include '-DOS_OBJECT_USE_OBJC'
osx_flags.should.not.include '-DOS_OBJECT_USE_OBJC'
end
it "*does* disable the `OS_OBJECT_USE_OBJC` flag if ARC is required but has a deployment target < iOS 6.0 or OS X 10.8" do
@spec.requires_arc = true
@spec.ios.deployment_target = '5.1'
@spec.osx.deployment_target = '10.7.2'
ios_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
osx_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:osx))
ios_flags.should.include '-DOS_OBJECT_USE_OBJC'
osx_flags.should.include '-DOS_OBJECT_USE_OBJC'
end
it "*does* disable the `OS_OBJECT_USE_OBJC` flag if ARC is required and *no* deployment target is specified" do
@spec.requires_arc = true
ios_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
osx_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:osx))
ios_flags.should.include '-DOS_OBJECT_USE_OBJC'
osx_flags.should.include '-DOS_OBJECT_USE_OBJC'
end
it "adds -w per pod if target definition inhibits warnings for that pod" do
@installer.library.target_definition.stubs(:inhibits_warnings_for_pod?).returns(true)
flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
flags.should.include?('-w')
end
it "doesn't inhibit warnings by default" do
flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
flags.should.not.include?('-w')
end
it "adds -Xanalyzer -analyzer-disable-checker per pod" do
@installer.library.target_definition.stubs(:inhibits_warnings_for_pod?).returns(true)
flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
flags.should.include?('-Xanalyzer -analyzer-disable-checker')
end
it "doesn't inhibit analyzer warnings by default" do
flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
flags.should.not.include?('-Xanalyzer -analyzer-disable-checker')
end
end
end
end
end
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../../../spec_helper', __FILE__)
module Pod module Pod
describe TargetInstaller = Installer::TargetInstaller do describe Installer::TargetInstaller do
describe "In General" do
before do
@podfile = Podfile.new do
platform :ios
xcodeproj 'dummy'
end
@target_definition = @podfile.target_definitions['Pods']
@project = Project.new(config.sandbox.project_path)
config.sandbox.project = @project
path_list = Sandbox::PathList.new(fixture('banana-lib'))
@spec = fixture_spec('banana-lib/BananaLib.podspec')
file_accessor = Sandbox::FileAccessor.new(path_list, @spec.consumer(:ios))
@project.add_file_references(file_accessor.source_files, 'BananaLib', @project.pods)
@library = Library.new(@target_definition)
@library.platform = Platform.new(:ios, '6.0')
@library.support_files_root = config.sandbox.root
@library.client_root = config.sandbox.root.dirname
@library.user_project_path = config.sandbox.root + '../user_project.xcodeproj'
@library.user_build_configurations = { 'Debug' => :debug, 'Release' => :release, 'AppStore' => :release, 'Test' => :debug }
@library.specs = [@spec]
@library.file_accessors = [file_accessor]
@installer = TargetInstaller.new(config.sandbox, @library)
@spec.prefix_header_contents = '#import "BlocksKit.h"'
end
it "adds file references for the support files of the target" do
@installer.install!
group = @project.support_files_group['Pods']
group.children.map(&:display_name).sort.should == [
"Pods-acknowledgements.markdown",
"Pods-acknowledgements.plist",
"Pods-dummy.m",
"Pods-environment.h",
"Pods-prefix.pch",
"Pods-resources.sh",
"Pods.xcconfig"
]
end
#--------------------------------------#
it 'adds the target for the static library to the project' do
@installer.install!
@project.targets.count.should == 1
@project.targets.first.name.should == @target_definition.label
end
it "adds the user build configurations to the target" do
@installer.install!
target = @project.targets.first
target.build_settings('Test')["VALIDATE_PRODUCT"].should == nil
target.build_settings('AppStore')["VALIDATE_PRODUCT"].should == "YES"
end
it "sets ARCHS to 'armv6 armv7' for both configurations if the deployment target is less than 4.3 for iOS targets" do
@library.platform = Platform.new(:ios, '4.0')
@installer.install!
target = @project.targets.first
target.build_settings('Debug')["ARCHS"].should == "armv6 armv7"
target.build_settings('Release')["ARCHS"].should == "armv6 armv7"
end
it "uses standard ARCHs if deployment target is 4.3 or above" do
@installer.install!
target = @project.targets.first
target.build_settings('Debug')["ARCHS"].should == "$(ARCHS_STANDARD_32_BIT)"
target.build_settings('AppStore')["ARCHS"].should == "$(ARCHS_STANDARD_32_BIT)"
end
it "sets VALIDATE_PRODUCT to YES for the Release configuration for iOS targets" do
@installer.install!
target = @project.targets.first
target.build_settings('Release')["VALIDATE_PRODUCT"].should == "YES"
end
it "sets the platform and the deployment target for iOS targets" do
@installer.install!
target = @project.targets.first
target.platform_name.should == :ios
target.deployment_target.should == "6.0"
target.build_settings('Debug')["IPHONEOS_DEPLOYMENT_TARGET"].should == "6.0"
target.build_settings('AppStore')["IPHONEOS_DEPLOYMENT_TARGET"].should == "6.0"
end
it "sets the platform and the deployment target for OS X targets" do
@library.platform = Platform.new(:osx, '10.8')
@installer.install!
target = @project.targets.first
target.platform_name.should == :osx
target.deployment_target.should == "10.8"
target.build_settings('Debug')["MACOSX_DEPLOYMENT_TARGET"].should == "10.8"
target.build_settings('AppStore')["MACOSX_DEPLOYMENT_TARGET"].should == "10.8"
end
it "adds the settings of the xcconfig that need to be overridden to the target" do
@installer.install!
build_configuration = @project.targets.first.build_configurations
build_settings = build_configuration.first.build_settings
Generator::XCConfig.pods_project_settings.each do |key, value|
build_settings[key].should == value
end
end
it "adds the user's build configurations to the target" do
@installer.install!
@project.targets.first.build_configurations.map(&:name).sort.should == %w{ AppStore Debug Release Test }
end
it "it creates different hash instances for the build settings of various build configurations" do
@installer.install!
build_settings = @project.targets.first.build_configurations.map(&:build_settings)
build_settings.map(&:object_id).uniq.count.should == 4
end
it "does not enable the GCC_WARN_INHIBIT_ALL_WARNINGS flag by default" do
@installer.install!
@installer.library.target.build_configurations.each do |config|
config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'].should.be.nil
end
end
#--------------------------------------#
it 'adds the source files of each pod to the target of the Pod library' do
@installer.install!
names = @installer.library.target.source_build_phase.files.map { |bf| bf.file_ref.name }
names.should.include("Banana.m")
end
it 'adds the frameworks required by to the pod to the project for informative purposes' do
Specification::Consumer.any_instance.stubs(:frameworks).returns(['QuartzCore'])
@installer.install!
names = @installer.sandbox.project['Frameworks'].children.map(&:name)
names.sort.should == ["Foundation.framework", "QuartzCore.framework"]
end
#--------------------------------------#
it "creates and xcconfig file" do
@installer.install!
file = config.sandbox.root + 'Pods.xcconfig'
xcconfig = Xcodeproj::Config.new(file)
xcconfig.to_hash['PODS_ROOT'].should == '${SRCROOT}/Pods'
end
it "creates a header for the target which contains the information about the installed Pods" do
@installer.install!
file = config.sandbox.root + 'Pods-environment.h'
contents = file.read
contents.should.include?('#define COCOAPODS_POD_AVAILABLE_BananaLib')
contents.should.include?('#define COCOAPODS_VERSION_MAJOR_BananaLib 1')
contents.should.include?('#define COCOAPODS_VERSION_MINOR_BananaLib 0')
contents.should.include?('#define COCOAPODS_VERSION_PATCH_BananaLib 0')
end
it "creates a prefix header, including the contents of the specification's prefix header" do
@spec.prefix_header_contents = '#import "BlocksKit.h"'
@installer.install!
prefix_header = config.sandbox.root + 'Pods-prefix.pch'
generated = prefix_header.read
expected = <<-EOS.strip_heredoc
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
#import "BlocksKit.h"
#import <BananaTree/BananaTree.h>
EOS
generated.should == expected
end
it "creates a bridge support file" do
Podfile.any_instance.stubs(:generate_bridge_support? => true)
Generator::BridgeSupport.any_instance.expects(:save_as).once
@installer.install!
end
it "creates a create copy resources script" do
@installer.install!
script = config.sandbox.root + 'Pods-resources.sh'
script.read.should.include?('logo-sidebar.png')
end
it "creates the acknowledgements files " do
@installer.install!
markdown = config.sandbox.root + 'Pods-acknowledgements.markdown'
markdown.read.should.include?('Permission is hereby granted')
plist = config.sandbox.root + 'Pods-acknowledgements.plist'
plist.read.should.include?('Permission is hereby granted')
end
it "creates a dummy source to ensure the compilation of libraries with only categories" do
@installer.install!
build_files = @installer.library.target.source_build_phase.files
build_file = build_files.find { |bf| bf.file_ref.name == 'Pods-dummy.m' }
build_file.should.be.not.nil
build_file.file_ref.path.should == 'Pods-dummy.m'
dummy = config.sandbox.root + 'Pods-dummy.m'
dummy.read.should.include?('@interface PodsDummy_Pods')
end
#--------------------------------------------------------------------------------#
describe "concerning ARC before and after iOS 6.0 and OS X 10.8" do
before do
@spec = Pod::Spec.new
end
it "does not do anything if ARC is *not* required" do
@spec.requires_arc = false
@spec.ios.deployment_target = '5'
@spec.osx.deployment_target = '10.6'
ios_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
osx_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:osx))
ios_flags.should.not.include '-DOS_OBJECT_USE_OBJC'
osx_flags.should.not.include '-DOS_OBJECT_USE_OBJC'
end
it "does *not* disable the `OS_OBJECT_USE_OBJC` flag if ARC is required and has a deployment target of >= iOS 6.0 or OS X 10.8" do
@spec.requires_arc = false
@spec.ios.deployment_target = '6'
@spec.osx.deployment_target = '10.8'
ios_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
osx_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:osx))
ios_flags.should.not.include '-DOS_OBJECT_USE_OBJC'
osx_flags.should.not.include '-DOS_OBJECT_USE_OBJC'
end
it "*does* disable the `OS_OBJECT_USE_OBJC` flag if ARC is required but has a deployment target < iOS 6.0 or OS X 10.8" do
@spec.requires_arc = true
@spec.ios.deployment_target = '5.1'
@spec.osx.deployment_target = '10.7.2'
ios_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
osx_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:osx))
ios_flags.should.include '-DOS_OBJECT_USE_OBJC'
osx_flags.should.include '-DOS_OBJECT_USE_OBJC'
end
it "*does* disable the `OS_OBJECT_USE_OBJC` flag if ARC is required and *no* deployment target is specified" do
@spec.requires_arc = true
ios_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
osx_flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:osx))
ios_flags.should.include '-DOS_OBJECT_USE_OBJC'
osx_flags.should.include '-DOS_OBJECT_USE_OBJC'
end
it "adds -w per pod if target definition inhibits warnings for that pod" do
@installer.library.target_definition.stubs(:inhibits_warnings_for_pod?).returns(true)
flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
flags.should.include?('-w')
end
it "doesn't inhibit warnings by default" do
flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
flags.should.not.include?('-w')
end
it "adds -Xanalyzer -analyzer-disable-checker per pod" do
@installer.library.target_definition.stubs(:inhibits_warnings_for_pod?).returns(true)
flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
flags.should.include?('-Xanalyzer -analyzer-disable-checker')
end
it "doesn't inhibit analyzer warnings by default" do
flags = @installer.send(:compiler_flags_for_consumer, @spec.consumer(:ios))
flags.should.not.include?('-Xanalyzer -analyzer-disable-checker')
end
end
end
end end
end end
...@@ -13,28 +13,26 @@ module Pod ...@@ -13,28 +13,26 @@ module Pod
before do before do
sample_project_path = SpecHelper.create_sample_app_copy_from_fixture('SampleProject') sample_project_path = SpecHelper.create_sample_app_copy_from_fixture('SampleProject')
@sample_project = Xcodeproj::Project.new sample_project_path @sample_project = Xcodeproj::Project.new sample_project_path
Xcodeproj::Project.new.save_as(config.sandbox.project_path)
@target = @sample_project.targets.first @target = @sample_project.targets.first
target_definition = Podfile::TargetDefinition.new('Pods', nil) target_definition = Podfile::TargetDefinition.new('Pods', nil)
target_definition.link_with_first_target = true target_definition.link_with_first_target = true
@lib = Library.new(target_definition) @lib = AggregateTarget.new(target_definition, config.sandbox)
@lib.user_project_path = sample_project_path @lib.user_project_path = sample_project_path
@lib.client_root = sample_project_path.dirname @lib.client_root = sample_project_path.dirname
pods_project = Project.new()
@lib.target = pods_project.new_target(:static_library, target_definition.label, :ios)
@lib.user_target_uuids = [@target.uuid] @lib.user_target_uuids = [@target.uuid]
@lib.support_files_root = config.sandbox.root
@target_integrator = TargetIntegrator.new(@lib) @target_integrator = TargetIntegrator.new(@lib)
end end
it 'returns the targets that need to be integrated' do it 'returns the targets that need to be integrated' do
@target_integrator.targets.map(&:name).should == %w[ SampleProject ] @target_integrator.native_targets.map(&:name).should == %w[ SampleProject ]
end end
it 'returns the targets that need to be integrated' do it 'returns the targets that need to be integrated' do
pods_library = @sample_project.frameworks_group.new_static_library('Pods') pods_library = @sample_project.frameworks_group.new_static_library('Pods')
@target.frameworks_build_phase.add_file_reference(pods_library) @target.frameworks_build_phase.add_file_reference(pods_library)
@target_integrator.stubs(:user_project).returns(@sample_project) @target_integrator.stubs(:user_project).returns(@sample_project)
@target_integrator.targets.map(&:name).should.be.empty? @target_integrator.native_targets.map(&:name).should.be.empty?
end end
it 'is robust against other types of references in the build files of the frameworks build phase' do it 'is robust against other types of references in the build files of the frameworks build phase' do
...@@ -42,7 +40,7 @@ module Pod ...@@ -42,7 +40,7 @@ module Pod
build_file.file_ref = @sample_project.new(Xcodeproj::Project::PBXVariantGroup) build_file.file_ref = @sample_project.new(Xcodeproj::Project::PBXVariantGroup)
@target_integrator.stubs(:user_project).returns(@sample_project) @target_integrator.stubs(:user_project).returns(@sample_project)
@target.frameworks_build_phase.files << build_file @target.frameworks_build_phase.files << build_file
@target_integrator.targets.map(&:name).should == %w[ SampleProject ] @target_integrator.native_targets.map(&:name).should == %w[ SampleProject ]
end end
it 'is robust against build files with missing file references' do it 'is robust against build files with missing file references' do
...@@ -50,11 +48,11 @@ module Pod ...@@ -50,11 +48,11 @@ module Pod
build_file.file_ref = nil build_file.file_ref = nil
@target_integrator.stubs(:user_project).returns(@sample_project) @target_integrator.stubs(:user_project).returns(@sample_project)
@target.frameworks_build_phase.files << build_file @target.frameworks_build_phase.files << build_file
@target_integrator.targets.map(&:name).should == %w[ SampleProject ] @target_integrator.native_targets.map(&:name).should == %w[ SampleProject ]
end end
it 'does not perform the integration if there are no targets to integrate' do it 'does not perform the integration if there are no targets to integrate' do
@target_integrator.stubs(:targets).returns([]) @target_integrator.stubs(:native_targets).returns([])
@target_integrator.expects(:add_xcconfig_base_configuration).never @target_integrator.expects(:add_xcconfig_base_configuration).never
@target_integrator.expects(:add_pods_library).never @target_integrator.expects(:add_pods_library).never
@target_integrator.expects(:add_copy_resources_script_phase).never @target_integrator.expects(:add_copy_resources_script_phase).never
...@@ -78,18 +76,18 @@ module Pod ...@@ -78,18 +76,18 @@ module Pod
end end
it 'adds the libPods static library to the "Link binary with libraries" build phase of each target' do it 'adds the libPods static library to the "Link binary with libraries" build phase of each target' do
target = @target_integrator.targets.first target = @target_integrator.native_targets.first
target.frameworks_build_phase.files.find { |f| f.file_ref.path == 'libPods.a'}.should.not == nil target.frameworks_build_phase.files.find { |f| f.file_ref.path == 'libPods.a'}.should.not == nil
end end
it 'adds a Copy Pods Resources build phase to each target' do it 'adds a Copy Pods Resources build phase to each target' do
target = @target_integrator.targets.first target = @target_integrator.native_targets.first
phase = target.shell_script_build_phases.find { |bp| bp.name == "Copy Pods Resources" } phase = target.shell_script_build_phases.find { |bp| bp.name == "Copy Pods Resources" }
phase.shell_script.strip.should == "\"${SRCROOT}/../Pods/Pods-resources.sh\"" phase.shell_script.strip.should == "\"${SRCROOT}/../Pods/Pods-resources.sh\""
end end
it 'adds a Check Manifest.lock build phase to each target' do it 'adds a Check Manifest.lock build phase to each target' do
target = @target_integrator.targets.first target = @target_integrator.native_targets.first
phase = target.shell_script_build_phases.find { |bp| bp.name == "Check Pods Manifest.lock" } phase = target.shell_script_build_phases.find { |bp| bp.name == "Check Pods Manifest.lock" }
phase.shell_script.should == <<-EOS.strip_heredoc phase.shell_script.should == <<-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
...@@ -103,7 +101,7 @@ module Pod ...@@ -103,7 +101,7 @@ module Pod
end end
it 'adds the Check Manifest.lock build phase as the first build phase' do it 'adds the Check Manifest.lock build phase as the first build phase' do
target = @target_integrator.targets.first target = @target_integrator.native_targets.first
phase = target.build_phases.find { |bp| bp.name == "Check Pods Manifest.lock" } phase = target.build_phases.find { |bp| bp.name == "Check Pods Manifest.lock" }
target.build_phases.first.should.equal? phase target.build_phases.first.should.equal? phase
end end
......
...@@ -17,12 +17,12 @@ module Pod ...@@ -17,12 +17,12 @@ module Pod
end end
end end
config.sandbox.project = Project.new() config.sandbox.project = Project.new()
@library = Library.new(@podfile.target_definitions['Pods']) Xcodeproj::Project.new.save_as(config.sandbox.project_path)
@library = AggregateTarget.new(@podfile.target_definitions['Pods'], config.sandbox)
@library.client_root = sample_project_path.dirname @library.client_root = sample_project_path.dirname
@library.user_project_path = sample_project_path @library.user_project_path = sample_project_path
@library.user_target_uuids = ['A346496C14F9BE9A0080D870'] @library.user_target_uuids = ['A346496C14F9BE9A0080D870']
@library.support_files_root = config.sandbox.root empty_library = AggregateTarget.new(@podfile.target_definitions[:empty], config.sandbox)
empty_library = Library.new(@podfile.target_definitions[:empty])
@integrator = Installer::UserProjectIntegrator.new(@podfile, config.sandbox, temporary_directory, [@library, empty_library]) @integrator = Installer::UserProjectIntegrator.new(@podfile, config.sandbox, temporary_directory, [@library, empty_library])
end end
...@@ -148,8 +148,8 @@ module Pod ...@@ -148,8 +148,8 @@ module Pod
end end
it "skips libraries with empty target definitions" do it "skips libraries with empty target definitions" do
@integrator.libraries.map(&:name).should == ["Pods", "Pods-empty"] @integrator.targets.map(&:name).should == ["Pods", "Pods-empty"]
@integrator.send(:libraries_to_integrate).map(&:name).should == ['Pods'] @integrator.send(:targets_to_integrate).map(&:name).should == ['Pods']
end end
end end
......
...@@ -61,7 +61,8 @@ module Pod ...@@ -61,7 +61,8 @@ module Pod
@installer.stubs(:prepare_pods_project) @installer.stubs(:prepare_pods_project)
@installer.stubs(:run_pre_install_hooks) @installer.stubs(:run_pre_install_hooks)
@installer.stubs(:install_file_references) @installer.stubs(:install_file_references)
@installer.stubs(:install_targets) @installer.stubs(:install_libraries)
@installer.stubs(:link_aggregate_target)
@installer.stubs(:write_lockfiles) @installer.stubs(:write_lockfiles)
@installer.unstub(:generate_pods_project) @installer.unstub(:generate_pods_project)
def @installer.run_post_install_hooks def @installer.run_post_install_hooks
...@@ -104,16 +105,18 @@ module Pod ...@@ -104,16 +105,18 @@ module Pod
@installer.analysis_result.sandbox_state.added.should == ["JSONKit"] @installer.analysis_result.sandbox_state.added.should == ["JSONKit"]
end end
it "stores the libraries created by the analyzer" do it "stores the targets created by the analyzer" do
@installer.send(:analyze) @installer.send(:analyze)
@installer.libraries.map(&:name).should == ['Pods'] @installer.aggregate_targets.map(&:name).sort.should == ['Pods']
@installer.pod_targets.map(&:name).sort.should == ['Pods-JSONKit']
end end
it "configures the analizer to use update mode if appropriate" do it "configures the analizer to use update mode if appropriate" do
@installer.update_mode = true @installer.update_mode = true
Installer::Analyzer.any_instance.expects(:update_mode=).with(true) Installer::Analyzer.any_instance.expects(:update_mode=).with(true)
@installer.send(:analyze) @installer.send(:analyze)
@installer.libraries.map(&:name).should == ['Pods'] @installer.aggregate_targets.map(&:name).sort.should == ['Pods']
@installer.pod_targets.map(&:name).sort.should == ['Pods-JSONKit']
end end
end end
...@@ -126,12 +129,16 @@ module Pod ...@@ -126,12 +129,16 @@ module Pod
@analysis_result = Installer::Analyzer::AnalysisResult.new @analysis_result = Installer::Analyzer::AnalysisResult.new
@analysis_result.specifications = [] @analysis_result.specifications = []
@analysis_result.sandbox_state = Installer::Analyzer::SpecsState.new() @analysis_result.sandbox_state = Installer::Analyzer::SpecsState.new()
@pod_targets = [PodTarget.new([], nil, config.sandbox)]
@installer.stubs(:analysis_result).returns(@analysis_result) @installer.stubs(:analysis_result).returns(@analysis_result)
@installer.stubs(:pod_targets).returns(@pod_targets)
end end
it "cleans the header stores" do it "cleans the header stores" do
config.sandbox.build_headers.expects(:implode!)
config.sandbox.public_headers.expects(:implode!) config.sandbox.public_headers.expects(:implode!)
@installer.pod_targets.each do |pods_target|
pods_target.build_headers.expects(:implode!)
end
@installer.send(:clean_sandbox) @installer.send(:clean_sandbox)
end end
...@@ -167,10 +174,9 @@ module Pod ...@@ -167,10 +174,9 @@ module Pod
it "correctly configures the Pod source installer" do it "correctly configures the Pod source installer" do
spec = fixture_spec('banana-lib/BananaLib.podspec') spec = fixture_spec('banana-lib/BananaLib.podspec')
library = Library.new(nil) pod_target = PodTarget.new([spec], nil, config.sandbox)
library.specs = [spec] pod_target.stubs(:platform).returns(:ios)
library.platform = :ios @installer.stubs(:pod_targets).returns([pod_target])
@installer.stubs(:libraries).returns([library])
@installer.instance_variable_set(:@installed_specs, []) @installer.instance_variable_set(:@installed_specs, [])
Installer::PodSourceInstaller.any_instance.expects(:install!) Installer::PodSourceInstaller.any_instance.expects(:install!)
@installer.send(:install_source_of_pod, 'BananaLib') @installer.send(:install_source_of_pod, 'BananaLib')
...@@ -178,9 +184,9 @@ module Pod ...@@ -178,9 +184,9 @@ module Pod
it "maintains the list of the installed specs" do it "maintains the list of the installed specs" do
spec = fixture_spec('banana-lib/BananaLib.podspec') spec = fixture_spec('banana-lib/BananaLib.podspec')
library = Library.new(nil) pod_target = PodTarget.new([spec], nil, config.sandbox)
library.specs = [spec] pod_target.stubs(:platform).returns(:ios)
@installer.stubs(:libraries).returns([library, library]) @installer.stubs(:pod_targets).returns([pod_target, pod_target])
@installer.instance_variable_set(:@installed_specs, []) @installer.instance_variable_set(:@installed_specs, [])
Installer::PodSourceInstaller.any_instance.stubs(:install!) Installer::PodSourceInstaller.any_instance.stubs(:install!)
@installer.send(:install_source_of_pod, 'BananaLib') @installer.send(:install_source_of_pod, 'BananaLib')
...@@ -211,13 +217,13 @@ module Pod ...@@ -211,13 +217,13 @@ module Pod
describe "#prepare_pods_project" do describe "#prepare_pods_project" do
it "creates the Pods project" do it "creates the Pods project" do
@installer.stubs(:libraries).returns([]) @installer.stubs(:aggregate_targets).returns([])
@installer.send(:prepare_pods_project) @installer.send(:prepare_pods_project)
@installer.pods_project.class.should == Pod::Project @installer.pods_project.class.should == Pod::Project
end end
it "adds the Podfile to the Pods project" do it "adds the Podfile to the Pods project" do
@installer.stubs(:libraries).returns([]) @installer.stubs(:aggregate_targets).returns([])
config.stubs(:podfile_path).returns(Pathname.new('/Podfile')) config.stubs(:podfile_path).returns(Pathname.new('/Podfile'))
@installer.send(:prepare_pods_project) @installer.send(:prepare_pods_project)
f = @installer.pods_project['Podfile'] f = @installer.pods_project['Podfile']
...@@ -225,11 +231,11 @@ module Pod ...@@ -225,11 +231,11 @@ module Pod
end end
it "sets the deployment target for the whole project" do it "sets the deployment target for the whole project" do
library_ios = Library.new(nil) pod_target_ios = PodTarget.new([], nil, config.sandbox)
library_osx = Library.new(nil) pod_target_osx = PodTarget.new([], nil, config.sandbox)
library_ios.platform = Platform.new(:ios, '6.0') pod_target_ios.stubs(:platform).returns(Platform.new(:ios, '6.0'))
library_osx.platform = Platform.new(:osx, '10.8') pod_target_osx.stubs(:platform).returns(Platform.new(:osx, '10.8'))
@installer.stubs(:libraries).returns([library_ios, library_osx]) @installer.stubs(:aggregate_targets).returns([pod_target_ios, pod_target_osx])
@installer.send(:prepare_pods_project) @installer.send(:prepare_pods_project)
build_settings = @installer.pods_project.build_configurations.map(&:build_settings) build_settings = @installer.pods_project.build_configurations.map(&:build_settings)
build_settings.should == [ build_settings.should == [
...@@ -244,6 +250,7 @@ module Pod ...@@ -244,6 +250,7 @@ module Pod
describe "#install_file_references" do describe "#install_file_references" do
it "installs the file references" do it "installs the file references" do
@installer.stubs(:pod_targets).returns([])
Installer::FileReferencesInstaller.any_instance.expects(:install!) Installer::FileReferencesInstaller.any_instance.expects(:install!)
@installer.send(:install_file_references) @installer.send(:install_file_references)
end end
...@@ -252,27 +259,27 @@ module Pod ...@@ -252,27 +259,27 @@ module Pod
#--------------------------------------# #--------------------------------------#
describe "#install_targets" do describe "#install_libraries" do
it "install the targets of the Pod project" do it "install the targets of the Pod project" do
spec = fixture_spec('banana-lib/BananaLib.podspec') spec = fixture_spec('banana-lib/BananaLib.podspec')
target_definition = Podfile::TargetDefinition.new(:default, nil) target_definition = Podfile::TargetDefinition.new(:default, nil)
target_definition.store_pod('BananaLib') target_definition.store_pod('BananaLib')
library = Library.new(target_definition) pod_target = PodTarget.new([spec], target_definition, config.sandbox)
library.specs = [spec] @installer.stubs(:aggregate_targets).returns([])
@installer.stubs(:libraries).returns([library]) @installer.stubs(:pod_targets).returns([pod_target])
Installer::TargetInstaller.any_instance.expects(:install!) Installer::PodTargetInstaller.any_instance.expects(:install!)
@installer.send(:install_targets) @installer.send(:install_libraries)
end end
it "skips empty libraries" do it "skips empty pod targets" do
spec = fixture_spec('banana-lib/BananaLib.podspec') spec = fixture_spec('banana-lib/BananaLib.podspec')
target_definition = Podfile::TargetDefinition.new(:default, nil) target_definition = Podfile::TargetDefinition.new(:default, nil)
library = Library.new(target_definition) pod_target = PodTarget.new([spec], target_definition, config.sandbox)
library.specs = [spec] @installer.stubs(:aggregate_targets).returns([])
@installer.stubs(:libraries).returns([library]) @installer.stubs(:pod_targets).returns([pod_target])
Installer::TargetInstaller.any_instance.expects(:install!).never Installer::PodTargetInstaller.any_instance.expects(:install!).never
@installer.send(:install_targets) @installer.send(:install_libraries)
end end
end end
...@@ -282,7 +289,7 @@ module Pod ...@@ -282,7 +289,7 @@ module Pod
describe "#write_pod_project" do describe "#write_pod_project" do
before do before do
@installer.stubs(:libraries).returns([]) @installer.stubs(:aggregate_targets).returns([])
@installer.send(:prepare_pods_project) @installer.send(:prepare_pods_project)
end end
...@@ -339,8 +346,28 @@ module Pod ...@@ -339,8 +346,28 @@ module Pod
describe "Integrating client projects" do describe "Integrating client projects" do
it "links the pod targets with the aggregate integration library target" do
spec = fixture_spec('banana-lib/BananaLib.podspec')
target_definition = Podfile::TargetDefinition.new('Pods', nil)
target = AggregateTarget.new(target_definition, config.sandbox)
lib_definition = Podfile::TargetDefinition.new('BananaLib', nil)
lib_definition.store_pod('BananaLib')
pod_target = PodTarget.new([spec], lib_definition, config.sandbox)
target.pod_targets = [pod_target]
project = Xcodeproj::Project.new
pods_target = project.new_target(:static_library, target.name, :ios)
native_target = project.new_target(:static_library, pod_target.name, :ios)
@installer.stubs(:pods_project).returns(project)
@installer.stubs(:aggregate_targets).returns([target])
@installer.stubs(:pod_targets).returns([pod_target])
@installer.send(:link_aggregate_target)
pods_target.frameworks_build_phase.files.map(&:display_name).should.include?(pod_target.product_name)
end
it "integrates the client projects" do it "integrates the client projects" do
@installer.stubs(:libraries).returns([Library.new(nil)]) @installer.stubs(:aggregate_targets).returns([AggregateTarget.new(nil, config.sandbox)])
Installer::UserProjectIntegrator.any_instance.expects(:integrate!) Installer::UserProjectIntegrator.any_instance.expects(:integrate!)
@installer.send(:integrate_user_project) @installer.send(:integrate_user_project)
end end
...@@ -353,10 +380,10 @@ module Pod ...@@ -353,10 +380,10 @@ module Pod
before do before do
@installer.send(:analyze) @installer.send(:analyze)
@specs = @installer.libraries.map(&:specs).flatten @specs = @installer.pod_targets.map(&:specs).flatten
@spec = @specs.find { |spec| spec.name == 'JSONKit' } @spec = @specs.find { |spec| spec && spec.name == 'JSONKit' }
@installer.stubs(:installed_specs).returns(@specs) @installer.stubs(:installed_specs).returns(@specs)
@lib = @installer.libraries.first @lib = @installer.aggregate_targets.first.pod_targets.first
end end
it "runs the pre install hooks" do it "runs the pre install hooks" do
...@@ -384,19 +411,17 @@ module Pod ...@@ -384,19 +411,17 @@ module Pod
end end
it "calls the hooks in the specs for each target" do it "calls the hooks in the specs for each target" do
library_ios = Library.new(nil) pod_target_ios = PodTarget.new([@spec], nil, config.sandbox)
library_osx = Library.new(nil) pod_target_osx = PodTarget.new([@spec], nil, config.sandbox)
library_ios.specs = [@spec] pod_target_ios.stubs(:name).returns('label')
library_osx.specs = [@spec] pod_target_osx.stubs(:name).returns('label')
library_ios.stubs(:name).returns('label')
library_osx.stubs(:name).returns('label')
library_ios_rep = stub() library_ios_rep = stub()
library_osx_rep = stub() library_osx_rep = stub()
@installer.stubs(:libraries).returns([library_ios, library_osx]) @installer.stubs(:pod_targets).returns([pod_target_ios, pod_target_osx])
@installer.stubs(:installer_rep).returns(stub()) @installer.stubs(:installer_rep).returns(stub())
@installer.stubs(:library_rep).with(library_ios).returns(library_ios_rep) @installer.stubs(:library_rep).with(pod_target_ios).returns(library_ios_rep)
@installer.stubs(:library_rep).with(library_osx).returns(library_osx_rep) @installer.stubs(:library_rep).with(pod_target_osx).returns(library_osx_rep)
@installer.podfile.expects(:pre_install!) @installer.podfile.expects(:pre_install!)
@spec.expects(:post_install!).with(library_ios_rep) @spec.expects(:post_install!).with(library_ios_rep)
...@@ -421,7 +446,7 @@ module Pod ...@@ -421,7 +446,7 @@ module Pod
it "returns the hook representation of a library" do it "returns the hook representation of a library" do
rep = @installer.send(:library_rep, @lib) rep = @installer.send(:library_rep, @lib)
rep.send(:library).name.should == 'Pods' rep.send(:library).name.should == 'Pods-JSONKit'
end end
it "returns the hook representation of all the pods" do it "returns the hook representation of all the pods" do
...@@ -431,12 +456,12 @@ module Pod ...@@ -431,12 +456,12 @@ module Pod
it "returns the hook representation of all the target installers" do it "returns the hook representation of all the target installers" do
reps = @installer.send(:library_reps) reps = @installer.send(:library_reps)
reps.map(&:name).should == ['Pods'] reps.map(&:name).sort.should == ['Pods-JSONKit'].sort
end end
it "returns the libraries which use a given Pod" do it "returns the targets which use a given Pod" do
libs = @installer.send(:libraries_using_spec, @spec) libs = @installer.send(:libraries_using_spec, @spec)
libs.map(&:name).should == ['Pods'] libs.map(&:name).should == ['Pods-JSONKit']
end end
end end
......
require File.expand_path('../../spec_helper', __FILE__) require File.expand_path('../../spec_helper', __FILE__)
module Pod module Pod
describe Pod::Library do describe Pod::AggregateTarget do
describe "In general" do describe "In general" do
before do before do
@target_definition = Podfile::TargetDefinition.new('Pods', nil) @target_definition = Podfile::TargetDefinition.new('Pods', nil)
@target_definition.link_with_first_target = true @target_definition.link_with_first_target = true
@lib = Library.new(@target_definition) @lib = AggregateTarget.new(@target_definition, config.sandbox)
end end
it "returns the target_definition that generated it" do it "returns the target_definition that generated it" do
...@@ -31,8 +31,7 @@ module Pod ...@@ -31,8 +31,7 @@ module Pod
before do before do
@target_definition = Podfile::TargetDefinition.new('Pods', nil) @target_definition = Podfile::TargetDefinition.new('Pods', nil)
@target_definition.link_with_first_target = true @target_definition.link_with_first_target = true
@lib = Library.new(@target_definition) @lib = AggregateTarget.new(@target_definition, config.sandbox)
@lib.support_files_root = config.sandbox.root
@lib.client_root = config.sandbox.root.dirname @lib.client_root = config.sandbox.root.dirname
end end
......
...@@ -27,10 +27,6 @@ module Pod ...@@ -27,10 +27,6 @@ module Pod
@sandbox.public_headers.root.should == temporary_directory + 'Sandbox/Headers' @sandbox.public_headers.root.should == temporary_directory + 'Sandbox/Headers'
end end
it "returns the build headers store" do
@sandbox.build_headers.root.should == temporary_directory + 'Sandbox/BuildHeaders'
end
it "deletes the entire root directory on implode" do it "deletes the entire root directory on implode" do
@sandbox.implode @sandbox.implode
File.directory?(temporary_directory + 'Sandbox').should.be.false File.directory?(temporary_directory + 'Sandbox').should.be.false
......
require File.expand_path('../../../spec_helper', __FILE__)
module Pod
describe AggregateTarget do
describe "In general" do
before do
@target_definition = Podfile::TargetDefinition.new('Pods', nil)
@target_definition.link_with_first_target = true
@target = AggregateTarget.new(@target_definition, config.sandbox)
end
it "returns the target_definition that generated it" do
@target.target_definition.should == @target_definition
end
it "returns the label of the target definition" do
@target.label.should == 'Pods'
end
it "returns its name" do
@target.name.should == 'Pods'
end
it "returns the name of its product" do
@target.product_name.should == 'libPods.a'
end
end
describe "Support files" do
before do
@target_definition = Podfile::TargetDefinition.new('Pods', nil)
@target_definition.link_with_first_target = true
@target = AggregateTarget.new(@target_definition, config.sandbox)
@target.client_root = config.sandbox.root.dirname
end
it "returns the absolute path of the xcconfig file" do
@target.xcconfig_path.to_s.should.include?('Pods/Pods.xcconfig')
end
it "returns the absolute path of the resources script" do
@target.copy_resources_script_path.to_s.should.include?('Pods/Pods-resources.sh')
end
it "returns the absolute path of the target header file" do
@target.target_environment_header_path.to_s.should.include?('Pods/Pods-environment.h')
end
it "returns the absolute path of the prefix header file" do
@target.prefix_header_path.to_s.should.include?('Pods/Pods-prefix.pch')
end
it "returns the absolute path of the bridge support file" do
@target.bridge_support_path.to_s.should.include?('Pods/Pods.bridgesupport')
end
it "returns the absolute path of the acknowledgements files without extension" do
@target.acknowledgements_basepath.to_s.should.include?('Pods/Pods-acknowledgements')
end
#--------------------------------------#
it "returns the path of the resources script relative to the user project" do
@target.copy_resources_script_relative_path.should == '${SRCROOT}/Pods/Pods-resources.sh'
end
it "returns the path of the xcconfig file relative to the user project" do
@target.xcconfig_relative_path.should == 'Pods/Pods.xcconfig'
end
end
describe "Pod targets" do
before do
spec = fixture_spec('banana-lib/BananaLib.podspec')
target_definition = Podfile::TargetDefinition.new('Pods', nil)
pod_target = PodTarget.new([spec], target_definition, config.sandbox)
@target = AggregateTarget.new(target_definition, config.sandbox)
@target.stubs(:platform).returns(:ios)
@target.pod_targets = [pod_target]
end
it "returns the spec consumers for the pod targets" do
@target.spec_consumers.should.not == nil
end
end
end
end
require File.expand_path('../../../spec_helper', __FILE__)
module Pod
describe PodTarget do
before do
spec = fixture_spec('banana-lib/BananaLib.podspec')
@target_definition = Podfile::TargetDefinition.new('Pods', nil)
@pod_target = PodTarget.new([spec], @target_definition, config.sandbox)
@pod_target.stubs(:platform).returns(:ios)
end
describe "In general" do
it "returns the target_definition that generated it" do
@pod_target.target_definition.should == @target_definition
end
it "returns its name" do
@pod_target.name.should == 'Pods-BananaLib'
end
it "returns the name of its product" do
@pod_target.product_name.should == 'libPods-BananaLib.a'
end
it "returns the spec consumers for the pod targets" do
@pod_target.spec_consumers.should.not == nil
end
end
describe "Support files" do
it "returns the absolute path of the xcconfig file" do
@pod_target.xcconfig_path.to_s.should.include 'Pods/Pods-BananaLib.xcconfig'
end
it "returns the absolute path of the target header file" do
@pod_target.target_environment_header_path.to_s.should.include 'Pods/Pods-environment.h'
end
it "returns the absolute path of the prefix header file" do
@pod_target.prefix_header_path.to_s.should.include 'Pods/Pods-BananaLib-prefix.pch'
end
it "returns the absolute path of the bridge support file" do
@pod_target.bridge_support_path.to_s.should.include 'Pods/Pods-BananaLib.bridgesupport'
end
it "returns the absolute path of the public and private xcconfig files" do
@pod_target.xcconfig_path.to_s.should.include 'Pods/Pods-BananaLib.xcconfig'
@pod_target.xcconfig_private_path.to_s.should.include 'Pods/Pods-BananaLib-Private.xcconfig'
end
end
end
end
require File.expand_path('../../spec_helper', __FILE__)
module Pod
describe Target do
end
end
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