Yonas Kolb
7da953a488
swift format
2020-06-17 18:12:34 +10:00
Yonas Kolb
0964a7ed30
Revert "Add staticBinary linkType for Carthage dependency ( #847 )"
...
This reverts commit d88d385757 .
# Conflicts:
# CHANGELOG.md
# Sources/XcodeGenKit/PBXProjGenerator.swift
# Tests/XcodeGenKitTests/ProjectGeneratorTests.swift
2020-06-17 17:56:02 +10:00
Yonas Kolb
179eec45d9
rename executableName to executable
2020-06-17 17:23:17 +10:00
Maciej Piotrowski
07c6e200ee
Update ProjectSpec to use executable ( #884 )
...
* Update ProjectSpec.md
* Updates `toJSONValue()` to include `executable` key
2020-06-17 16:41:48 +10:00
Nikita Kukushkin
86c9812582
Allow skipping compile source build phase for bundles ( #878 )
...
* Add `.bundle` to `canSkipCompileSourcesBuildPhase`
* Fix tests
* Update fixtures
* Update CHANGELOG.md
2020-06-05 18:54:48 +10:00
Joeri Djojosoeparto
7ec2f7f8e3
Feature: Ability to set executable to Ask to Launch ( #871 )
2020-05-29 07:53:48 -05:00
Igor Ranieri Elland
463db0616d
Added ability to name executable target in schemes Run configuration. ( #869 )
2020-05-28 07:50:52 -05:00
Igor Ranieri Elland
92aaebb9d5
Added ability to name the executable target in schemes. ( #866 )
...
```
schemes:
MyScheme:
build:
executable: MyExecutable
targets:
...
```
Co-authored-by: Igor Ranieri Elland <igor.ranieri@de.bosch.com >
2020-05-20 08:05:03 -05:00
Maciej Piotrowski
4d6e63e880
Adds uncluttering dumped YAML manifest from nil entries. ( #858 )
...
* Adds uncluttering dumped YAML manifest from `nil` entries.
* Uses required type of a dictionary
* Update CHANGELOG.md
Co-authored-by: Maciej Piotrowski <maciej.piotrowski@allegro.pl >
2020-05-11 20:51:01 +10:00
Toshihiro Suzuki
25f56acc4c
Fix linking of multiple products from the same Swift Package ( #830 )
...
* link dependency.package.products transitively
* update test
* changelog
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
2020-05-02 16:11:50 +10:00
Daiki Matsudate
d88d385757
Add staticBinary linkType for Carthage dependency ( #847 )
2020-05-01 12:54:12 -05:00
Akio Yasui
f3d2d09cd6
Don't deduplicate files in include with different paths but a same name ( #849 )
...
* Distinguish included files by their full path
* Add test with same-name includes
* Update CHANGELOG
2020-04-29 10:20:28 +10:00
Beniamin
0ad02b7e26
Add ability to set an order of groups ( #613 )
...
Co-authored-by: Beniamin Sarkisyan <bsarkisyan@projectx019.com >
2020-04-28 10:32:10 -05:00
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
Maciej Piotrowski
d741d77159
Fixes dumping project references in Project.swift ( #840 )
...
* Update Project.swift
* Update CHANGELOG.md
2020-04-23 12:06:49 +10:00
Ian Leitch
7ff577911d
Prefix static library target filenames with 'lib' to match Xcode. ( #831 )
...
* Prefix static library target filenames with 'lib' to match Xcode.
Given a target named 'MyTarget', Xcode automatically prefixes the filename with 'lib', resulting in the filename 'libMyTarget.a'.
* Update CHANGELOG.md
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
2020-04-13 21:49:17 +10:00
Ian Leitch
b1edbda583
Add --project-root option to generate command. ( #828 )
2020-04-08 14:20:54 -05:00
Andrés Cecilia Luque
7afcf1f5f7
Fixed issue when linking and embeding static frameworks: they should be linked and NOT embed ( #820 )
2020-04-07 10:14:42 -05: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
Michael Eisel
c3693d4098
Optimize bottlenecks ( #803 )
2020-04-03 11:31:48 -05:00
freddi(Yuki Aki)
18efe96637
Merge branch 'master' into support-local-sp-with-packages
2020-03-23 10:12:18 +09:00
Evan Coleman
0d714bb47e
add buildImplicitDependencies to TargetScheme
2020-03-20 13:23:50 -04:00
freddi
af3a7e0596
Resolve local package name from abstract path
...
- Also, added Comment
2020-03-19 23:58:52 +09:00
freddi
6bbd90ce4b
Removed new style of localPackages implemented at #796
2020-03-19 23:37:07 +09:00
freddi
a3ddb4863d
Reverted parsing order of path and url for making switch package easy
2020-03-19 23:33:18 +09:00
freddi
550df76722
Make SwiftPackage itself as enum
2020-03-19 23:29:46 +09:00
freddi
defd73fca9
Removed LocalSwiftPackage
2020-03-18 22:10:44 +09:00
freddi
e61dafdf55
Removed unnecessary space
2020-03-18 21:48:34 +09:00
freddi
ca8136b62d
Removed localPackages variable
2020-03-18 21:32:24 +09:00
freddi
5eb4c33197
Merge branch 'support-local-sp' into support-local-sp-with-packages
2020-03-18 20:50:23 +09:00
freddi(Yuki Aki)
da930999c7
Merge branch 'master' into support-local-sp
2020-03-18 16:15:55 +09:00
freddi
105367b395
Fixed local packages is not linked as framework
2020-03-05 23:36:00 +09:00
freddi
19853921df
Added validation of local package
2020-03-05 21:30:40 +09:00
freddi
77a3cf4b2f
Changed validateVersion as static
2020-03-05 20:57:54 +09:00
freddi
81c2f4ec67
Added support local package on packages:
2020-03-05 20:40:01 +09:00
ionutivan
5487e3ce18
add property stopOnEveryMainThreadCheckerIssue to the scheme, target scheme and generator
2020-03-04 17:21:18 +01:00
freddi
d184a9d2b6
Changed how to use reduce at localPackages
2020-03-04 23:01:06 +09:00
freddi
b351d592b7
Fixed Test
2020-03-03 22:34:09 +09:00
freddi
47c17d65ee
Fixed test by defining initializer of LocalSwiftPackage
2020-03-03 22:24:56 +09:00
freddi
0b5585f122
Support Swift Package in local by localPackages
2020-03-03 21:33:18 +09:00
yonaskolb
ce787d9e40
use mxcl/Version to fix parsing
2020-02-07 10:49:28 +11:00
Liam Nichols
d69b028294
Update SpecValidation to validate TargetReference definitions in the Scheme.Test action. Add additional coverate to ProjectSpectTests
2020-02-06 10:45:21 +00:00
Evan Coleman
6bfd620549
Support external target dependencies via subprojects ( #701 )
...
* Allow external target dependencies via subprojects
* Update CHANGELOG
* Update ProjectSpec
* Fix test
* Use existing fixture for test
* Sort subprojects by name
* Throw subproject generation error instead of crashing
* Cleanup target dependency generation
* Update test fixture project
* Combine extentions in Linkage
* Update XcodeProj to 7.7.0
* Update CHANGELOG.md
* Update ProjectSpec.md
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
2020-02-02 09:44:56 +11:00
Yonas Kolb
6b7b7e6134
Update and lock XcodeProj to 7.7.0 ( #767 )
2020-02-02 09:35:45 +11:00
Yonas Kolb
49ed1503ef
Add pre and post-gen commands ( #759 )
...
* add pre and post-gen commands
* update changelog
* run gen scripts in project directory
2020-01-27 22:22:35 +11: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
sipao
3a9131a21a
Add support On Demand Resources ( #753 )
...
* added on-demand-resources setting to project.yml
* update documents
* Apply suggestions from code review
fixed docs
Co-Authored-By: Yonas Kolb <yonaskolb@users.noreply.github.com >
* Make it possible to resourceTags convert to json
* Use sorted() instead of Array initializer
* Avoid merge assetTags if it is empty
* Changed access to resourceTags to inline
* Don't add resourceTags other than chosenBuildPhase is .resources
* update CHANGELOG.md
* update spec loading test
* add a new "generates resource tags" test case
* add resourceTags in Test Fixture and update
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
2020-01-21 08:47:31 +11:00
Bas van Kuijck
d10dcc9a0e
Validate package version value ( #755 )
...
* Validate package version value
* Added CHANGELOG entry
* Improved testcases for package versions
2020-01-15 13:29:24 -06:00
Yuta Saito
2f312361bc
Merge remote-tracking branch 'origin/master' into katei/resolve-proj-ref-relative
2020-01-06 20:54:05 +09:00
Yuta Saito
8fe5c0cd16
Validate project reference path
2020-01-06 20:51:58 +09:00