Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 463 lines (312 sloc) 14.665 kb
a9cf265 @fabiopelosin [Changelog] Update.
fabiopelosin authored
1 ## 0.10.0 (Unreleased)
2
3 [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.9.2...master)
4
5 ###### Enhancements
6
7 - Added a `--local-only` option to `pod push` so that developers can push locally and test before pushing to a remote.
8 - Added line number information for errors generated in the Podfile.
c4ba86a @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
9 - Pods stored in git repositories now initialize submodules.
10
11
12 ###### Bug fixes
13
a9cf265 @fabiopelosin [Changelog] Update.
fabiopelosin authored
14 - Removed note about the post install hook form the linter.
58369d6 @fabiopelosin [Changelog] update.
fabiopelosin authored
15 - Improved xcodebuild error detection in the linter.
50bd055 @alloy [CHANGELOG] Update
alloy authored
16 - Ensure the git cache exists, before updating it, when trying to install the ‘bleeding edge’ of a pod.
a9cf265 @fabiopelosin [Changelog] Update.
fabiopelosin authored
17
18
c4ba86a @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
19
ca0d363 @alloy [CHANGELOG] Update for 0.9.2
alloy authored
20 ## 0.9.2
21
22 [CocoaPods](http://git.io/AVlRKg) • [Xcodeproj](http://git.io/xHbc0w)
23
24 ###### Bug fixes
25
26 - When generating the PodsDummy class, make that class unique to each target. [#402](http://git.io/NntYiQ)
27 - Raise an informative error message when the platform in the `Podfile` is omitted or incorrect. [#403](http://git.io/k5EcUQ)
28
29
30 ## 0.9.1
31
32 [CocoaPods](http://git.io/_kqAbw)
33
34 ###### Bug fixes
35
36 - CocoaPods 0.9.x needs Xcodeproj 0.3.0.
37
38
4c96ee7 @alloy Preapre for 0.9.0
alloy authored
39 ## 0.9.0
c0e7d6f @fabiopelosin [Changelog] update.
fabiopelosin authored
40
4c96ee7 @alloy Preapre for 0.9.0
alloy authored
41 [CocoaPods](http://git.io/kucJQw) • [Xcodeproj](http://git.io/5eLL8g)
d126d38 @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
42
43 ###### Enhancements
44
5a32b8f @alloy [CHANGELOG] Make ticket links work and shorten them.
alloy authored
45 - Force downloading the ‘bleeding edge’ version of a pod with the `:head` flag. [#392](http://git.io/t_NVRQ)
46 - Support for weak frameworks. [#263](http://git.io/XZDuog)
47 - Use double quotes when shelling out. This makes a url like `$HOME/local/lib` work. [#396](http://git.io/DnBzhA)
c0e7d6f @fabiopelosin [Changelog] update.
fabiopelosin authored
48
49 ###### Bug fixes
50
51 - Relaxed linter to accepts pod that only specify paths to preserve (like TuneupJS).
5a32b8f @alloy [CHANGELOG] Make ticket links work and shorten them.
alloy authored
52 - Gender neutralization of podfile documentation. [#384](http://git.io/MAsHXg)
9b5788e @alloy Exit early when using an old RubyGems version (< 1.4.0).
alloy authored
53 - Exit early when using an old RubyGems version (< 1.4.0). These versions contain subtle bugs
98e9851 @alloy [CHANGELOG] fix spelling
alloy authored
54 related to prerelease version comparisons. Unfortunately, OS X >= 10.7 ships with 1.3.6. [#398](http://git.io/Lr7DoA)
87bdf21 @alloy Update CHANGELOG
alloy authored
55
c0e7d6f @fabiopelosin [Changelog] update.
fabiopelosin authored
56
7149df1 @alloy [CHANGELOG] Update for 0.8.0 release.
alloy authored
57 ## 0.8.0
0b8e151 @fabiopelosin Update master
fabiopelosin authored
58
5a32b8f @alloy [CHANGELOG] Make ticket links work and shorten them.
alloy authored
59 [CocoaPods](http://git.io/RgMF3w) • [Xcodeproj](http://git.io/KBKE_Q)
0b8e151 @fabiopelosin Update master
fabiopelosin authored
60
61 ###### Breaking change
62
63 Syntax change in Podfile: `dependency` has been replaced by `pod`.
64
5a32b8f @alloy [CHANGELOG] Make ticket links work and shorten them.
alloy authored
65 ``ruby
0b8e151 @fabiopelosin Update master
fabiopelosin authored
66 platform :ios
67 pod 'JSONKit', '~> 1.4'
68 pod 'Reachability', '~> 2.0.4'
5a32b8f @alloy [CHANGELOG] Make ticket links work and shorten them.
alloy authored
69 ``
0b8e151 @fabiopelosin Update master
fabiopelosin authored
70
7149df1 @alloy [CHANGELOG] Update for 0.8.0 release.
alloy authored
71 ###### Bug fixes
72
73 - Properly quote all paths given to Git.
0b8e151 @fabiopelosin Update master
fabiopelosin authored
74
75
d5f6a31 @fabiopelosin Update develop
fabiopelosin authored
76 ## 0.7.0
874a0ca @fabiopelosin Update develop
fabiopelosin authored
77
5a32b8f @alloy [CHANGELOG] Make ticket links work and shorten them.
alloy authored
78 [CocoaPods](http://git.io/Agia6A) • [Xcodeproj](http://git.io/mlqquw)
874a0ca @fabiopelosin Update develop
fabiopelosin authored
79
80 ###### Features
81
82 - Added support for branches in git repos.
83 - Added support for linting remote files, i.e. `pod spec lint http://raw/file.podspec`.
0b8e151 @fabiopelosin Update master
fabiopelosin authored
84 - Improved `Spec create template`.
874a0ca @fabiopelosin Update develop
fabiopelosin authored
85 - The indentation is automatically stripped for podspecs strings.
86
87 ###### Bug fixes
88
89 - The default warnings of Xcode are not overriden anymore.
90 - Improvements to the detection of the license files.
91 - Improvements to `pod spec lint`.
92 - CocoaPods is now case insensitive.
93
94
95 ## 0.6.1
96
5a32b8f @alloy [CHANGELOG] Make ticket links work and shorten them.
alloy authored
97 [CocoaPods](http://git.io/45wFjw) • [Xcodeproj](http://git.io/rRA4XQ)
874a0ca @fabiopelosin Update develop
fabiopelosin authored
98
99 ###### Bug fixes
100
101 - Switched to master branch for specs repo.
102 - Fixed a crash with `pod spec lint` related to `preserve_paths`.
103 - Fixed a bug that caused subspecs to not inherit the compiler flags of the top level specification.
104 - Fixed a bug that caused duplication of system framworks.
105
106
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
107 ## 0.6.0
108
109 A full list of all the changes since 0.5.1 can be found [here][6].
110
111
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored
112 ### Link with specific targets
113
114 CocoaPods can now integrate all the targets specified in your `Podfile`.
115
116 To specify which target, in your Xcode project, a Pods target should be linked
117 with, use the `link_with` method like so:
118
5a32b8f @alloy [CHANGELOG] Make ticket links work and shorten them.
alloy authored
119 ``ruby
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored
120 platform :ios
121
5d756c8 @alloy Styling tweaks.
alloy authored
122 workspace 'MyWorkspace'
a4cd834 @alloy Add notes about specifying the Xcode workspace and projects in a Podf…
alloy authored
123
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored
124 link_with ['MyAppTarget', 'MyOtherAppTarget']
125 dependency 'JSONKit'
126
127 target :test, :exclusive => true do
81d3550 @alloy Actually add the user's build configurations to Pods.xcodeproj.
alloy authored
128 xcodeproj 'TestProject', 'Test' => :debug
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored
129 link_with 'TestRunnerTarget'
130 dependency 'Kiwi'
131 end
5a32b8f @alloy [CHANGELOG] Make ticket links work and shorten them.
alloy authored
132 ``
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored
133
134 _NOTE: As you can see it can take either one target name, or an array of names._
135
5d756c8 @alloy Styling tweaks.
alloy authored
136 * If no explicit Xcode workspace is specified and only **one** project exists in
a4cd834 @alloy Add notes about specifying the Xcode workspace and projects in a Podf…
alloy authored
137 the same directory as the Podfile, then the name of that project is used as the
138 workspace’s name.
139
5d756c8 @alloy Styling tweaks.
alloy authored
140 * If no explicit Xcode project is specified for a target, it will use the Xcode
a4cd834 @alloy Add notes about specifying the Xcode workspace and projects in a Podf…
alloy authored
141 project of the parent target. If no target specifies an expicit Xcode project
142 and there is only **one** project in the same directory as the Podfile then that
143 project will be used.
144
5d756c8 @alloy Styling tweaks.
alloy authored
145 * If no explicit target is specified, then the Pods target will be linked with
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored
146 the first target in your project. So if you only have one target you do not
147 need to specify the target to link with.
148
149 See [#76](https://github.com/CocoaPods/CocoaPods/issues/76) for more info.
150
81d3550 @alloy Actually add the user's build configurations to Pods.xcodeproj.
alloy authored
151 Finally, CocoaPods will add build configurations to the Pods project for all
152 configurations in the other projects in the workspace. By default the
153 configurations are based on the `Release` configuration, to base them on the
154 `Debug` configuration you will have to explicitely specify them as can be seen
155 above in the following line:
156
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
157 ```ruby
81d3550 @alloy Actually add the user's build configurations to Pods.xcodeproj.
alloy authored
158 xcodeproj 'TestProject', 'Test' => :debug
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
159 ```
81d3550 @alloy Actually add the user's build configurations to Pods.xcodeproj.
alloy authored
160
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored
161
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
162 ### Documentation
163
164 CocoaPods will now generate documentation for every library with the
165 [`appledoc`][5] tool and install it into Xcode’s documentation viewer.
166
167 You can customize the settings used like so:
168
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
169 ```ruby
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
170 s.documentation = { :appledoc => ['--product-name', 'My awesome project!'] }
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
171 ```
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
172
173 Alternatively, you can specify a URL where an HTML version of the documentation
174 can be found:
175
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
176 ```ruby
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
177 s.documentation = { :html => 'http://example.com/docs/index.html' }
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
178 ```
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
179
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored
180 See [#149](https://github.com/CocoaPods/CocoaPods/issues/149) and
a3f084b @alloy Add entry to the CHANGELOG regarding link_with.
alloy authored
181 [#151](https://github.com/CocoaPods/CocoaPods/issues/151) for more info.
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
182
183
2837753 @goonzoid Updated CHANGELOG.md
goonzoid authored
184 ### Licenses & Documentation
185
186 CocoaPods will now generate two 'Acknowledgements' files for each target specified
187 in your Podfile which contain the License details for each Pod used in that target
188 (assuming details have been specified in the Pod spec).
189
190 There is a markdown file, for general consumption, as well as a property list file
191 that can be added to a settings bundle for an iOS application.
192
193 You don't need to do anything for this to happen, it should just work.
194
195 If you're not happy with the default boilerplate text generated for the title, header
196 and footnotes in the files, it's possible to customise these by overriding the methods
197 that generate the text in your `Podfile` like this:
198
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
199 ```ruby
2837753 @goonzoid Updated CHANGELOG.md
goonzoid authored
200 class ::Pod::Generator::Acknowledgements
201 def header_text
202 "My custom header text"
203 end
204 end
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
205 ```
2837753 @goonzoid Updated CHANGELOG.md
goonzoid authored
206
207 You can even go one step further and customise the text on a per target basis by
208 checking against the target name, like this:
209
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
210 ```ruby
2837753 @goonzoid Updated CHANGELOG.md
goonzoid authored
211 class ::Pod::Generator::Acknowledgements
212 def header_text
213 if @target_definition.label.end_with?("MyTargetName")
214 "Custom header text for MyTargetName"
215 else
216 "Custom header text for other targets"
217 end
218 end
219 end
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
220 ```
2837753 @goonzoid Updated CHANGELOG.md
goonzoid authored
221
222 Finally, here's a list of the methods that are available to override:
223
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
224 ```ruby
2837753 @goonzoid Updated CHANGELOG.md
goonzoid authored
225 header_title
226 header_text
227 footnote_title
228 footnote_text
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
229 ```
2837753 @goonzoid Updated CHANGELOG.md
goonzoid authored
230
231
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
232 ### Introduced two new classes: LocalPod and Sandbox.
233
234 The Sandbox represents the entire contents of the `POD_ROOT` (normally
235 `SOURCE_ROOT/Pods`). A LocalPod represents a pod that has been installed within
236 the Sandbox.
237
238 These two classes can be used as better homes for various pieces of logic
239 currently spread throughout the installation process and provide a better API
240 for working with the contents of this directory.
241
242
bd07c85 @alloy Add note to CHANGELOG.md about Xcodeproj API changes.
alloy authored
243 ### Xcodeproj API
244
245 All Xcodeproj APIs are now in `snake_case`, instead of `camelCase`. If you are
246 manipulating the project from your Podfile's `post_install` hook, or from a
247 podspec, then update these method calls.
248
249
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
250 ### Enhancements
251
3a53857 @fabiopelosin Updated for list command improvements
fabiopelosin authored
252 * [#188](https://github.com/CocoaPods/CocoaPods/pull/188): `list` command now
253 displays the specifications introduced in the master repo if it is given as an
254 option the number of days to take into account.
255
256 * [#188](https://github.com/CocoaPods/CocoaPods/pull/188): Transferred search
257 layout improvements and options to `list` command.
258
0dd703f @fabiopelosin Updated changelog
fabiopelosin authored
259 * [#166](https://github.com/CocoaPods/CocoaPods/issues/166): Added printing
260 of homepage and source to search results.
261
262 * [#177](https://github.com/CocoaPods/CocoaPods/issues/177): Added `--stat`
263 option to display watchers and forks for pods hosted on GitHub.
264
265 * [#177](https://github.com/CocoaPods/CocoaPods/issues/177): Introduced colors
266 and tuned layout of search.
267
268 * [#112](https://github.com/CocoaPods/CocoaPods/issues/112): Introduced `--push`
269 option to `$ pod setup`. It configures the master spec repository to use the private
270 push URL. The change is preserved in future calls to `$ pod setup`.
271
272 * [#153](https://github.com/CocoaPods/CocoaPods/issues/153): It is no longer
273 required to call `$ pod setup`.
274
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored
275 * [#163](https://github.com/CocoaPods/CocoaPods/issues/163): Print a template
276 for a new ticket when an error occurs.
277
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
278 * Added a new Github-specific downloader that can download repositories as a
279 gzipped tarball.
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored
280
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
281 * No more global state is kept during resolving of dependencies.
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored
282
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
283 * Updated Xcodeproj to have a friendlier API.
284
285
286 ### Fixes
287
4c0b3f4 @lukeredpath Added note about set_arc_compatibility_flag to the CHANGELOG
lukeredpath authored
288 * [#142](https://github.com/CocoaPods/CocoaPods/issues/142): Xcode 4.3.2 no longer
289 supports passing the -fobj-arc flag to the linker and will fail to build. The
290 addition of this flag was a workaround for a compiler bug in previous versions.
291 This flag is no longer included by default - to keep using this flag, you need to
292 add `set_arc_compatibility_flag!` to your Podfile.
293
0dd703f @fabiopelosin Updated changelog
fabiopelosin authored
294 * [#183](https://github.com/CocoaPods/CocoaPods/issues/183): Fix for
295 `.DS_Store` file in `~/.cocoapods` prevents `$ pod install` from running.
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored
296
297 * [#134](https://github.com/CocoaPods/CocoaPods/issues/134): Match
298 `IPHONEOS_DEPLOYMENT_TARGET` build setting with `deployment_target` option in
299 generated Pods project file.
300
301 * [#142](https://github.com/CocoaPods/CocoaPods/issues/): Add `-fobjc-arc` to
302 `OTHER_LD_FLAGS` if _any_ pods require ARC.
303
304 * [#148](https://github.com/CocoaPods/CocoaPods/issues/148): External encoding
305 set to UTF-8 on Ruby 1.9 to fix crash caused by non-ascii characters in pod
306 description.
307
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
308 * Ensure all header search paths are quoted in the xcconfig file.
c3bb9a1 @alloy Compare 0.5.1 to HEAD until we actually tag 0.6.0 and explicitely lin…
alloy authored
309
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
310 * Added weak quoting to `ibtool` input paths.
311
312
313 ---------------------------------------
314
315 ## 0.5.0
316
317 No longer requires MacRuby. Runs on MRI 1.8.7 (OS X system version) and 1.9.3.
318
319 A full list of all the changes since 0.3.0 can be found [here][7].
320
321
322 ---------------------------------------
323
324 ## 0.4.0
325
326 Oops, accidentally skipped this version.
327
328
329 ---------------------------------------
330
7cb4ea0 @alloy Use a h2 for the version in CHANGELOG
alloy authored
331 ## 0.3.0
4f0d85d @alloy Add CHANGELOG.md
alloy authored
332
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
333 ### Multiple targets
4f0d85d @alloy Add CHANGELOG.md
alloy authored
334
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
335 Add support for multiple static library targets in the Pods Xcode project with
336 different sets of depedencies. This means that you can create a separate
337 library which contains all dependencies, including extra ones that you only use
338 in, for instance, a debug or test build. [[docs][1]]
4f0d85d @alloy Add CHANGELOG.md
alloy authored
339
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
340 ```ruby
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
341 # This Podfile will build three static libraries:
342 # * libPods.a
343 # * libPods-debug.a
344 # * libPods-test.a
4f0d85d @alloy Add CHANGELOG.md
alloy authored
345
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
346 # This dependency is included in the `default` target, which generates the
347 # `libPods.a` library, and all non-exclusive targets.
348 dependency 'SSCatalog'
4f0d85d @alloy Add CHANGELOG.md
alloy authored
349
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
350 target :debug do
351 # This dependency is only included in the `debug` target, which generates
352 # the `libPods-debug.a` library.
353 dependency 'CocoaLumberjack'
354 end
4f0d85d @alloy Add CHANGELOG.md
alloy authored
355
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
356 target :test, :exclusive => true do
357 # This dependency is *only* included in the `test` target, which generates
358 # the `libPods-test.a` library.
359 dependency 'Kiwi'
360 end
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
361 ```
4f0d85d @alloy Add CHANGELOG.md
alloy authored
362
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
363 ### Install libraries from anywhere
4f0d85d @alloy Add CHANGELOG.md
alloy authored
364
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
365 A dependency can take a git url if the repo contains a podspec file in its
366 root, or a podspec can be loaded from a file or HTTP location. If no podspec is
367 available, a specification can be defined inline in the Podfile. [[docs][2]]
368
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
369 ```ruby
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
370 # From a spec repo.
371 dependency 'SSToolkit'
372
373 # Directly from the Pod’s repo (if it contains a podspec).
374 dependency 'SSToolkit', :git => 'https://github.com/samsoffes/sstoolkit.git'
375
376 # Directly from the Pod’s repo (if it contains a podspec) with a specific commit (or tag).
377 dependency 'SSToolkit', :git => 'https://github.com/samsoffes/sstoolkit.git',
378 :commit => '2adcd0f81740d6b0cd4589af98790eee3bd1ae7b'
379
380 # From a podspec that's outside a spec repo _and_ the library’s repo. This can be a file or http url.
381 dependency 'SSToolkit', :podspec => 'https://raw.github.com/gist/1353347/ef1800da9c5f5d267a642b8d3950b41174f2a6d7/SSToolkit-0.1.1.podspec'
382
383 # If no podspec is available anywhere, you can define one right in your Podfile.
384 dependency do |s|
385 s.name = 'SSToolkit'
386 s.version = '0.1.3'
387 s.platform = :ios
388 s.source = { :git => 'https://github.com/samsoffes/sstoolkit.git', :commit => '2adcd0f81740d6b0cd4589af98790eee3bd1ae7b' }
389 s.resources = 'Resources'
390 s.source_files = 'SSToolkit/**/*.{h,m}'
391 s.frameworks = 'QuartzCore', 'CoreGraphics'
392
393 def s.post_install(target)
394 prefix_header = config.project_pods_root + target.prefix_header_filename
395 prefix_header.open('a') do |file|
396 file.puts(%{#ifdef __OBJC__\n#import "SSToolkitDefines.h"\n#endif})
397 end
398 end
399 end
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
400 ```
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
401
402 ### Add a `post_install` hook to the Podfile class
403
404 This allows the user to customize, for instance, the generated Xcode project
405 _before_ it’s written to disk. [[docs][3]]
406
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
407 ```ruby
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
408 # Enable garbage collection support for MacRuby applications.
409 post_install do |installer|
410 installer.project.targets.each do |target|
6e4ee6e @lukeredpath Fixes for the latest version of xcodeproj
lukeredpath authored
411 target.build_configurations.each do |config|
412 config.build_settings['GCC_ENABLE_OBJC_GC'] = 'supported'
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
413 end
414 end
415 end
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
416 ```
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
417
418 ### Manifest
419
420 Generate a Podfile.lock file next to the Podfile, which contains a manifest of
421 your application’s dependencies and their dependencies.
422
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
423 ```
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
424 PODS:
425 - JSONKit (1.4)
426 - LibComponentLogging-Core (1.1.4)
427 - LibComponentLogging-NSLog (1.0.2):
428 - LibComponentLogging-Core (>= 1.1.4)
429 - RestKit-JSON-JSONKit (0.9.3):
430 - JSONKit
431 - RestKit (= 0.9.3)
432 - RestKit-Network (0.9.3):
433 - LibComponentLogging-NSLog
434 - RestKit (= 0.9.3)
435 - RestKit-ObjectMapping (0.9.3):
436 - RestKit (= 0.9.3)
437 - RestKit-Network (= 0.9.3)
438
439 DOWNLOAD_ONLY:
440 - RestKit (0.9.3)
441
442 DEPENDENCIES:
443 - RestKit-JSON-JSONKit
444 - RestKit-ObjectMapping
5549e5f @fabiopelosin [CHANGELOG] Update.
fabiopelosin authored
445 ```
6cf539a @alloy Include examples in CHANGELOG.
alloy authored
446
447 ### Generate Xcode projects from scratch
448
449 We no longer ship template projects with the gem, but instead generate them
450 programmatically. This code has moved out into its own [Xcodeproj gem][4],
451 allowing you to automate Xcode related tasks.
452
453
454
455
456 [1]: https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/podfile.rb#L151
457 [2]: https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/podfile.rb#L82
458 [3]: https://github.com/CocoaPods/CocoaPods/blob/master/lib/cocoapods/podfile.rb#L185
459 [4]: https://github.com/CocoaPods/Xcodeproj
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
460 [5]: https://github.com/tomaz/appledoc
28da91a @alloy Update CHANGELOG to make comparison of all changes upto 0.6.0
alloy authored
461 [6]: https://github.com/CocoaPods/CocoaPods/compare/0.5.1...0.6.0
311e6cc @alloy Update CHANGELOG with changes for 0.6.0 so far.
alloy authored
462 [7]: https://github.com/CocoaPods/CocoaPods/compare/0.3.10...0.5.0
Something went wrong with that request. Please try again.