Commit Graph

634 Commits

Author SHA1 Message Date
Brentley Jones 7140f0d8c5 Add Project.getAggregateTarget() 2018-08-22 09:09:08 -05:00
Brentley Jones ab37654b01 Fix aggregate target dependencies with transitivelyLinkDependencies 2018-08-22 08:56:56 -05:00
Brentley Jones 3ff16ddc53 Quote framework search paths 2018-08-20 09:14:55 -05:00
Yonas Kolb 75ac3b5669 make format_code 2018-08-19 14:22:42 +10:00
Yonas Kolb a1418fe4dd allow aggregateTargets to be dependencies 2018-08-19 13:47:27 +10:00
Vlad Gorloff 90b0d18dbe Fixes issue with wrong build phase for Metal files. https://github.com/yonaskolb/XcodeGen/issues/379 2018-08-17 09:22:06 +02:00
Brentley Jones 341e0214ed Automatically copy XPC Services to correct location 2018-08-15 08:30:55 -05:00
Brentley Jones 3e2e248d8c Use parent().string 2018-08-14 09:06:41 -05:00
Brentley Jones 8f15a2bbdb Fix duplicated build file IDs for frameworks 2018-08-14 09:05:31 -05:00
Brentley Jones c7d0af1cab Add to FRAMEWORK_SEARCH_PATHS for framework dependencies 2018-08-14 08:51:59 -05:00
Brentley Jones 461de39f8e Merge pull request #366 from brentleyjones/static-library-swift-objc-interface-header
Automatically copy Swift.h header for static libraries
2018-08-09 09:58:39 -05:00
Brentley Jones 5f2b4074a6 Automatically copy Swift.h header for static libraries 2018-08-09 09:52:18 -05:00
Yonas Kolb 1d3d8afcd9 Merge pull request #367 from sxua/scheme-archive-additions
Add additional params to archive action
2018-08-02 23:45:40 +10:00
Oleksandr Skrypnyk 769c49f728 Add additional params to archive action 2018-08-02 16:07:18 +03:00
Yonas Kolb 907e276394 Merge pull request #364 from rpassis/bugfix/CoreDataVersioning
Improvements to determining the current version of a versioned CoreData model
2018-08-02 22:37:35 +10:00
Brentley Jones 96ac557b96 Refactor minimumXcodeGenVersion to be less pervasive 2018-08-02 07:19:37 -05:00
Brentley Jones 76192fb944 Add minimumXcodeGenVersion option
If XcodeGen's version is less than this version validation will fail.
2018-08-02 07:19:37 -05:00
Rogerio de Paula Assis e8f0af0d6c Minor refactoring based on PR feedback 2018-08-01 09:23:48 +10:00
Brentley Jones a784a0d2b9 Automatically copy public headers for static libraries 2018-07-31 08:26:40 -05:00
Brentley Jones b1c8fb1db6 Automatically copy modulemap files correctly 2018-07-31 08:13:30 -05:00
Brentley Jones 717c899179 Merge pull request #345 from brentleyjones/modulemap
Add support for Copy Files build phase
2018-07-31 08:01:58 -05:00
Rogerio de Paula Assis 9831711c2c Adds parsing of .xccurrentversion inside a CoreData versioned model to determine its current active version 2018-07-31 08:01:39 +10:00
Brentley Jones 5e96eedd78 Add support for Copy Files build phase 2018-07-30 08:14:06 -05:00
Brentley Jones ba6f3d0fd3 Default directlyEmbedCarthageDependencies to true for more targets
`directlyEmbedCarthageDependencies` is only `false` now for iOS/tvOS/watchOS applications.
2018-07-26 08:20:39 -05:00
Brentley Jones 0ec3b1d278 Make directlyEmbedCarthageDependencies work for downstream depenedenies
If using `transitivelyLinkDependencies` this already worked. In the future `getAllDependenciesPlusTransitiveNeedingEmbedding` and `getAllCarthageDependencies` should really be the same mechanism.
2018-07-24 19:56:52 -05:00
Brentley Jones b18cd551cb Default directlyEmbedCarthageDependencies to true for tests 2018-07-24 19:56:08 -05:00
Brentley Jones 8ebf27a122 Add directlyEmbedCarthageDependencies to Target
Allows for choice on if `copy-frameworks` or an `Embed Frameworks` build phase should be used to embed Carthage framworks. Defaults to `true` for macOS targets to match current behavior.
2018-07-24 19:56:08 -05:00
Brentley Jones 30d7195097 Adjust getAllCarthageDependencies to return unique dependencies
Copies the pattern from `getAllDependenciesPlusTransitiveNeedingEmbedding`. They should be combined into one solution eventually.
2018-07-24 19:56:08 -05:00
Brentley Jones 452310d464 Add names to non-generic Copy Files phases 2018-07-24 19:13:21 -05:00
Yonas Kolb b8058827c1 Merge pull request #356 from yonaskolb/sorting
Change group sorting
2018-07-24 23:34:15 +10:00
Brentley Jones 15af4fd1d9 Add requiresObjCLinking to Target
Allows a Target to indicate that any target that links to it needs to set `-ObjC` in `OTHER_LDFLAGS`.
2018-07-24 08:03:03 -05:00
Brentley Jones d6b4566b3c Move config generation to after dependency handling
Allows config to reference targer dependencies.
2018-07-24 08:02:19 -05:00
Yonas Kolb f51280485d added options.groupSortPosition 2018-07-24 22:59:24 +10:00
Yonas Kolb 91d2177f84 sort groups under files 2018-07-24 22:45:52 +10:00
Yonas Kolb 2be5aabaff sort Projects and Frameworks groups at the end 2018-07-24 22:44:35 +10:00
Yonas Kolb 38e9a89c09 add aggregate targets to project 2018-07-24 22:06:31 +10:00
Yonas Kolb 884490f955 add attributes to AggregateTarget 2018-07-24 22:05:29 +10:00
Yonas Kolb 3b17164bbf add aggregate targets 2018-07-24 22:05:29 +10:00
Brentley Jones 80851e60b6 Utilize short circuit boolean logic to improve performance 2018-07-23 09:29:03 -05:00
Brentley Jones d6832479e4 Stop linking dynamic frameworks to static libraries 2018-07-23 09:23:14 -05:00
Brentley Jones 2e53422f82 Transitively link library.static dependencies 2018-07-23 09:23:14 -05:00
Brentley Jones 0afd7058bb Only link static libraries to executables 2018-07-23 09:23:14 -05:00
Yonas Kolb a43a96075a Merge pull request #351 from yonaskolb/ks/show-env
Add showEnvVars to build scripts
2018-07-22 12:17:38 +10:00
Keith Smiley ff0e403e52 Add showEnvVars to build scripts
This allows us to disable printing the environment in build logs.
2018-07-20 10:13:50 -07:00
Brentley Jones 92ec7a8e63 Fix compilerFlags incorrectly being set on non-sources build phases 2018-07-18 08:16:27 -05:00
Rohit Pal 4c8742eca6 Use orderedAscending for comparison in sort method 2018-07-18 16:32:55 +05:30
Rohit Pal 4d964c0786 Use localizedStandardCompare to sort group 2018-07-17 17:55:37 +05:30
Rohit Pal b0fa7a2845 Sort .xcdatamodeld files in decreasing order
To set higher version core data  model as current
2018-07-15 20:26:41 +05:30
Yonas Kolb ed701a0c82 Update to 1.10.3 2018-07-11 20:21:28 +10:00
Yonas Kolb be5da8c132 fix mint installations 2018-07-11 20:15:39 +10:00