ryohey
d29eada4bb
Fix removeEmpty()
2021-07-14 21:46:03 +09:00
ryohey
fb8450c15c
Refactoring
2021-04-14 19:08:38 +09:00
ryohey
b24b296e9f
Add test for Carthage deintegration
2021-04-14 13:35:53 +09:00
ryohey
55bddca91b
Add test for Cocoapods deintegration
2021-04-14 13:35:53 +09:00
ryohey
fb301bad52
Add build configurations
2020-10-21 20:43:27 +09:00
ryohey
261893438e
Generate schemes spec
2020-10-21 19:08:18 +09:00
ryohey
a766850fdf
Merge branch 'master' into spec-generation
2020-10-21 14:06:05 +09:00
Roman Podymov
742fe69c5b
"Copy only when installing" for "Embed App Extensions" ( #948 )
...
* Added onlyCopyExtensionsOnInstall
* Fix for Xcode 12
* Fixed PBXCopyFilesBuildPhase for "Embed App Extensions"
* Test for onlyCopyExtensionsOnInstall
* Update CHANGELOG.md
* Update ProjectSpec.md
* Refactoring
* More tests for onlyCopyExtensionsOnInstall
* Reverted
* Refactoring with getPBXCopyFilesBuildPhase
* Deleted similar tests
* onlyCopyExtensionsOnInstall -> onlyCopyFilesOnInstall
* Update ProjectSpec.md
* Update CHANGELOG.md
* Update ProjectGeneratorTests.swift
2020-10-02 17:48:32 +10:00
Cody Vandermyn
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
Samuel Giddins
c8b24acbdd
Allow creating intermediary groups outside of the project directory ( #892 )
2020-09-02 14:45:27 -07:00
Bartosz Polaczyk and Bartosz Polaczyk
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
Kiran Thorat
691ca93677
Fixes for embedding SDK dependencies. ( #922 )
2020-08-06 09:13:13 +10:00
Yonas Kolb
20a99e5018
Add FileTypes for cross project file options ( #914 )
...
* move BuildPhase
* add fileTypes
* update changelog
2020-08-04 09:14:32 +10:00
Jared Sorge
331c3da0ef
Add Target option for copying frameworks when installing ( #912 )
...
* Add copy files on install option
* Add documentation
* Add tests
* Add to the target’s JSON if true
* Add changelog entry
* Add test for outputted pbxproj file
2020-07-26 22:15:42 +10:00
ryohey
8303947b82
Fix Build Script Order
2020-07-12 17:25:15 +09:00
ryohey
ddce37361c
Add target dependencies
2020-07-12 16:15:07 +09:00
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
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
Joseph Colicchio
1f95a41b85
Compile xcmappingmodel files instead of copying them ( #834 )
...
* Compile xcmappingmodel files instead of copying them
* Add test for xcmappingmodel
* Update changelog
* Fix xcmappingmodel reference to avoid folder containing xml
* Fix xcmappingmodel contents to avoid test failure
* Tweak yaml to fix compiler flag on xcmappingmodel
avoid `-Werror` added to xcmappingmodel compiler flags, which was preventing compilation
2020-06-04 15:22:33 +10:00
Joeri Djojosoeparto
7ec2f7f8e3
Feature: Ability to set executable to Ask to Launch ( #871 )
2020-05-29 07:53:48 -05:00
ryohey
8c8894cbf6
Add SpecGenerator
2020-05-17 12:39:41 +09:00
Jeff Lett
98275e9a06
Adding graphviz support in dump ( #852 )
...
* Adding graphviz support in dump
Added tests
* Updating graph viz to use UML formatting
Updating README
Adding Changelog entry
* Adding dependency type to graphviz display
2020-05-04 20:52:49 +10:00
Akio Yasui
f25a8955ba
Don't link transitive static carthage libraries ( #853 )
2020-05-02 12:18:12 -05:00
Toshihiro Suzuki and Yonas Kolb
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
Jeff Lett
aaae84f883
Feature/catch xcode test failures ( #851 )
...
* Adding pipefail to CI tests so xcpretty doesn't eat test failures
* Resolving test issues
2020-04-29 08:34:25 -05:00
Beniamin and Beniamin Sarkisyan
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
Sam Kirchmeier
aeb65969d4
Automatically include bundles in the Copy Bundle Resources build phase ( #838 )
2020-04-22 07:59:43 -05:00
Ian Leitch
4ae08453c3
Fix handling of SWIFT_INSTALL_OBJC_HEADER when its value is YES/NO. ( #827 )
...
* Fix handling of SWIFT_INSTALL_OBJC_HEADER when its value is YES/NO.
* Update CHANGELOG.md
* Address PR feedback.
2020-04-15 10:55:56 +10: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
Fumito Nakazawa
18fae50c86
Fix to prevent duplicate addition of carthage static frameworks ( #829 )
...
* Check carthageLinkType is static
* Update changelog
2020-04-13 21:44:14 +10:00
Asif
400c19ee9a
Bugfix: Consider folders with dot in it when generating projects ( #826 )
...
* Bug fix in SourceGenerator
Folders which would have a dot in it, would be added to Copy Bundle Resources even though it contained swift files. This commit, updates the if checks to check if the extension is not of type lproj or xcassets or bundle. This would let Xcodegen handle paths with dots in it
* Refactor SourceGenerator.swift getGroupSources function
* Add FolderWithDot2.0 to TestProject/App_iOS
* Update TestProject fixture with SwiftFileInDotPath and FolderWithDot2.0 changes
* Update test to assert bundles are included in resources
* Remove intentDefinition from whitelistedDirectoryExtensions because it's not a directory, it's always a file so the check is not required
2020-04-09 07:47: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
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
Yonas Kolb
15559eb651
Merge pull request #805 from kateinoigakukun/katei/support-SWIFT_INSTALL_OBJC_HEADER
...
Avoid copying ObjC interface header when SWIFT_INSTALL_OBJC_HEADER=false
2020-03-25 11:30:05 +11:00
Yuta Saito
b7d658157e
Merge branch 'master' into katei/support-SWIFT_INSTALL_OBJC_HEADER
2020-03-20 11:50:05 +09:00
freddi
550df76722
Make SwiftPackage itself as enum
2020-03-19 23:29:46 +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) and Yonas Kolb
8dcfd07bd5
Update Tests/XcodeGenKitTests/ProjectGeneratorTests.swift
...
Co-Authored-By: Yonas Kolb <yonaskolb@users.noreply.github.com >
2020-03-18 17:13:50 +09:00
Yuta Saito
78c11f94a3
Avoid to copy ObjC interface header when SWIFT_INSTALL_OBJC_HEADER=false
2020-03-14 02:37:00 +09:00
freddi
80fdc18b25
Updated Test
2020-03-05 20:55:34 +09:00
freddi
81c2f4ec67
Added support local package on packages:
2020-03-05 20:40:01 +09:00
freddi
7ca1ba2400
Fixed added test code
2020-03-04 19:43:46 +09:00
freddi
3cab6b989c
Added Test for generates local swift packages
2020-03-04 01:03:39 +09:00
freddi
ae4092d0dd
Removed unnecessary try in test
2020-03-03 22:34:01 +09:00
freddi
0b5585f122
Support Swift Package in local by localPackages
2020-03-03 21:33:18 +09:00
Ken Tominaga
e3f8ae9e85
Set defaultConfigurationName for every target in a project
2020-02-24 16:57:36 -08:00