tuist/Sources/TuistGenerator
Kas c778fedc52
Prevent embedding static frameworks (#490)
Resolves https://github.com/tuist/tuist/issues/454

- All `FrameworkNodes` (i.e. prebuilt frameworks) were being embedded regardless of their linkage
- This check was redundant as there was a more general check for `PrecompiledNode` which happens to be the super class of `FrameworkNode` which took into account the framework linkage
- To resolve this issue it was suffice to remove the redundant check

Test Plan:

- Generate `fixtures/ios_app_with_static_frameworks` via running `tuist generate`
- Verify the generated project doesn't embed `PrebuiltStaticFramework`
- Verify the generated project builds successfully
2019-08-30 11:11:19 +01:00
..
Dot FileHandler.shared (#488) 2019-08-24 06:10:45 -04:00
Extensions Resolve Swift 5 Warnings (#325) 2019-04-14 19:02:56 +01:00
Generator FileHandler.shared (#488) 2019-08-24 06:10:45 -04:00
Graph Prevent embedding static frameworks (#490) 2019-08-30 11:11:19 +01:00
Linter FileHandler.shared (#488) 2019-08-24 06:10:45 -04:00
Models FileHandler.shared (#488) 2019-08-24 06:10:45 -04:00
Protocols FileHandler.shared (#488) 2019-08-24 06:10:45 -04:00
Settings Support none defaultSettings (#395) 2019-06-07 19:52:45 -07:00
Utils FileHandler.shared (#488) 2019-08-24 06:10:45 -04:00