Commit Graph

688 Commits

Author SHA1 Message Date
Alvar Hansen
f5423f1ce3 Changes XPC Service package type to XPC!
Includes app extension as XPC type.
2018-11-05 14:05:57 +02:00
Yonas Kolb
58c400a479 Update to 2.0.0 2018-11-04 22:30:40 +11:00
Yonas Kolb
1631236b7a format_code 2018-11-04 22:30:34 +11:00
Yonas Kolb
f30536a40f fix emoji indentation 2018-11-04 22:26:28 +11:00
Yonas Kolb
7e92db5346 add sdk dependency type 2018-11-04 21:38:07 +11:00
Yonas Kolb
e96c91eecf
Merge pull request #434 from yonaskolb/test_target
Add TestTarget with parallelizable and randomExecutionOrder
2018-11-04 20:31:32 +11:00
Yonas Kolb
e7ef30a241 refactoring 2018-11-03 21:33:27 +11:00
Yonas Kolb
ea2d38ecdd tweak project description 2018-11-03 20:09:46 +11:00
Yonas Kolb
e8feba21ef add TestTarget with parallelizable and randomExecutionOrder 2018-11-03 19:04:28 +11:00
Yonas Kolb
642b116021
Merge pull request #433 from yonaskolb/set_project_sdk_root
Automatically set project SDK root if there is only a single platform
2018-11-03 16:19:58 +11:00
Yonas Kolb
0efe954f34 automatically set project SDK root if there is only a single platform 2018-11-02 19:37:45 +11:00
Yonas Kolb
ff9d1acdee make carthage dependencies listen to link 2018-11-02 19:16:02 +11:00
Yonas Kolb
db616db18b
Merge pull request #431 from yonaskolb/config_setting_validation
Validate incorrect config settings definitions
2018-11-02 19:01:48 +11:00
Yonas Kolb
3eaed1ec7c validate incorrect config settings definitions 2018-11-02 18:50:13 +11:00
Dan Fleming
95e09181c6 Fix issue with legacy target fileref 2018-10-31 11:11:55 -04:00
Yonas Kolb
0cf2ca9fa0 only write plists if file has changed 2018-10-30 22:22:51 +11:00
Yonas Kolb
3d87c61342 plist error handling 2018-10-30 22:22:51 +11:00
Yonas Kolb
eef1dc473e rename Plist.attributes to properties 2018-10-30 21:47:16 +11:00
Yonas Kolb
26106a04b3 refactor file writing 2018-10-30 00:52:24 +11:00
Yonas Kolb
228ab6620b generate info plist and entitlements 2018-10-30 00:44:12 +11:00
Yonas Kolb
885d5fb8c1
Merge pull request #423 from yonaskolb/xcode_10
Update generated project defaults to xcode 10 and swift 4.2
2018-10-19 09:37:15 +11:00
Yonas Kolb
d3188a83ff extract scheme generator 2018-10-19 00:29:45 +11:00
Yonas Kolb
839bfa13c1 change generated versions to xcode 10 and swift 4.2 2018-10-18 23:20:00 +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
e17bf7d0f2 update xcodeproj 2018-10-11 21:15: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
4b0169e42a sorted command line arguments 2018-10-09 23:08:18 +11:00
Jerry Marino
bf293d6ac6 Use the provided TargetSource.headerVisibility
This was missing in the init - simply use the value provided by the
user.
2018-10-08 13:34:45 -07:00
Yonas Kolb
7db271c525
Merge pull request #416 from yonaskolb/perf-getCombinedBuildSettings
Improve performance of getCombinedBuildSettings
2018-10-08 23:36:32 +11:00
Yonas Kolb
f7966bda39
Merge pull request #417 from yonaskolb/cache-build-settings-misses
Cache config/setting file misses too
2018-10-08 23:32:34 +11:00
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
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
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
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
Brentley Jones
ec96481478 Make version use the Version type 2018-08-02 07:19:37 -05:00
Brentley Jones
2c507ca439 Fail parsing of versions with more than 3 components 2018-08-02 07:19:37 -05:00
Brentley Jones
641ce7ccd8 Conform Version to Comparable 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
Brentley Jones
b44dc46244 Cleanup SpecParsingError.invalidSourceBuildPhase 2018-07-31 07:36:59 -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
d1c3ac10d0 Refactor SpecParsingError.unknownSourceBuildPhase
Consolidate `.unknownSourceBuildPhase` and `.invalidSourceCopyFilesPhase` into one.
2018-07-30 08:14:06 -05: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
fdc8e3035a fix description of aggregate targets with no targets 2018-07-24 22:06:31 +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
Yonas Kolb
31c3f1de0f
Merge pull request #355 from yonaskolb/target_template
Add target templates
2018-07-24 22:03:10 +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
c9ab3af76e merge target onto templates 2018-07-23 20:27:50 +10:00
Yonas Kolb
1741d69c3c seperate target resolvers 2018-07-23 20:08:55 +10:00
Yonas Kolb
c50d1dd157 add target templates 2018-07-22 21:49:39 +10: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
Yonas Kolb
b906364d8b
Merge pull request #348 from yonaskolb/parse-xcode-version
Parse xcodeVersion from yaml
2018-07-22 12:15:35 +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
b32fe96854 Parse xcodeVersion from yaml 2018-07-19 08:13:24 -05: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
Yonas Kolb
15b5a295b6 Update to 1.10.2 2018-07-06 00:08:33 +10:00
Yonas Kolb
22b79cf30c default transitivelyLinkDependencies to false 2018-07-06 00:05:16 +10:00
Yonas Kolb
9e0a9fc3dd Update to 1.10.1 2018-07-04 12:23:55 +10:00
Yonas Kolb
b1497e2f8c Code sign all depencencies except executables 2018-07-04 09:50:00 +10:00
Brentley Jones
b7ba3628e9 Fix typo "transient" -> "transitive" 2018-07-03 13:34:20 -05:00
Yonas Kolb
01815e7e4e Update to 1.10.0 2018-07-03 21:45:00 +10:00
Yonas Kolb
be3a4dd1f6
Merge pull request #327 from brentleyjones/transitively-embed
Transitively embed dependencies
2018-07-02 12:01:29 +10:00
Yonas Kolb
f7e73f6a1a
Merge pull request #328 from brentleyjones/fix-launch-actions
Fix launch action to not run frameworks
2018-07-01 22:52:14 +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
Brentley Jones
cc4674c6b8 Fix launch action to not run frameworks
Currently generated schemes incorrectly are launchable for frameworks. This change implements them in the same way that Xcode naturally does.
2018-06-29 12:39:57 -05:00
Brentley Jones
79e2413fa7 Fix excluding directories that have sub-directories 2018-06-28 18:53:14 -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
c485549d2d improve error output 2018-06-27 22:18:19 +10:00
Michael Schneider
227ddae290 Add support for cc source files 2018-06-08 13:48:25 -07:00
Yonas Kolb
438869e997 make format_code 2018-06-08 15:21:25 +10:00
Yonas Kolb
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 Kolb
c755458f90
Merge pull request #308 from yonaskolb/ks/frameworks
Support frameworks in source paths
2018-05-24 16:26:35 +10:00
Yonas Kolb
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
6faca7aeed use AutoEquatable in BuildRule 2018-05-13 19:10:31 +10:00
Yonas Kolb
3533c2cb07 use AutoEquatable where possible 2018-05-13 19:05:32 +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
812af8b3a1 Update targetsMap on targets didSet 2018-04-23 09:51:38 -07:00
Keith Smiley
c4ac000951 Iteratively discover carthage dependencies 2018-04-19 14:46:05 -07:00
Keith Smiley
d4445c6d4a Store targets as dictionary for faster lookups 2018-04-19 14:45:56 -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 Kolb
e589364ae8 rename ProjectSpec to Project and Project.Options to SpecOptions 2018-04-12 23:13:12 +10:00
Yonas Kolb
81b8734dfc support files in fileGroups 2018-04-12 00:02:35 +10:00
Yonas Kolb
c0df295366 fix files not being added to root properly 2018-04-12 00:02:31 +10:00
Yonas Kolb
10e8048805 fix folder in root with createIntermediateGroups 2018-04-10 21:44:54 +10:00
Yonas Kolb
1b5fb23ec9
Merge pull request #284 from LinusU/xcode-0930
Target Xcode 9.3
2018-04-09 10:06:56 +10:00
Yonas Kolb
fd3c903595 fixed build phase of none not being applied to folders 2018-04-06 08:38:26 +10:00
Linus Unnebäck
3d98a48637
Target Xcode 9.3 2018-04-04 17:08:26 +01:00
Yonas Kolb
c89a665bba add target scheme pre and post action tests 2018-03-30 02:10:42 +11:00
Yonas Kolb
a1b631b405 add pre and post actions to target scheme 2018-03-30 01:47:25 +11:00
Yonas Kolb
af9c5738a5 remove un-needed action mapping 2018-03-30 01:43:12 +11: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
Yonas Kolb
0c39b28c08 upgrade to xcproj 4.2.0 2018-03-21 11:02:45 +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
Jerry Marino
fda4f30713 Allow allocation of LegacyTarget
I'm now using XcodeGen data structures directly, which is awesome.

I need to allocate `LegacyTarget` in my code, so this method makes it
public.
2018-03-08 13:23:17 -08:00
Yonas Kolb
8c0a294737 Update to 1.7.0 2018-03-03 10:14:55 +11:00
Yonas Kolb
5f7403948b add some more code docs 2018-03-03 09:43:45 +11:00
Yonas Kolb
4998f19dc5 refactor excludes 2018-03-03 09:37:51 +11:00
Yonas Kolb
d11783bdb0 make format_code 2018-03-03 09:21:16 +11:00
Yonas Kolb
cc76e37d35
Merge pull request #238 from yonaskolb/ts-exclude-dsstore-bug
sources.excludes wasn't applied for localisedDirectory such as Base.lproj
2018-03-03 09:15:14 +11:00
Yonas Kolb
579d5ccb39
Merge pull request #252 from yonaskolb/header_visibility
Add TargetSource headerVisibility
2018-03-02 20:37:22 +11:00
Yonas Kolb
0c2b7dc718 change headerVisibility default back to public 2018-03-02 20:34:47 +11:00
Yonas Kolb
9bd7123de0 fix env YES parsing 2018-03-02 09:49:03 +11:00
Yonas Kolb
9b7f8606c2 use yams resolver to treat empty string as empty string 2018-03-02 09:18:43 +11: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
toshi0383
0a37fd54e3 fix and refactor into extensions 2018-03-01 07:53:27 +09:00
toshi0383
ead24e8ce3 Remove unnecessary diff 2018-02-28 00:23:50 +09:00
toshi0383
77103a3c36 Fix shouldUseLaunchSchemeArgsEnv disabling logic 2018-02-28 00:18:08 +09:00
Yonas Kolb
59a2f4116d add headerVisibility 2018-02-27 09:28:17 +11:00
Jakub Turek
dcb098a39f Implement setting schema variables in xcodeproj 2018-02-26 22:22:07 +01:00
Yonas Kolb
232a20375d
Merge pull request #250 from yonaskolb/atomic_writing
Write project file atomically
2018-02-26 19:06:28 +11:00
Yonas Kolb
2f8250fb0a write to a temp file first 2018-02-26 18:27:26 +11:00
Yonas Kolb
5e2f427c6f fix XCVersionGroup reference id stability 2018-02-26 17:11:25 +11:00
Yonas Kolb
b97261db36 generate code data models properly 2018-02-26 17:11:25 +11:00
Yonas Kolb
d88f58f20b
Merge pull request #245 from yonaskolb/allow_custom_folder_build_phase
Allow setting buildPhase on folders
2018-02-26 17:10:58 +11:00
Yonas Kolb
42ca2822d1 fix Mint installation not reading SettingPresets 2018-02-26 12:53:14 +11:00
Yonas Kolb
2be48f37c8 allow setting buildPhase on folders 2018-02-25 10:49:25 +11:00