Commit Graph

49 Commits

Author SHA1 Message Date
Brentley Jones 0319116f94 Prevent tests from being set as launch actions (#835)
When a scheme only contains a test target, and you want it to build when "Building for Run", you don't want the test target to be set as the launch action. This fixes that.

Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com>
2020-04-23 08:00:44 -05:00
Brentley Jones 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 Celis 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 Claybrook 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
Evan Coleman 0d714bb47e add buildImplicitDependencies to TargetScheme 2020-03-20 13:23:50 -04:00
ionutivan 5487e3ce18 add property stopOnEveryMainThreadCheckerIssue to the scheme, target scheme and generator 2020-03-04 17:21:18 +01:00
Bas van Kuijck 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
John Flanagan c52ed49a29 Prefer default Debug and Release configs 2020-01-14 21:40:12 -06:00
Kamil Pyć 9bf657cb1d Use full path for XcodeProj
This solves issue with relative project path.
2020-01-07 14:20:16 +01:00
Franz Busch bedbfef9cd Add support for language and region for targets 2019-12-04 09:35:56 +01:00
Ken Tominaga fd05b9ba08 Use Xcode.IDEFoundation.Launcher.PosixSpawn for TestAction when debugEnabled: false 2019-11-23 01:46:57 +09:00
yonaskolb 0e4e08bfc4 run swift format for Swift 5.1 2019-11-10 11:56:23 +11:00
Yuta Saito 3a810d1499 Add missing onlyGenerateCoverageForSpecifiedTargets which enables specific target coverage 2019-10-30 15:17:08 +09:00
yonaskolb d0d509c1a5 swiftformat 2019-10-27 22:37:41 +11:00
Yuta Saito f81adfe291 Merge branch 'external-target-ref' into test-coverage 2019-10-27 12:57:23 +09:00
Yuta Saito bbed01d1d6 Cache pbxproj by reference name 2019-10-27 09:23:35 +09:00
Yuta Saito d3560e7f6b Use convenience initializer for TargetReference.local 2019-10-27 09:11:27 +09:00
Yuta Saito 848dfe28ba Re-revert 'Throw error instead of fatalError' partially 2019-10-24 08:21:32 +09:00
Yuta Saito 31667516a5 Revert 'Throw error instead of fatalError' 2019-10-23 07:50:29 +09:00
Yuta Saito c432337ef7 Throw error instead of fatalError 2019-10-21 18:32:49 +09:00
Yuta Saito c2ab781acb Fix buildableName generation logic 2019-10-15 15:47:28 +09:00
Yuta Saito d978cf4df2 Rename ExternalProject -> ProjectReference 2019-10-15 15:10:01 +09:00
Yuta Saito 0a43435af3 Merge branch 'master' into external-target-ref 2019-10-10 23:38:45 +09:00
giginet 7386674fc3 Tweak whitespace 2019-10-03 01:06:07 +09:00
giginet 9061985686 Separate suitableConfig and defaultConfig 2019-10-03 01:05:15 +09:00
giginet fb05f675f1 Use defaultConfig(of:in:) 2019-10-02 23:57:17 +09:00
giginet 1c4f5442e6 Use default config 2019-10-02 23:04:02 +09:00
Yuta Saito a97e89b18c Fix passing targetReference 2019-09-24 15:04:40 +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 Saito cd1d370d91 Merge branch 'master' into external-target-ref 2019-09-23 00:29:35 +09:00
Yuta Saito 30fc642b04 Introduce ProjectName/Target syntax to reference target 2019-09-23 00:23:11 +09:00
Yuta Saito 2846659313 Set selectedLauncherIdentifier when debug disabled 2019-09-22 21:14:20 +09:00
Yuta Saito a2835ef299 Add debugEnabled option for run and test 2019-09-16 11:00:32 +09:00
Yuta Saito 52cca31892 Rename CoverageTarget.target to name 2019-09-16 00:57:05 +09:00
Yuta Saito dc1628ff3f Generate CodeCoverageTargets 2019-09-16 00:37:20 +09:00
Yuta Saito 6397368465 Merge branch 'master' into external-target-ref 2019-09-14 20:18:50 +09:00
Yuta Saito 67b3256a1b Support external project file for build target 2019-09-14 18:15:43 +09:00
Yuta Saito c4d63e569a Extract projectName and pbxProj dependency from getBuildEntry 2019-09-14 17:26:31 +09:00
Yuta Saito 213deb8a15 Use pbxTarget methods to get buildableName instead of using project.yml 2019-09-14 17:15:42 +09:00
Yuta Saito 958e17c2f2 Add language and region option to test scheme 2019-09-13 10:09:38 +09:00
yonaskolb d921d14259 make format_code 2019-09-01 22:02:53 +10:00
Miles Hollingsworth d32a710fa2 add disable main thread checker for test actions 2019-08-02 09:21:22 -07: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
Andras Kadar bb311b1ca7 Allow skipping tests in test targets 2019-05-08 08:31:21 +02:00
Yonas Kolb 1631236b7a format_code 2018-11-04 22:30:34 +11:00
Yonas Kolb e8feba21ef add TestTarget with parallelizable and randomExecutionOrder 2018-11-03 19:04:28 +11:00
Yonas Kolb d3188a83ff extract scheme generator 2018-10-19 00:29:45 +11:00