Commit Graph

5 Commits

Author SHA1 Message Date
Kas 51ed4838fa
Fix "Embed Frameworks" build phase parameters (#2156)
* Fix "Embed Frameworks" build phase parameters

Resolves: https://github.com/tuist/tuist/issues/2153

- Generated projects had a missing empty `dstPath` parameter for the "Embed Frameowkrs" build phase
- This was discovered while comparing projects where the same phase was added by Xcode (via the UI when embedding frameworks)
- This small mismatch in parmeters results in build failures when linking against Swift Package binary dependencies
- Adding a new fixture that depends on a binary dependency (FirebaseAnalytics)

Test Plan:

- Run `swift build && swift run tuist generate --path fixtures/ios_app_with_remote_binary_swift_package`
- Verify the generated project builds

* Switch fixture to local package with binary target

* Update change log
2020-12-17 12:36:22 +01:00
Pedro Piñera Buendía 951be59b03
Use the build phase to locate the directory in derived data where artifacts are generated (#1939)
* Use the build phase to locate the built product artifacts

* Add acceptance test

* Fix integration tests

* Fix acceptance tests

* Fix acceptance test

* Fix cache acceptance tests

* Fix watchOS acceptance tests

* Fix acceptance test

* Run pipelines on Xcode 12.1

* Remove Carthage test

* Run acceptance tests with Xcode 11.5 too

* Fix acceptance test with widget
2020-10-25 15:28:55 +01:00
Romain Boulay 1c98797e00
Adds a --withDevice flag to exclude simulator builds by default when running `cache warm` (#1708)
* [cache_improvements] Adds a --withDevice flag to exclude simulator builds by default when running

* [cache_improvements] Fix tests

* Change the argument description

* Fix acceptance tests

* Add documentation

* Change the short and long keywords for the command

* Fix acceptance tests

* Fix acceptance tests and rename --with-device to --include-device-arch

Co-authored-by: Pedro Piñera <pepibumur@gmail.com>
2020-08-30 19:50:01 +02:00
paul.s 79395e0430
Remove symbols from test input/output file lists (#1118)
When a project has a scheme that runs multiple test targets that rely on
the `Embed Precompiled Frameworks` script then the new build system
fails because there are multiple commands that produce the same target
file.

This commit prevents adding symbol files to the input/output file lists
for test targets to prevent this error from occuring.

Fixes tuist/tuist#919
2020-03-30 08:47:01 +01:00
Pedro Piñera 067fa1eaee Set up workflow to run the tests in parallel 2020-03-27 10:56:29 +01:00