Commit Graph

333 Commits

Author SHA1 Message Date
Yonas Kolb
542668d9f0 add build rules 2018-05-13 17:13:48 +10:00
Yonas Kolb
6305f31c83 get test fixture running 2018-05-03 12:17:36 +10:00
Alvar Hansen
06b82065b7 Remove testability flag from framework template
Currently this flag enables testability to all configurations. Correct
behaviour is to use default, project, value.
2018-04-23 11:32:05 +03: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
29f4fa2123 Rename uses of spec to project 2018-04-12 23:17:07 +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
11bf00da2b added nested folders to test project 2018-04-10 20:22:38 +10:00
Yonas Kolb
9369ce3d63 commit fixture workspace check 2018-04-10 20:22:12 +10:00
Yonas Kolb
2d9e937df5 update to xcproj 4.3.0 2018-04-10 19:53:23 +10:00
Linus Unnebäck
3d98a48637
Target Xcode 9.3 2018-04-04 17:08:26 +01:00
Yonas Kolb
e9ec34cace update Yams to fix quoted values 2018-03-30 19:24:19 +11:00
Yonas Kolb
ebde9de151 Add target.attributes 2018-03-27 14:21:15 +11:00
Yonas Kolb
6e36e483b5 add quoted float parsing test 2018-03-26 23:15:17 +11:00
Yonas Kolb
0c39b28c08 upgrade to xcproj 4.2.0 2018-03-21 11:02:45 +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
9e02dbd420 add yaml tests 2018-03-02 09:18:43 +11:00
Yonas Kolb
205c2e9711 embed carthage dependences into test targets 2018-03-01 23:09:52 +11:00
Yonas Kolb
59a2f4116d add headerVisibility 2018-02-27 09:28:17 +11:00
Yonas Kolb
1e6aef042e
Merge pull request #249 from yonaskolb/generate_code_data_models
Generate code data models properly
2018-02-26 18:29:25 +11:00
Yonas Kolb
ee89c01f05 get test fixture compiling again 2018-02-26 17:13:35 +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
475b3810e4 add a folder of headers to Test fixture 2018-02-26 17:05:56 +11:00
Akio Yasui
58b2419bac
Add carthageExecutablePath option to specify where Carhtage executable is 2018-02-25 02:47:36 +09:00
Rahul Malik
4b9dac0ae8 Update tests 2018-02-13 20:02:18 -05:00
toshi0383
3ad9270f1e improve test coverage 2018-02-09 05:30:03 +09:00
toshi0383
8220a891b2 Add additional .DS_Store fixtures 2018-02-09 05:28:43 +09:00
toshi0383
53cf0faa21 Update .gitignore and spec fixtures 2018-02-09 05:16:41 +09:00
Yonas Kolb
af9104bb91 generate explicitFileType not lastKnownFileType for watchOS targets 2018-01-30 19:13:28 +11:00
Yonas Kolb
1edf5e02dc set ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to true in watch apps 2018-01-30 17:57:58 +11:00
Yonas Kolb
f9c621d19a format code 2018-01-30 17:47:04 +11:00
Yonas Kolb
2f8fc400d3 add watchOS app to fixture 2018-01-30 17:37:15 +11:00
Yonas Kolb
e10f3346af set lastKnownFileType on folder 2018-01-30 15:54:09 +11:00
Yonas Kolb
52c7316ce7 fix scheme buildable reference 2018-01-30 15:25:42 +11:00
Yonas Kolb
920767be1f add default test action language 2018-01-30 15:25:39 +11:00
Yonas Kolb
472e05193a update test fixture 2018-01-30 14:28:12 +11:00
Yonas Kolb
fe8c6cff00 commit test fixture scheme 2018-01-30 12:33:51 +11:00
Dave Lee
d72b5d810a Test scheme execution actions via test fixture 2018-01-29 16:43:50 -08:00
Yonas Kolb
7efe9c17f6 update to xcproj 4.0 2018-01-28 19:31:47 +10:30
Yonas Kolb
a176f85875 xcproj 4.0 2018-01-25 20:59:28 +10:30
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
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
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
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
f0486c644e add options.platformVersions and target.platformVersion 2017-12-26 17:36:22 +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
d7cb06b7b0 update xcode version 2017-12-20 23:14:06 +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
rmalik
f2c4ebabfd Update XcodeGen for latest performance fixes in xcproj 2017-11-16 15:37:53 -08:00
ryohey
32e798f67a Update TestProject 2017-11-16 01:45:28 +09:00
Yonas Kolb
cf426ba5eb add ProjectSpec.options.developmentLanguage 2017-11-15 12:13:32 +01:00
Yonas Kolb
034eb4a448 tweaked format of generated references
- more characters
- underscore after type name
- remove duplication count unless greater than 1
2017-11-15 11:29:10 +01:00
Yonas Kolb
5a74572e10 make references more deterministic 2017-11-15 11:27:45 +01:00
Yonas Kolb
ce0f3b5665 add folder reference support 2017-11-15 01:22:02 +01:00
Yonas Kolb
e8188ad9f8 swiftformat 2017-11-13 21:33:59 +01:00
Yonas Kolb
57ca558d1a don't generate empty build phases 2017-11-12 22:17:08 +01:00
Yonas Kolb
ff3bfd6955 add support for linking directly to bundle or any directory with extension 2017-11-12 21:15:07 +01:00
Yonas Kolb
63c2d08977
add TargetSource.name for renaming sources (#146) 2017-11-12 20:26:36 +01:00
Yonas Kolb
6c1dcde2f5 commit fixture 2017-11-12 19:01:14 +01:00
Yonas Kolb
a2c41917e5
Fix groups (#144)
* failing createIntermediateDirectories test

* refactor sources

* add reference generator tests
2017-11-12 18:52:11 +01:00