Commit Graph
187 Commits
Author SHA1 Message Date
Yonas Kolb 01815e7e4e Update to 1.10.0 2018-07-03 21:45:00 +10:00
Brentley Jones 55b0ed1eeb Add option to turn off transiently linking dependencies 2018-06-29 14:04:31 -05:00
Brentley Jones dd4f2e437a Transitively embed dependencies
If a target embeds dependencies (i.e. App and Test bundles) and a dependency has dependencies that can be embedded, then we should embed those dependencies as long as they weren't embedded along the way.
2018-06-29 13:17:02 -05:00
Yonas Kolb c79a205339 don't code sign target dependencies by default 2018-06-27 22:44:19 +10:00
Yonas Kolb c8bedc81b5 add dependency name to PBXContainerItemProxy deterministic reference 2018-06-27 22:43:25 +10:00
Yonas Kolb 438869e997 make format_code 2018-06-08 15:21:25 +10:00
Yonas KolbandGitHub 27032fce1d Merge pull request #296 from sascha/feature/legacy-target-fix
Remove file/product reference for legacy targets
2018-06-03 18:48:09 +10:00
Yonas KolbandGitHub c755458f90 Merge pull request #308 from yonaskolb/ks/frameworks
Support frameworks in source paths
2018-05-24 16:26:35 +10:00
Yonas KolbandGitHub 701df1c915 Merge pull request #306 from yonaskolb/build_rule
Add build rules
2018-05-24 16:22:06 +10:00
Keith Smiley 853c98bac1 Support frameworks in source paths
This adds support for users passing pre-compiled frameworks in as a
source file of a target, and correctly adding it to the copy frameworks
build phase. Previously it would be added to the copy resources build
phase.
2018-05-16 17:18:46 -07:00
Yonas Kolb 5f99d0c82d always generate Sources build phase 2018-05-14 10:38:43 +10:00
Yonas Kolb 542668d9f0 add build rules 2018-05-13 17:13:48 +10:00
Yonas Kolb 1ce6b97980 update to Swift 4.1 2018-05-12 15:10:18 +10:00
Keith Smiley c4ac000951 Iteratively discover carthage dependencies 2018-04-19 14:46:05 -07:00
Sascha Schwabbauer 29ca91c3a2 Remove file/product reference for legacy targets
Apparently legacy targets created by Xcode do not have a file or product reference. Xodeproj is unable to parse legacy targets generated with XcodeGen with the following error message:

`Xcodeproj doesn't know about the following attributes {"productReference"=>"FR_184465694726"} for the 'PBXLegacyTarget' isa.`

This commit removes file and product references for legacy targets.
2018-04-13 18:06:05 +02:00
Yonas Kolb bc0e90c3d6 Update to 1.9.0 2018-04-12 23:32:40 +10:00
Yonas Kolb 29f4fa2123 Rename uses of spec to project 2018-04-12 23:17:07 +10:00
Yonas KolbandYonas Kolb e589364ae8 rename ProjectSpec to Project and Project.Options to SpecOptions 2018-04-12 23:13:12 +10:00
Yonas Kolb 56b5a13674 Update to 1.8.0 2018-03-27 17:18:29 +11:00
Yonas Kolb b3ba1cb0ec automatically set DevelopmentTeam and ProvisioningStyle TargetAttributes 2018-03-27 15:47:23 +11:00
Yonas Kolb ebde9de151 Add target.attributes 2018-03-27 14:21:15 +11:00
Keith Smiley 6f95e57f45 Rename to defaultConfig 2018-03-19 15:18:46 -07:00
Keith Smiley e636664aaa Add defaultConfigurationName to options
This allows users to set the defaultConfigurationName project wide. This
setting corresponds to the drop down in the project settings that says
"Use CONFIG for command line builds". This affects which configuration
Xcode looks in for some settings, even if you pass `-configuration FOO`.
2018-03-19 13:47:02 -07:00
Yonas Kolb decfa2d770 listen to embed flag for carthage dependencies 2018-03-01 23:09:52 +11:00
Yonas Kolb 205c2e9711 embed carthage dependences into test targets 2018-03-01 23:09:52 +11:00
Yonas Kolb 98c0514c43 change default carthage command to "carthage" 2018-02-25 10:30:44 +11:00
Akio Yasui 58b2419bac Add carthageExecutablePath option to specify where Carhtage executable is 2018-02-25 02:47:36 +09:00
Yonas Kolb af9104bb91 generate explicitFileType not lastKnownFileType for watchOS targets 2018-01-30 19:13:28 +11:00
Yonas Kolb 7efe9c17f6 update to xcproj 4.0 2018-01-28 19:31:47 +10:30
Yonas Kolb a176f85875 xcproj 4.0 2018-01-25 20:59:28 +10:30
Yonas Kolb 228aa18f42 Define lastKnownFileType for PBXFileReference explicitly 2018-01-21 23:06:34 +10:30
Yonas Kolb fbfc138fc3 generate target FileReference lastKnownFileType 2018-01-21 22:42:26 +10:30
Yonas Kolb baa6133695 don't generate FileElement name if it's the same as path 2018-01-21 22:02:29 +10:30
SMN 79e79cbd55 do not generate target attributes if empty 2018-01-05 20:54:01 +01:00
SMN 5ddf622873 generates target references 2018-01-05 03:02:47 +01:00
Alvar Hansen fc9bb5f4e0 Filter out duplicate file references from sources build phase 2018-01-03 13:08:04 +02:00
Yonas Kolb 2315dc89b2 fix Target reference generation 2017-12-27 17:41:06 +08:00
Yonas Kolb 99a1313064 write target product name 2017-12-27 16:41:50 +08:00
Yonas Kolb 75e0644b99 wrap long lines 2017-12-26 18:47:18 +08:00
Yonas Kolb e75b1c1e89 format code 2017-12-26 17:56:02 +08:00
Yonas KolbandGitHub bd635dc1ef Merge pull request #194 from kastiglione/lazy-plist-scan
Scan for Info.plist lazily
2017-12-21 15:10:27 +08:00
Dave Lee f96252ace6 Use spec property directly 2017-12-20 09:04:23 -08:00
Yonas Kolb 5a30baf77e add xcodeVersion option 2017-12-20 23:13:31 +08:00
Dave Lee b48c2bac77 Scan for Info.plist lazily 2017-12-19 22:17:32 -08:00
Brandon KaseandRahul Malik 4c96dbb323 Support indentation options from xcproj (#190) 2017-12-18 13:28:33 -08:00
Brandon KaseandRahul Malik 69b1368013 Support Legacy Targets (#175)
XcodeGen now supports "External Build Tool" target type (internally called
PBXLegacyTarget in Xcode). This is implied when the target provides a
`LegacyTarget` field in its spec.

PBXLegacyTargets are just like normal targets but the `isa` is different
and they have a notion of a buildTool. Most of the target logic doesn't
have to change.
2017-12-18 13:26:49 -08:00
Alvar Hansen 5bd8e9f47c Remove unnecessary quote escaping. 2017-12-07 16:53:47 +02:00
Yonas Kolb 9676d1340b update to xcproj 1.6.0 2017-12-05 20:57:31 +01:00
Yonas Kolb 0c1325cc5f remove header comments 2017-11-22 13:01:17 +01:00
Yonas Kolb b7dc0ab574 remove now un-needed PBXProj from SourceGenerator 2017-11-22 12:48:44 +01:00