Bartosz Polaczyk
2c600a7c64
Add Discovered Dependency File ( #1012 )
...
* Upgrade XCodeProj to 7.14.0
* Bump to XcodeProj to fork
* Add script discoveredDependencyFile
* Align cfbundle test
* Add changelog mock
* Update Documentation
* Update SPM manifest
* Change property name
* Verify defult dependency file to nil
* Add JSON encodable test
* Add PR number
Co-authored-by: Fernanda Geraissate <fernandag@spotify.com >
2021-02-15 12:43:41 +11:00
Joseph Colicchio
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
Max Rabiciuc
6b7ab91440
Fix issue where frameworks with MACH_O_TYPE:staticlib were being embedded ( #1003 )
2021-01-15 09:51:38 +11:00
Joseph Colicchio
0eeb6369ec
Legacy / Settings Relative Paths ( #981 )
...
* Adjust header search paths and legacy working directory for relative included projects
* Undo change to HEADER_SEARCH_PATHS
* Add test
* Update changelog
* Fix test
* Undo test changes
* Fix tests
2021-01-14 16:59:59 +11:00
Elliott Williams
c194a2e4e3
Fix race condition in json decoder ( #995 )
...
* Fix race condition in json decoder
* Update CHANGELOG.md
2021-01-14 15:42:43 +11:00
Sascha Schwabbauer
2277b323f2
Add support for runOncePerArchitecture ( #950 )
...
Add changelog and small change
Fix build error
2021-01-13 09:51:11 +11:00
Jierong Li
04d6749441
Fix a typo ( #993 )
...
Rename baseOnDependencyAnalysis to basedOnDependencyAnalysis.
2020-12-03 11:20:13 +11:00
Jierong Li
efed786cec
Add baseOnDependencyAnalysis to Project Spec Build Script ( #992 )
...
* Add baseOnDependencyAnalysis to BuildScript
* Add tests for baseOnDependencyAnalysis
* Update CHANGELOG.md
2020-12-03 08:52:24 +11:00
Elliott Williams
2601d39792
Support Linux by upgrading XcodeProj and Spectre ( #988 )
...
* Bump XcodeProj and Spectre
* Add LinuxMain.swift
* Linux test fixups
* Add CI job for ubuntu-latest
* Use URLs in glob logic to avoid Linux/Mac foundation inconsistencies
* fatalError when --enable-test-discovery is not used
* Update fixtures
They changed because of a bugfix in XcodeProj: https://github.com/tuist/XcodeProj/pull/563
* Update CHANGELOG.md
2020-11-24 11:28:41 +11:00
Josh Walker
1e7c1c2da0
throw SpecValidationError for minimumXcodeGenVers ( #967 )
...
* throw SpecValidationError for minimumXcodeGenVers
* update changelog
# Conflicts:
# CHANGELOG.md
Co-authored-by: Yonas Kolb <yonaskolb@users.noreply.github.com >
2020-11-13 08:30:35 +11:00
Liam Nichols
9fdc194771
Add useBaseInternationalization to SpecOptions ( #961 )
...
* Add 'useBaseInternationalization' setting to SpecOptions (default value of true)
* Update PBXProjGenerator to only include Base into knownRegions if it was either detected on the filesystem or if the project spec options opt into it
* Update ProjectSpec.md to include useBaseInternationalization
* Update AnotherProject to demonstrate Base Internationalization opt out
* Update CHANGELOG.md
2020-10-13 15:20:53 +11:00
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
tokizo
410f644a2f
Delete unnecessary processes. ( #927 ) ( #928 )
...
* Delete unnecessary processes.
* move value assignment up above
2020-08-11 15:15:27 +10:00
Cody Vandermyn
727a648623
Add ability to skip the entire test target ( #916 )
...
* add ability to skip the entire test target
* when skipped is true, add it to the toJSONValue dictionary
* Add changelog entry
2020-08-05 20:05:23 +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
Brentley Jones
fc58e084b9
Update XcodeProj to 7.13.0 ( #908 )
...
This has support for App Clips.
2020-07-15 00:53:18 +10: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
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