cocoapods 0.24.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +72 -19
- data/lib/cocoapods.rb +1 -0
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/generator/copy_resources_script.rb +4 -1
- data/lib/cocoapods/generator/xcconfig/xcconfig_helper.rb +2 -1
- data/lib/cocoapods/installer.rb +2 -2
- data/lib/cocoapods/installer/analyzer.rb +30 -0
- data/lib/cocoapods/installer/target_installer.rb +4 -2
- data/lib/cocoapods/installer/target_installer/aggregate_target_installer.rb +1 -1
- data/lib/cocoapods/installer/target_installer/pod_target_installer.rb +5 -0
- data/lib/cocoapods/target.rb +4 -0
- metadata +70 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 963914a7867a6edad462067518a6d67d41a48b8b
|
4
|
+
data.tar.gz: 8d6cf7fd4c60dc58e08988876f8dc2ebb4d7fcdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9518d61ceeb23c27a71dd994a640f2af584d5d5b15ad87aa39e1937d915074423a6e1e9e48ef35d073d9c36af3a5ced6b443ddcf41539095fdcb7fdda9e2ed83
|
7
|
+
data.tar.gz: 02ab5eca13854340ba84774a8ece040f900a26ce8ff21093a37a8585787f71a30cc6ee8b0cba5d8dc9f2791ba0d9448740f2e0258d152a57a4be4a23981e0ee6
|
data/CHANGELOG.md
CHANGED
@@ -2,39 +2,92 @@
|
|
2
2
|
|
3
3
|
To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides/installing_cocoapods.html).
|
4
4
|
|
5
|
-
##
|
5
|
+
## 0.25.0
|
6
|
+
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.24.0...0.25.0)
|
7
|
+
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.24.0...0.25.0)
|
8
|
+
• [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.10.1...0.11.0)
|
6
9
|
|
10
|
+
###### Enhancements
|
7
11
|
|
8
|
-
|
12
|
+
* Added support for Xcode 5.
|
9
13
|
|
10
|
-
|
14
|
+
The generated Pods Xcode project is now compatible with `arm64` projects and
|
15
|
+
is updated to use Xcode 5’s default settings removing all warnings.
|
16
|
+
|
17
|
+
**NOTE to Xcode 4 users:**
|
18
|
+
1. This means that the Pods Xcode project now sets the `ONLY_ACTIVE_ARCH`
|
19
|
+
build setting to `YES` in the `Debug` configuration. You’ll have to set the
|
20
|
+
same on your project/target, otherwise the build _will_ fail.
|
21
|
+
2. When building a **iOS** project from the command-line with the `xcodebuild`
|
22
|
+
tool you’ll need to completely disable this setting by appending to your
|
23
|
+
build command: `ONLY_ACTIVE_ARCH=NO`.
|
24
|
+
|
25
|
+
[#1352](https://github.com/CocoaPods/CocoaPods/pull/1352)
|
26
|
+
|
27
|
+
* Speed up project generation in `pod install` and `pod update`.
|
28
|
+
|
29
|
+
* The pre and post install hooks that have been deprecated now include the name
|
30
|
+
and version of the spec that’s using them.
|
31
|
+
|
32
|
+
###### Bug Fixes
|
33
|
+
|
34
|
+
* Only create a single resource bundle for all targets. Prior to this change a
|
35
|
+
resource bundle included into multiple targets within the project would create
|
36
|
+
duplicately named targets in the Pods Xcode project, causing duplicately named
|
37
|
+
Schemes to be created on each invocation of `pod install`. All targets that
|
38
|
+
reference a given resource bundle now have dependencies on a single common
|
39
|
+
target.
|
40
|
+
|
41
|
+
[Blake Watters](https://github.com/blakewatters)
|
42
|
+
[#1338](https://github.com/CocoaPods/CocoaPods/issues/1338)
|
43
|
+
|
44
|
+
* Solved outstanding issues with CocoaPods resource bundles and Archive builds:
|
45
|
+
1. The rsync task copies symlinks into the App Bundle, producing an invalid
|
46
|
+
app. This change add `--copy-links` to the rsync invocation to ensure the
|
47
|
+
target files are copied rather than the symlink.
|
48
|
+
2. The Copy Resources script uses `TARGET_BUILD_DIR` which points to the App
|
49
|
+
Archiving folder during an Archive action. Switching to
|
50
|
+
`BUILT_PRODUCTS_DIR` instead ensures that the path is correct for all
|
51
|
+
actions and configurations.
|
52
|
+
|
53
|
+
[Blake Watters](https://github.com/blakewatters)
|
54
|
+
[#1309](https://github.com/CocoaPods/CocoaPods/issues/1309)
|
55
|
+
[#1329](https://github.com/CocoaPods/CocoaPods/issues/1329)
|
56
|
+
|
57
|
+
* Ensure resource bundles are copied to installation location on install actions
|
58
|
+
[Chris Gummer](https://github.com/chrisgummer)
|
59
|
+
[#1364](https://github.com/CocoaPods/CocoaPods/issues/1364)
|
60
|
+
|
61
|
+
* Various bugfixes in Xcodeproj, refer to its [CHANGELOG](https://github.com/CocoaPods/Xcodeproj/blob/0.11.0/CHANGELOG.md)
|
62
|
+
for details.
|
63
|
+
|
64
|
+
|
65
|
+
## 0.24.0
|
11
66
|
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.22.3...0.23.0.rc1)
|
12
67
|
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.22.3...0.23.0.rc1)
|
13
68
|
• [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.8.1...0.9.0)
|
14
|
-
• [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.1.1...0.
|
15
|
-
|
69
|
+
• [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.1.1...0.2.0)
|
16
70
|
|
17
71
|
###### Enhancements
|
18
72
|
|
19
73
|
* Added `pod init` command which generates a Podfile according to the
|
20
74
|
targets of the project stored in the working directory and to the templates
|
21
|
-
stored in the `~/.cocoapods/templates` folder.
|
75
|
+
stored in the `~/.cocoapods/templates` folder. Two templates are supported:
|
22
76
|
- the `Podfile.default` template for regular targets.
|
23
|
-
- and the `Podfile.test` template for test targets.
|
24
|
-
|
77
|
+
- and the `Podfile.test` template for test targets.
|
25
78
|
[Ian Ynda-Hummel](https://github.com/ianyh)
|
26
|
-
[#1106](https://github.com/CocoaPods/CocoaPods/issues/1106)
|
27
|
-
[#1045](https://github.com/CocoaPods/CocoaPods/issues/1045)
|
79
|
+
[#1106](https://github.com/CocoaPods/CocoaPods/issues/1106)
|
80
|
+
[#1045](https://github.com/CocoaPods/CocoaPods/issues/1045)
|
28
81
|
|
29
82
|
* CocoaPods will now leverage the [xcproj](https://github.com/0xced/xcproj)
|
30
83
|
command line tool if available in the path of the user to touch saved
|
31
84
|
projects. This will result in projects being serialized in the exact format
|
32
85
|
used by Xcode eliminating merge conflicts and other related issues. To learn
|
33
86
|
more about how to install xcproj see its
|
34
|
-
[readme](https://github.com/0xced/xcproj).
|
35
|
-
[Cédric Luthi](https://github.com/0xced)
|
36
|
-
[#1275](https://github.com/CocoaPods/CocoaPods/issues/1275)
|
37
|
-
|
87
|
+
[readme](https://github.com/0xced/xcproj).
|
88
|
+
[Cédric Luthi](https://github.com/0xced)
|
89
|
+
[#1275](https://github.com/CocoaPods/CocoaPods/issues/1275)
|
90
|
+
|
38
91
|
* Rationalized and cleaned up Pods project group structure and path specification.
|
39
92
|
|
40
93
|
* Create all necessary build configurations for *Pods.xcodeproj* at the project level. If the user’s project has more than just *Debug* and *Release* build configurations, they may be explicitly specified in the Podfile:
|
@@ -58,31 +111,31 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
|
|
58
111
|
|
59
112
|
* CoreData versioned models are now properly handled respecting the contents of
|
60
113
|
the `.xccurrentversion` file.
|
114
|
+
[Ashton-W](https://github.com/Ashton-W)
|
61
115
|
[#1288](https://github.com/CocoaPods/CocoaPods/issues/1288),
|
62
116
|
[Xcodeproj#83](https://github.com/CocoaPods/Xcodeproj/pull/83)
|
63
|
-
[Ashton-W](https://github.com/Ashton-W)
|
64
117
|
|
65
118
|
* OS X frameworks are now copied to the Resources folder using rsync to
|
66
119
|
properly overwrite existing files.
|
67
|
-
[Nikolaj Schumacher](https://github.com/nschum)
|
120
|
+
[Nikolaj Schumacher](https://github.com/nschum)
|
68
121
|
[#1063](https://github.com/CocoaPods/CocoaPods/issues/1063)
|
69
122
|
|
70
123
|
* User defined build configurations are now added to the resource bundle
|
71
124
|
targets.
|
72
|
-
[#1309](https://github.com/CocoaPods/CocoaPods/issues/1309)
|
125
|
+
[#1309](https://github.com/CocoaPods/CocoaPods/issues/1309)
|
73
126
|
|
74
127
|
|
75
128
|
## 0.23.0
|
76
129
|
|
77
130
|
|
78
131
|
## 0.23.0.rc1
|
79
|
-
|
80
|
-
###### Enhancements
|
81
132
|
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.22.3...0.23.0.rc1)
|
82
133
|
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.22.3...0.23.0.rc1)
|
83
134
|
• [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.8.1...0.9.0)
|
84
135
|
• [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader/compare/0.1.1...0.1.2)
|
85
136
|
|
137
|
+
###### Enhancements
|
138
|
+
|
86
139
|
* Added `prepare_command` attribute to Specification DSL. The prepare command
|
87
140
|
will replace the `pre_install` hook. The `post_install` hook has also been
|
88
141
|
deprecated.
|
data/lib/cocoapods.rb
CHANGED
@@ -124,7 +124,10 @@ EOS
|
|
124
124
|
|
125
125
|
RSYNC_CALL = <<EOS
|
126
126
|
|
127
|
-
rsync -avr --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
127
|
+
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
128
|
+
if [[ "${ACTION}" == "install" ]]; then
|
129
|
+
rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
|
130
|
+
fi
|
128
131
|
rm -f "$RESOURCES_TO_COPY"
|
129
132
|
EOS
|
130
133
|
|
@@ -106,7 +106,8 @@ module Pod
|
|
106
106
|
# @return [void]
|
107
107
|
#
|
108
108
|
def self.add_developers_frameworks_if_needed(xcconfig)
|
109
|
-
|
109
|
+
matched_frameworks = xcconfig.frameworks & ['XCTest', 'SenTestingKit']
|
110
|
+
unless matched_frameworks.empty?
|
110
111
|
search_paths = xcconfig.attributes['FRAMEWORK_SEARCH_PATHS'] ||= ''
|
111
112
|
DEVELOPER_FRAMEWORKS_SEARCH_PATHS.each do |search_path|
|
112
113
|
unless search_paths.include?(search_path)
|
data/lib/cocoapods/installer.rb
CHANGED
@@ -350,7 +350,7 @@ module Pod
|
|
350
350
|
pod_targets.sort_by(&:name).each do |pod_target|
|
351
351
|
pod_target.file_accessors.each do |file_accessor|
|
352
352
|
file_accessor.spec_consumer.frameworks.each do |framework|
|
353
|
-
|
353
|
+
pod_target.target.add_system_framework(framework)
|
354
354
|
end
|
355
355
|
end
|
356
356
|
end
|
@@ -399,7 +399,7 @@ module Pod
|
|
399
399
|
UI.message "- Writing Xcode project file to #{UI.path sandbox.project_path}" do
|
400
400
|
pods_project.pods.remove_from_project if pods_project.pods.empty?
|
401
401
|
pods_project.development_pods.remove_from_project if pods_project.development_pods.empty?
|
402
|
-
pods_project.
|
402
|
+
pods_project.sort
|
403
403
|
pods_project.save
|
404
404
|
end
|
405
405
|
end
|
@@ -35,6 +35,7 @@ module Pod
|
|
35
35
|
|
36
36
|
@update_mode = false
|
37
37
|
@allow_pre_downloads = true
|
38
|
+
@archs_by_target_def = {}
|
38
39
|
end
|
39
40
|
|
40
41
|
# Performs the analysis.
|
@@ -176,6 +177,7 @@ module Pod
|
|
176
177
|
target.client_root = project_path.dirname
|
177
178
|
target.user_target_uuids = native_targets.map(&:uuid)
|
178
179
|
target.user_build_configurations = compute_user_build_configurations(target_definition, native_targets)
|
180
|
+
target.archs = @archs_by_target_def[target_definition]
|
179
181
|
else
|
180
182
|
target.client_root = config.installation_root
|
181
183
|
target.user_target_uuids = []
|
@@ -189,6 +191,7 @@ module Pod
|
|
189
191
|
grouped_specs.each do |pod_specs|
|
190
192
|
pod_target = PodTarget.new(pod_specs, target_definition, sandbox)
|
191
193
|
pod_target.user_build_configurations = target.user_build_configurations
|
194
|
+
pod_target.archs = @archs_by_target_def[target_definition]
|
192
195
|
target.pod_targets << pod_target
|
193
196
|
end
|
194
197
|
end
|
@@ -437,6 +440,31 @@ module Pod
|
|
437
440
|
Platform.new(name, deployment_target)
|
438
441
|
end
|
439
442
|
|
443
|
+
# @return [Platform] The platform for the library.
|
444
|
+
#
|
445
|
+
# @note This resolves to the lowest deployment target across the user
|
446
|
+
# targets.
|
447
|
+
#
|
448
|
+
# @todo Is assigning the platform to the target definition the best way
|
449
|
+
# to go?
|
450
|
+
#
|
451
|
+
def compute_archs_for_target_definition(target_definition, user_targets)
|
452
|
+
archs = []
|
453
|
+
user_targets.each do |target|
|
454
|
+
target.build_configurations.each do |configuration|
|
455
|
+
archs << configuration.build_settings['ARCHS']
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
archs = archs.compact.uniq.sort
|
460
|
+
if archs.count > 1
|
461
|
+
UI.warn "Found multiple values (`#{archs.join('`, `')}`) for the " \
|
462
|
+
"architectures (`ARCHS`) build setting for the " \
|
463
|
+
"`#{target_definition}` target definition. Using the first."
|
464
|
+
end
|
465
|
+
archs.first
|
466
|
+
end
|
467
|
+
|
440
468
|
# Precompute the platforms for each target_definition in the Podfile
|
441
469
|
#
|
442
470
|
# @note The platforms are computed and added to each target_definition
|
@@ -452,6 +480,8 @@ module Pod
|
|
452
480
|
user_project = Xcodeproj::Project.open(project_path)
|
453
481
|
targets = compute_user_project_targets(target_definition, user_project)
|
454
482
|
platform = compute_platform_for_target_definition(target_definition, targets)
|
483
|
+
archs = compute_archs_for_target_definition(target_definition, targets)
|
484
|
+
@archs_by_target_def[target_definition] = archs
|
455
485
|
else
|
456
486
|
unless target_definition.platform
|
457
487
|
raise Informative, "It is necessary to specify the platform in the Podfile if not integrating."
|
@@ -44,8 +44,10 @@ module Pod
|
|
44
44
|
@target = project.new_target(:static_library, name, platform, deployment_target)
|
45
45
|
|
46
46
|
settings = {}
|
47
|
-
if library.
|
48
|
-
|
47
|
+
if library.archs
|
48
|
+
settings['ARCHS'] = library.archs
|
49
|
+
else
|
50
|
+
settings.delete('ARCHS')
|
49
51
|
end
|
50
52
|
|
51
53
|
@target.build_settings('Debug').merge!(settings)
|
@@ -91,7 +91,7 @@ module Pod
|
|
91
91
|
UI.message "- Generating copy resources script at #{UI.path(path)}" do
|
92
92
|
file_accessors = library.pod_targets.map(&:file_accessors).flatten
|
93
93
|
resource_paths = file_accessors.map { |accessor| accessor.resources.flatten.map { |res| res.relative_path_from(project.path.dirname) }}.flatten
|
94
|
-
resource_bundles = file_accessors.map { |accessor| accessor.resource_bundles.keys.map {|name| "${
|
94
|
+
resource_bundles = file_accessors.map { |accessor| accessor.resource_bundles.keys.map {|name| "${BUILT_PRODUCTS_DIR}/#{name}.bundle" } }.flatten
|
95
95
|
resources = []
|
96
96
|
resources.concat(resource_paths)
|
97
97
|
resources.concat(resource_bundles)
|
@@ -65,6 +65,11 @@ module Pod
|
|
65
65
|
UI.message "- Adding resource bundles to Pods project" do
|
66
66
|
library.file_accessors.each do |file_accessor|
|
67
67
|
file_accessor.resource_bundles.each do |bundle_name, paths|
|
68
|
+
# Add a dependency on an existing Resource Bundle target if possible
|
69
|
+
if bundle_target = project.targets.detect { |target| target.name == bundle_name }
|
70
|
+
target.add_dependency(bundle_target)
|
71
|
+
next
|
72
|
+
end
|
68
73
|
file_references = paths.map { |sf| project.reference_for_path(sf) }
|
69
74
|
group = project.group_for_spec(file_accessor.spec.name, :products)
|
70
75
|
product_group = project.group_for_spec(file_accessor.spec.name, :resources)
|
data/lib/cocoapods/target.rb
CHANGED
@@ -62,6 +62,10 @@ module Pod
|
|
62
62
|
@platform ||= target_definition.platform
|
63
63
|
end
|
64
64
|
|
65
|
+
# @return [String] The value for the ARCHS build setting.
|
66
|
+
#
|
67
|
+
attr_accessor :archs
|
68
|
+
|
65
69
|
#-------------------------------------------------------------------------#
|
66
70
|
|
67
71
|
# @!group Support files
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-09-
|
12
|
+
date: 2013-09-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocoapods-core
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.
|
20
|
+
version: 0.25.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.
|
27
|
+
version: 0.25.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: claide
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,14 +59,14 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - ~>
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
62
|
+
version: 0.11.0
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - ~>
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.11.0
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: colored
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -235,42 +235,70 @@ homepage: https://github.com/CocoaPods/CocoaPods
|
|
235
235
|
licenses:
|
236
236
|
- MIT
|
237
237
|
metadata: {}
|
238
|
-
post_install_message:
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
238
|
+
post_install_message: |2+
|
239
|
+
|
240
|
+
CHANGELOG:
|
241
|
+
|
242
|
+
## 0.25.0
|
243
|
+
[CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.24.0...0.25.0)
|
244
|
+
• [cocoapods-core](https://github.com/CocoaPods/Core/compare/0.24.0...0.25.0)
|
245
|
+
• [Xcodeproj](https://github.com/CocoaPods/Xcodeproj/compare/0.10.1...0.11.0)
|
246
|
+
|
247
|
+
###### Enhancements
|
248
|
+
|
249
|
+
* Added support for Xcode 5.
|
250
|
+
|
251
|
+
The generated Pods Xcode project is now compatible with `arm64` projects and
|
252
|
+
is updated to use Xcode 5’s default settings removing all warnings.
|
253
|
+
|
254
|
+
**NOTE to Xcode 4 users:**
|
255
|
+
1. This means that the Pods Xcode project now sets the `ONLY_ACTIVE_ARCH`
|
256
|
+
build setting to `YES` in the `Debug` configuration. You’ll have to set the
|
257
|
+
same on your project/target, otherwise the build _will_ fail.
|
258
|
+
2. When building a **iOS** project from the command-line with the `xcodebuild`
|
259
|
+
tool you’ll need to completely disable this setting by appending to your
|
260
|
+
build command: `ONLY_ACTIVE_ARCH=NO`.
|
261
|
+
|
262
|
+
[#1352](https://github.com/CocoaPods/CocoaPods/pull/1352)
|
263
|
+
|
264
|
+
* Speed up project generation in `pod install` and `pod update`.
|
265
|
+
|
266
|
+
* The pre and post install hooks that have been deprecated now include the name
|
267
|
+
and version of the spec that’s using them.
|
268
|
+
|
269
|
+
###### Bug Fixes
|
270
|
+
|
271
|
+
* Only create a single resource bundle for all targets. Prior to this change a
|
272
|
+
resource bundle included into multiple targets within the project would create
|
273
|
+
duplicately named targets in the Pods Xcode project, causing duplicately named
|
274
|
+
Schemes to be created on each invocation of `pod install`. All targets that
|
275
|
+
reference a given resource bundle now have dependencies on a single common
|
276
|
+
target.
|
277
|
+
|
278
|
+
[Blake Watters](https://github.com/blakewatters)
|
279
|
+
[#1338](https://github.com/CocoaPods/CocoaPods/issues/1338)
|
280
|
+
|
281
|
+
* Solved outstanding issues with CocoaPods resource bundles and Archive builds:
|
282
|
+
1. The rsync task copies symlinks into the App Bundle, producing an invalid
|
283
|
+
app. This change add `--copy-links` to the rsync invocation to ensure the
|
284
|
+
target files are copied rather than the symlink.
|
285
|
+
2. The Copy Resources script uses `TARGET_BUILD_DIR` which points to the App
|
286
|
+
Archiving folder during an Archive action. Switching to
|
287
|
+
`BUILT_PRODUCTS_DIR` instead ensures that the path is correct for all
|
288
|
+
actions and configurations.
|
289
|
+
|
290
|
+
[Blake Watters](https://github.com/blakewatters)
|
291
|
+
[#1309](https://github.com/CocoaPods/CocoaPods/issues/1309)
|
292
|
+
[#1329](https://github.com/CocoaPods/CocoaPods/issues/1329)
|
293
|
+
|
294
|
+
* Ensure resource bundles are copied to installation location on install actions
|
295
|
+
[Chris Gummer](https://github.com/chrisgummer)
|
296
|
+
[#1364](https://github.com/CocoaPods/CocoaPods/issues/1364)
|
297
|
+
|
298
|
+
* Various bugfixes in Xcodeproj, refer to its [CHANGELOG](https://github.com/CocoaPods/Xcodeproj/blob/0.11.0/CHANGELOG.md)
|
299
|
+
for details.
|
300
|
+
|
301
|
+
|
274
302
|
rdoc_options: []
|
275
303
|
require_paths:
|
276
304
|
- lib
|