Commit Graph

584 Commits

Author SHA1 Message Date
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
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
550df76722 Make SwiftPackage itself as enum 2020-03-19 23:29:46 +09:00
freddi
31aa7086a4 Added old local package format test 2020-03-18 21:32:44 +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)
8dcfd07bd5
Update Tests/XcodeGenKitTests/ProjectGeneratorTests.swift
Co-Authored-By: Yonas Kolb <yonaskolb@users.noreply.github.com>
2020-03-18 17:13:50 +09:00
freddi(Yuki Aki)
da930999c7
Merge branch 'master' into support-local-sp 2020-03-18 16:15:55 +09:00
ionutivan
2f0c5ea7a4 change test fixtures 2020-03-17 18:36:51 +01:00
ionutivan
2252ee4882 set stopOnEveryMainThreadCheckerIssue to test parsing 2020-03-17 18:29:25 +01: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
80f95b598a Changed local package format of SPM project in Fixtures 2020-03-05 23:37:59 +09:00
freddi
e4989a6c01 Merge branch 'support-local-sp' into support-local-sp-with-packages 2020-03-05 23:14:41 +09:00
freddi
57c4325a3d Updated project.yml in SPM Test Project in Fixtures 2020-03-05 22:22:32 +09:00
ionutivan
40902fb422 set stopOnEveryMainThreadCheckerIssue true for App_iOS_Tests and App_iOS_UITests 2020-03-05 12:59:38 +01: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
fd267bf503 Fixed code making absolutePath at creating local package 2020-03-05 19:46:26 +09:00
freddi
7a0bd7c13c Improved PBXFileReference name at localPackages 2020-03-05 19:04:55 +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
ionutivan
364aa7db12 add integration test by modifying the yaml file 2020-03-04 17:24:27 +01:00
ionutivan
dea537db05 add performance tests 2020-03-04 17:23:28 +01:00
ionutivan
8f103c6b17 add unit tests for the new property 2020-03-04 17:22:58 +01: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
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
feab78724f Added changelog entry and updated test fixtures. 2020-02-26 12:38:07 +01:00
Ken Tominaga
930d4cb27b Update Fixtures 2020-02-24 16:57:47 -08:00
Ken Tominaga
e3f8ae9e85 Set defaultConfigurationName for every target in a project 2020-02-24 16:57:36 -08: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
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
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
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