Commit Graph

1930 Commits

Author SHA1 Message Date
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
Khaos Tian
474d8f6907
Bugfix: Ensure folder and wrapper directories are correctly set on generated project (#862)
Check for UTI type instead of hardcoded extensions.
2020-05-18 12:21:34 -05:00
Akio Yasui
2ed9a81d81
Optimize simplifying paths for faster project generation (#857) 2020-05-12 10:28:49 -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
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
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
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
Ian Leitch
f010771a30
Generate correct PBXTargetDependency for external targets. (#843) 2020-04-23 12:25:25 -05:00
Ian Leitch
13ed034f5a
More static library naming improvements. (#842) 2020-04-23 12:23:58 -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
Sam Kirchmeier
aeb65969d4
Automatically include bundles in the Copy Bundle Resources build phase (#838) 2020-04-22 07:59:43 -05:00
Yonas Kolb
b1a99a498d
Update README.md 2020-04-15 14:30:51 +10: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
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
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
Yonas Kolb
a96b1c06f9 use xcpretty in test 2020-04-13 20:41:38 +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
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
Yonas Kolb
01c6959f48 Update to 2.15.1 2020-04-03 10:32:22 +11:00
Yonas Kolb
5106f5052e complete XcodeProj 7.10.0 upgrade 2020-04-03 10:32:22 +11:00
Sam Soffes
5a34b41315
Update XcodeProj to 7.10.0 (#822) 2020-04-03 10:24:45 +11:00
Andrés Cecilia Luque
8c21380a26
Added static framework build settings presets (#819) 2020-04-02 16:26:16 +11:00
Yonas Kolb
4c629979b5
Merge pull request #818 from ElfSundae/patch-1
Update ProjectSpec.md
2020-03-31 14:32:32 +11:00
Elf Sundae
1a70f4e4bb
Update ProjectSpec.md
deploymenTarget => deploymentTarget
2020-03-31 10:17:56 +08:00
Yonas Kolb
84b81b8559 Set theme jekyll-theme-cayman 2020-03-30 23:18:56 +11:00
Yonas Kolb
be3e8da9d5 Set theme jekyll-theme-slate 2020-03-30 23:18:29 +11:00
Yonas Kolb
7a3867794a Set theme jekyll-theme-cayman 2020-03-30 23:04:32 +11: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
94018e1082 Update to 2.15.0 2020-03-25 11:55:28 +11: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
Yonas Kolb
e784ed7897
Merge pull request #808 from freddi-kit/support-local-sp-with-packages
Support Local Swift Package by `packages:`
2020-03-25 11:00:55 +11:00
freddi(Yuki Aki)
f024fc3229
Update Docs/ProjectSpec.md
Co-Authored-By: Yonas Kolb <yonaskolb@users.noreply.github.com>
2020-03-24 22:44:00 +09:00
freddi(Yuki Aki)
18efe96637
Merge branch 'master' into support-local-sp-with-packages 2020-03-23 10:12:18 +09:00
Yonas Kolb
fb3348d38e
Merge pull request #810 from evandcoleman/feature/target-scheme-buildImplicitDependencies
Add buildImplicitDependencies to TargetScheme
2020-03-22 22:13:07 +11:00
Evan Coleman
006507cf85 Update CHANGELOG 2020-03-20 13:25:14 -04:00
Evan Coleman
0d714bb47e add buildImplicitDependencies to TargetScheme 2020-03-20 13:23:50 -04:00
Yuta Saito
b7d658157e
Merge branch 'master' into katei/support-SWIFT_INSTALL_OBJC_HEADER 2020-03-20 11:50:05 +09:00
freddi
c875775404 Update CHANGELOG 2020-03-20 00:02:48 +09:00
freddi
c3d9e67c57 Fixed description of Swift Package 2020-03-20 00:01:47 +09:00
freddi
af3a7e0596 Resolve local package name from abstract path
- Also, added Comment
2020-03-19 23:58:52 +09:00
freddi
5c380bf917 Removed old localPackages things from Documents 2020-03-19 23:45:21 +09:00