Commit Graph
46 Commits
Author SHA1 Message Date
freddi 4ed02a4432 update test 2021-05-14 05:06:07 +09:00
freddi 70c0e0d1ea add test 2021-05-06 22:44:03 +09:00
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 8a0615e883 Fix config variant lookup (#1070)
* fix config lookup

* update changelog
2021-05-06 00:07:38 +10:00
dfe7f28bcb Scheme config variants wrong assignment for similar config names (#976)
* Failing test for #975

* fixes #975

* chore: refactor to properly select a config from a collection with specific variant and config type
chore: updated changelog

* fix: lowercase compare on config variant names

* fix CI

* fix missing scheme for CI

* fix schemes for CI

* Update CHANGELOG.md

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>

* Update Sources/ProjectSpec/Config.swift

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>

* - fix compilation issue
- duplicated test for config variant name (uppercase/lowercase)

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2021-05-01 15:50:39 +10:00
209afcc898 Allowing override LastUpgradeCheck and LastUpgradeVersion (#1013)
* Allowing the property LastUpgradeCheck and LastUpgradeVersion to be overrided

* Updating changelod and project spec

* Updating changelog

Co-authored-by: André Lucas Ota <andrel.ota@PPM-SPO-6835.local>
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2021-04-08 22:20:10 +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
freddi(Yuki Aki)andGitHub f550d01678 Support askForAppToLaunch on profile scheme (#1035)
* add askForAppToLaunch to profile scheme

* add test

* add description for askForAppToLaunch

* add Change Log for askForAppToLaunch

* Update Docs/ProjectSpec.md
2021-03-17 18:10:04 +11:00
ae186edb68 Bugfix/SimulateLocation Fix (#973)
* 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

* Make `simulateLocation` respect `schemePathPrefix`

* Update docs

Co-authored-by: Gemma Barlow <gemmakbarlow@gmail.com>
2021-02-16 09:35:47 +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
Cody VandermynandGitHub 43177dec49 Select the first runnable target (#957)
* Select the first runnable target, if there is one

Instead of just selecting the first target as the scheme target, instead search for and select the first runnable target. If there are no runnables found, then select the first target.

* update docs
2020-09-29 16:44:53 +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
Yonas Kolb 7da953a488 swift format 2020-06-17 18:12:34 +10:00
Joeri DjojosoepartoandGitHub 7ec2f7f8e3 Feature: Ability to set executable to Ask to Launch (#871) 2020-05-29 07:53:48 -05:00
Brentley JonesandGitHub e44dcd3948 Set scheme actions to build step for TargetScheme (#823)
Adjusts the preActions and postActions of a TargetScheme to only be applied applied to the `build` step.
2020-04-13 23:30:46 +10:00
Sebastian CelisandGitHub 0328fa03e7 Add improved support for simple iOS sticker packs (#824)
* Allow messages applications to skip the compile sources phase

By default, simple iOS sticker packs created in Xcode do not include
a compile sources phase. This change will allow messages applications
with an empty list of sources to skip that phase entirely.

* Add support for launchAutomaticallySubstyle in run schemes

This is especially important for simple iOS sticker packs that require
this run scheme setting to be set to 2 in order to run the scheme
properly.
2020-04-06 13:37:37 -05: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
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
Ken Tominaga fd05b9ba08 Use Xcode.IDEFoundation.Launcher.PosixSpawn for TestAction when debugEnabled: false 2019-11-23 01:46:57 +09:00
yonaskolb 865ad156b2 use custom unwrap function 2019-11-10 12:18:04 +11:00
yonaskolb 66569d3670 use XCTUnwrap 2019-11-10 12:09:37 +11:00
yonaskolb 518d8e578b restructure test targets 2019-10-27 23:15:12 +11:00
Yuta Saito e45b0d0f43 Fix build errors 2019-10-27 13:02:53 +09:00
Yuta Saito f81adfe291 Merge branch 'external-target-ref' into test-coverage 2019-10-27 12:57:23 +09:00
Yuta Saito 1c6409266b Improve TargetReference initializer interface 2019-10-15 15:33:35 +09:00
Yuta Saito d978cf4df2 Rename ExternalProject -> ProjectReference 2019-10-15 15:10:01 +09:00
Yuta Saito d1bed7191c Fix unit test build error for TargetReference 2019-10-10 23:57:55 +09:00
Yuta SaitoandGitHub 0a43435af3 Merge branch 'master' into external-target-ref 2019-10-10 23:38:45 +09:00
giginet f0dc840128 Remove unnecessary matchers 2019-10-03 00:12:45 +09:00
giginet ccd411d37e Fix tests for selecting suitable configs 2019-10-03 00:09:09 +09:00
giginet 2010c2ab48 Add tests for selecting suitable schemes 2019-10-02 23:19:13 +09:00
Yuta Saito 0595f07611 Resolve conflicts 2019-09-23 00:55:42 +09:00
Yuta Saito 98df51f489 Merge branch 'external-target-ref' into test-coverage 2019-09-23 00:45:53 +09:00
Yuta SaitoandGitHub cd1d370d91 Merge branch 'master' into external-target-ref 2019-09-23 00:29:35 +09:00
Yuta Saito 5f02e6883b Fix test cases for external project 2019-09-23 00:23:51 +09:00
Yuta Saito 2846659313 Set selectedLauncherIdentifier when debug disabled 2019-09-22 21:14:20 +09:00
Yuta Saito 6b2cd0a916 Add test case for debugEnabled 2019-09-16 11:05:30 +09:00
Yuta Saito 52cca31892 Rename CoverageTarget.target to name 2019-09-16 00:57:05 +09:00
Yuta Saito 3e2ebdbf1f Add test case for code coverage options 2019-09-16 00:50:53 +09:00
Yuta Saito 599a2c8ead Add test case for scheme generation 2019-09-14 18:43:59 +09:00
yonaskolb d921d14259 make format_code 2019-09-01 22:02:53 +10:00
yonaskolb d71612cbe0 update code to new XcodeProj 2019-06-26 16:49:10 +10:00
yonaskolb 745be5fc1d update import name 2019-06-26 16:49:10 +10:00
Yonas Kolb a6ca395033 remove basePath init requirement 2019-01-28 21:51:17 +11:00
Yonas Kolb 1631236b7a format_code 2018-11-04 22:30:34 +11:00
Yonas Kolb e7ef30a241 refactoring 2018-11-03 21:33:27 +11:00