Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Frameworks / Swift #2835

Merged
merged 176 commits into from Dec 25, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
2e65810
Add support for swift source files
kylef Jun 3, 2014
5012fdd
[Doc] Add group for better separation
mrackwitz Jun 28, 2014
fbadc7d
[Doc] Add some method-inline comments
mrackwitz Jun 28, 2014
c81a7b2
[Spec][Fixtures] Add a Swift podspec fixture
mrackwitz Nov 11, 2014
18abf36
Add methods to check if a target uses swift
mrackwitz Jun 28, 2014
c31b4b7
Support framework as type for generated target
mrackwitz Jun 28, 2014
37ebd5a
Integrate product_refs of generated frameworks
mrackwitz Jun 29, 2014
0c81d6f
Migrate from static library to framework
mrackwitz Jun 29, 2014
4875a76
Set headers as public if needed in PodTargetInstaller
mrackwitz Jun 30, 2014
816970f
Generate an Info.plist for frameworks
mrackwitz Jul 4, 2014
a0a9a85
Add Swift specific settings to the generated xcconfig files if required
mrackwitz Jul 4, 2014
73a0776
[Spec] Change label of target definition in spec for AggregateTarget
mrackwitz Nov 13, 2014
f086a01
Add target type specific settings to XCConfigs
mrackwitz Jul 4, 2014
93ddfa2
[Refactor] Extracted product_basename from Target's product name getters
mrackwitz Nov 3, 2014
ef4dfb2
Add helper method Target#c99ext_identifier
mrackwitz Nov 6, 2014
48422ac
Ensure that the PRODUCT_NAME is a C99ext identifier
mrackwitz Sep 7, 2014
a474257
Don't use #product_basename for the different product type getters
mrackwitz Nov 8, 2014
7ff9ec7
Link the target product according to its type
mrackwitz Sep 7, 2014
abf2376
Make attribute :imports of Generator::Header writeable
mrackwitz Sep 12, 2014
f8ee511
Support module imports in header files
mrackwitz Sep 10, 2014
6665153
Add Pod::Generator::UmbrellaHeader
mrackwitz Sep 10, 2014
85a5252
Add TargetInstaller#create_umbrella_header
mrackwitz Sep 12, 2014
a41a4d3
Ensure the output dir exists in Generator::Header#save_as
mrackwitz Sep 12, 2014
864a252
[Spec] Don't mock additional configurations here
mrackwitz Oct 29, 2014
154dd95
[Refactor] TargetIntegrator#native_targets_to_integrate
mrackwitz Sep 14, 2014
ef070a7
Explicitly disable initial code signing for OS X framework targets
mrackwitz Sep 18, 2014
7c344bd
[Refactor] Extract #generate_target from Analyzer#generate_targets
mrackwitz Sep 28, 2014
8309634
[Refactor] Extract #generate_pod_targets in Analyzer
mrackwitz Sep 29, 2014
58219ec
[Refactor] Extract #generate_pod_target in Analyzer
mrackwitz Sep 29, 2014
b9b9d5f
Add the Embed Pods Framework Build Phase in TargetIntegrator
mrackwitz Jun 30, 2014
a7b48ac
[Spec] Mute leaking output of the spec for Command::Repo::Update
mrackwitz Oct 29, 2014
b99ce41
[Refactor] Fix name of AggregateTargetInstaller#create_suport_files_g…
mrackwitz Oct 29, 2014
9b6813f
[Rakefile] Iteratively build all Examples
mrackwitz Oct 30, 2014
961db15
[Examples] Add Example of Alamofire
mrackwitz Oct 30, 2014
7f672bd
[Gemfile] Use custom xcodeproj branch
mrackwitz Nov 5, 2014
31f729f
[Spec] Remove tests for build setting VALIDATE_PRODUCT
mrackwitz Nov 2, 2014
184aee6
[Spec][Integration] Updated submodule for new xcodeproj version
mrackwitz Nov 3, 2014
34a1cf3
[Refactor] Store settings in a local var
mrackwitz Nov 7, 2014
28463d4
Namespace the pod target product
mrackwitz Nov 4, 2014
b279e42
[Refactor] Inlay constant in EmbedFrameworksScript
mrackwitz Nov 7, 2014
8528146
Add attribute #target_definition to EmbedFrameworksScript
mrackwitz Nov 7, 2014
404f991
Generate a custom module map file
mrackwitz Nov 4, 2014
569d40a
Ensure that the product reference target has the correct name
mrackwitz Nov 6, 2014
7382c13
[Gemfile] Use custom Core branch
mrackwitz Nov 8, 2014
2480a10
Auto opt-in OSX targets and iOS targets which have a deployment targe…
mrackwitz Nov 8, 2014
93a81e4
[Example] Update to recommended build settings
mrackwitz Nov 8, 2014
ce23a28
[Example] Set LD_RUNPATH_SEARCH_PATHS to the default value
mrackwitz Nov 8, 2014
b9e9324
[Doc] Fix missing parameter documentation
mrackwitz Nov 8, 2014
b37e237
[Spec] Fix description of test context
mrackwitz Nov 8, 2014
166dd8c
[Spec] Fix description of a spec
mrackwitz Nov 8, 2014
d14ff60
[Example] Migrate the AFNetworking OSX example
mrackwitz Nov 8, 2014
b6e5d73
[Spec][Integration] Rebuild with opt-in of OSX projects to frameworks
mrackwitz Nov 9, 2014
10870e7
[Spec][Refactor] Move specs in subcontext and extracted shared behavior
mrackwitz Nov 9, 2014
8b3dd4c
Ignore build setting CODE_SIGN_IDENTITY in UserProjectIntegrator#warn…
mrackwitz Nov 9, 2014
831fd9f
Weak link the aggregate framework
mrackwitz Nov 9, 2014
18c72b0
[Examples] Weak link to the aggregate framework
mrackwitz Nov 9, 2014
51daf75
[Spec][Integration] Weak link the aggregate framework
mrackwitz Nov 9, 2014
b44c0e1
Link frameworks from pod target
mrackwitz Nov 10, 2014
3550b28
Ensure that ld and libtool options are not overriden for frameworks
mrackwitz Nov 10, 2014
751eca6
[Spec][Integration] Update settings for ld and libtool flags for targ…
mrackwitz Nov 10, 2014
22cc618
Fix PODS_ROOT for aggregate target
mrackwitz Nov 10, 2014
4b44ab5
[Spec][Integration] Rebuilt to fix PODS_ROOT for aggregate target
mrackwitz Nov 10, 2014
ca52443
[Example] Set deployment target of AFNetworking iOS Example to 8.0
mrackwitz Nov 10, 2014
2553139
[Example] Re-integrated AFNetworking iOS Example
mrackwitz Nov 10, 2014
d8f804d
[Example] Let's conjure up clang's dragons
mrackwitz Nov 10, 2014
50bdca2
[Doc] Added missing parameter documentation
mrackwitz Nov 10, 2014
d6643d4
[Xcconfig] Introduce the user-defined setting PODS_FRAMEWORK_BUILD_PATH
mrackwitz Nov 10, 2014
9eff079
[Doc] Fix method return type of AggregateTarget#specs_by_build_config…
mrackwitz Nov 10, 2014
c5f93ce
[Refactor] Extracted #pod_targets_for_build_configuration from Aggreg…
mrackwitz Nov 10, 2014
a072f3e
Fix duplicate symbol errors by mixed header imports
mrackwitz Nov 11, 2014
1f6f387
[Spec][Integration] Update for fix of duplicate symbol errors
mrackwitz Nov 11, 2014
bc0606e
Fix crash in Analyzer#compute_user_project_targets_require_framework
mrackwitz Nov 11, 2014
972f113
[Refactor] Extract XCConfigHelper.add_settings_for_file_accessors_of_…
mrackwitz Nov 11, 2014
ccead7d
Revert "[Refactor] TargetIntegrator#native_targets_to_integrate"
mrackwitz Nov 16, 2014
78e7c39
[Style] Use flat_map instead of map(:…).flatten
mrackwitz Nov 17, 2014
f9fb55f
[Style] Prefer single quotes
mrackwitz Nov 17, 2014
a2b6404
[Style] Be more restrictive
mrackwitz Nov 17, 2014
aa0d3ed
[Style] Prefer find over select {…}.first
mrackwitz Nov 17, 2014
12724f2
[Doc] Improved wording / fixed typos
mrackwitz Nov 17, 2014
b3083f1
[Style] Freeze all constants
mrackwitz Nov 17, 2014
39bb72a
Fix crash in Analyzer#compute_user_project_targets_require_framework
mrackwitz Nov 17, 2014
b07945b
[Refactor] Use API improvements of Xcodeproj
mrackwitz Nov 17, 2014
f5cd3f1
Only embed declared public headers in the framework
mrackwitz Nov 17, 2014
09a0595
[Refactor] Pluralize name of attribute Target#requires_framework
mrackwitz Nov 21, 2014
03c627e
[Gemfile] Revert custom branches to master
mrackwitz Nov 22, 2014
9d11824
[Style] Use Pathname#open(…) instead of File.open(path, …)
mrackwitz Dec 1, 2014
f7ee16b
Remove unnecessary mkdir in Generator::ModuleMap#save_as
mrackwitz Dec 1, 2014
b5e5ed1
Fix the framework copy and codesigining issues
Nov 25, 2014
f320547
Fixes for @mrackwitz
Nov 25, 2014
e87f931
Updates exclude list on rsync to match Xcode Copy Frameworks strategy
Nov 25, 2014
344d0d1
[Style] Remove trailing whitespaces in static script parts
mrackwitz Dec 6, 2014
879e85a
Quote path argument on codesign
mrackwitz Dec 6, 2014
1b11489
[Spec][Integration] Rebuild for improved embed framework script
mrackwitz Dec 6, 2014
1e9dae9
[EmbedFrameworksScript] Ensure that the swift runtime libraries are c…
segiddins Dec 1, 2014
6837395
[EmbedFrameworksScript] Only grep for libswift dylibs linked from @rpath
segiddins Dec 4, 2014
2849f1b
[Spec][Integration] Ensure that all linked Swift runtime libraries ar…
mrackwitz Dec 7, 2014
007bcac
[Bundle] Update Core
mrackwitz Dec 7, 2014
e23cebf
[Analyzer] Check for the user opt-in to set host_requires_frameworks
mrackwitz Dec 7, 2014
ed732ed
[Spec][Integration] Use explicit opt-in in install_subspecs OSX target
mrackwitz Dec 7, 2014
8a81dd3
[Examples] Explicitly use_frameworks! for the Alamofire iOS Example
mrackwitz Dec 7, 2014
84bcf41
[Examples] Integrate AFNetworking Examples with libraries
mrackwitz Dec 7, 2014
eec96a2
[Examples] Add an sample app 'Mixed Example' to Alamofire
mrackwitz Dec 7, 2014
80eccab
Fix "otool: can't map file" error
zwaldowski Dec 8, 2014
6f318b4
[Spec][Integration] Rebuild for executing otool via xcrun
mrackwitz Dec 9, 2014
602cd81
Ensure error propagation in embed_frameworks_script
neonichu Dec 9, 2014
b47efb2
[Spec][Integration] Reflect changes to embed-frameworks script.
neonichu Dec 9, 2014
f4ac6ad
Objective-C, pfffft...
neonichu Dec 10, 2014
12904c5
[Bundle] Update Core
mrackwitz Dec 9, 2014
2c034e1
[Doc] Explain what Installer#set_target_dependencies does
mrackwitz Dec 9, 2014
6baa574
Link the pod targets among each other in Xcode
mrackwitz Dec 10, 2014
e25084f
[Spec][Integration] Rebuild for explicit links in Xcode
mrackwitz Dec 10, 2014
4395a94
Use configurable Specification#module_name
mrackwitz Dec 9, 2014
e2e4619
[Analyzer] Revise logic for framework check
mrackwitz Dec 10, 2014
6f10fbe
Revert "[Examples] Add an sample app 'Mixed Example' to Alamofire"
mrackwitz Dec 10, 2014
bced0ec
[Examples] Fix the Podfile for Alamofire
mrackwitz Dec 10, 2014
59ccf4e
Bundle Resources into Frameworks
neonichu Dec 11, 2014
b28621d
[Fixtures] Add pod monkey.podspec to test_repo
mrackwitz Dec 11, 2014
8bd3a2c
[Fixtures] Add OrangeFramework podspec to test_repo
mrackwitz Dec 11, 2014
7811eaf
Move PodTarget#host_requires_frameworks initialization into Installer
mrackwitz Dec 10, 2014
59afea6
Fix Installer#set_target_dependencies for non-build deps
mrackwitz Dec 11, 2014
98ec553
[Spec][Integration] Add install_custom_module_name
mrackwitz Dec 11, 2014
bfdbcdc
[Refactor] Select resources bundles to add less procedural
mrackwitz Dec 11, 2014
8eb03a0
[Style] Remove trailing whitespace
mrackwitz Dec 11, 2014
26d44e4
[Spec] Remove unnecessary reset of UI.warnings
mrackwitz Dec 11, 2014
2400cc8
[Changelog] Add entry for #2835
mrackwitz Dec 11, 2014
5673d61
Avoid creating duplicate references for resources.
neonichu Dec 11, 2014
efb9f9f
Just set PodTarget#host_requires_frameworks in Installer#determine_de…
mrackwitz Dec 11, 2014
07711f7
Fix typo of variable name in Installer.
neonichu Dec 12, 2014
c426f62
Do not add unbuild frameworks to the embed frameworks script.
neonichu Dec 13, 2014
201c13f
Deleted spurious newline.
neonichu Dec 13, 2014
7c4a1c5
Remove "Embed Pods Frameworks" build phase if no longer needed.
neonichu Dec 13, 2014
4aa8509
Add PodTarget#resources_bundle_target_label(bundle_name)
mrackwitz Dec 15, 2014
951bc72
Duplicate Bundle Targets for each Pod Target
mrackwitz Dec 15, 2014
6c74976
[Spec][Integration] Add spec 'install_framework_resources' for Pods w…
mrackwitz Dec 15, 2014
3e2dc6c
[Refactor] Extract #custom_build_settings from TargetInstaller#add_ta…
mrackwitz Dec 16, 2014
cccfd17
Ensure that the Aggregate Target doesn't link vendored dependencies
mrackwitz Dec 16, 2014
0f96d5e
[Spec][Integration] Rebuild to overwrite Aggregate Target's linker bu…
mrackwitz Dec 16, 2014
5edcc46
[Example] Delete de-integrated "Embed Pods Frameworks" build phase
mrackwitz Dec 16, 2014
e4f48df
[Style] Improved code readability
mrackwitz Dec 16, 2014
5b76b2c
Don't link binaries of build framework pods to the user target
mrackwitz Dec 16, 2014
e472416
[Doc] Fixed return type of TargetIntegrator#remove_embed_frameworks_s…
mrackwitz Dec 18, 2014
17d5bc8
[Spec] Test frameworks for AggregateXCConfig
mrackwitz Dec 16, 2014
781b347
Write the spec version in the generated Info.plist
mrackwitz Dec 18, 2014
2a2515c
[Spec][Integration] Set CFBundleShortVersionString in generated Info.…
mrackwitz Dec 19, 2014
548745e
[Doc] How the else case may happen
mrackwitz Dec 19, 2014
6432774
[Changelog] Fix contributor name
mrackwitz Dec 22, 2014
ccfcee2
[Doc] Explain why CONFIGURATION_BUILD_DIR may not be quoted
mrackwitz Dec 22, 2014
3bb835b
Ensure that resource bundles are named like specified
mrackwitz Dec 22, 2014
aec4721
[Spec][Integration] Fix bundle names for spec 'install_framework_reso…
mrackwitz Dec 22, 2014
bc722a1
[Doc] Add missing docs to Validator#podfile_from_spec
mrackwitz Dec 22, 2014
8e697ee
[Rakefile] Use Bundler to require xcodeproj
mrackwitz Dec 22, 2014
a6564cd
[Linter] Add new option `--use-frameworks`
mrackwitz Dec 22, 2014
e4d56d5
[Analyzer] Set host_requires_frameworks even if where are not integra…
mrackwitz Dec 23, 2014
7112628
[Spec] Test Validator#podfile_from_spec
mrackwitz Dec 23, 2014
3c248fd
[Refactor] Make UmbrellaHeader#target read-only
mrackwitz Dec 23, 2014
5ef969a
[Doc] Fix typos
mrackwitz Dec 23, 2014
086a729
[Changelog] Stylistic improvements
mrackwitz Dec 24, 2014
ca2ddf6
[Spec] Fix some more typos
mrackwitz Dec 24, 2014
8af07e0
[Style] Use single quotes instead
mrackwitz Dec 24, 2014
a796184
[Style] Use array of string literal syntax
mrackwitz Dec 24, 2014
bdd8907
[Doc] Explain why the aggregate target is weak linked
mrackwitz Dec 24, 2014
7e5e4b3
[Refactor] Use || instead of explicit branching
mrackwitz Dec 24, 2014
573e026
[Style] Write UI messages in gerund
mrackwitz Dec 24, 2014
275d3f4
englishification for swift branch
orta Dec 24, 2014
6efb395
[Doc] Explain return type of #remove_embed_frameworks_script_phases
mrackwitz Dec 24, 2014
f2f091f
[Spec][Integration] Rebuild for messages in gerund
mrackwitz Dec 24, 2014
0fb8021
Revert "Ensure the output dir exists in Generator::Header#save_as"
mrackwitz Dec 24, 2014
b4ac869
[Spec] Fix typo
mrackwitz Dec 24, 2014
34b0332
[Style] Replace map(…).flatten with flat_map
mrackwitz Dec 24, 2014
61ff24e
[Refactor] Use group_by instead
mrackwitz Dec 24, 2014
490dc73
[Refactor] Rename Installer#determine_dependency_product_type to #det…
mrackwitz Dec 24, 2014
e1aace4
[Spec] Include Swift in documentation of source_files
kylef Dec 24, 2014
d150ac7
[Spec] stubbed platform was of wrong type.
neonichu Dec 24, 2014
3f2a3c6
Add LD_RUNPATH_SEARCH_PATHS to generated aggregate XCConfig.
neonichu Dec 24, 2014
ae736d1
[Spec] Update integration specs submodule.
neonichu Dec 25, 2014
c5a799f
[Spec][Integration] Update build settings for new specs
mrackwitz Dec 25, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,8 +6,31 @@ To install release candidates run `[sudo] gem install cocoapods --pre`

## Master

##### Highlighted Enhancement That Needs Testing

* Support Frameworks & Swift: CocoaPods now recognizes Swift source files and
builds dynamic frameworks when necessary. A project can explicitly
opt-in via `use_frameworks!` in the Podfile, or if any dependency contains
Swift code, all pods for that target will be integrated as frameworks.

As a pod author, you can change the module name of the built framework by
specifying a `module_name` in the podspec. The built frameworks are embedded into
the host application with a new shell script build phase in the user's
project allowing configuration-dependent pods.

[Marius Rackwitz](https://github.com/mrackwitz)
[#2835](https://github.com/CocoaPods/CocoaPods/issues/2835)

##### Breaking

* Bundle Resources into Frameworks: Previously all resources were compiled and
copied into the `mainBundle`. Now Pods have to use
`[NSBundle bundleForClass:<#Class from Pod#>]` to access provided resources
relative to the bundle.

[Boris Bügling](https://github.com/neonichu)
[#2835](https://github.com/CocoaPods/CocoaPods/issues/2730)

* Only the hooks specified by usage of the `plugin` directive of the `Podfile`
will be run. Additionally, plugins that depend on hooks will have to update to
specify their 'plugin name' when registering the hooks in order to make it
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Expand Up @@ -7,7 +7,7 @@ GIT

GIT
remote: https://github.com/CocoaPods/Core.git
revision: c9c91c5296067ebf5af122ed87580e9f0479b47c
revision: a01ba8e384324922bd173a415330b0a95fb13c5d
branch: master
specs:
cocoapods-core (0.35.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
![CocoaPods Logo](https://raw.github.com/CocoaPods/shared_resources/master/assets/cocoapods-banner-readme.png)

### CocoaPods: The Objective-C dependency manager
### CocoaPods: The Cocoa dependency manager

[![Build Status](http://img.shields.io/travis/CocoaPods/CocoaPods/master.svg?style=flat)](https://travis-ci.org/CocoaPods/CocoaPods)
[![Gem Version](http://img.shields.io/gem/v/cocoapods.svg?style=flat)](http://badge.fury.io/rb/cocoapods)
Expand Down
53 changes: 33 additions & 20 deletions Rakefile
Expand Up @@ -221,26 +221,39 @@ begin

desc "Build all examples"
task :build do
Dir.chdir("examples/AFNetworking Example") do
puts "Installing Pods"
# pod_command = ENV['FROM_GEM'] ? 'sandbox-pod' : 'bundle exec ../../bin/sandbox-pod'
# TODO: The sandbox is blocking local git repos making bundler crash
pod_command = ENV['FROM_GEM'] ? 'sandbox-pod' : 'bundle exec ../../bin/pod'

execute_command "rm -rf Pods"
execute_command "#{pod_command} install --verbose --no-repo-update"

puts "Building example: AFNetworking Mac Example"
execute_command "xcodebuild -workspace 'AFNetworking Examples.xcworkspace' -scheme 'AFNetworking Example' clean build"

puts "Building example: AFNetworking iOS Example"
xcode_version = `xcodebuild -version`.scan(/Xcode (.*)\n/).first.first
major_version = xcode_version.split('.').first.to_i
# Specifically build against the simulator SDK so we don't have to deal with code signing.
if major_version > 5
execute_command "xcodebuild -workspace 'AFNetworking Examples.xcworkspace' -scheme 'AFNetworking iOS Example' clean build ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 6'"
else
execute_command "xcodebuild -workspace 'AFNetworking Examples.xcworkspace' -scheme 'AFNetworking iOS Example' clean build ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone Retina (4-inch)'"
Bundler.require 'xcodeproj', :development
Dir['examples/*'].each do |dir|
Dir.chdir(dir) do
puts "Example: #{dir}"

puts " Installing Pods"
# pod_command = ENV['FROM_GEM'] ? 'sandbox-pod' : 'bundle exec ../../bin/sandbox-pod'
# TODO: The sandbox is blocking local git repos making bundler crash
pod_command = ENV['FROM_GEM'] ? 'sandbox-pod' : 'bundle exec ../../bin/pod'

execute_command "rm -rf Pods"
execute_command "#{pod_command} install --verbose --no-repo-update"

workspace_path = 'Examples.xcworkspace'
workspace = Xcodeproj::Workspace.new_from_xcworkspace(workspace_path)
workspace.schemes.each do |scheme_name, project_path|
next if scheme_name == 'Pods'
puts " Building scheme: #{scheme_name}"

project = Xcodeproj::Project.open(project_path)
target = project.targets.first

case target
when :osx
execute_command "xcodebuild -workspace '#{workspace_path}' -scheme '#{scheme_name}' clean build"
when :ios
xcode_version = `xcodebuild -version`.scan(/Xcode (.*)\n/).first.first
major_version = xcode_version.split('.').first.to_i
# Specifically build against the simulator SDK so we don't have to deal with code signing.
simulator_name = major_version > 5 ? 'iPhone 6' : 'iPhone Retina (4-inch)'
execute_command "xcodebuild -workspace '#{workspace_path}' -scheme '#{scheme_name}' clean build ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=#{simulator_name}"
end
end
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion cocoapods.gemspec
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |s|
s.homepage = "https://github.com/CocoaPods/CocoaPods"
s.authors = ["Eloy Duran", "Fabio Pelosin"]

s.summary = "An Objective-C library package manager."
s.summary = "The Cocoa library package manager."
s.description = "CocoaPods manages library dependencies for your Xcode project.\n\n" \
"You specify the dependencies for your project in one easy text file. " \
"CocoaPods resolves dependencies between libraries, fetches source " \
Expand Down
Expand Up @@ -7,7 +7,7 @@
objects = {

/* Begin PBXBuildFile section */
26E82B9975F54DA9BAC1E0C9 /* libPods-AFNetworking Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6935B1E417A24F0E958977ED /* libPods-AFNetworking Example.a */; };
1A2265312C5CBC89CD477BF8 /* libPods-AFNetworking Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 53BDE93051BED183E9F4D921 /* libPods-AFNetworking Example.a */; };
B304CCE8177D58DD00F4FC85 /* adn.cer in Resources */ = {isa = PBXBuildFile; fileRef = B304CCE7177D58DD00F4FC85 /* adn.cer */; };
F8129C001591061B009BFE23 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8129BFF1591061B009BFE23 /* Cocoa.framework */; };
F8129C321591073C009BFE23 /* AFAppDotNetAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C251591073C009BFE23 /* AFAppDotNetAPIClient.m */; };
Expand All @@ -20,7 +20,7 @@

/* Begin PBXFileReference section */
3C79D6B3AA6A1DBBAE48A944 /* Pods-AFNetworking Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking Example/Pods-AFNetworking Example.debug.xcconfig"; sourceTree = "<group>"; };
6935B1E417A24F0E958977ED /* libPods-AFNetworking Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AFNetworking Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
53BDE93051BED183E9F4D921 /* libPods-AFNetworking Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AFNetworking Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
A67B777556EF5D95EAFA5CF8 /* Pods-AFNetworking Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking Example/Pods-AFNetworking Example.release.xcconfig"; sourceTree = "<group>"; };
B304CCE7177D58DD00F4FC85 /* adn.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = adn.cer; sourceTree = SOURCE_ROOT; };
F8129BFB1591061B009BFE23 /* AFNetworking Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AFNetworking Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -47,7 +47,7 @@
buildActionMask = 2147483647;
files = (
F8129C001591061B009BFE23 /* Cocoa.framework in Frameworks */,
26E82B9975F54DA9BAC1E0C9 /* libPods-AFNetworking Example.a in Frameworks */,
1A2265312C5CBC89CD477BF8 /* libPods-AFNetworking Example.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -90,7 +90,7 @@
children = (
F8129BFF1591061B009BFE23 /* Cocoa.framework */,
F8129C011591061B009BFE23 /* Other Frameworks */,
6935B1E417A24F0E958977ED /* libPods-AFNetworking Example.a */,
53BDE93051BED183E9F4D921 /* libPods-AFNetworking Example.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -169,7 +169,7 @@
F8129BF21591061B009BFE23 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0460;
LastUpgradeCheck = 0610;
};
buildConfigurationList = F8129BF51591061B009BFE23 /* Build configuration list for PBXProject "AFNetworking Mac Example" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -253,13 +253,16 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
Expand All @@ -272,7 +275,9 @@
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = YES;
Expand All @@ -284,20 +289,25 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.7;
SDKROOT = macosx;
Expand All @@ -313,6 +323,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.pch;
INFOPLIST_FILE = "Mac-Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand All @@ -327,6 +338,7 @@
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Prefix.pch;
INFOPLIST_FILE = "Mac-Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
Expand Down
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0500"
LastUpgradeVersion = "0610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Expand Up @@ -8,7 +8,7 @@

/* Begin PBXBuildFile section */
2982AD3217107C0000FFF048 /* adn.cer in Resources */ = {isa = PBXBuildFile; fileRef = 2982AD3117107C0000FFF048 /* adn.cer */; };
E5D2E13908F241ABAC3B554B /* libPods-AFNetworking iOS Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9D87F8FEDE4A4313B0D579A3 /* libPods-AFNetworking iOS Example.a */; };
9A67BEDAF4D3529C5380A3E2 /* libPods-AFNetworking iOS Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DB1F7D464FF374F6931E274F /* libPods-AFNetworking iOS Example.a */; };
F8129C7415910C37009BFE23 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C7215910C37009BFE23 /* AppDelegate.m */; };
F818101615E6A0C600EF93C2 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ABD6EC159FC2CE001BE42C /* MobileCoreServices.framework */; };
F88812F016C533D6003C8B8C /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E469E013957DF100DB05C8 /* Security.framework */; };
Expand All @@ -35,11 +35,9 @@
/* Begin PBXFileReference section */
2982AD3117107C0000FFF048 /* adn.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = adn.cer; sourceTree = SOURCE_ROOT; };
50ABD6EC159FC2CE001BE42C /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
5628C4E1DE6DDC806B14CF8D /* Pods-AFNetworking iOS Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking iOS Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking iOS Example.release.xcconfig"; sourceTree = "<group>"; };
7669B6F3267891B0317A0167 /* Pods-AFNetworking iOS Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking iOS Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example.debug.xcconfig"; sourceTree = "<group>"; };
9D87F8FEDE4A4313B0D579A3 /* libPods-AFNetworking iOS Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AFNetworking iOS Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
BEA3D3BDD12996573240F05F /* Pods-AFNetworking iOS Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking iOS Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example.release.xcconfig"; sourceTree = "<group>"; };
C3B414D5F7FCC5379A284B4E /* Pods-AFNetworking iOS Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking iOS Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking iOS Example.debug.xcconfig"; sourceTree = "<group>"; };
DB1F7D464FF374F6931E274F /* libPods-AFNetworking iOS Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AFNetworking iOS Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
F8129C3815910830009BFE23 /* Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = SOURCE_ROOT; };
F8129C7215910C37009BFE23 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; };
F8129C7315910C37009BFE23 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = SOURCE_ROOT; };
Expand Down Expand Up @@ -83,7 +81,7 @@
F8E469DF13957DD500DB05C8 /* CoreLocation.framework in Frameworks */,
F8D0701B14310F4A00653FD3 /* SystemConfiguration.framework in Frameworks */,
F818101615E6A0C600EF93C2 /* MobileCoreServices.framework in Frameworks */,
E5D2E13908F241ABAC3B554B /* libPods-AFNetworking iOS Example.a in Frameworks */,
9A67BEDAF4D3529C5380A3E2 /* libPods-AFNetworking iOS Example.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -93,8 +91,6 @@
9CE17E7C344B0E75BC0723EA /* Pods */ = {
isa = PBXGroup;
children = (
C3B414D5F7FCC5379A284B4E /* Pods-AFNetworking iOS Example.debug.xcconfig */,
5628C4E1DE6DDC806B14CF8D /* Pods-AFNetworking iOS Example.release.xcconfig */,
7669B6F3267891B0317A0167 /* Pods-AFNetworking iOS Example.debug.xcconfig */,
BEA3D3BDD12996573240F05F /* Pods-AFNetworking iOS Example.release.xcconfig */,
);
Expand Down Expand Up @@ -169,7 +165,7 @@
F8E469641395739D00DB05C8 /* UIKit.framework */,
F8E469661395739D00DB05C8 /* Foundation.framework */,
F8E469681395739D00DB05C8 /* CoreGraphics.framework */,
9D87F8FEDE4A4313B0D579A3 /* libPods-AFNetworking iOS Example.a */,
DB1F7D464FF374F6931E274F /* libPods-AFNetworking iOS Example.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -383,7 +379,7 @@
GCC_WARN_SIGN_COMPARE = YES;
GCC_WARN_UNUSED_PARAMETER = NO;
INFOPLIST_FILE = "iOS-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
PRODUCT_NAME = "$(TARGET_NAME)";
WARNING_CFLAGS = "";
WRAPPER_EXTENSION = app;
Expand All @@ -404,7 +400,7 @@
GCC_WARN_SIGN_COMPARE = YES;
GCC_WARN_UNUSED_PARAMETER = NO;
INFOPLIST_FILE = "iOS-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
PRODUCT_NAME = "$(TARGET_NAME)";
VALIDATE_PRODUCT = YES;
WARNING_CFLAGS = "";
Expand Down
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0500"
LastUpgradeVersion = "0610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
1 change: 1 addition & 0 deletions examples/AFNetworking Example/AppDelegate.m
Expand Up @@ -25,6 +25,7 @@
#if __IPHONE_OS_VERSION_MIN_REQUIRED
#import "GlobalTimelineViewController.h"

#import <AFNetworking/AFNetworkActivityIndicatorManager.h>
#import "AFNetworkActivityIndicatorManager.h"

@implementation AppDelegate
Expand Down
4 changes: 2 additions & 2 deletions examples/AFNetworking Example/Podfile
Expand Up @@ -2,7 +2,7 @@
xcodeproj "AFNetworking Mac Example.xcodeproj"
####

workspace 'AFNetworking Examples.xcworkspace'
workspace 'Examples.xcworkspace'

target "AFNetworking Example" do
platform :osx, '10.8'
Expand All @@ -11,7 +11,7 @@ target "AFNetworking Example" do
end

target "AFNetworking iOS Example" do
platform :ios, '7.0'
platform :ios, '8.0'
xcodeproj "AFNetworking iOS Example.xcodeproj"
pod "AFNetworking", "1.3.3"
end
16 changes: 16 additions & 0 deletions examples/Alamofire Example/Alamofire.podspec
@@ -0,0 +1,16 @@
Pod::Spec.new do |s|
s.name = 'Alamofire'
s.version = '0.0.1'
s.license = 'MIT'
s.summary = 'Elegant HTTP Networking in Swift'
s.homepage = 'https://github.com/Alamofire/Alamofire'
s.social_media_url = 'http://twitter.com/mattt'
s.authors = { 'Mattt Thompson' => 'm@mattt.me' }
s.source = { :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'master' }
s.requires_arc = true

s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'

s.source_files = 'Source/*.swift'
end