Commit Graph
51 Commits
Author SHA1 Message Date
freddi(Yuki Aki)andGitHub 4233cc8578 Support runPostActionsOnFailure on build scheme (#1075)
* supports runPostActionsOnFailure on build scheme

* updates test for runPostActionsOnFailure

update runPostActionsOnFailure tests

* update Docs for runPostActionsOnFailure

* update change log

* Update CHANGELOG.md

* Update CHANGELOG.md
2021-05-06 12:54:33 +10:00
Yonas KolbandGitHub 7c510af3d7 Fix Xcode alert on generation (#1072)
* fix xcode warning alert on regeneration

* commit fixture diffs

* update changelog
2021-05-06 08:33:42 +10:00
cf88681749 Support macroExpansion on run scheme (#1036)
* allow to specify macroExpansion on schemes

* fix json parsing on macroExpansion

* set macroExpansion only launch scheme

* add test for macroExpansion

* add macroExpansion description

* add macroExpansion to Change Log

* Update CHANGELOG.md

* add App_Extension scheme for macroExpansion

* change example of macroExpansion in Fixtures project

* fix to keep back to keep back compatibility as possible

* Apply suggestions from code review

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2021-03-21 20:02:01 +11:00
50aedc4511 Feature/Store Kit Configuration (#964)
* Preemptively fix compilation for latest XcodeProj

* Add StoreKitConfiguration to scheme and generator

* Add scheme generator test

* Fix and add tests

* Support StoreKitConfiguration in TargetScheme

* Set default type of `storekit` to `.none`

* Upgrade XcodeProj to 7.15.0

* Create struct for StoreKitConfiguration

* Update tests

* Add storekit configuration to test project

* Update changelog

* Update project spec

* Fix xcodeprojs

* Fix projects

* Capitalize String

* Update CHANGELOG.md

Co-authored-by: Gemma Barlow <gemmakbarlow@gmail.com>

* Refactor StoreKitConfiguration init from json

* Change `forWorkspace` to `pathPrefix` and add tests

* Replace StoreKitConfiguration struct with string + option

* Fix tests

* Update project spec

* Fixup changelog

* Add `See Options` to `storeKitConfiguration` in project spec

Co-authored-by: Gemma Barlow <gemmakbarlow@gmail.com>
2021-02-15 11:58:16 +11:00
Yonas KolbandGitHub 4988388cc5 Update to Xcode 12 (#960)
* update to final xcode 12 version

* only generate and test xcode 12 project

* update default xcode version to 12

* update changelog
2020-10-02 18:42:50 +10:00
5ac96741bc Improved Application Extension scheme generation (#932)
* Default extensions to launchAutomaticallySubstyle "2"

* Don't use debugger launcher with extensions

Xcode schemes don't use the LLDB launcher, even when debugging is enabled.

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2020-09-06 15:40:32 +10:00
1d2a28490f Add custom lldinit for a scheme (#929)
* Add customLLDBInit

* Add changelog info to a valid bucket

* Update PR number

* Add fixture tests

Co-authored-by: Bartosz Polaczyk <bartoszp@spotify.com>
2020-08-12 16:13:47 +10:00
Muhammad MuizzsuddinandGitHub d68900e313 Fix app extension scheme generation (#899)
* Fix XCScheme generation for Extension

* Use schemeTarget
2020-07-26 22:17:32 +10:00
Yonas Kolb 5106f5052e complete XcodeProj 7.10.0 upgrade 2020-04-03 10:32:22 +11:00
Dalton ClaybrookandGitHub 039f6c31e7 Use remote-runnable launch actions for Apple Watch schemes (#798)
* Add support for using remote runnables with an Apple Watch scheme
2020-03-26 08:14:46 -05:00
ionutivan 2f0c5ea7a4 change test fixtures 2020-03-17 18:36:51 +01:00
Bas van KuijckandBrentley Jones f544dd36e6 Added a simulateLocation option in scheme specs (#756)
* Added a simulateLocation option in scheme specs

* Updated fixtures for simulateLocation

* Use fileGroups instead of sources
2020-01-23 09:12:06 -06:00
Yuta Saito db9c99da3a Update fixtures 2019-10-30 15:53:03 +09:00
Yuta Saito d33d55cc5b Update generated xcscheme 2019-09-13 10:09:43 +09:00
Miles Hollingsworth 30ef0fb3be update integration test 2019-08-13 16:53:00 -07:00
yonaskolb af2ee82a79 regen fixtures 2019-06-26 16:52:20 +10:00
yonaskolb a7613064b4 update latest xcode version to 10.2 2019-04-02 22:44:05 +11:00
Yonas Kolb eb02ebe3d0 add macOS app scheme 2019-02-02 13:15:20 +11:00
Yonas Kolb 7581653b85 fix tools not being added as executables in schemes 2019-01-22 15:44:55 +11:00
Yonas Kolb d792b9f25b add command line tool to ProjectTest fixture 2019-01-22 15:44:00 +11:00
Kevin Sullivan 2cf17c3cbf Update test project fixture 2019-01-07 16:31:53 -06:00
Yonas Kolb e8feba21ef add TestTarget with parallelizable and randomExecutionOrder 2018-11-03 19:04:28 +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 32a36b0e7f update to xcodeproj 6.1.0 2018-10-10 20:26:25 +11:00
Yonas Kolb 9464f5f925 fix scheme order 2018-10-09 23:13:30 +11:00
Yonas Kolb 4b0169e42a sorted command line arguments 2018-10-09 23:08:18 +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 010487ec35 use xcodeproj scheme blueprint 2018-10-04 20:25:18 +10:00
Yonas Kolb baafa7cffd add scheme variants 2018-09-29 18:03:35 +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
Yonas Kolb c50d1dd157 add target templates 2018-07-22 21:49:39 +10: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
Yonas Kolb c223084edf add iMessage app 2018-06-27 22:44:19 +10:00
Yonas Kolb bf61995f72 fix decoding dictionaries with dot keys 2018-06-26 21:29:44 +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
Rahul Malik 4b9dac0ae8 Update tests 2018-02-13 20:02:18 -05: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 fe8c6cff00 commit test fixture scheme 2018-01-30 12:33:51 +11:00
Yonas Kolb a176f85875 xcproj 4.0 2018-01-25 20:59:28 +10:30
SMN 77588aac5d adds App_iOS_UITests to test Project 2018-01-06 14:57:20 +01:00
Yonas Kolb 2315dc89b2 fix Target reference generation 2017-12-27 17:41:06 +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 KaseandRahul Malik 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
Rahul MalikandGitHub 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érezandYonas Kolb 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 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