Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs :: Build Settings Provider #747

Merged
merged 2 commits into from
Mar 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Sources/XcodeProj/Utils/BuildSettingsProvider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ public class BuildSettingsProvider {
/// - dynamicLibrary: dynamic library.
/// - application: application.
/// - bundle: bundle.
/// - appExtension: application extension
/// - watchExtension: watch extension
/// - appExtension: application extension.
/// - watchExtension: watch extension.
/// - unitTests: unit tests.
/// - uiTests: ui tests.
public enum Product {
case framework, staticLibrary, dynamicLibrary, application, bundle, appExtension, watchExtension, unitTests, uiTests
}
Expand Down Expand Up @@ -79,6 +81,7 @@ public class BuildSettingsProvider {

/// Returns default build settings that Xcode sets in new projects.
///
/// - Parameters variant: build settings variant.
/// - Returns: build settings.
public static func projectDefault(variant: Variant) -> BuildSettings {
switch variant {
Expand Down