https://github.com/dmytro-anokhin/tuist-default-settings-essental
Sample project showing mergeable libraries settings not applied with using DefaultSettings.essential
https://github.com/dmytro-anokhin/tuist-default-settings-essental
Last synced: 4 months ago
JSON representation
Sample project showing mergeable libraries settings not applied with using DefaultSettings.essential
- Host: GitHub
- URL: https://github.com/dmytro-anokhin/tuist-default-settings-essental
- Owner: dmytro-anokhin
- Created: 2024-05-29T10:35:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-29T10:58:23.000Z (about 1 year ago)
- Last Synced: 2024-12-29T05:26:25.143Z (6 months ago)
- Language: Swift
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tuist-default-settings-essental
Sample project showing mergeable libraries settings not applied with using `DefaultSettings.essential`: https://github.com/tuist/tuist/issues/6348---
### What happened?
When generating a target with `DefaultSettings.essential` settings, build settings `MERGED_BINARY_TYPE` and `MERGEABLE_LIBRARY` not set.
```
let settings: Settings = .settings(
base: [
"PROJECT_BASE": "PROJECT_BASE",
],
configurations: [
],
defaultSettings: .essential
)let project = Project(
// ...
targets: [
.target(
name: "App",
destinations: .iOS,
product: .app,
// ...
dependencies: [
.target(name: "Framework"),
],
settings: settings,
mergedBinaryType: .automatic
),
.target(
name: "Framework",
destinations: .iOS,
product: .framework,
// ...
settings: settings,
mergeable: true
),
]
// ...
)
```### How do we reproduce it?
See the sample project: https://github.com/dmytro-anokhin/tuist-default-settings-essental
1. `tuist generate`;
2. Explore **App** and **Framework** build settings.Result:
1. `MERGED_BINARY_TYPE` on **App** target is not set;
2. `MERGEABLE_LIBRARY` on **Framework** target is not set.Expected:
1. `MERGED_BINARY_TYPE = automatic`;
2. `MERGEABLE_LIBRARY = YES`.### Error log
None
### macOS version
14.5
### Tuist version
4.15.0
### Xcode version
15.3