Commit Graph

132 Commits

Author SHA1 Message Date
Pedro Piñera
c6554fd3e8 [carthage-fix] Update PBXProjGenerator to embed frameworks also in test bundles and extensions 2018-01-21 17:51:03 -05:00
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
a7380e106d generate target product name for file reference path 2018-01-21 22:41:23 +10:30
Yonas Kolb
e66c0e1c66 generate lastKnownFileType 2018-01-21 22:02:40 +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
Yonas Kolb
a9c56960fb
Merge pull request #221 from anreitersimon/feature/target-attributes
Generate UI Test Target Attributes
2018-01-10 12:44:08 +08:00
SMN
7b50a1fc3b renames TestCases file 2018-01-06 16:46:09 +01:00
SMN
a5d5de0d29 fixes wrong dependecy being tested 2018-01-06 16:45:44 +01:00
SMN
46c775c806 adds tests for target attributes 2018-01-06 16:37:25 +01:00
SMN
8ced6daa81 removes TEST_HOST setting 2018-01-06 14:59:56 +01:00
SMN
77588aac5d adds App_iOS_UITests to test Project 2018-01-06 14:57:20 +01:00
Keith Smiley
b6ef82b3df
Add new option for disabling validations
This gives us an entry point for disabling specific project.yml
validations that sometimes shouldn't apply. The first example is
missingConfigs, which, if you use your .yml file in multiple projects,
can be too strict if the projects have different top level
configurations.
2018-01-05 11:41:33 -08:00
Alvar Hansen
8a45121a6f Change default LD_RUNPATH_SEARCH_PATHS to string
XCode will convert them to space separated string anyway.
This way we avoid generating unnecessary difference in file.
2018-01-03 13:43:08 +02: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
da5993d07e update dependencies 2017-12-26 22:49:17 +08:00
Yonas Kolb
0bc2f3415e minor 2017-12-26 22:46:36 +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 Kolb
554a9d2524
Merge pull request #205 from yonaskolb/platform_version
Add deployment target
2017-12-26 17:55:14 +08:00
Yonas Kolb
e3a6739b2a rename deploymentTargets to deploymentTarget 2017-12-26 17:48:01 +08:00
Yonas Kolb
cd6d179325 rename platformVersion to deploymentTarget 2017-12-26 17:36:41 +08:00
Yonas Kolb
4a90d33951 Add Version type 2017-12-26 17:36:41 +08:00
Yonas Kolb
09620aa2b7 add platform version tests 2017-12-26 17:36:22 +08:00
Yonas Kolb
f0486c644e add options.platformVersions and target.platformVersion 2017-12-26 17:36:22 +08:00
Yonas Kolb
d4fc0916a2
Merge pull request #203 from yonaskolb/scheme_build_types
Change Scheme.Build.targets spec
2017-12-26 16:40:11 +08:00
Yonas Kolb
a53b3b93b9 fix tests 2017-12-22 18:59:23 +08:00
Yonas Kolb
cf6df044cf add TargetSource.buildPhase for overriding build phase 2017-12-22 18:57:15 +08:00
Yonas Kolb
4d1f3ee41a move icon preset settings 2017-12-22 13:28:59 +08:00
Yonas Kolb
ea6b927515 generate changed fixture scheme 2017-12-21 19:02:29 +08:00
Yonas Kolb
7c7bbce783 refactor TargetScheme -> Scheme initialization 2017-12-21 19:02:29 +08:00
Yonas Kolb
e7b9d99b4c allow scheme build target build types to be defined with an array 2017-12-21 18:26:19 +08:00
Alvar Hansen
24c8668eb7 Allow missing files in sources
Adds `optional` flag to `TargetSource` to allow files that do not exist yet.
This is useful in cases where build script will generate files.
2017-12-21 11:33:04 +02:00
Yonas Kolb
d7cb06b7b0 update xcode version 2017-12-20 23:14:06 +08:00
Yonas Kolb
5a30baf77e add xcodeVersion option 2017-12-20 23:13:31 +08:00
Yonas Kolb
0a712a3adc add more source excludes tests 2017-12-20 22:39:26 +08:00
Brandon Kase
4c96dbb323 Support indentation options from xcproj (#190) 2017-12-18 13:28:33 -08:00
Brandon Kase
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
Yonas Kolb
d43a9c030a update xcproj to 1.6.1 2017-12-09 14:27:10 +01: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
Rahul Malik
8a46cde0b1
Add commandlineArguments to XcodeGenKit Scheme specifications (#172)
* Add commandlineArguments to XcodeGenKit Scheme specifications

* Update xcproj reference, format code, cleanup usage of
commandlineArguments in ProjectGenerator

* Update docs, CHANGELOG and equality checks in Scheme.swift

* Doc update

* Update fixture tests to have command line arguments. Fix remaining issue
with Scheme creation through "Test Scheme"
2017-11-28 11:02:59 -08:00
Alex Rupérez
c59c6a02db Added support for codeCoverageEnabled flag in target schemes. (#170)
* Resolves #169, added support for codeCoverageEnabled flag in target schemes.

* #170 @yonaskolb code review fix and docs update.

* More #170 @yonaskolb code review fix.

* Using gatherCoverageData instead of codeCoverageEnabled naming, thanks @kastiglione.

* Now using xcproj 1.5.0

* Another #170 @yonaskolb code review fix.
2017-11-24 11:45:56 +01:00
Yonas Kolb
0c1325cc5f remove header comments 2017-11-22 13:01:17 +01:00
Yonas Kolb
04b31acabf
remove duplicate test 2017-11-21 14:11:47 +01:00
Yonas Kolb
885a4fe321
Merge pull request #158 from bkase/fast-xcproj
Updates for xcproj updates to PBXProj
2017-11-20 11:48:45 +01:00
Peyman Khanjan
b73aca231a Fix TargetSource excludes tests. 2017-11-19 15:20:45 +00:00
rmalik
f2c4ebabfd Update XcodeGen for latest performance fixes in xcproj 2017-11-16 15:37:53 -08:00