Yonas Kolb
07eccc5574
Merge branch 'master' into xcodeproj_5
...
# Conflicts:
# Tests/XcodeGenKitTests/ProjectFixtureTests.swift
2018-10-08 23:07:25 +11:00
Yonas Kolb
5bd704392a
add projectPath getter
2018-10-08 22:29:15 +11:00
Yonas Kolb
a59b8efb03
fix file comparison
2018-10-08 22:08:49 +11:00
Yonas Kolb
8d6a70bdd0
Merge branch 'master' into xcodeproj_5
...
# Conflicts:
# .circleci/config.yml
# Sources/XcodeGenKit/PBXProjGenerator.swift
# Tests/Fixtures/TestProject/Project.xcodeproj/project.pbxproj
# Tests/XcodeGenKitTests/ProjectFixtureTests.swift
# Tests/XcodeGenKitTests/ProjectGeneratorTests.swift
2018-10-08 22:00:45 +11:00
Yonas Kolb
590128e156
Remove header build files that aren’t in a build phase
2018-10-08 17:29:09 +11:00
Dave Lee
8acea8341c
Cache config/setting file misses too
2018-10-05 15:34:12 -07:00
Dave Lee
2bb4a26661
Improve performance of getCombinedBuildSettings
2018-10-05 10:03:18 -07:00
Yonas Kolb
010487ec35
use xcodeproj scheme blueprint
2018-10-04 20:25:18 +10:00
Alvar Hansen
ab0d71d96f
Add framework weak linking setting
2018-10-02 11:07:58 +03:00
Yonas Kolb
0116301227
swift_format
2018-10-01 13:19:29 +10:00
Yonas Kolb
1911d42d27
remove reference generator ids
2018-10-01 12:53:16 +10:00
Jerry Marino
243b26a4b0
Make validation of Xcode projects optional
...
Validation requires several things of the Xcode project, one being that
files are already on disk. In some cases, it's useful to generate
projects containing files that don't exist on disk yet. Additionally,
this is useful for testing purposes, and generating projects on a
machine where the files don't exist.
2018-09-26 10:53:50 -07:00
Yonas Kolb
84f1c65632
update to xcodeproj 6
2018-09-25 23:38:38 +10:00
Yonas Kolb
e97b002655
upgrade to xcodeproj 5
2018-09-25 21:08:11 +10:00
Brentley Jones
296b938e82
Rename prebuildScripts and postbuildScripts
...
Also cleanup the documentation and add more tests for the newly added `postCompileScripts`.
2018-09-19 09:24:55 -05:00
Brentley Jones
aff1ae20d7
Move Carthage copy-frameworks script earlier
...
With Xcode 10 run scripts will prevent dependent targets from starting to compile. The Carthage copy-frameworks script should be right after compilation to speed up compilation.
2018-09-19 09:02:52 -05:00
Brentley Jones
e6a0af79a8
Allow specifying phase order for copy files phases
...
Copy Files phases don't stop dependent targets from starting to compile. If some of the files being copied are needed for the dependent target to compile then they need to happen before the Compile Sources phase. This change allows specifying that.
2018-09-19 09:00:59 -05:00
Brentley Jones
731428ca29
Extract copy files build phase creation
...
Will be reused similar to `generateBuildScript()` for copy files phases at different orders.
2018-09-19 08:58:49 -05:00
Brentley Jones
ffc6b92f88
Allow specifying run scripts to run right after compilation
...
With Xcode 10 dependent targets won't start compiling until compilation and all run scripts are done for the target. This means that your run script should run before Copy Files (and Copy Resources, etc.) phases unless it needs to run later, to allow dependent targets to compile faster.
2018-09-19 08:58:49 -05:00
Yonas Kolb
2dbd897b3a
Update to 1.11.2
2018-09-19 21:10:25 +10:00
Yonas Kolb and GitHub
8e3af1e800
Merge pull request #394 from vgorloff/master
...
Fix for issue https://github.com/yonaskolb/XcodeGen/issues/392 .
2018-09-19 19:56:22 +10:00
Vlad Gorloff
69a3f0f930
Eliminated copy/paste code.
2018-09-18 17:17:46 +02:00
Brentley Jones
f46490fcc0
Move Copy Headers phase to be before Compile Sources
...
Fixes a cyclic dependency issue with the new Xcode 10 build system.
2018-09-14 10:29:25 -05:00
Yonas Kolb
3c07768508
support swift 4.2
2018-09-13 23:05:51 +10:00
Vlad Gorloff
eba2e3ab86
Fix for issue https://github.com/yonaskolb/XcodeGen/issues/392 .
2018-09-11 16:57:23 +02:00
Igor Tarasenko
8c434541ff
Remove explicit type for the knownRegions variable
2018-08-31 14:42:42 +02:00
Igor Tarasenko
2d2958f078
Set knownRegions to en by default. Fix for #389
2018-08-31 12:58:25 +02:00
Yonas Kolb and GitHub
6a0c8c8bc9
Merge pull request #383 from yonaskolb/transitive-aggragate-targets
...
Fix aggregate target dependencies with `transitivelyLinkDependencies`
2018-08-23 00:47:14 +10:00
Brentley Jones
5693717a9f
Fix getAllCarthageDependencies for aggregate targets
2018-08-22 09:36:42 -05:00
Brentley Jones
cf19fb27cb
Obey embedding rules for transitive aggregate targets
2018-08-22 09:35:59 -05:00
Yonas Kolb
8b0cd5d204
Update to 1.11.1
2018-08-23 00:28:59 +10:00
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
5673d10c68
Update to 1.11.0
2018-08-19 14:22:48 +10: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 and GitHub
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 and GitHub
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 and GitHub
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
Brentley Jones
ec96481478
Make version use the Version type
2018-08-02 07:19:37 -05:00