Commit Graph

895 Commits

Author SHA1 Message Date
freddi
105367b395 Fixed local packages is not linked as framework 2020-03-05 23:36:00 +09:00
freddi
e4989a6c01 Merge branch 'support-local-sp' into support-local-sp-with-packages 2020-03-05 23:14:41 +09:00
freddi
dd7737354d Fixed issue if there is no reference of package 2020-03-05 23:05:46 +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
freddi
fd267bf503 Fixed code making absolutePath at creating local package 2020-03-05 19:46:26 +09:00
freddi
83b44b93aa Reverted not necessary change 2020-03-05 19:37:05 +09:00
freddi
7a0bd7c13c Improved PBXFileReference name at localPackages 2020-03-05 19:04:55 +09:00
freddi
382992af85 Sort local package before createLocalPackage 2020-03-05 10:34:33 +09:00
freddi
d8bf945ca2 Fixed issue on localPackage when specified as absolute path and when using -p 2020-03-05 09:50:45 +09: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
1c242111b5 Update to 2.14.0 2020-02-29 12:44:13 +11:00
Yonas Kolb
bd7e0b7564
Merge pull request #788 from alexruperez/swift-package-manager_dynamic-packages_embed-and-sign_fix
Fix #784 Swift Package Manager (Embed & Sign) for dynamic packages.
2020-02-29 12:38:39 +11:00
Ken Tominaga
c0c998b429
Set xcodeproj path in project.xcworkspace/contents.xcworkspacedata (#793)
* Set xcodeproj path in project.xcworkspace/contents.xcworkspacedata

* Update CHANGELOG.md
2020-02-28 14:40:37 -06:00
Bryan Summersett
7c35c25468 Revert "Add Base to known regions even if one doesn't exist"
This reverts commit 98472a3d88.
2020-02-26 18:31:14 -08:00
Ken Tominaga
f510b44186
Set TEST_TARGET_NAME only when a project has UITest bundle (#792)
* Set `TEST_TARGET_NAME` only for UITest

* Update CHANGELOG.md
2020-02-26 09:26:35 -06:00
Alex Rupérez
54ec2ed76f Only embed SPM dependencies when declared in project.yml 2020-02-26 15:02:13 +01:00
Alex Rupérez
29b33e0a75
Fix #784 Swift Package Manager (Embed & Sign) for dynamic packages. 2020-02-25 12:20:25 +01:00
Ken Tominaga
e3f8ae9e85 Set defaultConfigurationName for every target in a project 2020-02-24 16:57:36 -08:00
yonaskolb
d3a3640fcb Update to 2.13.1 2020-02-07 10:58:01 +11:00
yonaskolb
ce787d9e40 use mxcl/Version to fix parsing 2020-02-07 10:49:28 +11:00
yonaskolb
d966e9d610 fix legacy targets dependencies 2020-02-07 10:09:09 +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
yonaskolb
d041c6161a Update to 2.13.0 2020-02-02 10:42:24 +11:00
Yonas Kolb
f2def422c5
Reorder build phases (#768)
* update changelog

* moved `Copy Bundle Resources` to after `Link with Libraries` build phase
2020-02-02 10:39:35 +11:00
yonaskolb
c55af41047 update PBXFileElement sort methods 2020-02-02 09:54:59 +11:00
Christopher Rogers
5966e294e7
Stabilize sorting of groups with duplicate names/paths (#671)
* Stabilize sorting of groups with duplicate names/paths

For example, previously a group with (name: nil, path: "Sources") would be considered equal to (name: "Sources", path: "../Sources"), even though they are distinct groups.

* Remove Comparable conformance from PBXFileElement

...as it isn't compatible with its Equatable conformance.

Renamed localizedStandardCompare to reflect the fact that PBXFileElement no longer has an inherent order.

* Update changelog
2020-02-02 09:46:17 +11: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
yonaskolb
8b12837cdb Update to 2.12.0 2020-02-02 00:40:14 +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
John Flanagan
c52ed49a29 Prefer default Debug and Release configs 2020-01-14 21:40:12 -06:00
Kamil Pyć
74203dc62d
Merge branch 'master' into use_relative_path_for_XcodeProj 2020-01-12 18:22:41 +01:00
Yonas Kolb
308b351a7a
Merge pull request #744 from ikesyo/avoid-adding-unnecessary-path-to-FRAMEWORK_SEARCH_PATHS
Don't add framework dependency's directory to FRAMEWORK_SEARCH_PATHS if it is implicit
2020-01-12 21:45:39 +11:00
Dan Loman
0c6dd1401a
Add option to generate only plist files
Add changelog entry

Update CHANGELOG.md

Co-Authored-By: Yonas Kolb <yonaskolb@users.noreply.github.com>

Update to new flag PropertyWrapper
2020-01-07 13:49:03 -08:00
Kamil Pyć
9bf657cb1d
Use full path for XcodeProj
This solves issue with relative project path.
2020-01-07 14:20:16 +01:00
Sho Ikeda
a4624d3e18 Don't add framework dependency's directory to FRAMEWORK_SEARCH_PATHS if it is implicit
Because we assume the dependency is in BUILT_PRODUCTS_DIR.

Co-authored-by: yutailang0119 <muta.yutaro@gmail.com>
2020-01-06 23:10:14 +09: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
yonaskolb
06a02425f6 use new property wrappers in SwiftCLI 6.0 2020-01-05 11:43:26 +11:00
Yonas Kolb
4339007e66
Merge pull request #723 from kateinoigakukun/katei/add-bundle-dependency
Add bundle dependency type
2019-12-12 22:21:23 +11:00
Yuta Saito
ce92dd69b4 Replace projectReference.path as relativePath correctly 2019-12-11 20:05:17 +09:00
Franz Busch
bedbfef9cd Add support for language and region for targets 2019-12-04 09:35:56 +01:00