Commit Graph

52 Commits

Author SHA1 Message Date
Fabio Pelosin
48b7e5c554 [TargetIntegrator] Detect the target with the matching name. 2012-05-26 18:19:09 +02:00
Fabio Pelosin
98d0fb0cd3 Fine tuning console output. 2012-05-15 22:04:56 +02:00
Fabio Pelosin
8bdb41f8ab Merge branch 'master' into spec-refactor
* master:
  Minor copy change
  A few small fixes related to integrating multiple targets/projects.
  Add rake ~> 0.9.0 (for rake/file_list.rb file) to gemspec. Closes #195.
  Fix for https://github.com/CocoaPods/CocoaPods/issues/141
  [Push] Bypass pre-commit hook.
  [Fix] GitHub downloader was downloading the repos twice.

Conflicts:
	spec/unit/resolver_spec.rb
2012-05-14 17:28:25 +02:00
Fabio Pelosin
8ecd4bcfda Integration of Specificaiton refactor. 2012-05-14 16:03:52 +02:00
Eloy Duran
fc8507dcb3 A few small fixes related to integrating multiple targets/projects. 2012-05-12 20:30:40 +02:00
Fabio Pelosin
0c5c43c1f4 Speficiation#activate_for_platform and collateral improvements. 2012-05-10 14:51:13 +02:00
Eloy Duran
8453f58555 Podfile#xcodeproj now also takes a hash of custom configurations that the user's project contains. 2012-05-06 23:18:52 +02:00
Francis Chong
274fef8c15 Instead of generate a dummy source file for each target, generate one in pod installer#install! 2012-04-27 23:23:57 +08:00
Angel Garcia
0b2bd1eee1 Remove the '-all_load' linker flags by default. Issue #234. 2012-04-27 14:34:09 +02:00
Francis Chong
a1717fb161 Move the generated dummy file under "Target Support Files/Pods" 2012-04-27 10:00:09 +08:00
Francis Chong
bc9ee744f8 add a dummy source file to Pod, so that in case no source files presented, the pod lib would still compile 2012-04-27 09:38:30 +08:00
Eloy Duran
b20d64026b Add Specification#prefix_header_contents which does not take a pch file, but a string of code to be appended to the Pods pch file. 2012-04-16 17:14:19 +02:00
Eloy Duran
5394696865 Append the contents of Specification#prefix_header_file to the Pods library's pch. Closes #169. 2012-04-14 17:49:57 +02:00
Eloy Duran
1d71b5824a Move getting paths relative to a Xcode project's ${SRCROOT} to
Pod::Podfile::TargetDefinition.
2012-04-14 16:33:52 +02:00
Eloy Duran
57c3e2678b Stash work on getting examples to build. 2012-04-14 12:04:26 +02:00
Eloy Duran
c76fb93a68 Make the workspace configurable with Podfile#workspace(path).
* If no workspace is specified, then the basename of the default
  target's project will be used.
* If no workspace is specified and multiple projects have been
  specified (in several target definitions), an Informative error
  will be raised indicating that the user should specify one
  explicitely.
2012-04-14 01:03:14 +02:00
Eloy Duran
dc5b15a5a9 Make all not-disabled specs green again. Also introduces the pod install --no-integrate option. 2012-04-14 00:59:18 +02:00
Eloy Duran
12a911034d more stashing 2012-04-14 00:56:30 +02:00
Eloy Duran
5df26a6f73 Stash 2012-04-14 00:56:30 +02:00
Eloy Duran
d51f5a069e Make UserProjectIntegrator work again. 2012-04-14 00:55:38 +02:00
Ben Scheirman
df0112ea82 Move logic for generating PODS_ROOT to a class 2012-04-14 00:54:50 +02:00
Eloy Duran
cb05af48c2 Make platform specific build settings specs work again. 2012-04-14 00:49:57 +02:00
Eloy Duran
4e4fc7fbcd Update for latest Xcodeproj. 2012-04-14 00:49:57 +02:00
Eloy Duran
e1a6ccf0b5 Update for latest Xcodeproj. 2012-04-14 00:49:57 +02:00
Eloy Duran
9dd91b59f9 Move platform from Podfile to TargetDefinition. 2012-04-14 00:49:57 +02:00
Eloy Duran
fcdd011cb2 LocalPod only returns file lists for the platform of the current target.
And lots of misc. work. Still failing: https://gist.github.com/9fffdffb35da111e6442
2012-04-14 00:46:51 +02:00
Fabio Pelosin
8fb0665b2c [Fix] Temporary fix for 'pod install FILE' 2012-04-07 15:05:27 +02:00
Eloy Duran
eae99b2a3d Rename Pod::Project::Integrator to Pod::Installer::UserProjectIntegrator. 2012-03-27 19:11:37 +02:00
Eloy Duran
f9e97e7e34 Merge branch 'link-with-target'. Related to #3, #63, and #79. Closes #76. 2012-03-27 18:58:11 +02:00
Eloy Duran
e1f9b5d77b If no explicit target to link with is specified, then use the first target from the user's project. 2012-03-27 17:17:44 +02:00
Eloy Duran
69de5e8d1e Integrate multiple Pods libraries with multiple user targets. 2012-03-27 16:09:41 +02:00
Luke Redpath
3a4344bbc8 Looks like the -fobj-arc flag we added to OTHER_LD_FLAGS in ea918cd was
an unsupported feature as it has now been removed from Xcode 4.3.2, 
causing lib tool to complain about an unrecognised flag.

I considered removing this entirely but have decided to keep it around 
as an option for the time being. You can get the previous behaviour by
adding set_arc_compatibility_flag! to your Podfile.

I'd like to get rid of this entirely eventually. Re-closes #142 unless
anybody has any objections.
2012-03-26 13:49:20 +01:00
Eloy Duran
22f77e4bd1 Update for Xcodeproj HEAD. 2012-03-14 00:20:36 +01:00
Luke Redpath
ea918cd90a Add -fobjc-arc to OTHER_LD_FLAGS if any pods require ARC (closes #142) 2012-03-05 02:27:48 +00:00
Eloy Duran
6333b0b252 Cleanup and pass a path to File.basename, not a File instance. 2012-03-04 22:27:04 +01:00
Eloy Duran
b09aaebd4f Contain the cached sets in the Resolver itself. 2012-03-04 21:55:43 +01:00
Eloy Duran
8c2adafa84 No longer cache Specification::Set in the Set class, but in a Context. 2012-03-04 21:55:43 +01:00
Luke Redpath
9765ffa044 Ensure all header search paths are quoted in the xcconfig file.
Started adding some specs for the target installer, including for this fix.
2012-03-04 17:56:14 +00:00
Luke Redpath
9d27cb98b3 Not sure how I missed this reference 2012-03-04 01:31:04 +00:00
Luke Redpath
6e4ee6e7b2 Fixes for the latest version of xcodeproj 2012-03-04 01:20:41 +00:00
Luke Redpath
85475bc0c2 Pass the file object, not the path. 2012-03-04 00:41:06 +00:00
Luke Redpath
e2819ac392 TargetInstaller no longer needs access to #build_specifications 2012-02-25 18:25:19 +00:00
Luke Redpath
8870faf4ed A bit more refactoring, brought xcodeproj up to date. 2012-02-25 18:00:06 +00:00
Luke Redpath
f0bc0a3f69 Continue to refactor TargetInstaller. 2012-02-25 17:38:27 +00:00
Luke Redpath
8390e00b8a Encapsulate adding a pod's source files to an Xcode target within LocalPod. 2012-02-25 17:15:57 +00:00
Luke Redpath
6ad8dcea38 A few more little bugs. 2012-02-25 17:00:30 +00:00
Luke Redpath
db65b82c73 Refactor functionality out of the target installer and into the LocalPod and Sandbox classes,
especially around linking of header files and tracking header search paths.
2012-02-25 13:28:22 +00:00
Eloy Duran
63af680fdd Now that headers are symlinked at install time, we no longer need to shuffle build phases. 2012-02-15 23:28:44 +01:00
Satoshi Ohki
dab9bf686d fixed bug of directory cleaning.
prevents multiple times to clean the root directory of symlink headers.
2012-01-11 10:41:43 +09:00
Eloy Duran
a5ca2cd005 Turns out that quoting the PODS_ROOT definition in the xcconfig file breaks building after all... 2011-11-26 15:36:25 +01:00