Commit 0304d9d6 authored by Fabio Pelosin's avatar Fabio Pelosin

Merge branch 'master' into dedicated-targets

* master: (46 commits)
  Use Kicker from master
  [Changelog] Fixed crash due to Podfile.lock containing multiple version requirements.
  [Integration] Update fixtures
  * Truncating the resources-to-copy.txt file if it already exists.
  [Travis] Attempt to fix 1.9.3 Issues
  Remove Rake dependency
  [Specs] Remove old uneeded integration spec
  [Core] Update for recent changes
  [Bundler] Add Gemfile.lock to source control and update Bundler on release
  Remove Octokit dep 2
  [WIP] Remove Octokit dep
  Fix missing space in output.
  english fix for 'Podfile does not contain any dependency'
  Release 0.20.2
  [Sandbox] Allow sandbox-pod to execute any tool inside a rbenv prefix.
  Bump to 0.20.2
  [CHANGELOG] Cleanup.
  [Spec] Update integrations specs for 0.20.2
  [CHANGELOG] Update for 0.20.2
  [Sandbox] Allow any tool inside the Xcode.app bundle to be executed.
  ...

Conflicts:
	spec/integration/install_add_pod/after/Pods/Pods-resources.sh
	spec/integration/install_custom_workspace/after/Podfile.lock
	spec/integration/install_custom_workspace/after/Pods/Manifest.lock
	spec/integration/install_external_source/after/Pods/Pods-resources.sh
	spec/integration/install_local_source/after/Pods/Pods-resources.sh
	spec/integration/install_multiple_targets/after/Pods/Pods-SampleApp_2-resources.sh
	spec/integration/install_multiple_targets/after/Pods/Pods-resources.sh
	spec/integration/install_multiple_targets/after/Pods/Pods-test-resources.sh
	spec/integration/install_new/after/Pods/Pods-resources.sh
	spec/integration/install_podfile_callbacks/after/Pods/Pods-resources.sh
	spec/integration/install_podspec/after/Pods/Pods-resources.sh
	spec/integration/install_remove_pod/after/Pods/Pods-resources.sh
	spec/integration/install_spec_callbacks/after/Pods/Pods-resources.sh
	spec/integration/install_subspecs/after/Podfile.lock
	spec/integration/install_subspecs/after/Pods/Manifest.lock
	spec/integration/update/after/Pods/Pods-resources.sh
	spec/integration_spec.rb
	spec/unit/installer_spec.rb
parents a7607455 c4fedc56
...@@ -10,7 +10,6 @@ xcuserdata ...@@ -10,7 +10,6 @@ xcuserdata
project.xcworkspace project.xcworkspace
DerivedData DerivedData
/concatenated.* /concatenated.*
Gemfile.lock
# Yardoc # Yardoc
.yardoc .yardoc
......
...@@ -2,7 +2,7 @@ language: objective-c ...@@ -2,7 +2,7 @@ language: objective-c
env: env:
# This is what 10.8.x comes with and we want to support that. # This is what 10.8.x comes with and we want to support that.
- RVM_RUBY_VERSION=system NOEXEC_DISABLE=1 RUBY_VERSION_SPECIFIC='sudo gem update --system && sudo gem install bundler --no-ri --no-rdoc' GIT_AUTHOR_NAME=CocoaPods GIT_AUTHOR_EMAIL=cocoapods@example.com - RVM_RUBY_VERSION=system NOEXEC_DISABLE=1 RUBY_VERSION_SPECIFIC='sudo gem update --system && sudo gem install bundler --no-ri --no-rdoc' GIT_AUTHOR_NAME=CocoaPods GIT_AUTHOR_EMAIL=cocoapods@example.com
- RVM_RUBY_VERSION=1.9.3 NOEXEC_DISABLE=1 RUBY_VERSION_SPECIFIC='sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2 && curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/share/cacert.pem' SSL_CERT_FILE=/usr/local/share/cacert.pem GIT_AUTHOR_NAME=CocoaPods GIT_AUTHOR_EMAIL=cocoapods@example.com - RVM_RUBY_VERSION=1.9.3-p392 NOEXEC_DISABLE=1 RUBY_VERSION_SPECIFIC='sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2 && curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/share/cacert.pem' SSL_CERT_FILE=/usr/local/share/cacert.pem GIT_AUTHOR_NAME=CocoaPods GIT_AUTHOR_EMAIL=cocoapods@example.com
before_install: before_install:
- source ~/.rvm/scripts/rvm && rvm use $RVM_RUBY_VERSION - source ~/.rvm/scripts/rvm && rvm use $RVM_RUBY_VERSION
install: eval $RUBY_VERSION_SPECIFIC && rake bootstrap[use_bundle_dir] install: eval $RUBY_VERSION_SPECIFIC && rake bootstrap[use_bundle_dir]
......
...@@ -2,10 +2,53 @@ ...@@ -2,10 +2,53 @@
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 ## Master
###### Enhancements ###### Enhancements
* Reduced external dependencies and deprecation of Rake::FileList.
[#1080](https://github.com/CocoaPods/CocoaPods/issues/1080)
###### Bug fixes
* Fixed crash due to Podfile.lock containing multiple version requirements for
a Pod. [#1076](https://github.com/CocoaPods/CocoaPods/issues/1076)
## 0.20.2
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.20.1...0.20.2)
###### Bug fixes
* Ensure that, in a sandbox-pod env, RubyGems loads the CocoaPods gem on system
Ruby (1.8.7).
[#939](https://github.com/CocoaPods/CocoaPods/issues/939#issuecomment-18396063)
* Allow sandbox-pod to execute any tool inside the Xcode.app bundle.
* Allow sandbox-pod to execute any tool inside a rbenv prefix.
## 0.20.1
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.20.0...0.20.1)
[CLAide](https://github.com/CocoaPods/CLAide/compare/0.3.0...0.3.2)
###### Bug fixes
* Made sandbox-pod executable visible as it wasn't correctly configured in the
gemspec.
* Made sandbox-pod executable actually work when installed as a gem. (In which
case every executable is wrapped in a wrapper bin script and the DATA constant
can no longer be used.)
* Required CLAide 0.3.2 as 0.3.0 didn't include all the files in the gemspec
and 0.3.1 was not correctly processed by RubyGems.
## 0.20.0
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.19.1...0.20.0)
[cocoapods-core](https://github.com/CocoaPods/Core/compare/0.19.1...0.20.0)
[cocoapods-downloader](https://github.com/CocoaPods/CLAide/compare/0.1.0...0.1.1)
[Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.5.5...0.6.0)
[CLAide](https://github.com/CocoaPods/CLAide/compare/0.2.0...0.3.0)
###### Enhancements
* Introduces an experimental sandbox feature. * Introduces an experimental sandbox feature.
[#939](https://github.com/CocoaPods/CocoaPods/issues/939) [#939](https://github.com/CocoaPods/CocoaPods/issues/939)
...@@ -31,13 +74,17 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides ...@@ -31,13 +74,17 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
**NOTE**: _The above example is actually one that we know of. We’re not sure **NOTE**: _The above example is actually one that we know of. We’re not sure
yet which process causes this, but there shouldn’t be a need for any process yet which process causes this, but there shouldn’t be a need for any process
to read data from the root path anyways._ to read data from the root path anyways._
**NOTE 2**: _At the moment the sandbox is not compatible with the `:path` option **NOTE 2**: _At the moment the sandbox is not compatible with the `:path` option
when referencing Pods that are not stored within the directory of the Podfile._ when referencing Pods that are not stored within the directory of the Podfile._
* The naked `pod` command now defaults to `pod install`. * The naked `pod` command now defaults to `pod install`.
[#958](https://github.com/CocoaPods/CocoaPods/issues/958) [#958](https://github.com/CocoaPods/CocoaPods/issues/958)
* CocoaPods will look for the Podfile in the ancestors paths if one is
not available in the working directory.
[#940](https://github.com/CocoaPods/CocoaPods/issues/940)
* Documentation generation has been removed from CocoaPods as it graduated * Documentation generation has been removed from CocoaPods as it graduated
to CocoaDocs. This decision was taken because CocoaDocs is a much better to CocoaDocs. This decision was taken because CocoaDocs is a much better
solution which doesn't clutter Xcode's docsets while still allowing solution which doesn't clutter Xcode's docsets while still allowing
...@@ -48,6 +95,15 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides ...@@ -48,6 +95,15 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
reintegrated as plugin (see reintegrated as plugin (see
[#1037](https://github.com/CocoaPods/CocoaPods/issues/1037)). [#1037](https://github.com/CocoaPods/CocoaPods/issues/1037)).
* Improved performance of the copy resources script and thus build time of
the integrated targets. Contribution by [@onato](https://github.com/onato)
[#1050](https://github.com/CocoaPods/CocoaPods/issues/1050).
* The changelog for the current version is printed after CocoaPods is
installed/updated.
[#853](https://github.com/CocoaPods/CocoaPods/issues/853).
###### Bug fixes ###### Bug fixes
* Inheriting `inhibit_warnings` per pod is now working * Inheriting `inhibit_warnings` per pod is now working
...@@ -55,6 +111,9 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides ...@@ -55,6 +111,9 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
* Fix copy resources script for iOS < 6 and OS X < 10.8 by removing the * Fix copy resources script for iOS < 6 and OS X < 10.8 by removing the
`--reference-external-strings-file` `--reference-external-strings-file`
flag. [#1030](https://github.com/CocoaPods/CocoaPods/pull/1030) flag. [#1030](https://github.com/CocoaPods/CocoaPods/pull/1030)
* Fixed issues with the `:head` option of the Podfile.
[#1046](https://github.com/CocoaPods/CocoaPods/issues/1046)
[#1039](https://github.com/CocoaPods/CocoaPods/issues/1039)
## 0.19.1 ## 0.19.1
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.19.0...0.19.1) [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.19.0...0.19.1)
......
...@@ -22,7 +22,7 @@ end ...@@ -22,7 +22,7 @@ end
group :debugging do group :debugging do
gem "rb-fsevent" gem "rb-fsevent"
gem "kicker", :git => "https://github.com/alloy/kicker.git", :branch => "3.0.0" gem "kicker", :git => "https://github.com/alloy/kicker.git", :branch => "master"
gem "awesome_print" gem "awesome_print"
gem "pry" gem "pry"
gem "diffy" gem "diffy"
......
GIT
remote: https://github.com/CocoaPods/CLAide.git
revision: e97c290ccc133ed03b856ca5527cfc47610ac901
branch: master
specs:
claide (0.3.2)
GIT
remote: https://github.com/CocoaPods/Core.git
revision: 1dfeece9a5970654588719f2c8228918ab9af0c2
branch: master
specs:
cocoapods-core (0.20.2)
activesupport (~> 3.2.13)
json (~> 1.8.0)
nap (~> 0.5.1)
GIT
remote: https://github.com/CocoaPods/Xcodeproj.git
revision: 1184891949269cbde3ab557503d5df7567783aba
branch: xcconfig-prefix
specs:
xcodeproj (0.6.0)
activesupport (~> 3.2.13)
colored (~> 1.2)
GIT
remote: https://github.com/CocoaPods/cocoapods-downloader.git
revision: 2cc10348d9eb35862d900d79c72cd967388962b9
branch: master
specs:
cocoapods-downloader (0.1.1)
GIT
remote: https://github.com/alloy/kicker.git
revision: 56d7bc857278cc00900d37ef0cf2167cf606b57c
branch: master
specs:
kicker (2.6.1)
listen (~> 1.1.0)
GIT
remote: https://github.com/irrationalfab/PrettyBacon.git
revision: c42de649708149bbfb5fb5beefa65440855cf876
branch: master
specs:
prettybacon (0.0.1)
bacon (~> 1.2)
GIT
remote: https://github.com/lemurheavy/coveralls-ruby.git
revision: 2576b7d37545c6f28f0ad43f56cddc09ca2740f4
specs:
coveralls (0.6.7)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
PATH
remote: .
specs:
cocoapods (0.20.2)
activesupport (~> 3.2.13)
claide (~> 0.3.2)
cocoapods-core (= 0.20.2)
cocoapods-downloader (~> 0.1.1)
colored (~> 1.2)
escape (~> 0.0.4)
json (~> 1.8.0)
open4 (~> 1.3.0)
xcodeproj (~> 0.6.0)
GEM
remote: http://rubygems.org/
specs:
activesupport (3.2.13)
i18n (= 0.6.1)
multi_json (~> 1.0)
awesome_print (1.1.0)
bacon (1.2.0)
coderay (1.0.9)
colored (1.2)
diffy (2.1.4)
escape (0.0.4)
ffi (1.8.1)
github-markup (0.7.5)
i18n (0.6.1)
json (1.8.0)
listen (1.1.4)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
metaclass (0.0.1)
method_source (0.8.1)
mime-types (1.23)
mocha (0.14.0)
metaclass (~> 0.0.1)
mocha-on-bacon (0.2.2)
mocha (>= 0.13.0)
multi_json (1.7.4)
nap (0.5.1)
open4 (1.3.0)
posix-spawn (0.3.6)
pry (0.9.12.2)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
pygments.rb (0.5.0)
posix-spawn (~> 0.3.6)
yajl-ruby (~> 1.1.0)
rake (10.0.4)
rb-fsevent (0.9.3)
rb-inotify (0.9.0)
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
ffi (>= 0.5.0)
redcarpet (2.3.0)
rest-client (1.6.7)
mime-types (>= 1.16)
ruby-prof (0.13.0)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
slop (3.4.5)
term-ansicolor (1.2.2)
tins (~> 0.8)
thor (0.18.1)
tins (0.8.0)
yajl-ruby (1.1.0)
yard (0.8.6.1)
PLATFORMS
ruby
DEPENDENCIES
awesome_print
bacon
claide!
cocoapods!
cocoapods-core!
cocoapods-downloader!
coveralls!
diffy
github-markup
kicker!
mocha
mocha-on-bacon
prettybacon!
pry
pygments.rb
rake
rb-fsevent
redcarpet
ruby-prof
xcodeproj!
yard
...@@ -100,6 +100,9 @@ namespace :gem do ...@@ -100,6 +100,9 @@ namespace :gem do
# Ensure that the branches are up to date with the remote # Ensure that the branches are up to date with the remote
sh "git pull" sh "git pull"
puts "* Updating Bundle"
silent_sh('bundle update')
puts "* Running specs" puts "* Running specs"
silent_sh('rake spec:all') silent_sh('rake spec:all')
...@@ -178,7 +181,6 @@ namespace :spec do ...@@ -178,7 +181,6 @@ namespace :spec do
desc "Run the integration spec" desc "Run the integration spec"
task :integration => :unpack_fixture_tarballs do task :integration => :unpack_fixture_tarballs do
sh "bundle exec bacon spec/integration_spec.rb"
sh "bundle exec bacon spec/integration_2.rb" sh "bundle exec bacon spec/integration_2.rb"
end end
......
#!/usr/bin/env ruby #!/usr/bin/env ruby
if $0 == __FILE__ if $0 == __FILE__ && !ENV['COCOAPODS_NO_BUNDLER']
ENV['BUNDLE_GEMFILE'] = File.expand_path('../../Gemfile', __FILE__) ENV['BUNDLE_GEMFILE'] = File.expand_path('../../Gemfile', __FILE__)
require "rubygems" require "rubygems"
require "bundler/setup" require "bundler/setup"
$:.unshift File.expand_path('../../lib', __FILE__) $:.unshift File.expand_path('../../lib', __FILE__)
elsif ENV['COCOAPODS_NO_BUNDLER']
require "rubygems"
gem "cocoapods"
end end
if (ENV['CP_STDOUT_SYNC'] == 'TRUE') if (ENV['CP_STDOUT_SYNC'] == 'TRUE')
......
#!/usr/bin/env ruby #!/usr/bin/env ruby
# encoding: utf-8
# This bin wrapper runs the `pod` command in a OS X sandbox. The reason for this # This bin wrapper runs the `pod` command in a OS X sandbox. The reason for this
# is to ensure that people can’t use malicious code from pod specifications. # is to ensure that people can’t use malicious code from pod specifications.
...@@ -24,37 +25,13 @@ ...@@ -24,37 +25,13 @@
if $0 == __FILE__ if $0 == __FILE__
$:.unshift File.expand_path('../../lib', __FILE__) $:.unshift File.expand_path('../../lib', __FILE__)
end end
require 'pathname' require 'pathname'
require 'cocoapods/config' require 'cocoapods/config'
pod_bin = File.expand_path('../pod', __FILE__)
pod_prefix = File.expand_path('../..', pod_bin)
require 'rbconfig' require 'rbconfig'
ruby_bin = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
ruby_prefix = RbConfig::CONFIG['prefix']
prefixes = ['/bin', '/usr/bin', '/usr/libexec']
prefixes << `brew --prefix`.strip unless `which brew`.strip.empty?
# From asking people, it seems MacPorts does not have a `prefix` command, like
# Homebrew does, so make an educated guess:
unless (port = `which port`.strip).empty?
prefixes << File.dirname(File.dirname(port))
end
developer_prefix = `xcode-select --print-path`.strip
xcode_app_path = File.expand_path('../..', developer_prefix)
require 'erb' require 'erb'
profile = ERB.new(DATA.read, 0, '>').result(TOPLEVEL_BINDING)
#puts profile
command = ['/usr/bin/sandbox-exec', '-p', profile, pod_bin, *ARGV]
exec *command
PROFILE_ERB_TEMPLATE = <<-EOS
__END__
(version 1) (version 1)
(debug allow) (debug allow)
...@@ -71,11 +48,11 @@ __END__ ...@@ -71,11 +48,11 @@ __END__
(allow network-outbound) (allow network-outbound)
(allow process-exec (allow process-exec
(literal
"<%= pod_bin %>"
"<%= ruby_bin %>"
)
(regex (regex
#"^<%= pod_bin %>"
#"^<%= ruby_bin %>"
#"^<%= File.join(developer_prefix, 'usr/bin/xcrun') %>"
#"^<%= File.join(developer_prefix, 'usr/bin/xcodebuild') %>"
<% prefixes.each do |prefix| %> <% prefixes.each do |prefix| %>
#"^<%= prefix %>/*" #"^<%= prefix %>/*"
<% end %> <% end %>
...@@ -84,6 +61,10 @@ __END__ ...@@ -84,6 +61,10 @@ __END__
(allow file-read-metadata) (allow file-read-metadata)
(allow file-read* (allow file-read*
; This is currenly only added because using `xcodebuild` to build a resource
; bundle target starts a FSEvents stream on `/`. No idea why that would be
; needed, but for now it doesn’t seem like a real problem.
(literal "/")
(regex (regex
; TODO see if we can restrict this more, but it's going to be hard ; TODO see if we can restrict this more, but it's going to be hard
#"^/Users/[^.]+/*" #"^/Users/[^.]+/*"
...@@ -108,15 +89,84 @@ __END__ ...@@ -108,15 +89,84 @@ __END__
) )
(allow file-write* (allow file-write*
(literal
"/dev/dtracehelper"
"/dev/null"
)
(regex (regex
#"^<%= Pod::Config.instance.project_root %>" #"^<%= Pod::Config.instance.project_root %>"
#"^<%= Pod::Config.instance.repos_dir %>" #"^<%= Pod::Config.instance.repos_dir %>"
#"^/Users/[^.]+/Library/Caches/CocoaPods/*" #"^/Users/[^.]+/Library/Caches/CocoaPods/*"
#"^/dev/dtracehelper"
#"^/dev/tty" #"^/dev/tty"
#"^/dev/null"
#"^/private/var" #"^/private/var"
) )
) )
(deny default) (deny default)
EOS
class Profile
def pod_bin
File.expand_path('../pod', __FILE__)
end
def pod_prefix
File.expand_path('../..', pod_bin)
end
def ruby_bin
File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
end
def ruby_prefix
RbConfig::CONFIG['prefix']
end
def prefix_from_bin(bin_name)
unless (path = `which #{bin_name}`.strip).empty?
File.dirname(File.dirname(path))
end
end
def prefixes
prefixes = ['/bin', '/usr/bin', '/usr/libexec', xcode_app_path]
prefixes << `brew --prefix`.strip unless `which brew`.strip.empty?
# From asking people, it seems MacPorts does not have a `prefix` command, like
# Homebrew does, so make an educated guess:
if port_prefix = prefix_from_bin('port')
prefixes << port_prefix
end
if rbenv_prefix = prefix_from_bin('rbenv')
prefixes << rbenv_prefix
end
prefixes
end
def developer_prefix
`xcode-select --print-path`.strip
end
def xcode_app_path
File.expand_path('../..', developer_prefix)
end
# TODO raise SAFE level (0) to 4 if possible.
def generate
ERB.new(PROFILE_ERB_TEMPLATE, 0, '>').result(binding)
end
end
# Ensure the `pod` bin doesn’t think it needs to use Bundler.
ENV['COCOAPODS_NO_BUNDLER'] = '1'
profile = Profile.new
#puts profile.generate
command = ['/usr/bin/sandbox-exec', '-p', profile.generate, profile.pod_bin, *ARGV]
exec(*command)
# -*- encoding: utf-8 -*- # encoding: UTF-8
require File.expand_path('../lib/cocoapods/gem_version', __FILE__) require File.expand_path('../lib/cocoapods/gem_version', __FILE__)
require 'date' require 'date'
...@@ -21,24 +21,21 @@ Gem::Specification.new do |s| ...@@ -21,24 +21,21 @@ Gem::Specification.new do |s|
"in, third party open-source libraries, by creating a more centralized " \ "in, third party open-source libraries, by creating a more centralized " \
"ecosystem." "ecosystem."
s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHANGELOG.md } s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHANGELOG.md }
s.executables = %w{ pod } s.executables = %w{ pod sandbox-pod }
s.require_paths = %w{ lib } s.require_paths = %w{ lib }
# Link with the version of CocoaPods-Core # Link with the version of CocoaPods-Core
s.add_runtime_dependency 'cocoapods-core', "= #{Pod::VERSION}" s.add_runtime_dependency 'cocoapods-core', "= #{Pod::VERSION}"
s.add_runtime_dependency 'claide', '~> 0.2.0' s.add_runtime_dependency 'claide', '~> 0.3.2'
s.add_runtime_dependency 'cocoapods-downloader', '~> 0.1.0' s.add_runtime_dependency 'cocoapods-downloader', '~> 0.1.1'
s.add_runtime_dependency 'xcodeproj', '~> 0.5.5' s.add_runtime_dependency 'xcodeproj', '~> 0.6.0'
s.add_runtime_dependency 'faraday', '~> 0.8.1'
s.add_runtime_dependency 'octokit', '~> 1.7'
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'
s.add_runtime_dependency 'json', '~> 1.8.0' s.add_runtime_dependency 'json', '~> 1.8.0'
s.add_runtime_dependency 'open4', '~> 1.3.0' s.add_runtime_dependency 'open4', '~> 1.3.0'
s.add_runtime_dependency 'rake', '~> 10.0.0'
s.add_runtime_dependency 'activesupport', '~> 3.2.13' s.add_runtime_dependency 'activesupport', '~> 3.2.13'
s.add_development_dependency 'bacon', '~> 1.1' s.add_development_dependency 'bacon', '~> 1.1'
...@@ -48,4 +45,15 @@ Gem::Specification.new do |s| ...@@ -48,4 +45,15 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.required_ruby_version = '>= 1.8.7' s.required_ruby_version = '>= 1.8.7'
s.specification_version = 3 if s.respond_to? :specification_version s.specification_version = 3 if s.respond_to? :specification_version
changelog_path = File.expand_path('../CHANGELOG.md', __FILE__)
if File.exists?(changelog_path)
title_token = '## '
current_verison_title = title_token + Pod::VERSION.to_s
full_changelog = File.open(changelog_path, "r:UTF-8") { |f| f.read }
current_version_index = full_changelog.index(/^#{current_verison_title}/)
previous_version_index = full_changelog.index(/^#{title_token}/, current_version_index + title_token.length)
relevant = full_changelog[current_version_index..previous_version_index-1]
s.post_install_message = "\nCHANGELOG:\n\n" + relevant + "\n"
end
end end
...@@ -7,10 +7,8 @@ module Pod ...@@ -7,10 +7,8 @@ module Pod
require 'cocoapods/gem_version' require 'cocoapods/gem_version'
require 'cocoapods-core' require 'cocoapods-core'
require 'cocoapods/file_list'
require 'cocoapods/config' require 'cocoapods/config'
require 'cocoapods/downloader'
autoload :Downloader, 'cocoapods/downloader'
# Indicates an user error. This is defined in cocoapods-core. # Indicates an user error. This is defined in cocoapods-core.
# #
......
...@@ -32,15 +32,6 @@ module Pod ...@@ -32,15 +32,6 @@ module Pod
def run def run
if repo_id_match = (@url || @name_or_url).match(/github.com\/([^\/\.]*\/[^\/\.]*)\.*/) if repo_id_match = (@url || @name_or_url).match(/github.com\/([^\/\.]*\/[^\/\.]*)\.*/)
# This is to make sure Faraday doesn't warn the user about the `system_timer` gem missing.
old_warn, $-w = $-w, nil
begin
require 'faraday'
ensure
$-w = old_warn
end
require 'octokit'
repo_id = repo_id_match[1] repo_id = repo_id_match[1]
data = github_data_for_template(repo_id) data = github_data_for_template(repo_id)
data[:name] = @name_or_url if @url data[:name] = @name_or_url if @url
...@@ -410,8 +401,8 @@ module Pod ...@@ -410,8 +401,8 @@ module Pod
end end
def github_data_for_template(repo_id) def github_data_for_template(repo_id)
repo = Octokit.repo(repo_id) repo = GitHub.repo(repo_id)
user = Octokit.user(repo['owner']['login']) user = GitHub.user(repo['owner']['login'])
data = {} data = {}
data[:name] = repo['name'] data[:name] = repo['name']
...@@ -425,7 +416,7 @@ module Pod ...@@ -425,7 +416,7 @@ module Pod
end end
def suggested_ref_and_version(repo) def suggested_ref_and_version(repo)
tags = Octokit.tags(:username => repo['owner']['login'], :repo => repo['name']).map {|tag| tag["name"]} tags = GitHub.tags(repo['html_url']).map {|tag| tag["name"]}
versions_tags = {} versions_tags = {}
tags.each do |tag| tags.each do |tag|
clean_tag = tag.gsub(/^v(er)? ?/,'') clean_tag = tag.gsub(/^v(er)? ?/,'')
...@@ -434,9 +425,9 @@ module Pod ...@@ -434,9 +425,9 @@ module Pod
version = versions_tags.keys.sort.last || '0.0.1' version = versions_tags.keys.sort.last || '0.0.1'
data = {:version => version} data = {:version => version}
if version == '0.0.1' if version == '0.0.1'
branches = Octokit.branches(:username => repo['owner']['login'], :repo => repo['name']) branches = GitHub.branches(repo['html_url'])
master_name = repo['master_branch'] || 'master' master_name = repo['master_branch'] || 'master'
master = branches.select {|branch| branch['name'] == master_name }.first master = branches.find {|branch| branch['name'] == master_name }
data[:ref_type] = ':commit' data[:ref_type] = ':commit'
data[:ref] = master['commit']['sha'] data[:ref] = master['commit']['sha']
else else
......
...@@ -24,7 +24,9 @@ module Pod ...@@ -24,7 +24,9 @@ module Pod
:new_version_message => true, :new_version_message => true,
} }
#--------------------------------------# public
#-------------------------------------------------------------------------#
# @!group UI # @!group UI
...@@ -39,13 +41,13 @@ module Pod ...@@ -39,13 +41,13 @@ module Pod
attr_accessor :silent attr_accessor :silent
alias_method :silent?, :silent alias_method :silent?, :silent
# @return [Bool] Whether a message should be printed when a new version of # @return [Bool] Whether a message should be printed when a new version of
# CocoaPods is available. # CocoaPods is available.
# #
attr_accessor :new_version_message attr_accessor :new_version_message
alias_method :new_version_message?, :new_version_message alias_method :new_version_message?, :new_version_message
#--------------------------------------# #-------------------------------------------------------------------------#
# @!group Installation # @!group Installation
...@@ -81,7 +83,9 @@ module Pod ...@@ -81,7 +83,9 @@ module Pod
@aggressive_cache || (ENV['CP_AGGRESSIVE_CACHE'] != 'FALSE') @aggressive_cache || (ENV['CP_AGGRESSIVE_CACHE'] != 'FALSE')
end end
#--------------------------------------# public
#-------------------------------------------------------------------------#
# @!group Initialization # @!group Initialization
...@@ -99,7 +103,9 @@ module Pod ...@@ -99,7 +103,9 @@ module Pod
@verbose && !silent @verbose && !silent
end end
#--------------------------------------# public
#-------------------------------------------------------------------------#
# @!group Paths # @!group Paths
...@@ -115,7 +121,22 @@ module Pod ...@@ -115,7 +121,22 @@ module Pod
# Podfile is located. # Podfile is located.
# #
def installation_root def installation_root
@installation_root ||= Pathname.pwd current_path = Pathname.pwd
unless @installation_root
while(!current_path.root?)
if podfile_path_in_dir(current_path)
@installation_root = current_path
unless current_path == Pathname.pwd
UI.puts("[in #{current_path}]")
end
break
else
current_path = current_path.parent
end
end
@installation_root ||= Pathname.pwd
end
@installation_root
end end
attr_writer :installation_root attr_writer :installation_root
...@@ -137,23 +158,46 @@ module Pod ...@@ -137,23 +158,46 @@ module Pod
end end
# @return [Podfile] The Podfile to use for the current execution. # @return [Podfile] The Podfile to use for the current execution.
# @return [Nil] If no Podfile is available.
# #
def podfile def podfile
@podfile ||= Podfile.from_file(podfile_path) if podfile_path.exist? @podfile ||= Podfile.from_file(podfile_path) if podfile_path
end end
attr_writer :podfile attr_writer :podfile
# @return [Lockfile] The Lockfile to use for the current execution. # @return [Lockfile] The Lockfile to use for the current execution.
# @return [Nil] If no Lockfile is available.
# #
def lockfile def lockfile
@lockfile ||= Lockfile.from_file(lockfile_path) if lockfile_path.exist? @lockfile ||= Lockfile.from_file(lockfile_path) if lockfile_path
end
# Returns the path of the Podfile.
#
# @note The Podfile can be named either `CocoaPods.podfile.yaml`,
# `CocoaPods.podfile` or `Podfile`. The first two are preferred as
# they allow to specify an OS X UTI.
#
# @return [Pathname]
# @return [Nil]
#
def podfile_path
@podfile_path ||= podfile_path_in_dir(installation_root)
end
# Returns the path of the Lockfile.
#
# @note The Lockfile is named `Podfile.lock`.
#
def lockfile_path
@lockfile_path ||= installation_root + 'Podfile.lock'
end end
#--------------------------------------# private
# @!group Helpers #-------------------------------------------------------------------------#
# private # @!group Private helpers
# @return [Pathname] The path of the file which contains the user settings. # @return [Pathname] The path of the file which contains the user settings.
# #
...@@ -175,30 +219,38 @@ module Pod ...@@ -175,30 +219,38 @@ module Pod
end end
end end
# Returns the path of the Podfile. # @return [Array<String>] The filenames that the Podfile can have ordered
# by priority.
# #
# @note The Podfile can be named either `CocoaPods.podfile` or `Podfile`. PODFILE_NAMES = [
# The first is preferred as it allows to specify an OS X UTI. 'CocoaPods.podfile.yaml',
# 'CocoaPods.podfile',
def podfile_path 'Podfile',
unless @podfile_path ]
path = installation_root + 'CocoaPods.podfile.yaml'
path = installation_root + 'CocoaPods.podfile' unless path.exist?
path = installation_root + 'Podfile' unless path.exist?
@podfile_path = path
end
@podfile_path
end
# Returns the path of the Lockfile. # Returns the path of the Podfile in the given dir if any exists.
# #
# @note The Lockfile is named `Podfile.lock`. # @param [Pathname] dir
# The directory where to look for the Podfile.
# #
def lockfile_path # @return [Pathname] The path of the Podfile.
@lockfile_path ||= installation_root + 'Podfile.lock' # @return [Nil] If not Podfile was found in the given dir
#
def podfile_path_in_dir(dir)
PODFILE_NAMES.each do |filename|
candidate = dir + filename
if candidate.exist?
return candidate
end
end
nil
end end
#--------------------------------------# public
#-------------------------------------------------------------------------#
# @!group Singleton
# @return [Config] the current config instance creating one if needed. # @return [Config] the current config instance creating one if needed.
# #
...@@ -217,8 +269,6 @@ module Pod ...@@ -217,8 +269,6 @@ module Pod
@instance = instance @instance = instance
end end
#-------------------------------------------------------------------------#
# Provides support for accessing the configuration instance in other # Provides support for accessing the configuration instance in other
# scopes. # scopes.
# #
......
if RUBY_VERSION >= "1.9"
require 'rake/file_list'
else
require 'rake'
end
# This makes Rake::FileList usable with the Specification attributes
# source_files, public_header_files, preserve_paths, and resources.
#
# @todo This needs to be deprecated as we no have the PathList List
#
module Rake
class FileList
def prepend_patterns(pathname)
@pending_add.map! { |pattern| (pathname + pattern).to_s }
end
def directory?
false
end
def glob
to_a.map { |path| Pathname.new(path) }
end
def inspect
"<##{self.class} pending_add=#{@pending_add}>"
end
alias :to_s :inspect
end
end
# TODO Defined in CocoaPods Core
# module Pod
# FileList = Rake::FileList
# end
module Pod module Pod
# The version of the cocoapods command line tool. # The version of the cocoapods command line tool.
# #
VERSION = '0.19.1' unless defined? Pod::VERSION VERSION = '0.20.2' unless defined? Pod::VERSION
end end
...@@ -59,9 +59,9 @@ module Pod ...@@ -59,9 +59,9 @@ module Pod
# #
def install_resources_function def install_resources_function
if use_external_strings_file? if use_external_strings_file?
CONTENT INSTALL_RESOURCES_FUCTION
else else
CONTENT.gsub(' --reference-external-strings-file', '') INSTALL_RESOURCES_FUCTION.gsub(' --reference-external-strings-file', '')
end end
end end
...@@ -72,12 +72,17 @@ module Pod ...@@ -72,12 +72,17 @@ module Pod
resources.each do |resource| resources.each do |resource|
script += "install_resource '#{resource}'\n" script += "install_resource '#{resource}'\n"
end end
script += RSYNC_CALL
script script
end end
CONTENT = <<EOS
INSTALL_RESOURCES_FUCTION = <<EOS
#!/bin/sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource() install_resource()
{ {
case $1 in case $1 in
...@@ -98,13 +103,20 @@ install_resource() ...@@ -98,13 +103,20 @@ install_resource()
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd" xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;; ;;
*) *)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;; ;;
esac esac
} }
EOS EOS
RSYNC_CALL = <<EOS
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
EOS
end end
end end
end end
...@@ -161,7 +161,7 @@ module Pod ...@@ -161,7 +161,7 @@ module Pod
def analyze def analyze
if lockfile && lockfile.cocoapods_version > Version.new(VERSION) if lockfile && lockfile.cocoapods_version > Version.new(VERSION)
STDERR.puts '[!] The version of CocoaPods used to generate the lockfile is '\ STDERR.puts '[!] The version of CocoaPods used to generate the lockfile is '\
'higher that the one of the current executable. Incompatibility' \ 'higher that the one of the current executable. Incompatibility ' \
'issues might arise.'.yellow 'issues might arise.'.yellow
end end
...@@ -285,7 +285,7 @@ module Pod ...@@ -285,7 +285,7 @@ module Pod
def prepare_pods_project def prepare_pods_project
UI.message "- Creating Pods project" do UI.message "- Creating Pods project" do
@pods_project = Pod::Project.new(sandbox.project_path) @pods_project = Pod::Project.new(sandbox.project_path)
if config.podfile_path.exist? if config.podfile_path
@pods_project.add_podfile(config.podfile_path) @pods_project.add_podfile(config.podfile_path)
end end
sandbox.project = @pods_project sandbox.project = @pods_project
......
...@@ -151,7 +151,7 @@ module Pod ...@@ -151,7 +151,7 @@ module Pod
return true if sandbox.predownloaded?(pod) return true if sandbox.predownloaded?(pod)
return true if folder_empty?(pod) return true if folder_empty?(pod)
if update_mode if update_mode
return true if spec.version.head? return true if sandbox.head_pod?(pod)
end end
return false return false
end end
......
...@@ -91,7 +91,7 @@ module Pod ...@@ -91,7 +91,7 @@ module Pod
# #
def download_source def download_source
root.rmtree if root.exist? root.rmtree if root.exist?
if root_spec.version.head? if head_pod?
downloader.download_head downloader.download_head
@specific_source = downloader.checkout_options @specific_source = downloader.checkout_options
else else
...@@ -172,6 +172,10 @@ module Pod ...@@ -172,6 +172,10 @@ module Pod
sandbox.local?(root_spec.name) sandbox.local?(root_spec.name)
end end
def head_pod?
sandbox.head_pod?(root_spec.name)
end
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
private private
......
...@@ -128,7 +128,7 @@ module Pod ...@@ -128,7 +128,7 @@ module Pod
# #
def warn_about_empty_podfile def warn_about_empty_podfile
if podfile.target_definitions.values.all?{ |td| td.empty? } if podfile.target_definitions.values.all?{ |td| td.empty? }
UI.warn "[!] The Podfile does not contain any dependency." UI.warn "[!] The Podfile does not contain any dependencies."
end end
end end
......
...@@ -158,7 +158,10 @@ module Pod ...@@ -158,7 +158,10 @@ module Pod
@loaded_specs << spec.name @loaded_specs << spec.name
cached_specs[spec.name] = spec cached_specs[spec.name] = spec
validate_platform(spec, target_definition) validate_platform(spec, target_definition)
spec.version.head = dependency.head? if dependency.head? || sandbox.head_pod?(spec.name)
spec.version.head = true
sandbox.store_head_pod(spec.name)
end
spec_dependencies = spec.all_dependencies(target_definition.platform) spec_dependencies = spec.all_dependencies(target_definition.platform)
find_dependency_specs(spec, spec_dependencies, target_definition) find_dependency_specs(spec, spec_dependencies, target_definition)
......
...@@ -65,6 +65,7 @@ module Pod ...@@ -65,6 +65,7 @@ module Pod
@root = Pathname.new(root) @root = Pathname.new(root)
@public_headers = HeadersStore.new(self, "Headers") @public_headers = HeadersStore.new(self, "Headers")
@predownloaded_pods = [] @predownloaded_pods = []
@head_pods = []
@checkout_sources = {} @checkout_sources = {}
@local_pods = {} @local_pods = {}
FileUtils.mkdir_p(@root) FileUtils.mkdir_p(@root)
...@@ -89,8 +90,9 @@ module Pod ...@@ -89,8 +90,9 @@ module Pod
root.rmtree root.rmtree
end end
# Removes the files of the Pod with the given name from the sandbox.
# #
# # @return [void]
# #
def clean_pod(name) def clean_pod(name)
root_name = Specification.root_name(name) root_name = Specification.root_name(name)
...@@ -274,6 +276,37 @@ module Pod ...@@ -274,6 +276,37 @@ module Pod
#--------------------------------------# #--------------------------------------#
# Marks a Pod as head.
#
# @param [String] name
# The name of the Pod.
#
# @return [void]
#
def store_head_pod(name)
root_name = Specification.root_name(name)
head_pods << root_name
end
# @return [Array<String>] The names of the pods that have been
# marked as head.
#
attr_reader :head_pods
# Checks if a Pod should attempt to use the head source of the git repo.
#
# @param [String] name
# The name of the Pod.
#
# @return [Bool] Whether the Pod has been marked as head.
#
def head_pod?(name)
root_name = Specification.root_name(name)
head_pods.include?(root_name)
end
#--------------------------------------#
# Stores the local path of a Pod. # Stores the local path of a Pod.
# #
# @param [String] name # @param [String] name
......
...@@ -172,7 +172,7 @@ module Pod ...@@ -172,7 +172,7 @@ module Pod
# Matches the given patterns to the file present in the root of the path # Matches the given patterns to the file present in the root of the path
# list. # list.
# #
# @param [Array<String, FileList>] patterns # @param [Array<String>] patterns
# The patterns to expand. # The patterns to expand.
# #
# @param [String] dir_pattern # @param [String] dir_pattern
...@@ -189,22 +189,8 @@ module Pod ...@@ -189,22 +189,8 @@ module Pod
# #
def expanded_paths(patterns, options = {}) def expanded_paths(patterns, options = {})
return [] if patterns.empty? return [] if patterns.empty?
file_lists = patterns.select { |p| p.is_a?(FileList) }
glob_patterns = patterns - file_lists
result = [] result = []
result << path_list.glob(glob_patterns, options) result << path_list.glob(patterns, options)
result << file_lists.map do |file_list|
file_list.prepend_patterns(path_list.root)
file_list.glob
end
unless file_lists.empty?
# TODO Restore warning in 0.17 proper
# UI.warn "[#{spec_consumer.spec.name}] The usage of Rake FileList is deprecated. Use `exclude_files`."
end
result.flatten.compact.uniq result.flatten.compact.uniq
end end
......
...@@ -148,7 +148,7 @@ module Pod ...@@ -148,7 +148,7 @@ module Pod
# #
def path(pathname) def path(pathname)
if pathname if pathname
path = pathname.relative_path_from(config.podfile_path.dirname || Pathname.pwd) path = pathname.relative_path_from((config.podfile_path.dirname if config.podfile_path) || Pathname.pwd)
"`#{path}`" "`#{path}`"
else else
'' ''
......
...@@ -21,7 +21,6 @@ module Pod ...@@ -21,7 +21,6 @@ module Pod
#-------------------------------------------------------------------------# #-------------------------------------------------------------------------#
describe "create subcommand" do describe "create subcommand" do
extend SpecHelper::Github
extend SpecHelper::TemporaryRepos extend SpecHelper::TemporaryRepos
it "creates a new podspec stub file" do it "creates a new podspec stub file" do
...@@ -41,42 +40,58 @@ module Pod ...@@ -41,42 +40,58 @@ module Pod
end end
it "correctly creates a podspec from github" do it "correctly creates a podspec from github" do
expect_github_repo_request repo = {
expect_github_user_request 'name' => 'libPusher',
expect_github_tags_request 'owner' => { 'login' => 'lukeredpath' },
'html_url' => 'https://github.com/lukeredpath/libPusher',
'description' => 'An Objective-C interface to Pusher (pusherapp.com)',
'clone_url' => 'https://github.com/lukeredpath/libPusher.git'
}
GitHub.expects(:repo).with('lukeredpath/libPusher').returns(repo)
GitHub.expects(:tags).with('https://github.com/lukeredpath/libPusher').returns([{"name"=>"v1.4"}])
GitHub.expects(:user).with('lukeredpath').returns({ "name" => "Luke Redpath", "email" => "luke@lukeredpath.co.uk" })
run_command('spec', 'create', 'https://github.com/lukeredpath/libPusher.git') run_command('spec', 'create', 'https://github.com/lukeredpath/libPusher.git')
path = temporary_directory + 'libPusher.podspec' path = temporary_directory + 'libPusher.podspec'
spec = Specification.from_file(path) spec = Specification.from_file(path)
spec.name.should == 'libPusher' spec.name.should == 'libPusher'
spec.license.should == { :type => "MIT (example)" } spec.license.should == { :type => "MIT (example)" }
spec.version.should == Version.new('1.3') spec.version.should == Version.new('1.4')
spec.summary.should == 'An Objective-C interface to Pusher (pusherapp.com)' spec.summary.should == 'An Objective-C interface to Pusher (pusherapp.com)'
spec.homepage.should == 'https://github.com/lukeredpath/libPusher' spec.homepage.should == 'https://github.com/lukeredpath/libPusher'
spec.authors.should == {"Luke Redpath"=>"luke@lukeredpath.co.uk"} spec.authors.should == {"Luke Redpath"=>"luke@lukeredpath.co.uk"}
spec.source.should == { :git => 'https://github.com/lukeredpath/libPusher.git', :tag => 'v1.3' } spec.source.should == { :git => 'https://github.com/lukeredpath/libPusher.git', :tag => 'v1.4' }
end end
it "accepts a name when creating a podspec form github" do it "accepts a name when creating a podspec form github" do
expect_github_repo_request repo = {
expect_github_user_request 'name' => 'libPusher',
expect_github_tags_request 'owner' => { 'login' => 'lukeredpath' },
'html_url' => 'https://github.com/lukeredpath/libPusher',
'description' => 'An Objective-C interface to Pusher (pusherapp.com)',
'clone_url' => 'https://github.com/lukeredpath/libPusher.git'
}
GitHub.expects(:repo).with('lukeredpath/libPusher').returns(repo)
GitHub.expects(:tags).with('https://github.com/lukeredpath/libPusher').returns([{"name"=>"v1.4"}])
GitHub.expects(:user).with('lukeredpath').returns({ "name" => "Luke Redpath", "email" => "luke@lukeredpath.co.uk" })
run_command('spec', 'create', 'other_name', 'https://github.com/lukeredpath/libPusher.git') run_command('spec', 'create', 'other_name', 'https://github.com/lukeredpath/libPusher.git')
path = temporary_directory + 'other_name.podspec' path = temporary_directory + 'other_name.podspec'
spec = Specification.from_file(path) spec = Specification.from_file(path)
spec.name.should == 'other_name' spec.name.should == 'other_name'
spec.license.should == { :type => "MIT (example)" }
spec.version.should == Version.new('1.3')
spec.summary.should == 'An Objective-C interface to Pusher (pusherapp.com)'
spec.homepage.should == 'https://github.com/lukeredpath/libPusher' spec.homepage.should == 'https://github.com/lukeredpath/libPusher'
spec.authors.should == {"Luke Redpath"=>"luke@lukeredpath.co.uk"}
spec.source.should == { :git => 'https://github.com/lukeredpath/libPusher.git', :tag => 'v1.3' }
end end
it "correctly suggests the head commit if a suitable tag is not available on github" do it "correctly suggests the head commit if a suitable tag is not available on github" do
expect_github_repo_request repo = {
expect_github_user_request 'name' => 'libPusher',
expect_github_tags_request([{"name" => "experiment"}]) 'owner' => { 'login' => 'lukeredpath' },
expect_github_branches_request 'html_url' => 'https://github.com/lukeredpath/libPusher',
'description' => 'An Objective-C interface to Pusher (pusherapp.com)',
'clone_url' => 'https://github.com/lukeredpath/libPusher.git'
}
GitHub.expects(:repo).with('lukeredpath/libPusher').returns(repo)
GitHub.expects(:tags).with('https://github.com/lukeredpath/libPusher').returns([{"name"=>"experiment"}])
GitHub.expects(:branches).with('https://github.com/lukeredpath/libPusher').returns([{"name"=>"master", "commit" => {'sha' => '5f482b0693ac2ac1ad85d1aabc27ec7547cc0bc7'}}])
GitHub.expects(:user).with('lukeredpath').returns({ "name" => "Luke Redpath", "email" => "luke@lukeredpath.co.uk" })
run_command('spec', 'create', 'https://github.com/lukeredpath/libPusher.git') run_command('spec', 'create', 'https://github.com/lukeredpath/libPusher.git')
path = temporary_directory + 'libPusher.podspec' path = temporary_directory + 'libPusher.podspec'
spec = Specification.from_file(path) spec = Specification.from_file(path)
...@@ -85,10 +100,17 @@ module Pod ...@@ -85,10 +100,17 @@ module Pod
end end
it "provides a markdown template if a github repo doesn't have semantic version tags" do it "provides a markdown template if a github repo doesn't have semantic version tags" do
expect_github_repo_request repo = {
expect_github_user_request 'name' => 'libPusher',
expect_github_tags_request([{"name" => "experiment"}]) 'owner' => { 'login' => 'lukeredpath' },
expect_github_branches_request 'html_url' => 'https://github.com/lukeredpath/libPusher',
'description' => 'An Objective-C interface to Pusher (pusherapp.com)',
'clone_url' => 'https://github.com/lukeredpath/libPusher.git'
}
GitHub.expects(:repo).with('lukeredpath/libPusher').returns(repo)
GitHub.expects(:tags).with('https://github.com/lukeredpath/libPusher').returns([{"name"=>"experiment"}])
GitHub.expects(:branches).with('https://github.com/lukeredpath/libPusher').returns([{"name"=>"master", "commit" => {'sha' => '5f482b0693ac2ac1ad85d1aabc27ec7547cc0bc7'}}])
GitHub.expects(:user).with('lukeredpath').returns({ "name" => "Luke Redpath", "email" => "luke@lukeredpath.co.uk" })
output = run_command('spec', 'create', 'https://github.com/lukeredpath/libPusher.git') output = run_command('spec', 'create', 'https://github.com/lukeredpath/libPusher.git')
output.should.include 'MARKDOWN TEMPLATE' output.should.include 'MARKDOWN TEMPLATE'
output.should.include 'Please add semantic version tags' output.should.include 'Please add semantic version tags'
...@@ -121,14 +143,13 @@ module Pod ...@@ -121,14 +143,13 @@ module Pod
end end
# @todo VCR is required in CocoaPods only for this test. # @todo VCR is required in CocoaPods only for this test.
# xit "lints a remote podspec" do
# it "lints a remote podspec" do Dir.chdir(fixture('spec-repos') + 'master/JSONKit/1.4/') do
# Dir.chdir(fixture('spec-repos') + 'master/JSONKit/1.4/') do cmd = command('spec', 'lint', '--quick', '--only-errors', '--silent', 'https://github.com/CocoaPods/Specs/raw/master/A2DynamicDelegate/2.0.1/A2DynamicDelegate.podspec')
# cmd = command('spec', 'lint', '--quick', '--only-errors', '--silent', 'https://github.com/CocoaPods/Specs/raw/master/A2DynamicDelegate/2.0.1/A2DynamicDelegate.podspec') # VCR.use_cassette('linter', :record => :new_episodes) { }
# # VCR.use_cassette('linter', :record => :new_episodes) { } lambda { cmd.run }.should.not.raise
# lambda { cmd.run }.should.not.raise end
# end end
# end
before do before do
text = (fixture('spec-repos') + 'master/JSONKit/1.4/JSONKit.podspec').read text = (fixture('spec-repos') + 'master/JSONKit/1.4/JSONKit.podspec').read
...@@ -152,13 +173,13 @@ module Pod ...@@ -152,13 +173,13 @@ module Pod
end end
#-------------------------------------------------------------------------# #-------------------------------------------------------------------------#
describe "which subcommand" do describe "which subcommand" do
it "errors if a given podspec doesn't exist" do it "errors if a given podspec doesn't exist" do
e = lambda { command('spec', 'which', 'some_pod_that_doesnt_exist').run }.should.raise Informative e = lambda { command('spec', 'which', 'some_pod_that_doesnt_exist').run }.should.raise Informative
e.message.should.match /Unable to find a pod with/ e.message.should.match /Unable to find a pod with/
end end
it "prints the path of a given podspec" do it "prints the path of a given podspec" do
lambda { command('spec', 'which', 'AFNetworking').run }.should.not.raise lambda { command('spec', 'which', 'AFNetworking').run }.should.not.raise
text = "AFNetworking.podspec" text = "AFNetworking.podspec"
......
...@@ -22,8 +22,9 @@ module Pod ...@@ -22,8 +22,9 @@ module Pod
end end
it "presents the stats of a specification set" do it "presents the stats of a specification set" do
repo = { "forks"=>42, "watchers"=>318, "pushed_at"=>"2011-01-26T19:06:43Z" } Specification::Set::Presenter.any_instance.expects(:github_last_activity).returns('more than a year ago')
Octokit.expects(:repo).with("robbiehanson/CocoaLumberjack").returns(repo) Specification::Set::Presenter.any_instance.expects(:github_watchers).returns('318')
Specification::Set::Presenter.any_instance.expects(:github_forks).returns('42')
UI.pod(@set, :stats) UI.pod(@set, :stats)
output = UI.output output = UI.output
output.should.include? 'Author: Robbie Hanson' output.should.include? 'Author: Robbie Hanson'
......
...@@ -10,4 +10,4 @@ SPEC CHECKSUMS: ...@@ -10,4 +10,4 @@ SPEC CHECKSUMS:
JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601 JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
...@@ -10,4 +10,4 @@ SPEC CHECKSUMS: ...@@ -10,4 +10,4 @@ SPEC CHECKSUMS:
JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601 JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
# Acknowledgements # Acknowledgements
This application makes use of the following third party libraries: 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 Generated by CocoaPods - http://cocoapods.org
...@@ -12,6 +12,24 @@ ...@@ -12,6 +12,24 @@
<key>Type</key> <key>Type</key>
<string>PSGroupSpecifier</string> <string>PSGroupSpecifier</string>
</dict> </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> <dict>
<key>FooterText</key> <key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string> <string>Generated by CocoaPods - http://cocoapods.org</string>
......
#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
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-JSONKit-environment.h" #import "Pods-environment.h"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/JSONKit"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_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}
USE_HEADERMAP = NO
\ No newline at end of file
#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
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-Reachability-environment.h" #import "Pods-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 \ No newline at end of file
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_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_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
#ifdef __OBJC__ #ifdef __OBJC__
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-environment.h"
\ No newline at end of file
${SRCROOT}/Pods/Pods-JSONKit-resources.sh #!/bin/sh
${SRCROOT}/Pods/Pods-Reachability-resources.sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
#include "Pods-Reachability" #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 ${PODS_REACHABILITY_OTHER_LDFLAGS} OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = PODS_ROOT = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
...@@ -11,44 +11,41 @@ File References: ...@@ -11,44 +11,41 @@ File References:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods.a
- libPods-JSONKit.a - libPods-JSONKit.a
- libPods-Reachability.a - libPods-Reachability.a
- libPods.a
- Targets Support Files: - Targets Support Files:
- Pods:
- Pods.xcconfig
- Pods-environment.h
- Pods-prefix.pch
- Pods-acknowledgements.plist
- Pods-acknowledgements.markdown
- Pods-dummy.m
- Pods-JSONKit: - Pods-JSONKit:
- Pods-JSONKit.xcconfig - Pods-JSONKit.xcconfig
- Pods-JSONKit-environment.h - Pods-JSONKit-Private.xcconfig
- Pods-JSONKit-prefix.pch - Pods-JSONKit-prefix.pch
- Pods-JSONKit-resources.sh
- Pods-JSONKit-acknowledgements.plist
- Pods-JSONKit-acknowledgements.markdown
- Pods-JSONKit-dummy.m - Pods-JSONKit-dummy.m
- Pods-Reachability: - Pods-Reachability:
- Pods-Reachability.xcconfig - Pods-Reachability.xcconfig
- Pods-Reachability-environment.h - Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch - Pods-Reachability-prefix.pch
- Pods-Reachability-resources.sh
- Pods-Reachability-acknowledgements.plist
- Pods-Reachability-acknowledgements.markdown
- Pods-Reachability-dummy.m - Pods-Reachability-dummy.m
- Pods:
- Pods.xcconfig
- Pods-environment.h
- Pods-resources.sh
- Pods-acknowledgements.plist
- Pods-acknowledgements.markdown
- Pods-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-JSONKit:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-dummy.m - JSONKit.m
- Pods-JSONKit-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase:
- JSONKit.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -73,8 +70,8 @@ Targets: ...@@ -73,8 +70,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-JSONKit-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-JSONKit-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -97,17 +94,17 @@ Targets: ...@@ -97,17 +94,17 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-JSONKit-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-JSONKit-Private.xcconfig
- Pods-JSONKit: - Pods-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- JSONKit.m - Reachability.m
- Pods-JSONKit-dummy.m - Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - HeadersBuildPhase:
- JSONKit.h - Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -132,8 +129,8 @@ Targets: ...@@ -132,8 +129,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-JSONKit-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods-JSONKit.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -156,21 +153,19 @@ Targets: ...@@ -156,21 +153,19 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-JSONKit-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods-JSONKit.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Pods-Reachability: - Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - Pods-dummy.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-JSONKit.a
- Reachability.h - libPods-Reachability.a
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -191,11 +186,10 @@ Targets: ...@@ -191,11 +186,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -204,19 +198,19 @@ Targets: ...@@ -204,19 +198,19 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
......
...@@ -40,33 +40,25 @@ Generating Pods project ...@@ -40,33 +40,25 @@ Generating Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing libraries - Installing libraries
- Installing target `Pods` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- 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 acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-dummy.m`
- Installing target `Pods-JSONKit` iOS 6.0 - Installing target `Pods-JSONKit` iOS 6.0
- Adding Build files - Adding Build files
- Generating xcconfig file at `Pods/Pods-JSONKit.xcconfig` - Generating public xcconfig file at `Pods/Pods-JSONKit.xcconfig`
- Generating target environment header at `Pods/Pods-JSONKit-environment.h` - Generating private xcconfig file at `Pods/Pods-JSONKit-Private.xcconfig`
- Generating prefix header at `Pods/Pods-JSONKit-prefix.pch` - Generating prefix header at `Pods/Pods-JSONKit-prefix.pch`
- Generating copy resources script at `Pods/Pods-JSONKit-resources.sh`
- Generating acknowledgements at `Pods/Pods-JSONKit-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-JSONKit-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-JSONKit-dummy.m` - Generating dummy source file at `Pods/Pods-JSONKit-dummy.m`
- Installing target `Pods-Reachability` iOS 6.0 - Installing target `Pods-Reachability` iOS 6.0
- Adding Build files - Adding Build files
- Generating xcconfig file at `Pods/Pods-Reachability.xcconfig` - Generating public xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-Reachability-environment.h` - Generating private xcconfig file at `Pods/Pods-Reachability-Private.xcconfig`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch` - Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m` - Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Installing target `Pods` iOS 6.0
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target environment header at `Pods/Pods-environment.h`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-dummy.m`
- Running post install hooks - Running post install hooks
- Writing Xcode project file to `Pods/Pods.xcodeproj` - Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock` - Writing Lockfile in `Podfile.lock`
......
...@@ -2,9 +2,10 @@ PODS: ...@@ -2,9 +2,10 @@ PODS:
- Reachability (3.1.0) - Reachability (3.1.0)
DEPENDENCIES: DEPENDENCIES:
- Reachability
- Reachability (= 3.1.0) - Reachability (= 3.1.0)
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
...@@ -2,9 +2,10 @@ PODS: ...@@ -2,9 +2,10 @@ PODS:
- Reachability (3.1.0) - Reachability (3.1.0)
DEPENDENCIES: DEPENDENCIES:
- Reachability
- Reachability (= 3.1.0) - Reachability (= 3.1.0)
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
#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
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-SampleApp_2-environment.h" #import "Pods-SampleApp_1-environment.h"
\ No newline at end of file
PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
\ No newline at end of file
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@interface PodsDummy_Pods_Reachability : NSObject @interface PodsDummy_Pods_SampleApp_1 : NSObject
@end @end
@implementation PodsDummy_Pods_Reachability @implementation PodsDummy_Pods_SampleApp_1
@end @end
#!/bin/sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource() install_resource()
{ {
case $1 in case $1 in
...@@ -20,8 +23,11 @@ install_resource() ...@@ -20,8 +23,11 @@ install_resource()
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd" xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;; ;;
*) *)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;; ;;
esac esac
} }
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-SampleApp_1-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
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
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-environment.h" #import "Pods-SampleApp_2-environment.h"
\ No newline at end of file
PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
\ No newline at end of file
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_SampleApp_2 : NSObject
@end
@implementation PodsDummy_Pods_SampleApp_2
@end
...@@ -6,3 +6,9 @@ ...@@ -6,3 +6,9 @@
// project. // project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
#!/bin/sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource() install_resource()
{ {
case $1 in case $1 in
...@@ -20,8 +23,11 @@ install_resource() ...@@ -20,8 +23,11 @@ install_resource()
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd" xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;; ;;
*) *)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;; ;;
esac esac
} }
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-SampleApp_2-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
...@@ -8,40 +8,52 @@ File References: ...@@ -8,40 +8,52 @@ File References:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods.a - libPods-SampleApp_1-Reachability.a
- libPods-Reachability.a - libPods-SampleApp_2-Reachability.a
- libPods-SampleApp_1.a
- libPods-SampleApp_2.a
- Targets Support Files: - Targets Support Files:
- Pods: - Pods-SampleApp_1-Reachability:
- Pods.xcconfig - Pods-SampleApp_1-Reachability.xcconfig
- Pods-environment.h - Pods-SampleApp_1-Reachability-Private.xcconfig
- Pods-prefix.pch - Pods-SampleApp_1-Reachability-prefix.pch
- Pods-acknowledgements.plist - Pods-SampleApp_1-Reachability-dummy.m
- Pods-acknowledgements.markdown - Pods-SampleApp_2-Reachability:
- Pods-dummy.m - Pods-SampleApp_2-Reachability.xcconfig
- Pods-Reachability: - Pods-SampleApp_2-Reachability-Private.xcconfig
- Pods-Reachability.xcconfig - Pods-SampleApp_2-Reachability-prefix.pch
- Pods-Reachability-environment.h - Pods-SampleApp_2-Reachability-dummy.m
- Pods-Reachability-prefix.pch - Pods-SampleApp_1:
- Pods-Reachability-resources.sh - Pods-SampleApp_1.xcconfig
- Pods-Reachability-acknowledgements.plist - Pods-SampleApp_1-environment.h
- Pods-Reachability-acknowledgements.markdown - Pods-SampleApp_1-resources.sh
- Pods-Reachability-dummy.m - Pods-SampleApp_1-acknowledgements.plist
- Pods-SampleApp_1-acknowledgements.markdown
- Pods-SampleApp_1-dummy.m
- Pods-SampleApp_2:
- Pods-SampleApp_2.xcconfig
- Pods-SampleApp_2-environment.h
- Pods-SampleApp_2-resources.sh
- Pods-SampleApp_2-acknowledgements.plist
- Pods-SampleApp_2-acknowledgements.markdown
- Pods-SampleApp_2-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-SampleApp_1-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-dummy.m - Reachability.m
- Pods-SampleApp_1-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- libPods-Reachability.a - HeadersBuildPhase:
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
GCC_ENABLE_OBJC_GC: supported
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
...@@ -63,38 +75,37 @@ Targets: ...@@ -63,38 +75,37 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-SampleApp_1-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-SampleApp_1-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_ENABLE_OBJC_GC: supported GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
ARCHS: $(ARCHS_STANDARD_32_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch
GCC_OPTIMIZATION_LEVEL: '0'
GCC_C_LANGUAGE_STANDARD: gnu99
OTHER_LDFLAGS: ''
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ALWAYS_SEARCH_USER_PATHS: 'NO'
SDKROOT: iphoneos
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' 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' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
ARCHS: $(ARCHS_STANDARD_32_BIT) COPY_PHASE_STRIP: 'NO'
SKIP_INSTALL: 'YES' GCC_PREFIX_HEADER: Pods-SampleApp_1-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-SampleApp_1-Reachability-Private.xcconfig
- Pods-Reachability: - Pods-SampleApp_2-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - Reachability.m
- Pods-Reachability-dummy.m - Pods-SampleApp_2-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - HeadersBuildPhase:
...@@ -123,8 +134,8 @@ Targets: ...@@ -123,8 +134,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods-SampleApp_2-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -147,8 +158,118 @@ Targets: ...@@ -147,8 +158,118 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch
Base Configuration: Pods-Reachability.xcconfig 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)
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_1.xcconfig
- Debug:
Build Settings:
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO'
OTHER_LDFLAGS: ''
Base Configuration: Pods-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
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)
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
......
<?xml version='1.0' encoding='UTF-8'?><Workspace version='1.0'><FileRef location='group:SampleApp_1.xcodeproj'/><FileRef location='group:SampleApp_2.xcodeproj'/><FileRef location='group:Pods/Pods.xcodeproj'/></Workspace>
\ No newline at end of file
...@@ -35,80 +35,41 @@ Downloading dependencies ...@@ -35,80 +35,41 @@ Downloading dependencies
Generating Pods project Generating Pods project
- Creating Pods project - Creating Pods project
- Adding source files to Pods project
――― MARKDOWN TEMPLATE ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - Adding resources to Pods project
- Linking headers
### Report - Installing libraries
- Installing target `Pods-SampleApp_1-Reachability` iOS 6.0
* What did you do? - Adding Build files
- Generating public xcconfig file at `Pods/Pods-SampleApp_1-Reachability.xcconfig`
* What did you expect to happen? - Generating private xcconfig file at `Pods/Pods-SampleApp_1-Reachability-Private.xcconfig`
- Generating prefix header at `Pods/Pods-SampleApp_1-Reachability-prefix.pch`
* What happened instead? - Generating dummy source file at `Pods/Pods-SampleApp_1-Reachability-dummy.m`
- Installing target `Pods-SampleApp_2-Reachability` iOS 6.0
- Adding Build files
### Stack - 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`
CocoaPods : 0.19.1 - Generating dummy source file at `Pods/Pods-SampleApp_2-Reachability-dummy.m`
Ruby : ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0] - Installing target `Pods-SampleApp_1` iOS 6.0
RubyGems : 2.0.3 - Generating xcconfig file at `Pods/Pods-SampleApp_1.xcconfig`
Host : Mac OS X 10.8.3 (12D78) - Generating target environment header at `Pods/Pods-SampleApp_1-environment.h`
Xcode : 4.6.2 (4H1003) - Generating copy resources script at `Pods/Pods-SampleApp_1-resources.sh`
Ruby lib dir : /Users/fabio/.rbenv/versions/2.0.0-p0/lib - Generating acknowledgements at `Pods/Pods-SampleApp_1-acknowledgements.plist`
Repositories : master - git@github.com:CocoaPods/Specs.git @ d42c2e09cf5754edcba639da4d6c3f320535d501 - Generating acknowledgements at `Pods/Pods-SampleApp_1-acknowledgements.markdown`
test - @ fatal: Not a git repository (or any of the parent directories): .git - Generating dummy source file at `Pods/Pods-SampleApp_1-dummy.m`
``` - Installing target `Pods-SampleApp_2` iOS 6.0
- Generating xcconfig file at `Pods/Pods-SampleApp_2.xcconfig`
### Podfile - Generating target environment header at `Pods/Pods-SampleApp_2-environment.h`
- Generating copy resources script at `Pods/Pods-SampleApp_2-resources.sh`
```ruby - Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.plist`
platform :ios, '6.0' - Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.markdown`
workspace 'Workspace.xcworkspace' - Generating dummy source file at `Pods/Pods-SampleApp_2-dummy.m`
- Running post install hooks
# TODO: remove - Writing Xcode project file to `Pods/Pods.xcodeproj`
xcodeproj 'SampleApp_1.xcodeproj' - Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
target 'SampleApp_1' do
xcodeproj 'SampleApp_1.xcodeproj' Integrating client projects
pod "Reachability", "3.1.0"
end [!] From now on use `Workspace.xcworkspace`.
target :'SampleApp_2' do
xcodeproj 'SampleApp_2.xcodeproj'
pod "Reachability"
end
```
### Error
```
NoMethodError - undefined method `name' for nil:NilClass
ROOT/lib/cocoapods/installer.rb:290:in `block (2 levels) in prepare_pods_project'
ROOT/lib/cocoapods/installer.rb:290:in `select'
ROOT/lib/cocoapods/installer.rb:290:in `block in prepare_pods_project'
ROOT/lib/cocoapods/user_interface.rb:113:in `message'
ROOT/lib/cocoapods/installer.rb:283:in `prepare_pods_project'
ROOT/lib/cocoapods/installer.rb:109:in `block in generate_pods_project'
ROOT/lib/cocoapods/user_interface.rb:52:in `section'
ROOT/lib/cocoapods/installer.rb:108:in `generate_pods_project'
ROOT/lib/cocoapods/installer.rb:86:in `install!'
ROOT/lib/cocoapods/command/project.rb:40:in `run_install_with_update'
ROOT/lib/cocoapods/command/project.rb:70:in `run'
/Users/fabio/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/claide-0.2.0/lib/claide.rb:535:in `run'
ROOT/lib/cocoapods/command.rb:48:in `run'
ROOT/bin/pod:16:in `<main>'
```
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing github issues similar to yours:
https://github.com/CocoaPods/CocoaPods/issues/search?q=undefined+method+%60name%27+for+nil%3ANilClass
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Don't forget to anonymize any private data!
...@@ -15,4 +15,4 @@ EXTERNAL SOURCES: ...@@ -15,4 +15,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
...@@ -15,4 +15,4 @@ EXTERNAL SOURCES: ...@@ -15,4 +15,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
#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
...@@ -2,4 +2,6 @@ ...@@ -2,4 +2,6 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-PodTest-environment.h" #import "Pods-environment.h"
# Acknowledgements
This application makes use of the following third party libraries:
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>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>
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_PodTest_subspec_1 : NSObject
@end
@implementation PodsDummy_Pods_PodTest_subspec_1
@end
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-PodTest-subspec_1-environment.h"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/PodTest"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
# Acknowledgements
This application makes use of the following third party libraries:
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>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>
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_PodTest_subspec_2 : NSObject
@end
@implementation PodsDummy_Pods_PodTest_subspec_2
@end
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-PodTest-subspec_2-environment.h"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/PodTest"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/PodTest"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
\ No newline at end of file
${SRCROOT}/Pods/Pods-PodTest-resources.sh #!/bin/sh
${SRCROOT}/Pods/Pods-PodTest-subspec_1-resources.sh
${SRCROOT}/Pods/Pods-PodTest-subspec_2-resources.sh RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-PodTest" #include "Pods-PodTest"
#include "Pods-PodTest-subspec_1"
#include "Pods-PodTest-subspec_2"
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 = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
...@@ -11,112 +11,37 @@ File References: ...@@ -11,112 +11,37 @@ File References:
- subspec_2.h - subspec_2.h
- subspec_2.m - subspec_2.m
- Products: - Products:
- libPods.a
- libPods-PodTest.a - libPods-PodTest.a
- libPods-PodTest-subspec_1.a - libPods.a
- libPods-PodTest-subspec_2.a
- Targets Support Files: - Targets Support Files:
- Pods-PodTest:
- Pods-PodTest.xcconfig
- Pods-PodTest-Private.xcconfig
- Pods-PodTest-prefix.pch
- Pods-PodTest-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
- Pods-dummy.m - Pods-dummy.m
- Pods-PodTest:
- Pods-PodTest.xcconfig
- Pods-PodTest-environment.h
- Pods-PodTest-prefix.pch
- Pods-PodTest-resources.sh
- Pods-PodTest-acknowledgements.plist
- Pods-PodTest-acknowledgements.markdown
- Pods-PodTest-dummy.m
- Pods-PodTest-subspec_1:
- Pods-PodTest-subspec_1.xcconfig
- Pods-PodTest-subspec_1-environment.h
- Pods-PodTest-subspec_1-prefix.pch
- Pods-PodTest-subspec_1-resources.sh
- Pods-PodTest-subspec_1-acknowledgements.plist
- Pods-PodTest-subspec_1-acknowledgements.markdown
- Pods-PodTest-subspec_1-dummy.m
- Pods-PodTest-subspec_2:
- Pods-PodTest-subspec_2.xcconfig
- Pods-PodTest-subspec_2-environment.h
- Pods-PodTest-subspec_2-prefix.pch
- Pods-PodTest-subspec_2-resources.sh
- Pods-PodTest-subspec_2-acknowledgements.plist
- Pods-PodTest-subspec_2-acknowledgements.markdown
- Pods-PodTest-subspec_2-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods:
Build Phases:
- SourcesBuildPhase:
- Pods-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- libPods-PodTest.a
- libPods-PodTest-subspec_1.a
- libPods-PodTest-subspec_2.a
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)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch
Base Configuration: Pods.xcconfig
- Debug:
Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
ARCHS: $(ARCHS_STANDARD_32_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch
Base Configuration: Pods.xcconfig
- Pods-PodTest: - Pods-PodTest:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- subspec_1.m
- subspec_2.m
- Pods-PodTest-dummy.m - Pods-PodTest-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase:
- subspec_1.h
- subspec_2.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -142,7 +67,7 @@ Targets: ...@@ -142,7 +67,7 @@ Targets:
IPHONEOS_DEPLOYMENT_TARGET: '4.3' IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-PodTest-prefix.pch GCC_PREFIX_HEADER: Pods-PodTest-prefix.pch
Base Configuration: Pods-PodTest.xcconfig Base Configuration: Pods-PodTest-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -166,20 +91,17 @@ Targets: ...@@ -166,20 +91,17 @@ Targets:
IPHONEOS_DEPLOYMENT_TARGET: '4.3' IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-PodTest-prefix.pch GCC_PREFIX_HEADER: Pods-PodTest-prefix.pch
Base Configuration: Pods-PodTest.xcconfig Base Configuration: Pods-PodTest-Private.xcconfig
- Pods-PodTest-subspec_1: - Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- subspec_1.m - Pods-dummy.m
- Pods-PodTest-subspec_1-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-PodTest.a
- subspec_1.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -200,70 +122,10 @@ Targets: ...@@ -200,70 +122,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3' IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-PodTest-subspec_1-prefix.pch
Base Configuration: Pods-PodTest-subspec_1.xcconfig
- Debug:
Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
ARCHS: $(ARCHS_STANDARD_32_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-PodTest-subspec_1-prefix.pch
Base Configuration: Pods-PodTest-subspec_1.xcconfig
- Pods-PodTest-subspec_2:
Build Phases:
- SourcesBuildPhase:
- subspec_2.m
- Pods-PodTest-subspec_2-dummy.m
- FrameworksBuildPhase:
- Foundation.framework
- HeadersBuildPhase:
- subspec_2.h
Build Configurations:
- Release:
Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos Base Configuration: Pods.xcconfig
VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ARCHS: $(ARCHS_STANDARD_32_BIT)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-PodTest-subspec_2-prefix.pch
Base Configuration: Pods-PodTest-subspec_2.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -272,19 +134,19 @@ Targets: ...@@ -272,19 +134,19 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3' IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-PodTest-subspec_2-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-PodTest-subspec_2.xcconfig Base Configuration: Pods.xcconfig
......
...@@ -28,42 +28,19 @@ Generating Pods project ...@@ -28,42 +28,19 @@ Generating Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing libraries - 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`
- Generating dummy source file at `Pods/Pods-dummy.m` - Generating dummy source file at `Pods/Pods-dummy.m`
- Installing target `Pods-PodTest` iOS 4.3
- Adding Build files
- Generating xcconfig file at `Pods/Pods-PodTest.xcconfig`
- Generating target environment header at `Pods/Pods-PodTest-environment.h`
- Generating prefix header at `Pods/Pods-PodTest-prefix.pch`
- Generating copy resources script at `Pods/Pods-PodTest-resources.sh`
- Generating acknowledgements at `Pods/Pods-PodTest-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-PodTest-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-PodTest-dummy.m`
- Installing target `Pods-PodTest-subspec_1` iOS 4.3
- Adding Build files
- Generating xcconfig file at `Pods/Pods-PodTest-subspec_1.xcconfig`
- Generating target environment header at `Pods/Pods-PodTest-subspec_1-environment.h`
- Generating prefix header at `Pods/Pods-PodTest-subspec_1-prefix.pch`
- Generating copy resources script at `Pods/Pods-PodTest-subspec_1-resources.sh`
- Generating acknowledgements at `Pods/Pods-PodTest-subspec_1-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-PodTest-subspec_1-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-PodTest-subspec_1-dummy.m`
- Installing target `Pods-PodTest-subspec_2` iOS 4.3
- Adding Build files
- Generating xcconfig file at `Pods/Pods-PodTest-subspec_2.xcconfig`
- Generating target environment header at `Pods/Pods-PodTest-subspec_2-environment.h`
- Generating prefix header at `Pods/Pods-PodTest-subspec_2-prefix.pch`
- Generating copy resources script at `Pods/Pods-PodTest-subspec_2-resources.sh`
- Generating acknowledgements at `Pods/Pods-PodTest-subspec_2-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-PodTest-subspec_2-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-PodTest-subspec_2-dummy.m`
- Running post install hooks - Running post install hooks
- Writing Xcode project file to `Pods/Pods.xcodeproj` - Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock` - Writing Lockfile in `Podfile.lock`
...@@ -73,4 +50,4 @@ Integrating client project ...@@ -73,4 +50,4 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating libraries `Pods-PodTest, Pods-PodTest-subspec_1, and Pods-PodTest-subspec_2` into target Pods 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.19.1 COCOAPODS: 0.20.2
...@@ -11,4 +11,4 @@ EXTERNAL SOURCES: ...@@ -11,4 +11,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
#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
# Acknowledgements
This application makes use of the following third party libraries:
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>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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-Reachability-environment.h" #import "Pods-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 \ No newline at end of file
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
\ No newline at end of file
${SRCROOT}/Pods/Pods-Reachability-resources.sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-Reachability" #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 ${PODS_REACHABILITY_OTHER_LDFLAGS} OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = PODS_ROOT = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
...@@ -8,36 +8,35 @@ File References: ...@@ -8,36 +8,35 @@ File References:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods.a
- libPods-Reachability.a - libPods-Reachability.a
- libPods.a
- Targets Support Files: - Targets Support Files:
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
- Pods-dummy.m - Pods-dummy.m
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-environment.h
- Pods-Reachability-prefix.pch
- Pods-Reachability-resources.sh
- Pods-Reachability-acknowledgements.plist
- Pods-Reachability-acknowledgements.markdown
- Pods-Reachability-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-dummy.m - Reachability.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- libPods-Reachability.a - HeadersBuildPhase:
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -62,8 +61,8 @@ Targets: ...@@ -62,8 +61,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3' IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -86,21 +85,18 @@ Targets: ...@@ -86,21 +85,18 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3' IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Pods-Reachability: - Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - Pods-dummy.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-Reachability.a
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -121,11 +117,10 @@ Targets: ...@@ -121,11 +117,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3' IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -134,19 +129,19 @@ Targets: ...@@ -134,19 +129,19 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3' IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
......
...@@ -22,24 +22,19 @@ Generating Pods project ...@@ -22,24 +22,19 @@ Generating Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing libraries - 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`
- Generating dummy source file at `Pods/Pods-dummy.m` - Generating dummy source file at `Pods/Pods-dummy.m`
- Installing target `Pods-Reachability` iOS 4.3
- Adding Build files
- Generating xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-Reachability-environment.h`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Running post install hooks - Running post install hooks
- Writing Xcode project file to `Pods/Pods.xcodeproj` - Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock` - Writing Lockfile in `Podfile.lock`
...@@ -49,6 +44,6 @@ Integrating client project ...@@ -49,6 +44,6 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating library `Pods-Reachability` into target Pods 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.19.1 COCOAPODS: 0.20.2
...@@ -10,4 +10,4 @@ SPEC CHECKSUMS: ...@@ -10,4 +10,4 @@ SPEC CHECKSUMS:
JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601 JSONKit: 409734ab3407fce90ef7eaa95d7168f38d9a6601
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
# Acknowledgements # Acknowledgements
This application makes use of the following third party libraries: 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 Generated by CocoaPods - http://cocoapods.org
...@@ -12,6 +12,24 @@ ...@@ -12,6 +12,24 @@
<key>Type</key> <key>Type</key>
<string>PSGroupSpecifier</string> <string>PSGroupSpecifier</string>
</dict> </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> <dict>
<key>FooterText</key> <key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string> <string>Generated by CocoaPods - http://cocoapods.org</string>
......
#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
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-Reachability-environment.h" #import "Pods-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 \ No newline at end of file
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_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_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
# Acknowledgements # Acknowledgements
This application makes use of the following third party libraries: 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 Generated by CocoaPods - http://cocoapods.org
...@@ -12,6 +12,24 @@ ...@@ -12,6 +12,24 @@
<key>Type</key> <key>Type</key>
<string>PSGroupSpecifier</string> <string>PSGroupSpecifier</string>
</dict> </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> <dict>
<key>FooterText</key> <key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string> <string>Generated by CocoaPods - http://cocoapods.org</string>
......
#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
# Acknowledgements
This application makes use of the following third party libraries:
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>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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-SampleApp_2-JSONKit-environment.h" #import "Pods-SampleApp_2-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/JSONKit"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_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}
USE_HEADERMAP = NO
\ 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/JSONKit" "${PODS_ROOT}/Headers/Reachability"
OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
PODS_ROOT = ${SRCROOT}
\ 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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-SampleApp_2-Reachability-environment.h" #import "Pods-SampleApp_2-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 \ No newline at end of file
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
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_BUILD_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_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
USE_HEADERMAP = NO
\ No newline at end of file
${SRCROOT}/Pods/Pods-SampleApp_2-JSONKit-resources.sh #!/bin/sh
${SRCROOT}/Pods/Pods-SampleApp_2-Reachability-resources.sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
#include "Pods-SampleApp_2-Reachability" #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 ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS} OTHER_LDFLAGS = -ObjC ${PODS_SAMPLEAPP___REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = PODS_ROOT = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
${SRCROOT}/Pods/Pods-Reachability-resources.sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#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
# Acknowledgements
This application makes use of the following third party libraries:
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>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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-test-JSONKit-environment.h" #import "Pods-test-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/JSONKit"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_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}
USE_HEADERMAP = NO
\ No newline at end of file
${SRCROOT}/Pods/Pods-test-JSONKit-resources.sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-test-JSONKit" #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 = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
#include "Pods-Reachability" #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 ${PODS_REACHABILITY_OTHER_LDFLAGS} OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = PODS_ROOT = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/JSONKit" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
...@@ -11,79 +11,69 @@ File References: ...@@ -11,79 +11,69 @@ File References:
- JSONKit.h - JSONKit.h
- JSONKit.m - JSONKit.m
- Products: - Products:
- libPods.a
- libPods-Reachability.a - libPods-Reachability.a
- libPods-SampleApp_2.a
- libPods-SampleApp_2-JSONKit.a - libPods-SampleApp_2-JSONKit.a
- libPods-SampleApp_2-Reachability.a - libPods-SampleApp_2-Reachability.a
- libPods-test.a
- libPods-test-JSONKit.a - libPods-test-JSONKit.a
- libPods.a
- libPods-SampleApp_2.a
- libPods-test.a
- Targets Support Files: - Targets Support Files:
- Pods:
- Pods.xcconfig
- Pods-environment.h
- Pods-prefix.pch
- Pods-acknowledgements.plist
- Pods-acknowledgements.markdown
- Pods-dummy.m
- Pods-Reachability: - Pods-Reachability:
- Pods-Reachability.xcconfig - Pods-Reachability.xcconfig
- Pods-Reachability-environment.h - Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch - Pods-Reachability-prefix.pch
- Pods-Reachability-resources.sh
- Pods-Reachability-acknowledgements.plist
- Pods-Reachability-acknowledgements.markdown
- Pods-Reachability-dummy.m - Pods-Reachability-dummy.m
- Pods-SampleApp_2:
- Pods-SampleApp_2.xcconfig
- Pods-SampleApp_2-environment.h
- Pods-SampleApp_2-prefix.pch
- Pods-SampleApp_2-acknowledgements.plist
- Pods-SampleApp_2-acknowledgements.markdown
- Pods-SampleApp_2-dummy.m
- Pods-SampleApp_2-JSONKit: - Pods-SampleApp_2-JSONKit:
- Pods-SampleApp_2-JSONKit.xcconfig - Pods-SampleApp_2-JSONKit.xcconfig
- Pods-SampleApp_2-JSONKit-environment.h - Pods-SampleApp_2-JSONKit-Private.xcconfig
- Pods-SampleApp_2-JSONKit-prefix.pch - Pods-SampleApp_2-JSONKit-prefix.pch
- Pods-SampleApp_2-JSONKit-resources.sh
- Pods-SampleApp_2-JSONKit-acknowledgements.plist
- Pods-SampleApp_2-JSONKit-acknowledgements.markdown
- Pods-SampleApp_2-JSONKit-dummy.m - Pods-SampleApp_2-JSONKit-dummy.m
- Pods-SampleApp_2-Reachability: - Pods-SampleApp_2-Reachability:
- Pods-SampleApp_2-Reachability.xcconfig - Pods-SampleApp_2-Reachability.xcconfig
- Pods-SampleApp_2-Reachability-environment.h - Pods-SampleApp_2-Reachability-Private.xcconfig
- Pods-SampleApp_2-Reachability-prefix.pch - Pods-SampleApp_2-Reachability-prefix.pch
- Pods-SampleApp_2-Reachability-resources.sh
- Pods-SampleApp_2-Reachability-acknowledgements.plist
- Pods-SampleApp_2-Reachability-acknowledgements.markdown
- Pods-SampleApp_2-Reachability-dummy.m - 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-environment.h
- Pods-resources.sh
- Pods-acknowledgements.plist
- Pods-acknowledgements.markdown
- Pods-dummy.m
- Pods-SampleApp_2:
- Pods-SampleApp_2.xcconfig
- Pods-SampleApp_2-environment.h
- Pods-SampleApp_2-resources.sh
- Pods-SampleApp_2-acknowledgements.plist
- Pods-SampleApp_2-acknowledgements.markdown
- 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-acknowledgements.plist - Pods-test-acknowledgements.plist
- Pods-test-acknowledgements.markdown - Pods-test-acknowledgements.markdown
- Pods-test-dummy.m - Pods-test-dummy.m
- Pods-test-JSONKit:
- Pods-test-JSONKit.xcconfig
- Pods-test-JSONKit-environment.h
- Pods-test-JSONKit-prefix.pch
- Pods-test-JSONKit-resources.sh
- Pods-test-JSONKit-acknowledgements.plist
- Pods-test-JSONKit-acknowledgements.markdown
- Pods-test-JSONKit-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-dummy.m - Reachability.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- libPods-Reachability.a - HeadersBuildPhase:
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -108,8 +98,8 @@ Targets: ...@@ -108,8 +98,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -132,17 +122,17 @@ Targets: ...@@ -132,17 +122,17 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Pods-Reachability: - Pods-SampleApp_2-JSONKit:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - JSONKit.m
- Pods-Reachability-dummy.m - Pods-SampleApp_2-JSONKit-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - HeadersBuildPhase:
- Reachability.h - JSONKit.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -167,8 +157,8 @@ Targets: ...@@ -167,8 +157,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch GCC_PREFIX_HEADER: Pods-SampleApp_2-JSONKit-prefix.pch
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods-SampleApp_2-JSONKit-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -191,16 +181,17 @@ Targets: ...@@ -191,16 +181,17 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch GCC_PREFIX_HEADER: Pods-SampleApp_2-JSONKit-prefix.pch
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods-SampleApp_2-JSONKit-Private.xcconfig
- Pods-SampleApp_2: - Pods-SampleApp_2-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-SampleApp_2-dummy.m - Reachability.m
- Pods-SampleApp_2-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- libPods-SampleApp_2-JSONKit.a - HeadersBuildPhase:
- libPods-SampleApp_2-Reachability.a - Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -225,8 +216,8 @@ Targets: ...@@ -225,8 +216,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-SampleApp_2-prefix.pch GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch
Base Configuration: Pods-SampleApp_2.xcconfig Base Configuration: Pods-SampleApp_2-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -249,13 +240,13 @@ Targets: ...@@ -249,13 +240,13 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-SampleApp_2-prefix.pch GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch
Base Configuration: Pods-SampleApp_2.xcconfig Base Configuration: Pods-SampleApp_2-Reachability-Private.xcconfig
- Pods-SampleApp_2-JSONKit: - Pods-test-JSONKit:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- JSONKit.m - JSONKit.m
- Pods-SampleApp_2-JSONKit-dummy.m - Pods-test-JSONKit-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - HeadersBuildPhase:
...@@ -284,8 +275,8 @@ Targets: ...@@ -284,8 +275,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-SampleApp_2-JSONKit-prefix.pch GCC_PREFIX_HEADER: Pods-test-JSONKit-prefix.pch
Base Configuration: Pods-SampleApp_2-JSONKit.xcconfig Base Configuration: Pods-test-JSONKit-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -308,21 +299,18 @@ Targets: ...@@ -308,21 +299,18 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-SampleApp_2-JSONKit-prefix.pch GCC_PREFIX_HEADER: Pods-test-JSONKit-prefix.pch
Base Configuration: Pods-SampleApp_2-JSONKit.xcconfig Base Configuration: Pods-test-JSONKit-Private.xcconfig
- Pods-SampleApp_2-Reachability: - Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - Pods-dummy.m
- Pods-SampleApp_2-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-Reachability.a
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -343,11 +331,10 @@ Targets: ...@@ -343,11 +331,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-SampleApp_2-Reachability.xcconfig Base Configuration: Pods.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -356,30 +343,30 @@ Targets: ...@@ -356,30 +343,30 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-SampleApp_2-Reachability-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-SampleApp_2-Reachability.xcconfig Base Configuration: Pods.xcconfig
- Pods-test: - Pods-SampleApp_2:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-test-dummy.m - Pods-SampleApp_2-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- libPods-test-JSONKit.a - libPods-SampleApp_2-JSONKit.a
- libPods-SampleApp_2-Reachability.a
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -400,11 +387,10 @@ Targets: ...@@ -400,11 +387,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-test-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-test.xcconfig Base Configuration: Pods-SampleApp_2.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -413,32 +399,29 @@ Targets: ...@@ -413,32 +399,29 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-test-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-test.xcconfig Base Configuration: Pods-SampleApp_2.xcconfig
- Pods-test-JSONKit: - Pods-test:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- JSONKit.m - Pods-test-dummy.m
- Pods-test-JSONKit-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-test-JSONKit.a
- JSONKit.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -459,11 +442,10 @@ Targets: ...@@ -459,11 +442,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-test-JSONKit-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-test-JSONKit.xcconfig Base Configuration: Pods-test.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -472,19 +454,19 @@ Targets: ...@@ -472,19 +454,19 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-test-JSONKit-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-test-JSONKit.xcconfig Base Configuration: Pods-test.xcconfig
......
...@@ -57,69 +57,51 @@ Generating Pods project ...@@ -57,69 +57,51 @@ Generating Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing libraries - 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-Reachability` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-Reachability-environment.h`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-Reachability-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-SampleApp_2-JSONKit` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-SampleApp_2-JSONKit.xcconfig`
- Generating target environment header at `Pods/Pods-SampleApp_2-JSONKit-environment.h`
- Generating prefix header at `Pods/Pods-SampleApp_2-JSONKit-prefix.pch`
- Generating copy resources script at `Pods/Pods-SampleApp_2-JSONKit-resources.sh`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-JSONKit-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-JSONKit-acknowledgements.markdown`
- 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 xcconfig file at `Pods/Pods-SampleApp_2-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-SampleApp_2-Reachability-environment.h`
- Generating prefix header at `Pods/Pods-SampleApp_2-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-SampleApp_2-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-SampleApp_2-Reachability-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`
- Generating dummy source file at `Pods/Pods-test-dummy.m` - Generating dummy source file at `Pods/Pods-test-dummy.m`
- Installing target `Pods-test-JSONKit` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-test-JSONKit.xcconfig`
- Generating target environment header at `Pods/Pods-test-JSONKit-environment.h`
- Generating prefix header at `Pods/Pods-test-JSONKit-prefix.pch`
- Generating copy resources script at `Pods/Pods-test-JSONKit-resources.sh`
- Generating acknowledgements at `Pods/Pods-test-JSONKit-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-test-JSONKit-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-test-JSONKit-dummy.m`
- Running post install hooks - Running post install hooks
- Writing Xcode project file to `Pods/Pods.xcodeproj` - Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock` - Writing Lockfile in `Podfile.lock`
...@@ -129,8 +111,8 @@ Integrating client project ...@@ -129,8 +111,8 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating library `Pods-Reachability` into target Pods of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-Reachability` into aggregate target Pods of project `SampleApp.xcodeproj`.
Integrating libraries `Pods-SampleApp_2-JSONKit and Pods-SampleApp_2-Reachability` into target Pods-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 library `Pods-test-JSONKit` into target Pods-test 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.19.1 COCOAPODS: 0.20.2
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
# Acknowledgements # Acknowledgements
This application makes use of the following third party libraries: 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 Generated by CocoaPods - http://cocoapods.org
...@@ -12,6 +12,24 @@ ...@@ -12,6 +12,24 @@
<key>Type</key> <key>Type</key>
<string>PSGroupSpecifier</string> <string>PSGroupSpecifier</string>
</dict> </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> <dict>
<key>FooterText</key> <key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string> <string>Generated by CocoaPods - http://cocoapods.org</string>
......
#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
# 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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-Reachability-environment.h" #import "Pods-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 \ No newline at end of file
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
\ No newline at end of file
${SRCROOT}/Pods/Pods-Reachability-resources.sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-Reachability" #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 ${PODS_REACHABILITY_OTHER_LDFLAGS} OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = PODS_ROOT = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
...@@ -8,36 +8,35 @@ File References: ...@@ -8,36 +8,35 @@ File References:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods.a
- libPods-Reachability.a - libPods-Reachability.a
- libPods.a
- Targets Support Files: - Targets Support Files:
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
- Pods-dummy.m - Pods-dummy.m
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-environment.h
- Pods-Reachability-prefix.pch
- Pods-Reachability-resources.sh
- Pods-Reachability-acknowledgements.plist
- Pods-Reachability-acknowledgements.markdown
- Pods-Reachability-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-dummy.m - Reachability.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- libPods-Reachability.a - HeadersBuildPhase:
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -62,8 +61,8 @@ Targets: ...@@ -62,8 +61,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -86,21 +85,18 @@ Targets: ...@@ -86,21 +85,18 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Pods-Reachability: - Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - Pods-dummy.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-Reachability.a
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -121,11 +117,10 @@ Targets: ...@@ -121,11 +117,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -134,19 +129,19 @@ Targets: ...@@ -134,19 +129,19 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
......
...@@ -36,24 +36,19 @@ Generating Pods project ...@@ -36,24 +36,19 @@ Generating Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing libraries - 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`
- Generating dummy source file at `Pods/Pods-dummy.m` - Generating dummy source file at `Pods/Pods-dummy.m`
- Installing target `Pods-Reachability` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-Reachability-environment.h`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Running post install hooks - Running post install hooks
- Writing Xcode project file to `Pods/Pods.xcodeproj` - Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock` - Writing Lockfile in `Podfile.lock`
...@@ -63,4 +58,4 @@ Integrating client project ...@@ -63,4 +58,4 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating library `Pods-Reachability` into target Pods of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-Reachability` into aggregate target Pods of project `SampleApp.xcodeproj`.
# Acknowledgements
This application makes use of the following third party libraries:
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>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>
# 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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-Reachability-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
\ No newline at end of file
#include "Pods-Reachability"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS =
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
USE_HEADERMAP = $(inherited)
\ No newline at end of file
#--------------------------------
# OSX Noise
#--------------------------------
.DS_Store
profile
#--------------------------------
# XCode Noise
#--------------------------------
.DS_Store
*.swp
*~.nib
build/
*.pbxuser
*.perspective
*.perspectivev3
*.mode1v3
*.mode2v3
xcuserdata
\ No newline at end of file
File References:
- MacOSReachabilityTestARC:
- Reachability.h
- Reachability.m
- TMAppDelegate.h
- TMAppDelegate.m
- MainMenu.xib:
- en
- Supporting Files:
- MacOSReachabilityTestARC-Info.plist
- InfoPlist.strings:
- en
- main.m
- MacOSReachabilityTestARC-Prefix.pch
- Credits.rtf:
- en
- Frameworks:
- SystemConfiguration.framework
- Cocoa.framework
- Other Frameworks:
- AppKit.framework
- CoreData.framework
- Foundation.framework
- Products:
- MacOSReachabilityTestARC.app
Targets:
- MacOSReachabilityTestARC:
Build Phases:
- SourcesBuildPhase:
- main.m
- TMAppDelegate.m
- Reachability.m
- FrameworksBuildPhase:
- SystemConfiguration.framework
- Cocoa.framework
- ResourcesBuildPhase:
- InfoPlist.strings
- Credits.rtf
- MainMenu.xib
Build Configurations:
- Debug:
Build Settings:
WRAPPER_EXTENSION: app
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: MacOSReachabilityTestARC/MacOSReachabilityTestARC-Info.plist
SDKROOT: macosx
MACOSX_DEPLOYMENT_TARGET: '10.6'
GCC_PREFIX_HEADER: MacOSReachabilityTestARC/MacOSReachabilityTestARC-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
- Release:
Build Settings:
WRAPPER_EXTENSION: app
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: MacOSReachabilityTestARC/MacOSReachabilityTestARC-Info.plist
SDKROOT: macosx
MACOSX_DEPLOYMENT_TARGET: '10.6'
GCC_PREFIX_HEADER: MacOSReachabilityTestARC/MacOSReachabilityTestARC-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Build Configurations:
- Debug:
Build Settings:
ONLY_ACTIVE_ARCH: 'YES'
GCC_WARN_UNUSED_VARIABLE: 'YES'
GCC_C_LANGUAGE_STANDARD: gnu99
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
MACOSX_DEPLOYMENT_TARGET: '10.7'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
ALWAYS_SEARCH_USER_PATHS: 'NO'
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_WARN_ABOUT_MISSING_PROTOTYPES: 'YES'
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
SDKROOT: macosx
COPY_PHASE_STRIP: 'NO'
CLANG_ENABLE_OBJC_ARC: 'YES'
- Release:
Build Settings:
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
GCC_WARN_UNUSED_VARIABLE: 'YES'
GCC_C_LANGUAGE_STANDARD: gnu99
GCC_ENABLE_OBJC_EXCEPTIONS: 'YES'
MACOSX_DEPLOYMENT_TARGET: '10.7'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_WARN_ABOUT_MISSING_PROTOTYPES: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
SDKROOT: macosx
COPY_PHASE_STRIP: 'YES'
CLANG_ENABLE_OBJC_ARC: 'YES'
<?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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.tonymillion.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2011 __MyCompanyName__. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
//
// Prefix header for all source files of the 'MacOSReachabilityTestARC' target in the 'MacOSReachabilityTestARC' project
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
//
// TMAppDelegate.h
// MacOSReachabilityTestARC
//
// Created by Tony Million on 21/11/2011.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface TMAppDelegate : NSObject <NSApplicationDelegate>
@property (assign) IBOutlet NSWindow *window;
@property (assign, nonatomic) IBOutlet NSTextField * blockLabel;
@property (assign, nonatomic) IBOutlet NSTextField * notificationLabel;
@end
//
// TMAppDelegate.m
// MacOSReachabilityTestARC
//
// Created by Tony Million on 21/11/2011.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import "TMAppDelegate.h"
#import "Reachability.h"
@implementation TMAppDelegate
@synthesize window = _window;
@synthesize blockLabel = _blockLabel, notificationLabel = _notificationLabel;
-(void)reachabilityChanged:(NSNotification*)note
{
Reachability * reach = [note object];
if([reach isReachable])
{
_notificationLabel.stringValue = @"Notification Says Reachable";
}
else
{
_notificationLabel.stringValue = @"Notification Says Unreachable";
}
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
// Insert code here to initialize your application
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(reachabilityChanged:)
name:kReachabilityChangedNotification
object:nil];
Reachability * reach = [Reachability reachabilityWithHostname:@"www.google.com"];
reach.reachableBlock = ^(Reachability * reachability)
{
dispatch_async(dispatch_get_main_queue(), ^{
_blockLabel.stringValue = @"Block Says Reachable";
});
};
reach.unreachableBlock = ^(Reachability * reachability)
{
dispatch_async(dispatch_get_main_queue(), ^{
_blockLabel.stringValue = @"Block Says Unreachable";
});
};
[reach startNotifier];
}
@end
{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw9840\paperh8400
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\f0\b\fs24 \cf0 Engineering:
\b0 \
Some people\
\
\b Human Interface Design:
\b0 \
Some other people\
\
\b Testing:
\b0 \
Hopefully not nobody\
\
\b Documentation:
\b0 \
Whoever\
\
\b With special thanks to:
\b0 \
Mom\
}
//
// main.m
// MacOSReachabilityTestARC
//
// Created by Tony Million on 21/11/2011.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **)argv);
}
Pod::Spec.new do |s|
s.name = 'Reachability'
s.version = '3.1.0'
s.license = 'BSD'
s.homepage = 'https://github.com/tonymillion/Reachability'
s.authors = { 'Tony Million' => 'tonymillion@gmail.com' }
s.summary = 'ARC and GCD Compatible Reachability Class for iOS. Drop in replacement for Apple Reachability.'
s.source = { :git => 'https://github.com/tonymillion/Reachability.git', :tag => 'v3.1.0' }
s.source_files = 'Reachability.{h,m}'
s.framework = 'SystemConfiguration'
s.requires_arc = false
end
File References:
- iOSReachabilityTestARC:
- Reachability.h
- Reachability.m
- TMAppDelegate.h
- TMAppDelegate.m
- TMViewController.h
- TMViewController.m
- TMViewController.xib:
- en
- Supporting Files:
- iOSReachabilityTestARC-Info.plist
- InfoPlist.strings:
- en
- main.m
- iOSReachabilityTestARC-Prefix.pch
- Frameworks:
- SystemConfiguration.framework
- UIKit.framework
- Foundation.framework
- CoreGraphics.framework
- Products:
- iOSReachabilityTestARC.app
Targets:
- iOSReachabilityTestARC:
Build Phases:
- SourcesBuildPhase:
- main.m
- TMAppDelegate.m
- TMViewController.m
- Reachability.m
- FrameworksBuildPhase:
- SystemConfiguration.framework
- UIKit.framework
- Foundation.framework
- CoreGraphics.framework
- ResourcesBuildPhase:
- InfoPlist.strings
- TMViewController.xib
Build Configurations:
- Debug:
Build Settings:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: iOSReachabilityTestARC/iOSReachabilityTestARC-Info.plist
IPHONEOS_DEPLOYMENT_TARGET: '4.0'
WRAPPER_EXTENSION: app
GCC_PREFIX_HEADER: iOSReachabilityTestARC/iOSReachabilityTestARC-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
- Release:
Build Settings:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: iOSReachabilityTestARC/iOSReachabilityTestARC-Info.plist
IPHONEOS_DEPLOYMENT_TARGET: '4.0'
WRAPPER_EXTENSION: app
GCC_PREFIX_HEADER: iOSReachabilityTestARC/iOSReachabilityTestARC-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME)
Build Configurations:
- Debug:
Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: '5.0'
SDKROOT: iphoneos
GCC_WARN_UNUSED_VARIABLE: 'YES'
GCC_C_LANGUAGE_STANDARD: gnu99
GCC_DYNAMIC_NO_PIC: 'NO'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ALWAYS_SEARCH_USER_PATHS: 'NO'
ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_WARN_ABOUT_MISSING_PROTOTYPES: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
COPY_PHASE_STRIP: 'NO'
CLANG_ENABLE_OBJC_ARC: 'YES'
- Release:
Build Settings:
SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: -DNS_BLOCK_ASSERTIONS=1
GCC_WARN_UNUSED_VARIABLE: 'YES'
GCC_C_LANGUAGE_STANDARD: gnu99
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ARCHS: $(ARCHS_STANDARD_32_BIT)
GCC_WARN_ABOUT_MISSING_PROTOTYPES: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
IPHONEOS_DEPLOYMENT_TARGET: '5.0'
COPY_PHASE_STRIP: 'YES'
CLANG_ENABLE_OBJC_ARC: 'YES'
//
// TMAppDelegate.h
// iOSReachabilityTestARC
//
// Created by Tony Million on 21/11/2011.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@class TMViewController;
@interface TMAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) TMViewController *viewController;
@end
//
// TMAppDelegate.m
// iOSReachabilityTestARC
//
// Created by Tony Million on 21/11/2011.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import "TMAppDelegate.h"
#import "TMViewController.h"
@implementation TMAppDelegate
@synthesize window = _window;
@synthesize viewController = _viewController;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.viewController = [[TMViewController alloc] initWithNibName:@"TMViewController" bundle:nil];
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
/*
Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
*/
}
- (void)applicationDidEnterBackground:(UIApplication *)application
{
/*
Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
*/
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
/*
Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
*/
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
/*
Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
*/
}
- (void)applicationWillTerminate:(UIApplication *)application
{
/*
Called when the application is about to terminate.
Save data if appropriate.
See also applicationDidEnterBackground:.
*/
}
@end
//
// TMViewController.h
// iOSReachabilityTestARC
//
// Created by Tony Million on 21/11/2011.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TMViewController : UIViewController
@property (assign, nonatomic) IBOutlet UILabel * blockLabel;
@property (assign, nonatomic) IBOutlet UILabel * notificationLabel;
@end
//
// TMViewController.m
// iOSReachabilityTestARC
//
// Created by Tony Million on 21/11/2011.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import "TMViewController.h"
#import "Reachability.h"
@interface TMViewController (private)
-(void)reachabilityChanged:(NSNotification*)note;
@end
@implementation TMViewController
@synthesize blockLabel, notificationLabel;
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Release any cached data, images, etc that aren't in use.
}
#pragma mark - View lifecycle
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(reachabilityChanged:)
name:kReachabilityChangedNotification
object:nil];
Reachability * reach = [Reachability reachabilityWithHostname:@"www.google.com"];
reach.reachableBlock = ^(Reachability * reachability)
{
dispatch_async(dispatch_get_main_queue(), ^{
blockLabel.text = @"Block Says Reachable";
});
};
reach.unreachableBlock = ^(Reachability * reachability)
{
dispatch_async(dispatch_get_main_queue(), ^{
blockLabel.text = @"Block Says Unreachable";
});
};
[reach startNotifier];
}
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
}
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
}
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
}
- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
}
- (void)viewDidDisappear:(BOOL)animated
{
[super viewDidDisappear:animated];
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
-(void)reachabilityChanged:(NSNotification*)note
{
Reachability * reach = [note object];
if([reach isReachable])
{
notificationLabel.text = @"Notification Says Reachable";
}
else
{
notificationLabel.text = @"Notification Says Unreachable";
}
}
@end
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
<data>
<int key="IBDocument.SystemTarget">1280</int>
<string key="IBDocument.SystemVersion">11C74</string>
<string key="IBDocument.InterfaceBuilderVersion">1938</string>
<string key="IBDocument.AppKitVersion">1138.23</string>
<string key="IBDocument.HIToolboxVersion">567.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">933</string>
</object>
<array key="IBDocument.IntegratedClassDependencies">
<string>IBProxyObject</string>
<string>IBUIView</string>
<string>IBUILabel</string>
</array>
<array key="IBDocument.PluginDependencies">
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</array>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
<integer value="1" key="NS.object.0"/>
</object>
<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<object class="IBProxyObject" id="372490531">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="843779117">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIView" id="774585933">
<reference key="NSNextResponder"/>
<int key="NSvFlags">274</int>
<array class="NSMutableArray" key="NSSubviews">
<object class="IBUILabel" id="357811130">
<reference key="NSNextResponder" ref="774585933"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{20, 69}, {280, 21}}</string>
<reference key="NSSuperview" ref="774585933"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="397288832"/>
<string key="NSReuseIdentifierKey">_NS:328</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">7</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">Block Reachability</string>
<object class="NSColor" key="IBUITextColor" id="930458148">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MCAwIDAAA</bytes>
</object>
<nil key="IBUIHighlightedColor"/>
<int key="IBUIBaselineAdjustment">1</int>
<float key="IBUIMinimumFontSize">10</float>
<int key="IBUITextAlignment">1</int>
<object class="IBUIFontDescription" key="IBUIFontDescription" id="1009593852">
<int key="type">1</int>
<double key="pointSize">17</double>
</object>
<object class="NSFont" key="IBUIFont" id="193841671">
<string key="NSName">Helvetica</string>
<double key="NSSize">17</double>
<int key="NSfFlags">16</int>
</object>
</object>
<object class="IBUILabel" id="397288832">
<reference key="NSNextResponder" ref="774585933"/>
<int key="NSvFlags">292</int>
<string key="NSFrame">{{20, 120}, {280, 21}}</string>
<reference key="NSSuperview" ref="774585933"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView"/>
<string key="NSReuseIdentifierKey">_NS:328</string>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClipsSubviews">YES</bool>
<int key="IBUIContentMode">7</int>
<bool key="IBUIUserInteractionEnabled">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<string key="IBUIText">Notification Reachability</string>
<reference key="IBUITextColor" ref="930458148"/>
<nil key="IBUIHighlightedColor"/>
<int key="IBUIBaselineAdjustment">1</int>
<float key="IBUIMinimumFontSize">10</float>
<int key="IBUITextAlignment">1</int>
<reference key="IBUIFontDescription" ref="1009593852"/>
<reference key="IBUIFont" ref="193841671"/>
</object>
</array>
<string key="NSFrame">{{0, 20}, {320, 460}}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="357811130"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC43NQA</bytes>
<object class="NSColorSpace" key="NSCustomColorSpace">
<int key="NSID">2</int>
</object>
</object>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
</array>
<object class="IBObjectContainer" key="IBDocument.Objects">
<array class="NSMutableArray" key="connectionRecords">
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">view</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="774585933"/>
</object>
<int key="connectionID">7</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">blockLabel</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="357811130"/>
</object>
<int key="connectionID">10</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">notificationLabel</string>
<reference key="source" ref="372490531"/>
<reference key="destination" ref="397288832"/>
</object>
<int key="connectionID">11</int>
</object>
</array>
<object class="IBMutableOrderedSet" key="objectRecords">
<array key="orderedObjects">
<object class="IBObjectRecord">
<int key="objectID">0</int>
<array key="object" id="0"/>
<reference key="children" ref="1000"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="372490531"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="843779117"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">6</int>
<reference key="object" ref="774585933"/>
<array class="NSMutableArray" key="children">
<reference ref="357811130"/>
<reference ref="397288832"/>
</array>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">8</int>
<reference key="object" ref="357811130"/>
<reference key="parent" ref="774585933"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">9</int>
<reference key="object" ref="397288832"/>
<reference key="parent" ref="774585933"/>
</object>
</array>
</object>
<dictionary class="NSMutableDictionary" key="flattenedProperties">
<string key="-1.CustomClassName">TMViewController</string>
<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="-2.CustomClassName">UIResponder</string>
<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="6.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="8.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="9.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
<nil key="activeLocalization"/>
<dictionary class="NSMutableDictionary" key="localizations"/>
<nil key="sourceID"/>
<int key="maxID">11</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<array class="NSMutableArray" key="referencedPartialClassDescriptions">
<object class="IBPartialClassDescription">
<string key="className">TMViewController</string>
<string key="superclassName">UIViewController</string>
<dictionary class="NSMutableDictionary" key="outlets">
<string key="blockLabel">UILabel</string>
<string key="notificationLabel">UILabel</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
<object class="IBToOneOutletInfo" key="blockLabel">
<string key="name">blockLabel</string>
<string key="candidateClassName">UILabel</string>
</object>
<object class="IBToOneOutletInfo" key="notificationLabel">
<string key="name">notificationLabel</string>
<string key="candidateClassName">UILabel</string>
</object>
</dictionary>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">./Classes/TMViewController.h</string>
</object>
</object>
</array>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">933</string>
</data>
</archive>
<?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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFiles</key>
<array/>
<key>CFBundleIdentifier</key>
<string>com.tonymillion.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
//
// Prefix header for all source files of the 'iOSReachabilityTestARC' target in the 'iOSReachabilityTestARC' project
//
#import <Availability.h>
#ifndef __IPHONE_4_0
#warning "This project uses features only available in iOS SDK 4.0 and later."
#endif
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#endif
//
// main.m
// iOSReachabilityTestARC
//
// Created by Tony Million on 21/11/2011.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TMAppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([TMAppDelegate class]));
}
}
...@@ -19,47 +19,40 @@ File References: ...@@ -19,47 +19,40 @@ File References:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods.a
- Products: - Products:
- SampleApp.app - SampleApp.app
- Pods.xcconfig
Targets: Targets:
- SampleApp: - SampleApp:
Build Phases: Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: - SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Cocoa.framework - Cocoa.framework
- libPods.a
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- Credits.rtf - Credits.rtf
- MainMenu.xib - MainMenu.xib
- Copy Pods Resources: []
Build Configurations: Build Configurations:
- Debug: - Debug:
Build Settings: Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
WRAPPER_EXTENSION: app
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
- Release: - Release:
Build Settings: Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: SampleApp/SampleApp-Info.plist INFOPLIST_FILE: SampleApp/SampleApp-Info.plist
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch
WRAPPER_EXTENSION: app
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods.xcconfig
...@@ -100,12 +93,12 @@ Build Configurations: ...@@ -100,12 +93,12 @@ Build Configurations:
GCC_WARN_UNINITIALIZED_AUTOS: 'YES' GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
MACOSX_DEPLOYMENT_TARGET: '10.8' MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES' CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
CLANG_WARN_INT_CONVERSION: 'YES' CLANG_WARN_INT_CONVERSION: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
ALWAYS_SEARCH_USER_PATHS: 'NO'
CLANG_WARN_CONSTANT_CONVERSION: 'YES' CLANG_WARN_CONSTANT_CONVERSION: 'YES'
ARCHS: $(ARCHS_STANDARD_64_BIT) ARCHS: $(ARCHS_STANDARD_64_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
CLANG_WARN_ENUM_CONVERSION: 'YES' CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES' GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES' GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
......
...@@ -29,42 +29,39 @@ Downloading dependencies ...@@ -29,42 +29,39 @@ Downloading dependencies
$ /usr/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 [!] An error occurred while processing the pre-install hook of the Podfile.
Generating Pods project undefined method `libraries' for #<Pod::Installer:0x007fc794c97a80>
- Creating Pods project
- Adding source files to Pods project
- Adding resources to Pods project
- Linking headers
- Installing libraries
- Installing target `Pods` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- 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 acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-dummy.m`
- Installing target `Pods-Reachability` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-Reachability-environment.h`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Running post install hooks
- Podfile
- Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock`
- Writing Manifest in `Pods/Manifest.lock`
Integrating client project ROOT/lib/cocoapods/hooks/installer_representation.rb:62:in `specs_by_lib'
ROOT/tmp/install_podfile_callbacks/Podfile:5:in `block (2 levels) in from_ruby'
/Users/fabio/Projects/CP/Core/lib/cocoapods-core/podfile.rb:143:in `call'
/Users/fabio/Projects/CP/Core/lib/cocoapods-core/podfile.rb:143:in `pre_install!'
ROOT/lib/cocoapods/installer.rb:456:in `run_podfile_pre_install_hook'
ROOT/lib/cocoapods/installer.rb:422:in `block in run_pre_install_hooks'
ROOT/lib/cocoapods/user_interface.rb:113:in `message'
ROOT/lib/cocoapods/installer.rb:412:in `run_pre_install_hooks'
ROOT/lib/cocoapods/installer.rb:104:in `block in download_dependencies'
ROOT/lib/cocoapods/user_interface.rb:52:in `section'
ROOT/lib/cocoapods/installer.rb:101:in `download_dependencies'
ROOT/lib/cocoapods/installer.rb:87:in `install!'
ROOT/lib/cocoapods/command/project.rb:38:in `run_install_with_update'
ROOT/lib/cocoapods/command/project.rb:68:in `run'
/Users/fabio/Projects/CP/claide/lib/claide/command.rb:206:in `run'
ROOT/lib/cocoapods/command.rb:49:in `run'
ROOT/bin/pod:19:in `<main>'
[!] From now on use `SampleApp.xcworkspace`. ROOT/lib/cocoapods/installer.rb:458:in `rescue in run_podfile_pre_install_hook'
ROOT/lib/cocoapods/installer.rb:456:in `run_podfile_pre_install_hook'
Integrating library `Pods-Reachability` into target Pods of project `SampleApp.xcodeproj`. ROOT/lib/cocoapods/installer.rb:422:in `block in run_pre_install_hooks'
ROOT/lib/cocoapods/user_interface.rb:113:in `message'
[!] Podfile#config is deprecated. The config is accessible from the parameter passed to the hooks ROOT/lib/cocoapods/installer.rb:412:in `run_pre_install_hooks'
ROOT/lib/cocoapods/installer.rb:104:in `block in download_dependencies'
ROOT/lib/cocoapods/user_interface.rb:52:in `section'
ROOT/lib/cocoapods/installer.rb:101:in `download_dependencies'
ROOT/lib/cocoapods/installer.rb:87:in `install!'
ROOT/lib/cocoapods/command/project.rb:38:in `run_install_with_update'
ROOT/lib/cocoapods/command/project.rb:68:in `run'
/Users/fabio/Projects/CP/claide/lib/claide/command.rb:206:in `run'
ROOT/lib/cocoapods/command.rb:49:in `run'
ROOT/bin/pod:19:in `<main>'
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.19.1 COCOAPODS: 0.20.2
...@@ -11,4 +11,4 @@ EXTERNAL SOURCES: ...@@ -11,4 +11,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
#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
# Acknowledgements
This application makes use of the following third party libraries:
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>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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-Reachability-environment.h" #import "Pods-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 \ No newline at end of file
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
\ No newline at end of file
${SRCROOT}/Pods/Pods-Reachability-resources.sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-Reachability" #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 ${PODS_REACHABILITY_OTHER_LDFLAGS} OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = PODS_ROOT = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
...@@ -8,36 +8,35 @@ File References: ...@@ -8,36 +8,35 @@ File References:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods.a
- libPods-Reachability.a - libPods-Reachability.a
- libPods.a
- Targets Support Files: - Targets Support Files:
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
- Pods-dummy.m - Pods-dummy.m
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-environment.h
- Pods-Reachability-prefix.pch
- Pods-Reachability-resources.sh
- Pods-Reachability-acknowledgements.plist
- Pods-Reachability-acknowledgements.markdown
- Pods-Reachability-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-dummy.m - Reachability.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- libPods-Reachability.a - HeadersBuildPhase:
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -62,8 +61,8 @@ Targets: ...@@ -62,8 +61,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -86,21 +85,18 @@ Targets: ...@@ -86,21 +85,18 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Pods-Reachability: - Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - Pods-dummy.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-Reachability.a
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -121,11 +117,10 @@ Targets: ...@@ -121,11 +117,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -134,19 +129,19 @@ Targets: ...@@ -134,19 +129,19 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
......
...@@ -39,24 +39,19 @@ Generating Pods project ...@@ -39,24 +39,19 @@ Generating Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing libraries - 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`
- Generating dummy source file at `Pods/Pods-dummy.m` - Generating dummy source file at `Pods/Pods-dummy.m`
- Installing target `Pods-Reachability` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-Reachability-environment.h`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Running post install hooks - Running post install hooks
- Writing Xcode project file to `Pods/Pods.xcodeproj` - Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock` - Writing Lockfile in `Podfile.lock`
...@@ -66,4 +61,4 @@ Integrating client project ...@@ -66,4 +61,4 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating library `Pods-Reachability` into target Pods 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.19.1 COCOAPODS: 0.20.2
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
# Acknowledgements # Acknowledgements
This application makes use of the following third party libraries: 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 Generated by CocoaPods - http://cocoapods.org
...@@ -12,6 +12,24 @@ ...@@ -12,6 +12,24 @@
<key>Type</key> <key>Type</key>
<string>PSGroupSpecifier</string> <string>PSGroupSpecifier</string>
</dict> </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> <dict>
<key>FooterText</key> <key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string> <string>Generated by CocoaPods - http://cocoapods.org</string>
......
#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
# 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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-Reachability-environment.h" #import "Pods-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 \ No newline at end of file
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
#ifdef __OBJC__ #ifdef __OBJC__
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-environment.h"
\ No newline at end of file
${SRCROOT}/Pods/Pods-Reachability-resources.sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-Reachability" #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 ${PODS_REACHABILITY_OTHER_LDFLAGS} OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = PODS_ROOT = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
...@@ -8,35 +8,35 @@ File References: ...@@ -8,35 +8,35 @@ File References:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods.a
- libPods-Reachability.a - libPods-Reachability.a
- libPods.a
- Targets Support Files: - Targets Support Files:
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
- Pods-dummy.m - Pods-dummy.m
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-environment.h
- Pods-Reachability-prefix.pch
- Pods-Reachability-resources.sh
- Pods-Reachability-acknowledgements.plist
- Pods-Reachability-acknowledgements.markdown
- Pods-Reachability-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-dummy.m - Reachability.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase:
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -61,8 +61,8 @@ Targets: ...@@ -61,8 +61,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -85,21 +85,18 @@ Targets: ...@@ -85,21 +85,18 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Pods-Reachability: - Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - Pods-dummy.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-Reachability.a
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -120,11 +117,10 @@ Targets: ...@@ -120,11 +117,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -133,19 +129,19 @@ Targets: ...@@ -133,19 +129,19 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
......
...@@ -26,24 +26,19 @@ Generating Pods project ...@@ -26,24 +26,19 @@ Generating Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing libraries - 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`
- Generating dummy source file at `Pods/Pods-dummy.m` - Generating dummy source file at `Pods/Pods-dummy.m`
- Installing target `Pods-Reachability` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-Reachability-environment.h`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Running post install hooks - Running post install hooks
- Writing Xcode project file to `Pods/Pods.xcodeproj` - Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock` - Writing Lockfile in `Podfile.lock`
......
...@@ -11,4 +11,4 @@ EXTERNAL SOURCES: ...@@ -11,4 +11,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: c1e48cc25f8e7cba878c83ad1981d334ef325522 Reachability: c1e48cc25f8e7cba878c83ad1981d334ef325522
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
...@@ -11,4 +11,4 @@ EXTERNAL SOURCES: ...@@ -11,4 +11,4 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: c1e48cc25f8e7cba878c83ad1981d334ef325522 Reachability: c1e48cc25f8e7cba878c83ad1981d334ef325522
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
#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
# Acknowledgements
This application makes use of the following third party libraries:
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>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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-Reachability-environment.h" #import "Pods-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 \ No newline at end of file
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#import "Pods-environment.h"
\ No newline at end of file
${SRCROOT}/Pods/Pods-Reachability-resources.sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-Reachability" #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 ${PODS_REACHABILITY_OTHER_LDFLAGS} OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = PODS_ROOT = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
...@@ -10,36 +10,37 @@ File References: ...@@ -10,36 +10,37 @@ File References:
- TestClass.h - TestClass.h
- TestClass.m - TestClass.m
- Products: - Products:
- libPods.a
- libPods-Reachability.a - libPods-Reachability.a
- libPods.a
- Targets Support Files: - Targets Support Files:
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
- Pods-dummy.m - Pods-dummy.m
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-environment.h
- Pods-Reachability-prefix.pch
- Pods-Reachability-resources.sh
- Pods-Reachability-acknowledgements.plist
- Pods-Reachability-acknowledgements.markdown
- Pods-Reachability-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-dummy.m - Reachability.m
- TestClass.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- libPods-Reachability.a - HeadersBuildPhase:
- Reachability.h
- TestClass.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -64,8 +65,8 @@ Targets: ...@@ -64,8 +65,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -88,23 +89,18 @@ Targets: ...@@ -88,23 +89,18 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Pods-Reachability: - Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - Pods-dummy.m
- TestClass.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-Reachability.a
- Reachability.h
- TestClass.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -125,11 +121,10 @@ Targets: ...@@ -125,11 +121,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -138,19 +133,19 @@ Targets: ...@@ -138,19 +133,19 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
......
...@@ -40,24 +40,19 @@ Generating Pods project ...@@ -40,24 +40,19 @@ Generating Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing libraries - 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`
- Generating dummy source file at `Pods/Pods-dummy.m` - Generating dummy source file at `Pods/Pods-dummy.m`
- Installing target `Pods-Reachability` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-Reachability-environment.h`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Running post install hooks - Running post install hooks
- Reachability - Reachability
- Writing Xcode project file to `Pods/Pods.xcodeproj` - Writing Xcode project file to `Pods/Pods.xcodeproj`
...@@ -68,4 +63,4 @@ Integrating client project ...@@ -68,4 +63,4 @@ Integrating client project
[!] From now on use `SampleApp.xcworkspace`. [!] From now on use `SampleApp.xcworkspace`.
Integrating library `Pods-Reachability` into target Pods of project `SampleApp.xcodeproj`. Integrating Pod target `Pods-Reachability` into aggregate target Pods of project `SampleApp.xcodeproj`.
PODS:
- PodTest/subspec_1 (1.0)
- PodTest/subspec_2 (1.0)
DEPENDENCIES:
- PodTest/subspec_1 (from `PodTest-hg-source`)
- PodTest/subspec_2 (from `PodTest-hg-source`)
EXTERNAL SOURCES:
PodTest:
:hg: PodTest-hg-source
SPEC CHECKSUMS:
PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f
COCOAPODS: 0.20.2
../../PodTest/subspec_1.h
\ No newline at end of file
../../PodTest/subspec_2.h
\ No newline at end of file
../../PodTest/subspec_1.h
\ No newline at end of file
../../PodTest/subspec_2.h
\ No newline at end of file
PODS:
- PodTest/subspec_1 (1.0)
- PodTest/subspec_2 (1.0)
DEPENDENCIES:
- PodTest/subspec_1 (from `PodTest-hg-source`)
- PodTest/subspec_2 (from `PodTest-hg-source`)
EXTERNAL SOURCES:
PodTest:
:hg: PodTest-hg-source
SPEC CHECKSUMS:
PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f
COCOAPODS: 0.20.2
#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
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
#import "Pods-OS X App-environment.h"
#import <Foundation/Foundation.h>
@interface PodsDummy_Pods_OS_X_App : NSObject
@end
@implementation PodsDummy_Pods_OS_X_App
@end
...@@ -6,3 +6,9 @@ ...@@ -6,3 +6,9 @@
// project. // project.
// PodTest/subspec_2
#define COCOAPODS_POD_AVAILABLE_PodTest_subspec_2
#define COCOAPODS_VERSION_MAJOR_PodTest_subspec_2 1
#define COCOAPODS_VERSION_MINOR_PodTest_subspec_2 0
#define COCOAPODS_VERSION_PATCH_PodTest_subspec_2 0
#!/bin/sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource() install_resource()
{ {
case $1 in case $1 in
...@@ -20,8 +23,11 @@ install_resource() ...@@ -20,8 +23,11 @@ install_resource()
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd" xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;; ;;
*) *)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;; ;;
esac esac
} }
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-OS X App-PodTest"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
OTHER_LDFLAGS = -ObjC
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
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-test-environment.h" #import "Pods-iOS App-environment.h"
\ No newline at end of file
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@interface PodsDummy_Pods : NSObject @interface PodsDummy_Pods_iOS_App : NSObject
@end @end
@implementation PodsDummy_Pods @implementation PodsDummy_Pods_iOS_App
@end @end
...@@ -6,3 +6,9 @@ ...@@ -6,3 +6,9 @@
// project. // project.
// PodTest/subspec_1
#define COCOAPODS_POD_AVAILABLE_PodTest_subspec_1
#define COCOAPODS_VERSION_MAJOR_PodTest_subspec_1 1
#define COCOAPODS_VERSION_MINOR_PodTest_subspec_1 0
#define COCOAPODS_VERSION_PATCH_PodTest_subspec_1 0
#!/bin/sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource() install_resource()
{ {
case $1 in case $1 in
...@@ -20,8 +23,11 @@ install_resource() ...@@ -20,8 +23,11 @@ install_resource()
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd" xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;; ;;
*) *)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;; ;;
esac esac
} }
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-iOS App-PodTest"
ALWAYS_SEARCH_USER_PATHS = YES
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
OTHER_LDFLAGS = -ObjC
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
File References:
- Frameworks:
- Cocoa.framework
- Foundation.framework
- Pods:
- PodTest:
- subspec_1:
- subspec_1.h
- subspec_1.m
- subspec_2:
- subspec_2.h
- subspec_2.m
- Products:
- libPods-OS X App-PodTest.a
- libPods-iOS App-PodTest.a
- libPods-OS X App.a
- libPods-iOS App.a
- Targets Support Files:
- 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-environment.h
- Pods-OS X App-resources.sh
- Pods-OS X App-acknowledgements.plist
- Pods-OS X App-acknowledgements.markdown
- Pods-OS X App-dummy.m
- Pods-iOS App:
- Pods-iOS App.xcconfig
- Pods-iOS App-environment.h
- Pods-iOS App-resources.sh
- Pods-iOS App-acknowledgements.plist
- Pods-iOS App-acknowledgements.markdown
- Pods-iOS App-dummy.m
- Podfile
Targets:
- Pods-OS X App-PodTest:
Build Phases:
- SourcesBuildPhase:
- subspec_2.m
- Pods-OS X App-PodTest-dummy.m
- FrameworksBuildPhase:
- Cocoa.framework
- HeadersBuildPhase:
- subspec_2.h
Build Configurations:
- Release:
Build Settings:
COPY_PHASE_STRIP: 'YES'
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'
ARCHS: $(ARCHS_STANDARD_64_BIT)
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
SDKROOT: macosx
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PREFIX_HEADER: Pods-OS X App-PodTest-prefix.pch
Base Configuration: Pods-OS X App-PodTest-Private.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_PREFIX_HEADER: Pods-OS X App-PodTest-prefix.pch
GCC_OPTIMIZATION_LEVEL: '0'
GCC_C_LANGUAGE_STANDARD: gnu99
OTHER_LDFLAGS: ''
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ALWAYS_SEARCH_USER_PATHS: 'NO'
COPY_PHASE_STRIP: 'NO'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
SDKROOT: macosx
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-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
- $(inherited)
GCC_C_LANGUAGE_STANDARD: gnu99
SKIP_INSTALL: 'YES'
INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst
OTHER_CPLUSPLUSFLAGS:
- -DNS_BLOCK_ASSERTIONS=1
- $(inherited)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ARCHS: $(ARCHS_STANDARD_32_BIT)
PRODUCT_NAME: $(TARGET_NAME)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'YES'
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)
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_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
ARCHS: $(ARCHS_STANDARD_32_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1
- $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-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)
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
OTHER_LDFLAGS: ''
GCC_VERSION: com.apple.compilers.llvm.clang.1_0
ALWAYS_SEARCH_USER_PATHS: 'NO'
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
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)
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
Build Configurations:
- Release:
Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
MACOSX_DEPLOYMENT_TARGET: '10.6'
- Debug:
Build Settings:
IPHONEOS_DEPLOYMENT_TARGET: '4.3'
MACOSX_DEPLOYMENT_TARGET: '10.6'
...@@ -35,15 +35,20 @@ File References: ...@@ -35,15 +35,20 @@ File References:
- AppKit.framework - AppKit.framework
- CoreData.framework - CoreData.framework
- Foundation.framework - Foundation.framework
- libPods-OS X 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-iOS App.xcconfig
Targets: Targets:
- iOS App: - iOS App:
Build Phases: Build Phases:
- Check Pods Manifest.lock: []
- SourcesBuildPhase: - SourcesBuildPhase:
- main.m - main.m
- CPAppDelegate.m - CPAppDelegate.m
...@@ -51,11 +56,13 @@ Targets: ...@@ -51,11 +56,13 @@ Targets:
- UIKit.framework - UIKit.framework
- Foundation.framework - Foundation.framework
- CoreGraphics.framework - CoreGraphics.framework
- 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: []
Build Configurations: Build Configurations:
- Debug: - Debug:
Build Settings: Build Settings:
...@@ -70,6 +77,7 @@ Targets: ...@@ -70,6 +77,7 @@ Targets:
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-iOS App.xcconfig
- Release: - Release:
Build Settings: Build Settings:
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
...@@ -85,34 +93,40 @@ Targets: ...@@ -85,34 +93,40 @@ Targets:
CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer CODE_SIGN_IDENTITY[sdk=iphoneos*]: iPhone Developer
GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch GCC_PREFIX_HEADER: iOS App/iOS App-Prefix.pch
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-iOS App.xcconfig
- OS X App: - OS X App:
Build Phases: Build Phases:
- 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
- ResourcesBuildPhase: - ResourcesBuildPhase:
- InfoPlist.strings - InfoPlist.strings
- Credits.rtf - Credits.rtf
- MainMenu.xib - MainMenu.xib
- Copy Pods Resources: []
Build Configurations: Build Configurations:
- Debug: - Debug:
Build Settings: Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: OS X App/OS X App-Info.plist INFOPLIST_FILE: OS X App/OS X App-Info.plist
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PREFIX_HEADER: OS X App/OS X App-Prefix.pch GCC_PREFIX_HEADER: OS X App/OS X App-Prefix.pch
WRAPPER_EXTENSION: app
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-OS X App.xcconfig
- Release: - Release:
Build Settings: Build Settings:
WRAPPER_EXTENSION: app
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
INFOPLIST_FILE: OS X App/OS X App-Info.plist INFOPLIST_FILE: OS X App/OS X App-Info.plist
COMBINE_HIDPI_IMAGES: 'YES'
GCC_PREFIX_HEADER: OS X App/OS X App-Prefix.pch GCC_PREFIX_HEADER: OS X App/OS X App-Prefix.pch
WRAPPER_EXTENSION: app
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
Base Configuration: Pods-OS X App.xcconfig
...@@ -153,12 +167,12 @@ Build Configurations: ...@@ -153,12 +167,12 @@ Build Configurations:
GCC_WARN_UNINITIALIZED_AUTOS: 'YES' GCC_WARN_UNINITIALIZED_AUTOS: 'YES'
MACOSX_DEPLOYMENT_TARGET: '10.8' MACOSX_DEPLOYMENT_TARGET: '10.8'
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES' CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
CLANG_CXX_LANGUAGE_STANDARD: gnu++0x CLANG_CXX_LANGUAGE_STANDARD: gnu++0x
CLANG_WARN_INT_CONVERSION: 'YES' CLANG_WARN_INT_CONVERSION: 'YES'
CLANG_WARN_EMPTY_BODY: 'YES'
ALWAYS_SEARCH_USER_PATHS: 'NO'
CLANG_WARN_CONSTANT_CONVERSION: 'YES' CLANG_WARN_CONSTANT_CONVERSION: 'YES'
ARCHS: $(ARCHS_STANDARD_64_BIT) ARCHS: $(ARCHS_STANDARD_64_BIT)
ALWAYS_SEARCH_USER_PATHS: 'NO'
CLANG_WARN_ENUM_CONVERSION: 'YES' CLANG_WARN_ENUM_CONVERSION: 'YES'
GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES' GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES'
GCC_WARN_ABOUT_RETURN_TYPE: 'YES' GCC_WARN_ABOUT_RETURN_TYPE: 'YES'
......
...@@ -30,74 +30,45 @@ Downloading dependencies ...@@ -30,74 +30,45 @@ Downloading dependencies
Generating Pods project Generating Pods project
- Creating Pods project - Creating Pods project
- Adding source files to Pods project
――― MARKDOWN TEMPLATE ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - Adding resources to Pods project
- Linking headers
### Report - Installing libraries
- Installing target `Pods-OS X App-PodTest` OS X 10.6
* What did you do? - Adding Build files
- Generating public xcconfig file at `Pods/Pods-OS X App-PodTest.xcconfig`
* What did you expect to happen? - 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`
* What happened instead? - 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
### Stack - 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`
CocoaPods : 0.19.1 - Generating dummy source file at `Pods/Pods-iOS App-PodTest-dummy.m`
Ruby : ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0] - Installing target `Pods-OS X App` OS X 10.6
RubyGems : 2.0.3 - Generating xcconfig file at `Pods/Pods-OS X App.xcconfig`
Host : Mac OS X 10.8.3 (12D78) - Generating target environment header at `Pods/Pods-OS X App-environment.h`
Xcode : 4.6.2 (4H1003) - Generating copy resources script at `Pods/Pods-OS X App-resources.sh`
Ruby lib dir : /Users/fabio/.rbenv/versions/2.0.0-p0/lib - Generating acknowledgements at `Pods/Pods-OS X App-acknowledgements.plist`
Repositories : master - git@github.com:CocoaPods/Specs.git @ d42c2e09cf5754edcba639da4d6c3f320535d501 - Generating acknowledgements at `Pods/Pods-OS X App-acknowledgements.markdown`
test - @ fatal: Not a git repository (or any of the parent directories): .git - Generating dummy source file at `Pods/Pods-OS X App-dummy.m`
``` - Installing target `Pods-iOS App` iOS 4.3
- Generating xcconfig file at `Pods/Pods-iOS App.xcconfig`
### Podfile - Generating target environment header at `Pods/Pods-iOS App-environment.h`
- Generating copy resources script at `Pods/Pods-iOS App-resources.sh`
```ruby - Generating acknowledgements at `Pods/Pods-iOS App-acknowledgements.plist`
target 'iOS App' do - Generating acknowledgements at `Pods/Pods-iOS App-acknowledgements.markdown`
platform :ios - Generating dummy source file at `Pods/Pods-iOS App-dummy.m`
pod "PodTest/subspec_1", :hg => "PodTest-hg-source" - Running post install hooks
end - Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock`
target 'OS X App' do - Writing Manifest in `Pods/Manifest.lock`
platform :osx
pod "PodTest/subspec_2", :hg => "PodTest-hg-source" Integrating client project
end
``` [!] From now on use `SampleApp.xcworkspace`.
### Error Integrating Pod target `Pods-OS X App-PodTest` into aggregate target Pods-OS X App of project `SampleApp.xcodeproj`.
``` Integrating Pod target `Pods-iOS App-PodTest` into aggregate target Pods-iOS App of project `SampleApp.xcodeproj`.
NoMethodError - undefined method `name' for nil:NilClass
ROOT/lib/cocoapods/installer.rb:290:in `block (2 levels) in prepare_pods_project'
ROOT/lib/cocoapods/installer.rb:290:in `select'
ROOT/lib/cocoapods/installer.rb:290:in `block in prepare_pods_project'
ROOT/lib/cocoapods/user_interface.rb:113:in `message'
ROOT/lib/cocoapods/installer.rb:283:in `prepare_pods_project'
ROOT/lib/cocoapods/installer.rb:109:in `block in generate_pods_project'
ROOT/lib/cocoapods/user_interface.rb:52:in `section'
ROOT/lib/cocoapods/installer.rb:108:in `generate_pods_project'
ROOT/lib/cocoapods/installer.rb:86:in `install!'
ROOT/lib/cocoapods/command/project.rb:40:in `run_install_with_update'
ROOT/lib/cocoapods/command/project.rb:70:in `run'
/Users/fabio/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/claide-0.2.0/lib/claide.rb:535:in `run'
ROOT/lib/cocoapods/command.rb:48:in `run'
ROOT/bin/pod:16:in `<main>'
```
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing github issues similar to yours:
https://github.com/CocoaPods/CocoaPods/issues/search?q=undefined+method+%60name%27+for+nil%3ANilClass
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Don't forget to anonymize any private data!
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
...@@ -7,4 +7,4 @@ DEPENDENCIES: ...@@ -7,4 +7,4 @@ DEPENDENCIES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b Reachability: ba94ecd4eaa037be3d0588b38956672588530c5b
COCOAPODS: 0.19.1 COCOAPODS: 0.20.2
# Acknowledgements # Acknowledgements
This application makes use of the following third party libraries: 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 Generated by CocoaPods - http://cocoapods.org
...@@ -12,6 +12,24 @@ ...@@ -12,6 +12,24 @@
<key>Type</key> <key>Type</key>
<string>PSGroupSpecifier</string> <string>PSGroupSpecifier</string>
</dict> </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> <dict>
<key>FooterText</key> <key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string> <string>Generated by CocoaPods - http://cocoapods.org</string>
......
#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
# 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>
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-Reachability-environment.h" #import "Pods-environment.h"
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "rsync -av --exclude '*/.svn/*' ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rsync -av --exclude '*/.svn/*' "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
GCC_PREPROCESSOR_DEFINITIONS = COCOAPODS=1 \ No newline at end of file
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_BUILD_HEADERS_SEARCH_PATHS} ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_REACHABILITY_OTHER_LDFLAGS = -framework SystemConfiguration
PODS_ROOT = ${SRCROOT}
USE_HEADERMAP = NO
\ No newline at end of file
#ifdef __OBJC__ #ifdef __OBJC__
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#endif #endif
#import "Pods-environment.h"
\ No newline at end of file
${SRCROOT}/Pods/Pods-Reachability-resources.sh #!/bin/sh
RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy.txt
> "$RESOURCES_TO_COPY"
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*.xcdatamodeld)
echo "xcrun momc ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename $1 .xcdatamodeld`.momd"
;;
*)
echo "${PODS_ROOT}/$1"
echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
;;
esac
}
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
rm "$RESOURCES_TO_COPY"
#include "Pods-Reachability" #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 ${PODS_REACHABILITY_OTHER_LDFLAGS} OTHER_LDFLAGS = -ObjC ${PODS_REACHABILITY_OTHER_LDFLAGS}
PODS_BUILD_HEADERS_SEARCH_PATHS = PODS_ROOT = ${SRCROOT}/Pods
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS} \ No newline at end of file
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
USE_HEADERMAP = $(inherited)
\ No newline at end of file
...@@ -8,35 +8,35 @@ File References: ...@@ -8,35 +8,35 @@ File References:
- Reachability.h - Reachability.h
- Reachability.m - Reachability.m
- Products: - Products:
- libPods.a
- libPods-Reachability.a - libPods-Reachability.a
- libPods.a
- Targets Support Files: - Targets Support Files:
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-Private.xcconfig
- Pods-Reachability-prefix.pch
- Pods-Reachability-dummy.m
- Pods: - Pods:
- Pods.xcconfig - Pods.xcconfig
- Pods-environment.h - Pods-environment.h
- Pods-prefix.pch - Pods-resources.sh
- Pods-acknowledgements.plist - Pods-acknowledgements.plist
- Pods-acknowledgements.markdown - Pods-acknowledgements.markdown
- Pods-dummy.m - Pods-dummy.m
- Pods-Reachability:
- Pods-Reachability.xcconfig
- Pods-Reachability-environment.h
- Pods-Reachability-prefix.pch
- Pods-Reachability-resources.sh
- Pods-Reachability-acknowledgements.plist
- Pods-Reachability-acknowledgements.markdown
- Pods-Reachability-dummy.m
- Podfile - Podfile
Targets: Targets:
- Pods: - Pods-Reachability:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Pods-dummy.m - Reachability.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase:
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
...@@ -61,8 +61,8 @@ Targets: ...@@ -61,8 +61,8 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
...@@ -85,21 +85,18 @@ Targets: ...@@ -85,21 +85,18 @@ Targets:
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-prefix.pch GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch
Base Configuration: Pods.xcconfig Base Configuration: Pods-Reachability-Private.xcconfig
- Pods-Reachability: - Pods:
Build Phases: Build Phases:
- SourcesBuildPhase: - SourcesBuildPhase:
- Reachability.m - Pods-dummy.m
- Pods-Reachability-dummy.m
- FrameworksBuildPhase: - FrameworksBuildPhase:
- Foundation.framework - Foundation.framework
- HeadersBuildPhase: - libPods-Reachability.a
- Reachability.h
Build Configurations: Build Configurations:
- Release: - Release:
Build Settings: Build Settings:
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
VALIDATE_PRODUCT: 'YES' VALIDATE_PRODUCT: 'YES'
OTHER_CFLAGS: OTHER_CFLAGS:
...@@ -120,11 +117,10 @@ Targets: ...@@ -120,11 +117,10 @@ Targets:
OTHER_LDFLAGS: '' OTHER_LDFLAGS: ''
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'YES' COPY_PHASE_STRIP: 'YES'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
- Debug: - Debug:
Build Settings: Build Settings:
OTHER_LDFLAGS: ''
PRODUCT_NAME: $(TARGET_NAME) PRODUCT_NAME: $(TARGET_NAME)
PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME) PUBLIC_HEADERS_FOLDER_PATH: $(TARGET_NAME)
SDKROOT: iphoneos SDKROOT: iphoneos
...@@ -133,19 +129,19 @@ Targets: ...@@ -133,19 +129,19 @@ Targets:
INSTALL_PATH: $(BUILT_PRODUCTS_DIR) INSTALL_PATH: $(BUILT_PRODUCTS_DIR)
DSTROOT: /tmp/xcodeproj.dst DSTROOT: /tmp/xcodeproj.dst
GCC_DYNAMIC_NO_PIC: 'NO' GCC_DYNAMIC_NO_PIC: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' GCC_SYMBOLS_PRIVATE_EXTERN: 'NO'
GCC_OPTIMIZATION_LEVEL: '0'
ARCHS: $(ARCHS_STANDARD_32_BIT) 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
ALWAYS_SEARCH_USER_PATHS: 'NO'
GCC_PREPROCESSOR_DEFINITIONS: GCC_PREPROCESSOR_DEFINITIONS:
- DEBUG=1 - DEBUG=1
- $(inherited) - $(inherited)
GCC_PRECOMPILE_PREFIX_HEADER: 'YES' GCC_PRECOMPILE_PREFIX_HEADER: 'YES'
IPHONEOS_DEPLOYMENT_TARGET: '6.0' IPHONEOS_DEPLOYMENT_TARGET: '6.0'
COPY_PHASE_STRIP: 'NO' COPY_PHASE_STRIP: 'NO'
GCC_PREFIX_HEADER: Pods-Reachability-prefix.pch OTHER_LDFLAGS: ''
Base Configuration: Pods-Reachability.xcconfig Base Configuration: Pods.xcconfig
......
...@@ -39,24 +39,19 @@ Generating Pods project ...@@ -39,24 +39,19 @@ Generating Pods project
- Adding resources to Pods project - Adding resources to Pods project
- Linking headers - Linking headers
- Installing libraries - 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`
- Generating dummy source file at `Pods/Pods-dummy.m` - Generating dummy source file at `Pods/Pods-dummy.m`
- Installing target `Pods-Reachability` iOS 6.0
- Adding Build files
- Generating xcconfig file at `Pods/Pods-Reachability.xcconfig`
- Generating target environment header at `Pods/Pods-Reachability-environment.h`
- Generating prefix header at `Pods/Pods-Reachability-prefix.pch`
- Generating copy resources script at `Pods/Pods-Reachability-resources.sh`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-Reachability-acknowledgements.markdown`
- Generating dummy source file at `Pods/Pods-Reachability-dummy.m`
- Running post install hooks - Running post install hooks
- Writing Xcode project file to `Pods/Pods.xcodeproj` - Writing Xcode project file to `Pods/Pods.xcodeproj`
- Writing Lockfile in `Podfile.lock` - Writing Lockfile in `Podfile.lock`
......
require File.expand_path('../spec_helper', __FILE__)
require 'yaml'
#-----------------------------------------------------------------------------#
# TODO These checks need to be migrated to spec/integration_2.rb
#-----------------------------------------------------------------------------#
# @!group Helpers
def skip_xcodebuild?
ENV['SKIP_XCODEBUILD']
end
puts " [!] ".red << "Skipping xcodebuild based checks, because it can't be found." if skip_xcodebuild?
# Build targets in the Pods project with xcodebuild. The xcodebuild -target
# option does not support implicit dependency resolution, so all integration
# library dependencies, the pod libraries for each target definition, must be
# explicitly built first.
#
def should_xcodebuild(target)
return if skip_xcodebuild?
Dir.chdir(config.sandbox_root) do
libraries = target.libraries + [target] # Build the integration library last
libraries.each do |library|
print "[!] Compiling #{library.label}...\r"
should_successfully_perform "xcodebuild -target '#{library.label}'"
lib_path = config.sandbox_root + "build/Release#{'-iphoneos' if target.platform == :ios}" + library.product_name
`lipo -info '#{lib_path}'`.should.include "#{library.platform == :ios ? 'armv7' : 'x86_64'}"
end
end
end
def should_successfully_perform(command)
output = `#{command} 2>&1`
puts output unless $?.success?
$?.should.be.success
end
#-----------------------------------------------------------------------------#
module Pod
describe "Full integration" do
before do
config.integrate_targets = false
end
# xit "includes automatically inherited subspecs" do; end
#--------------------------------------#
# @note ASIHTTPRequest depends on Reachability in iOS.
#
it "creates targets for different platforms" do
podfile = Podfile.new do
platform :ios
xcodeproj 'dummy'
pod 'JSONKit', '1.4'
target :ios_target do
pod 'ASIHTTPRequest', '1.8.1'
end
target :osx_target do
platform :osx
pod 'ASIHTTPRequest', '1.8.1'
end
end
installer = Installer.new(config.sandbox, podfile)
installer.install!
lockfile = installer.lockfile.to_hash
lockfile['PODS'].should == [
{ "ASIHTTPRequest (1.8.1)" =>
[ "ASIHTTPRequest/ASIWebPageRequest",
"ASIHTTPRequest/CloudFiles",
"ASIHTTPRequest/S3",
"Reachability"
]
},
{ "ASIHTTPRequest/ASIWebPageRequest (1.8.1)" => ["Reachability"] },
{ "ASIHTTPRequest/CloudFiles (1.8.1)" => ["Reachability"] },
{ "ASIHTTPRequest/S3 (1.8.1)" => ["Reachability"] },
"JSONKit (1.4)",
"Reachability (3.1.0)"
]
lockfile['DEPENDENCIES'].should == ["ASIHTTPRequest (= 1.8.1)", "JSONKit (= 1.4)"]
ios_target = installer.targets.select { |t| t.target_definition == podfile.target_definitions[:ios_target] }.first
osx_target = installer.targets.select { |t| t.target_definition == podfile.target_definitions[:osx_target] }.first
should_xcodebuild(ios_target)
should_xcodebuild(osx_target)
end
#--------------------------------------#
end
end
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------#
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("1.9") if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new("1.9")
if ENV['CI'] || ENV['GENERATE_COVERAGE'] if ENV['CI'] || ENV['GENERATE_COVERAGE']
require 'simplecov' require 'simplecov'
require 'coveralls' require 'coveralls'
......
require 'octokit' # # require 'octokit'
#
module SpecHelper # module SpecHelper
module Github # module Github
def expect_github_repo_request(data = nil) # def expect_github_repo_request(data = nil)
data ||= { # data ||= {
"clone_url" => "https://github.com/lukeredpath/libPusher.git", # "clone_url" => "https://github.com/lukeredpath/libPusher.git",
"created_at" => "2010-03-22T17:06:16Z", # "created_at" => "2010-03-22T17:06:16Z",
"description" => "An Objective-C interface to Pusher (pusherapp.com)", # "description" => "An Objective-C interface to Pusher (pusherapp.com)",
"fork" => false, # "fork" => false,
"forks" => 22, # "forks" => 22,
"git_url" => "git://github.com/lukeredpath/libPusher.git", # "git_url" => "git://github.com/lukeredpath/libPusher.git",
"has_downloads" => true, # "has_downloads" => true,
"has_issues" => true, # "has_issues" => true,
"has_wiki" => true, # "has_wiki" => true,
"homepage" => "", # "homepage" => "",
"html_url" => "https://github.com/lukeredpath/libPusher", # "html_url" => "https://github.com/lukeredpath/libPusher",
"id" => 574304, # "id" => 574304,
"language" => "C", # "language" => "C",
"mirror_url" => nil, # "mirror_url" => nil,
"name" => "libPusher", # "name" => "libPusher",
"open_issues" => 2, # "open_issues" => 2,
"owner" => { # "owner" => {
"avatar_url" => "https://secure.gravatar.com/avatar/bdd4d23d1a822b2d68b53e7c51d69a39?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png", # "avatar_url" => "https://secure.gravatar.com/avatar/bdd4d23d1a822b2d68b53e7c51d69a39?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
"gravatar_id" => "bdd4d23d1a822b2d68b53e7c51d69a39", # "gravatar_id" => "bdd4d23d1a822b2d68b53e7c51d69a39",
"id" => 613, # "id" => 613,
"login" => "lukeredpath", # "login" => "lukeredpath",
"url" => "https://api.github.com/users/lukeredpath" # "url" => "https://api.github.com/users/lukeredpath"
}, # },
"private" => false, # "private" => false,
"pushed_at" => "2012-04-10T13:16:49Z", # "pushed_at" => "2012-04-10T13:16:49Z",
"size" => 3654, # "size" => 3654,
"ssh_url" => "git@github.com:lukeredpath/libPusher.git", # "ssh_url" => "git@github.com:lukeredpath/libPusher.git",
"svn_url" => "https://github.com/lukeredpath/libPusher", # "svn_url" => "https://github.com/lukeredpath/libPusher",
"updated_at" => "2012-04-16T23:01:00Z", # "updated_at" => "2012-04-16T23:01:00Z",
"url" => "https://api.github.com/repos/lukeredpath/libPusher", # "url" => "https://api.github.com/repos/lukeredpath/libPusher",
"watchers" => 143 # "watchers" => 143
} # }
Octokit.expects(:repo).with('lukeredpath/libPusher').returns(data) # Octokit.expects(:repo).with('lukeredpath/libPusher').returns(data)
end # end
#
def expect_github_tags_request(data = nil) # def expect_github_tags_request(data = nil)
data ||= [ # data ||= [
{ # {
"commit" => { # "commit" => {
"sha" => "ea47899b65db8e9fd77b3a236f602771f15ca28f", # "sha" => "ea47899b65db8e9fd77b3a236f602771f15ca28f",
"url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/ea47899b65db8e9fd77b3a236f602771f15ca28f" # "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/ea47899b65db8e9fd77b3a236f602771f15ca28f"
}, # },
"name" => "v1.2", # "name" => "v1.2",
"tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.2", # "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.2",
"zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.2" # "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.2"
}, # },
{ # {
"commit" => { # "commit" => {
"sha" => "788468bc173e1bb57646a3ff8ace551df10a4249", # "sha" => "788468bc173e1bb57646a3ff8ace551df10a4249",
"url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/788468bc173e1bb57646a3ff8ace551df10a4249" # "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/788468bc173e1bb57646a3ff8ace551df10a4249"
}, # },
"name" => "v1.0.1", # "name" => "v1.0.1",
"tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.0.1", # "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.0.1",
"zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.0.1" # "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.0.1"
}, # },
{ # {
"commit" => { # "commit" => {
"sha" => "d4d51f86dc460c389b9d19c9453541f7daf7076b", # "sha" => "d4d51f86dc460c389b9d19c9453541f7daf7076b",
"url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/d4d51f86dc460c389b9d19c9453541f7daf7076b" # "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/d4d51f86dc460c389b9d19c9453541f7daf7076b"
}, # },
"name" => "v1.3", # "name" => "v1.3",
"tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.3", # "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.3",
"zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.3" # "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.3"
}, # },
{ # {
"commit" => { # "commit" => {
"sha" => "c4ed3712ad2bee5c9e754339f1860f15daf788f4", # "sha" => "c4ed3712ad2bee5c9e754339f1860f15daf788f4",
"url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/c4ed3712ad2bee5c9e754339f1860f15daf788f4" # "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/c4ed3712ad2bee5c9e754339f1860f15daf788f4"
}, # },
"name" => "v1.0", # "name" => "v1.0",
"tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.0", # "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.0",
"zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.0" # "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.0"
}, # },
{ # {
"commit" => { # "commit" => {
"sha" => "77523befd5509f91b8cbe03f45d30e6ce8ab96f4", # "sha" => "77523befd5509f91b8cbe03f45d30e6ce8ab96f4",
"url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/77523befd5509f91b8cbe03f45d30e6ce8ab96f4" # "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/77523befd5509f91b8cbe03f45d30e6ce8ab96f4"
}, # },
"name" => "v1.1", # "name" => "v1.1",
"tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.1", # "tarball_url" => "https://github.com/lukeredpath/libPusher/tarball/v1.1",
"zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.1" # "zipball_url" => "https://github.com/lukeredpath/libPusher/zipball/v1.1"
} # }
] # ]
Octokit.expects(:tags).with(:username => 'lukeredpath', :repo => 'libPusher').returns(data) # Octokit.expects(:tags).with(:username => 'lukeredpath', :repo => 'libPusher').returns(data)
end # end
#
def expect_github_branches_request(data = nil) # def expect_github_branches_request(data = nil)
data ||= [ # data ||= [
{ # {
"commit" => { # "commit" => {
"sha" => "d7aac34e846e2fe9b9da54978abfada8f9aa69a8", # "sha" => "d7aac34e846e2fe9b9da54978abfada8f9aa69a8",
"url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/d7aac34e846e2fe9b9da54978abfada8f9aa69a8" # "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/d7aac34e846e2fe9b9da54978abfada8f9aa69a8"
}, # },
"name" => "use-socketrocket-backend" # "name" => "use-socketrocket-backend"
}, # },
{ # {
"commit" => { # "commit" => {
"sha" => "daa4ba9398af4b532bfbca610065057e709cc877", # "sha" => "daa4ba9398af4b532bfbca610065057e709cc877",
"url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/daa4ba9398af4b532bfbca610065057e709cc877" # "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/daa4ba9398af4b532bfbca610065057e709cc877"
}, # },
"name" => "gh-pages" # "name" => "gh-pages"
}, # },
{ # {
"commit" => { # "commit" => {
"sha" => "5f482b0693ac2ac1ad85d1aabc27ec7547cc0bc7", # "sha" => "5f482b0693ac2ac1ad85d1aabc27ec7547cc0bc7",
"url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/5f482b0693ac2ac1ad85d1aabc27ec7547cc0bc7" # "url" => "https://api.github.com/repos/lukeredpath/libPusher/commits/5f482b0693ac2ac1ad85d1aabc27ec7547cc0bc7"
}, # },
"name" => "master" # "name" => "master"
} # }
] # ]
Octokit.expects(:branches).with(:username => 'lukeredpath', :repo => 'libPusher').returns(data) # Octokit.expects(:branches).with(:username => 'lukeredpath', :repo => 'libPusher').returns(data)
end # end
#
def expect_github_user_request(data = nil) # def expect_github_user_request(data = nil)
data ||= { # data ||= {
"avatar_url" => "https://secure.gravatar.com/avatar/bdd4d23d1a822b2d68b53e7c51d69a39?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png", # "avatar_url" => "https://secure.gravatar.com/avatar/bdd4d23d1a822b2d68b53e7c51d69a39?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
"bio" => "I\342\200\231m a Ruby on Rails and iPhone developer based in London, UK. I\342\200\231ve been writing web apps for almost ten years and in late 2008, I released my first iPhone application.\r\n\r\nSince early 2009, I have worked on a freelance/contract basis, having previously worked at Reevoo as part of one of the best Rails development teams in the country.\r\n\r\nI\342\200\231m also a big fan of open-source software which I both use and contribute to whenever possible. I have contributed to many open-source projects over the years, including Rails, RSpec and more recently, Gemcutter, as well as starting many of my own, including Clickatell, a library for interfacing with the Clickatell SMS gateway and SimpleConfig, a declarative application configuration Rails plugin which was developed whilst working at Reevoo.\r\n\r\nI was the technical reviewer for the SitePoint book \342\200\234Build Your Own Ruby on Rails Applications\342\200\235 and also contributed a recipe to \342\200\234Rails Recipes\342\200\235 by Chad Fowler.", # "bio" => "I\342\200\231m a Ruby on Rails and iPhone developer based in London, UK. I\342\200\231ve been writing web apps for almost ten years and in late 2008, I released my first iPhone application.\r\n\r\nSince early 2009, I have worked on a freelance/contract basis, having previously worked at Reevoo as part of one of the best Rails development teams in the country.\r\n\r\nI\342\200\231m also a big fan of open-source software which I both use and contribute to whenever possible. I have contributed to many open-source projects over the years, including Rails, RSpec and more recently, Gemcutter, as well as starting many of my own, including Clickatell, a library for interfacing with the Clickatell SMS gateway and SimpleConfig, a declarative application configuration Rails plugin which was developed whilst working at Reevoo.\r\n\r\nI was the technical reviewer for the SitePoint book \342\200\234Build Your Own Ruby on Rails Applications\342\200\235 and also contributed a recipe to \342\200\234Rails Recipes\342\200\235 by Chad Fowler.",
"blog" => "http://lukeredpath.co.uk", # "blog" => "http://lukeredpath.co.uk",
"company" => "LJR Software Limited", # "company" => "LJR Software Limited",
"created_at" => "2008-02-22T14:36:59Z", # "created_at" => "2008-02-22T14:36:59Z",
"email" => "luke@lukeredpath.co.uk", # "email" => "luke@lukeredpath.co.uk",
"followers" => 195, # "followers" => 195,
"following" => 10, # "following" => 10,
"gravatar_id" => "bdd4d23d1a822b2d68b53e7c51d69a39", # "gravatar_id" => "bdd4d23d1a822b2d68b53e7c51d69a39",
"hireable" => true, # "hireable" => true,
"html_url" => "https://github.com/lukeredpath", # "html_url" => "https://github.com/lukeredpath",
"id" => 613, # "id" => 613,
"location" => "London, UK", # "location" => "London, UK",
"login" => "lukeredpath", # "login" => "lukeredpath",
"name" => "Luke Redpath", # "name" => "Luke Redpath",
"public_gists" => 122, # "public_gists" => 122,
"public_repos" => 68, # "public_repos" => 68,
"type" => "User", # "type" => "User",
"url" => "https://api.github.com/users/lukeredpath" # "url" => "https://api.github.com/users/lukeredpath"
} # }
Octokit.expects(:user).with('lukeredpath').returns(data) # Octokit.expects(:user).with('lukeredpath').returns(data)
end # end
end # end
end # end
#
...@@ -7,6 +7,8 @@ module Pod ...@@ -7,6 +7,8 @@ module Pod
Config.instance = nil Config.instance = nil
end end
#-------------------------------------------------------------------------#
describe "In general" do describe "In general" do
it "returns the singleton config instance" do it "returns the singleton config instance" do
...@@ -35,7 +37,33 @@ module Pod ...@@ -35,7 +37,33 @@ module Pod
end end
end end
describe "Concerning a user's project, which is expected in the current working directory" do #-------------------------------------------------------------------------#
describe "Paths" do
it "returns the working directory as the installation root if a Podfile can be found" do
Dir.chdir(temporary_directory) do
File.open("Podfile", "w") {}
config.installation_root.should == temporary_directory
end
end
it "returns the parent directory which contains the Podfile if it can be found" do
Dir.chdir(temporary_directory) do
File.open("Podfile", "w") {}
sub_dir = temporary_directory + 'sub_dir'
sub_dir.mkpath
Dir.chdir(sub_dir) do
config.installation_root.should == temporary_directory
end
end
end
it "it returns the working directory as the installation root if no Podfile can be found" do
Dir.chdir(temporary_directory) do
config.installation_root.should == temporary_directory
end
end
before do before do
config.installation_root = temporary_directory config.installation_root = temporary_directory
...@@ -63,9 +91,33 @@ module Pod ...@@ -63,9 +91,33 @@ module Pod
it "returns the path to the Pods directory that holds the dependencies" do it "returns the path to the Pods directory that holds the dependencies" do
config.sandbox_root.should == temporary_directory + 'Pods' config.sandbox_root.should == temporary_directory + 'Pods'
end end
it "returns the Podfile path" do
Dir.chdir(temporary_directory) do
File.open("Podfile", "w") {}
config.podfile_path.should == temporary_directory + "Podfile"
end
end
it "returns nils if the Podfile if no paths exists" do
Dir.chdir(temporary_directory) do
config.podfile_path.should == nil
end
end
it "returns the Lockfile path" do
Dir.chdir(temporary_directory) do
File.open("Podfile", "w") {}
File.open("Podfile.lock", "w") {}
config.lockfile_path.should == temporary_directory + "Podfile.lock"
end
end
end end
describe "Concerning default settings" do #-------------------------------------------------------------------------#
describe "Default settings" do
before do before do
Config.any_instance.stubs(:user_settings_file).returns(Pathname.new('not_found')) Config.any_instance.stubs(:user_settings_file).returns(Pathname.new('not_found'))
...@@ -87,13 +139,49 @@ module Pod ...@@ -87,13 +139,49 @@ module Pod
describe "Private helpers" do describe "Private helpers" do
it "returns the path of the user settings file" do it "returns the path of the user settings file" do
config.user_settings_file.should == Pathname.new("~/.cocoapods/config.yaml").expand_path config.send(:user_settings_file).should == Pathname.new("~/.cocoapods/config.yaml").expand_path
end end
it "returns the path of the user settings file" do it "can be configured with a hash" do
config.user_settings_file.should == Pathname.new("~/.cocoapods/config.yaml").expand_path hash = { :verbose => true }
config.send(:configure_with, hash)
config.should.be.verbose
end end
#----------------------------------------#
describe "#podfile_path_in_dir" do
it "detects the CocoaPods.podfile.yaml file" do
expected = temporary_directory + "CocoaPods.podfile.yaml"
File.open(expected, "w") {}
path = config.send(:podfile_path_in_dir, temporary_directory)
path.should == expected
end
it "detects the CocoaPods.podfile file" do
expected = temporary_directory + "CocoaPods.podfile"
File.open(expected, "w") {}
path = config.send(:podfile_path_in_dir, temporary_directory)
path.should == expected
end
it "detects the Podfile file" do
expected = temporary_directory + "Podfile"
File.open(expected, "w") {}
path = config.send(:podfile_path_in_dir, temporary_directory)
path.should == expected
end
it "returns nils if the Podfile is not available" do
path = config.send(:podfile_path_in_dir, temporary_directory)
path.should == nil
end
end
#-----------------------------------------------------------------------#
end end
end end
end end
...@@ -89,13 +89,13 @@ module Pod ...@@ -89,13 +89,13 @@ module Pod
end end
it "considers changed a Pod whose specification is in head mode if in update mode" do it "considers changed a Pod whose specification is in head mode if in update mode" do
@spec.version.head = true @sandbox.stubs(:head_pod?).returns(true)
@analyzer.stubs(:update_mode).returns(true) @analyzer.stubs(:update_mode).returns(true)
@analyzer.send(:pod_changed?, 'BananaLib').should == true @analyzer.send(:pod_changed?, 'BananaLib').should == true
end end
it "doesn't consider changed a Pod whose specification is in head mode if not in update mode" do it "doesn't consider changed a Pod whose specification is in head mode if not in update mode" do
@spec.version.head = true @sandbox.stubs(:head_pod?).returns(true)
@analyzer.stubs(:update_mode).returns(false) @analyzer.stubs(:update_mode).returns(false)
@analyzer.send(:pod_changed?, 'BananaLib').should == false @analyzer.send(:pod_changed?, 'BananaLib').should == false
end end
......
...@@ -34,7 +34,7 @@ module Pod ...@@ -34,7 +34,7 @@ module Pod
end end
it "downloads the head source if specified source" do it "downloads the head source if specified source" do
@spec.version.head = true config.sandbox.store_head_pod('BananaLib')
@spec.source = { :git => SpecHelper.fixture('banana-lib'), :tag => 'v1.0' } @spec.source = { :git => SpecHelper.fixture('banana-lib'), :tag => 'v1.0' }
@installer.install! @installer.install!
@installer.specific_source[:commit].should == "0b8b4084a43c38cfe308efa076fdeb3a64d9d2bc" @installer.specific_source[:commit].should == "0b8b4084a43c38cfe308efa076fdeb3a64d9d2bc"
...@@ -51,7 +51,7 @@ module Pod ...@@ -51,7 +51,7 @@ module Pod
end end
it "stores the checkout options in the sandbox" do it "stores the checkout options in the sandbox" do
@spec.version.head = true config.sandbox.store_head_pod('BananaLib')
@spec.source = { :git => SpecHelper.fixture('banana-lib'), :tag => 'v1.0' } @spec.source = { :git => SpecHelper.fixture('banana-lib'), :tag => 'v1.0' }
@installer.install! @installer.install!
sources = @installer.sandbox.checkout_sources sources = @installer.sandbox.checkout_sources
......
...@@ -48,7 +48,7 @@ module Pod ...@@ -48,7 +48,7 @@ module Pod
it "warns if the podfile does not contain any dependency" do it "warns if the podfile does not contain any dependency" do
Podfile::TargetDefinition.any_instance.stubs(:empty?).returns(true) Podfile::TargetDefinition.any_instance.stubs(:empty?).returns(true)
@integrator.integrate! @integrator.integrate!
UI.warnings.should.include?('The Podfile does not contain any dependency') UI.warnings.should.include?('The Podfile does not contain any dependencies')
end end
end end
......
...@@ -27,7 +27,7 @@ module Pod ...@@ -27,7 +27,7 @@ module Pod
describe Installer do describe Installer do
before do before do
podfile = generate_podfile podfile = generate_podfile
lockfile = generate_lockfile lockfile = generate_lockfile
config.integrate_targets = false config.integrate_targets = false
@installer = Installer.new(config.sandbox, podfile, lockfile) @installer = Installer.new(config.sandbox, podfile, lockfile)
...@@ -223,7 +223,7 @@ module Pod ...@@ -223,7 +223,7 @@ module Pod
it "adds the Podfile to the Pods project" do it "adds the Podfile to the Pods project" do
@installer.stubs(:targets).returns([]) @installer.stubs(:targets).returns([])
config.podfile_path.stubs(:exist?).returns(true) 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']
f.name.should == 'Podfile' f.name.should == 'Podfile'
......
...@@ -161,6 +161,8 @@ module Pod ...@@ -161,6 +161,8 @@ module Pod
filemd5hash, jsonkit = resolver.resolve.values.first.sort_by(&:name) filemd5hash, jsonkit = resolver.resolve.values.first.sort_by(&:name)
filemd5hash.version.should.not.be.head filemd5hash.version.should.not.be.head
jsonkit.version.should.be.head jsonkit.version.should.be.head
config.sandbox.head_pod?('FileMD5Hash').should.be.false
config.sandbox.head_pod?('JSONKit').should.be.true
end end
it "raises if it finds two conflicting dependencies" do it "raises if it finds two conflicting dependencies" do
......
...@@ -147,18 +147,6 @@ module Pod ...@@ -147,18 +147,6 @@ module Pod
end end
describe "#expanded_paths" do
it "can handle Rake FileLists" do
@spec_consumer.stubs(:source_files).returns([FileList['Classes/Banana.*']])
@accessor.source_files.sort.should == [
@root + "Classes/Banana.h",
@root + "Classes/Banana.m",
]
end
end
end end
#-------------------------------------------------------------------------# #-------------------------------------------------------------------------#
......
...@@ -72,6 +72,11 @@ module Pod ...@@ -72,6 +72,11 @@ module Pod
@sandbox.pod_dir('JSONKit').should == temporary_directory + 'Sandbox/JSONKit' @sandbox.pod_dir('JSONKit').should == temporary_directory + 'Sandbox/JSONKit'
end end
it "returns the directory where a local Pod is stored" do
@sandbox.store_local_path('BananaLib', Pathname.new('Some Path'))
@sandbox.pod_dir('BananaLib').should.be == Pathname.new('Some Path')
end
it "returns the directory where to store the documentation" do it "returns the directory where to store the documentation" do
@sandbox.documentation_dir.should == temporary_directory + 'Sandbox/Documentation' @sandbox.documentation_dir.should == temporary_directory + 'Sandbox/Documentation'
end end
...@@ -118,23 +123,11 @@ module Pod ...@@ -118,23 +123,11 @@ module Pod
describe "Pods information" do describe "Pods information" do
it "returns the directory where a local Pod is stored" do
@sandbox.store_local_path('BananaLib', Pathname.new('Some Path'))
@sandbox.pod_dir('BananaLib').should.be == Pathname.new('Some Path')
end
#--------------------------------------#
it "stores the list of the names of the pre-downloaded pods" do it "stores the list of the names of the pre-downloaded pods" do
@sandbox.store_pre_downloaded_pod('BananaLib') @sandbox.store_pre_downloaded_pod('BananaLib')
@sandbox.predownloaded_pods.should == ['BananaLib'] @sandbox.predownloaded_pods.should == ['BananaLib']
end end
it "returns the checkout sources of the Pods" do
@sandbox.store_pre_downloaded_pod('BananaLib/Subspec')
@sandbox.predownloaded_pods.should == ['BananaLib']
end
it "returns whether a Pod has been pre-downloaded" do it "returns whether a Pod has been pre-downloaded" do
@sandbox.predownloaded_pods << 'BananaLib' @sandbox.predownloaded_pods << 'BananaLib'
@sandbox.predownloaded?('BananaLib').should.be.true @sandbox.predownloaded?('BananaLib').should.be.true
...@@ -144,6 +137,25 @@ module Pod ...@@ -144,6 +137,25 @@ module Pod
#--------------------------------------# #--------------------------------------#
it "stores the list of the names of the pre-downloaded pods" do
@sandbox.store_head_pod('BananaLib')
@sandbox.head_pods.should == ['BananaLib']
end
it "returns whether a Pod has been pre-downloaded" do
@sandbox.head_pods << 'BananaLib'
@sandbox.head_pod?('BananaLib').should.be.true
@sandbox.head_pod?('BananaLib/Subspec').should.be.true
@sandbox.head_pod?('Monkey').should.be.false
end
#--------------------------------------#
it "returns the checkout sources of the Pods" do
@sandbox.store_pre_downloaded_pod('BananaLib/Subspec')
@sandbox.predownloaded_pods.should == ['BananaLib']
end
it "stores the checkout source of a Pod" do it "stores the checkout source of a Pod" do
source = {:git => 'example.com', :commit => 'SHA'} source = {:git => 'example.com', :commit => 'SHA'}
@sandbox.store_checkout_source('BananaLib/Subspec', source ) @sandbox.store_checkout_source('BananaLib/Subspec', source )
......
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