Commit Graph
274 Commits
Author SHA1 Message Date
Yonas KolbandGitHub d4797c3ff6 Merge pull request #524 from elliottwilliams/emw_relative_paths
Compute relative paths to support sources outside a spec's directory
2019-02-27 08:12:51 +11:00
Elliott Williams b5dcc9c4c4 Use relativePath(from:) in more places
This uncovered a seeming inconsisteny with how folder reference paths
were specified vs all other paths.
2019-02-24 16:13:49 -08:00
Rogerio de Paula Assis 1e69d705b7 Added includeCarthageRelated global flag, updated tests + documentation to reflect changes 2019-02-22 21:31:23 -05:00
Rogerio de Paula Assis 18f52ab098 Introduces ability to include Carthage related dependencies when creating a project configuration file 2019-02-22 21:29:56 -05:00
Yonas KolbandGitHub 72ae41e94a Merge pull request #497 from yonaskolb/update_compatability
Update Xcode compatibility version
2019-01-27 19:16:02 +11:00
Kryštof Matěj ec60901ff7 Fix carhage dependency resolving 2019-01-25 07:40:12 +01:00
Yonas Kolb 93f5492d4c update objectVersion from 46 to 50 2019-01-24 23:34:54 +11:00
Luke Wakeford df0e396b75 Adding input and output file lists to build script spec 2019-01-23 14:40:45 +00:00
Yonas Kolb e24fd1b68e update Xcode compatibility version 2019-01-22 15:56:42 +11:00
Rogerio de Paula Assis e6e8b58db4 Fixes issue with sticker pack targets generating redundant compile sources build phase 2019-01-15 22:57:22 -05:00
Yonas Kolb f04c3e0496 format code 2018-12-18 22:37:22 +11:00
Brentley Jones 0617337a94 Allow static libraries to see external framework in search paths 2018-12-17 09:37:48 -06:00
Brentley Jones f3e5aa9083 Treat SDK same as framework for skipping staticLibrary 2018-12-17 09:36:14 -06:00
Yonas Kolb c7a1ecd73d generate TEST_HOST for unit tests 2018-12-05 19:13:58 +11:00
Yonas Kolb 12aea54878 generate TestTargetID project attributes for unit tests 2018-12-05 19:13:27 +11:00
feischl97 3461bc2835 refactor if 2018-11-26 12:25:39 +01:00
Paul Feischl 58511de01b add check if INFOPLIST build setting is already defined 2018-11-23 09:13:21 +01:00
Brentley Jones ef0c87ecb5 Merge branch 'master' into copy-files-ordering 2018-11-05 10:38:21 -06:00
Yonas Kolb 1631236b7a format_code 2018-11-04 22:30:34 +11:00
Yonas Kolb 7e92db5346 add sdk dependency type 2018-11-04 21:38:07 +11:00
Yonas Kolb e7ef30a241 refactoring 2018-11-03 21:33:27 +11:00
Yonas Kolb ff9d1acdee make carthage dependencies listen to link 2018-11-02 19:16:02 +11:00
Dan Fleming 95e09181c6 Fix issue with legacy target fileref 2018-10-31 11:11:55 -04:00
Yonas Kolb 228ab6620b generate info plist and entitlements 2018-10-30 00:44:12 +11:00
Yonas Kolb 0fcb3dcc78 use context 2018-10-16 21:35:31 +11:00
Yonas Kolb c8ce6a52a5 fix cross platform targets 2018-10-15 22:55:59 +11:00
Yonas Kolb b1b7901f1e don't generate duplicate product file references for cross platform targets 2018-10-14 21:58:19 +11:00
Yonas Kolb 65d82bece6 improve performance by not sorting files that are later sorted 2018-10-12 00:57:13 +11:00
Yonas Kolb 32a36b0e7f update to xcodeproj 6.1.0 2018-10-10 20:26:25 +11:00
Yonas Kolb 39079dd801 Merge origin/master into xcodeproj_5 2018-10-09 23:11:36 +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 2bb4a26661 Improve performance of getCombinedBuildSettings 2018-10-05 10:03:18 -07: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
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
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
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
Brentley Jones 5693717a9f Fix getAllCarthageDependencies for aggregate targets 2018-08-22 09:36:42 -05:00