fix(xcode): build autocreated schemes in the background for code insight (#7650)

A project whose schemes Xcode autocreates has no .xcscheme files (a fresh XcodeGen project, or one never opened in Xcode). Schemes were read only from those files, so the background build for code insight failed with "The Xcode project has no scheme to build" and cross-file code intelligence stayed missing.

A .xcodeproj without any scheme file (shared or personal) now gets the schemes Xcode autocreates: one per target other than a unit-test or UI-test bundle, read from project.pbxproj without running xcodebuild (which resolves Swift packages first and can take seconds or hang offline). The index build uses the scheme Run builds first, and a project with nothing to build skips the index build quietly.

Closes #7644

Co-authored-by: wildcatDownstairs <[email protected]>
Цей коміт міститься в:
LU XIANGRUIтаwildcatDownstairs authored and GitHub committed 2026-12-03 14:34:49 +08:00
1 джерело 890fade636
коміт 8397e5e2a3
6 files changed
+1153 -7

No files matched your search

+11 -2
Переглянути файл
@@ -240,8 +240,8 @@ fn index_build(
sink: &ide_core::SharedSink,
cancel: &CancellationToken,
) -> IdeResult<XcodeIndexBuild> {
let params = ide_run::xcode::first_run_params(root)
.ok_or_else(|| IdeError::unavailable("The Xcode project has no scheme to build"))?;
// Nothing Run could build either: no build, no warning.
let Some(params) = ide_run::xcode::first_run_params(root) else { return Ok(XcodeIndexBuild::NotNeeded) };
let scheme = params.get("scheme").cloned().unwrap_or_default();
let task = TaskId::next();
let _cancel_handle = ide_core::task::on_cancel(task, {
@@ -271,6 +271,15 @@ ide_command::domain!(xcode_bsp: xcode_bsp_setup, xcode_bsp_generate, xcode_index
mod tests {
use super::*;
#[test]
fn the_index_build_skips_a_project_without_a_scheme_quietly() {
let tmp = tempfile::tempdir().unwrap();
std::fs::create_dir(tmp.path().join("App.xcodeproj")).unwrap();
let sink: ide_core::SharedSink = std::sync::Arc::new(ide_core::NullSink);
let result = index_build(tmp.path(), &tmp.path().join("DerivedData"), &sink, &CancellationToken::new());
assert_eq!(result.unwrap(), XcodeIndexBuild::NotNeeded);
}
#[test]
fn prefers_the_workspace_and_skips_configured_roots() {
let tmp = tempfile::tempdir().unwrap();
+173
Переглянути файл
@@ -218,4 +218,177 @@ mod tests {
detect(root, &mut out);
assert!(out.is_empty());
}
/// A project bundle with no scheme files whose `project.pbxproj` has `targets` (name and
/// product type), written as Xcode writes it.
fn autocreated_project(root: &Path, name: &str, targets: &[(&str, &str)]) {
let project = root.join(name);
std::fs::create_dir_all(&project).unwrap();
let objects: String = targets
.iter()
.map(|(target, kind)| {
format!(
"\t\tAB12 /* {target} */ = {{\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildPhases = (\n\t\t\t\tCD34 /* Sources */,\n\t\t\t);\n\t\t\tname = \"{target}\";\n\t\t\tproductName = {target};\n\t\t\tproductType = \"com.apple.product-type.{kind}\";\n\t\t}};\n"
)
})
.collect();
let pbxproj = format!(
"// !$*UTF8*$!\n{{\n\tobjects = {{\n\n/* Begin PBXNativeTarget section */\n{objects}/* End PBXNativeTarget section */\n\t}};\n}}\n"
);
std::fs::write(project.join("project.pbxproj"), pbxproj).unwrap();
}
fn first_build_args(root: &Path) -> Option<Vec<String>> {
crate::xcode::first_run_params(root).map(|p| crate::xcode::build_args(&p, None).unwrap())
}
#[test]
fn a_project_with_only_autocreated_schemes_runs_and_builds_them() {
let tmp = tempfile::tempdir().unwrap();
let root = tmp.path();
autocreated_project(
root,
"Auto.xcodeproj",
&[
("AutoKit", "framework"),
("Auto", "application"),
("AutoTests", "bundle.unit-test"),
("AutoUITests", "bundle.ui-testing"),
],
);
let (run, test) = run_and_test_args(root);
assert_eq!(run, ["-project Auto.xcodeproj -scheme Auto", "-project Auto.xcodeproj -scheme AutoKit"]);
assert!(test.is_empty());
assert_eq!(first_build_args(root).unwrap(), ["-project", "Auto.xcodeproj", "-scheme", "Auto"]);
assert!(!crate::xcode::schemes(root)[0].shared);
}
#[test]
fn shared_schemes_are_read_from_their_files_alone() {
let tmp = tempfile::tempdir().unwrap();
let root = tmp.path();
autocreated_project(root, "App.xcodeproj", &[("Autocreated", "application")]);
project_with_scheme(root);
let (run, _) = run_and_test_args(root);
assert_eq!(run, ["-project App.xcodeproj -scheme App -configuration Staging"]);
assert_eq!(
first_build_args(root).unwrap(),
["-project", "App.xcodeproj", "-scheme", "App", "-configuration", "Staging"]
);
}
#[test]
fn shared_and_autocreated_schemes_of_two_projects_are_both_listed() {
let tmp = tempfile::tempdir().unwrap();
let root = tmp.path();
project_with_scheme(root);
autocreated_project(root, "Tool.xcodeproj", &[("Tool", "tool")]);
let (run, _) = run_and_test_args(root);
assert_eq!(
run,
["-project App.xcodeproj -scheme App -configuration Staging", "-project Tool.xcodeproj -scheme Tool"]
);
// A personal scheme is a scheme file too: Xcode autocreates nothing beside it.
let user = root.join("Tool.xcodeproj/xcuserdata/me.xcuserdatad/xcschemes");
std::fs::create_dir_all(&user).unwrap();
let scheme = std::fs::read_to_string(root.join("App.xcodeproj/xcshareddata/xcschemes/App.xcscheme")).unwrap();
std::fs::write(user.join("Mine.xcscheme"), scheme).unwrap();
let (run, _) = run_and_test_args(root);
assert_eq!(run[1], "-project Tool.xcodeproj -scheme Mine -configuration Staging");
assert_eq!(run.len(), 2);
}
#[test]
fn a_workspace_of_several_projects_builds_their_autocreated_schemes() {
let tmp = tempfile::tempdir().unwrap();
let root = tmp.path();
autocreated_project(root, "App.xcodeproj", &[("App", "application")]);
autocreated_project(root, "Kit.xcodeproj", &[("Kit", "framework")]);
workspace(root, "Suite.xcworkspace", "group:Kit.xcodeproj");
let data = std::fs::read_to_string(root.join("Suite.xcworkspace/contents.xcworkspacedata")).unwrap();
let data = data.replace(
"</Workspace>",
" <FileRef\n location = \"group:App.xcodeproj\">\n </FileRef>\n</Workspace>",
);
std::fs::write(root.join("Suite.xcworkspace/contents.xcworkspacedata"), data).unwrap();
let (run, _) = run_and_test_args(root);
assert_eq!(run, ["-workspace Suite.xcworkspace -scheme App", "-workspace Suite.xcworkspace -scheme Kit"]);
assert_eq!(first_build_args(root).unwrap(), ["-workspace", "Suite.xcworkspace", "-scheme", "App"]);
}
#[test]
fn a_project_without_any_scheme_has_nothing_to_build() {
let tmp = tempfile::tempdir().unwrap();
let root = tmp.path();
// Only a test bundle: nothing to run.
autocreated_project(root, "Empty.xcodeproj", &[("EmptyTests", "bundle.unit-test")]);
assert_eq!(run_and_test_args(root), (vec![], vec![]));
assert_eq!(first_build_args(root), None);
// A project file in another format, or none at all.
for pbxproj in ["", "{\"objects\":{}}", "/* Begin PBXNativeTarget section */\n\t\tname = Half;"] {
std::fs::write(root.join("Empty.xcodeproj/project.pbxproj"), pbxproj).unwrap();
assert_eq!(first_build_args(root), None, "{pbxproj:?}");
}
std::fs::remove_file(root.join("Empty.xcodeproj/project.pbxproj")).unwrap();
assert_eq!(first_build_args(root), None);
}
#[test]
fn a_cocoapods_project_with_autocreated_schemes_builds_the_app_through_its_workspace() {
let tmp = tempfile::tempdir().unwrap();
let root = tmp.path();
autocreated_project(root, "App.xcodeproj", &[("App", "application")]);
// `pod install`'s Pods project shares a scheme per pod, which isn't the app.
let schemes = root.join("Pods/Pods.xcodeproj/xcshareddata/xcschemes");
std::fs::create_dir_all(&schemes).unwrap();
let scheme = std::fs::read_to_string(
Path::new(env!("CARGO_MANIFEST_DIR"))
.join("tests/fixtures/xcode/App.xcodeproj/xcshareddata/xcschemes/App.xcscheme"),
)
.unwrap();
std::fs::write(schemes.join("Alamofire.xcscheme"), scheme).unwrap();
workspace(root, "App.xcworkspace", "group:App.xcodeproj");
std::fs::write(root.join("Podfile"), "").unwrap();
let (run, _) = run_and_test_args(root);
assert_eq!(run, ["-workspace App.xcworkspace -scheme App"]);
assert_eq!(first_build_args(root).unwrap(), ["-workspace", "App.xcworkspace", "-scheme", "App"]);
}
/// The schemes read from the project file are the ones `xcodebuild -list` reports (an app,
/// a framework and an extension; not the unit-test bundle).
#[test]
fn autocreated_schemes_match_xcodebuild_list() {
let fixtures = Path::new(env!("CARGO_MANIFEST_DIR")).join("tests/fixtures/xcode-autocreated");
let names = |project: &str| -> Vec<String> {
crate::xcode::schemes(&fixtures)
.into_iter()
.filter(|s| s.container.ends_with(project))
.map(|s| s.name)
.collect()
};
assert_eq!(names("Auto.xcodeproj"), ["Auto"]);
assert_eq!(names("Multi.xcodeproj"), ["App", "Ext", "Kit"]);
if std::process::Command::new("xcodebuild").arg("-version").output().map_or(true, |o| !o.status.success()) {
eprintln!("skipped the comparison: no xcodebuild");
return;
}
let tmp = tempfile::tempdir().unwrap();
for project in ["Auto.xcodeproj", "Multi.xcodeproj"] {
std::fs::create_dir(tmp.path().join(project)).unwrap();
std::fs::copy(
fixtures.join(project).join("project.pbxproj"),
tmp.path().join(project).join("project.pbxproj"),
)
.unwrap();
let out = std::process::Command::new("xcodebuild")
.args(["-list", "-json", "-project", project])
.current_dir(tmp.path())
.output()
.unwrap();
let out = String::from_utf8_lossy(&out.stdout);
let json: serde_json::Value = serde_json::from_str(&out[out.find('{').unwrap()..]).unwrap();
let listed: Vec<String> = serde_json::from_value(json["project"]["schemes"].clone()).unwrap();
assert_eq!(names(project), listed, "{project}");
}
}
}
+56 -3
Переглянути файл
@@ -1,6 +1,6 @@
//! Xcode schemes read straight from the `.xcscheme` files of the `.xcodeproj` / `.xcworkspace`
//! bundles at a project root. `xcodebuild -list` would also know the schemes Xcode autocreates for
//! projects without any, but it takes a second or two, too slow for detection.
//! bundles at a project root. A project without any (a new or XcodeGen project whose schemes
//! Xcode autocreates) gets one per target, read from its `project.pbxproj`.
//!
//! A scheme's run configuration builds it for the iOS Simulator and launches the app there with
//! `simctl`, for a connected iPhone or iPad and launches it there with `devicectl`, or, for a
@@ -21,7 +21,8 @@ pub struct XcodeScheme {
pub name: String,
/// The `.xcodeproj` or `.xcworkspace` the scheme belongs to.
pub container: PathBuf,
/// False for a scheme only found under `xcuserdata/` (not shared with the team).
/// False for a scheme only found under `xcuserdata/` (not shared with the team), or one Xcode
/// autocreates.
pub shared: bool,
pub launch_configuration: Option<String>,
pub test_configuration: Option<String>,
@@ -116,9 +117,61 @@ fn container_schemes(container: &Path) -> Vec<XcodeScheme> {
}
}
out.sort_by(|a, b| a.name.cmp(&b.name));
if out.is_empty() && container.join("project.pbxproj").is_file() {
out = autocreated_schemes(container);
}
out
}
/// The schemes Xcode autocreates for a project without `.xcscheme` files: one per target other
/// than a test bundle (which the app's scheme tests), named after it, as `xcodebuild -list` names
/// them. Read from `project.pbxproj` rather than asked of `xcodebuild -list`, which resolves the
/// project's Swift packages first: seconds online, and a hang behind an unreachable network.
/// They have no settings of their own: Xcode builds them with its defaults.
fn autocreated_schemes(project: &Path) -> Vec<XcodeScheme> {
let Ok(pbxproj) = fs::read_to_string(project.join("project.pbxproj")) else { return Vec::new() };
target_schemes(&pbxproj)
.into_iter()
.map(|name| XcodeScheme { name, container: project.to_owned(), ..Default::default() })
.collect()
}
/// The names of the non-test targets in a `project.pbxproj` as Xcode, XcodeGen, Tuist and
/// CocoaPods write it: an object per target in the `PBX…Target` sections, one key per line.
/// Sorted, as `xcodebuild -list` sorts schemes.
fn target_schemes(pbxproj: &str) -> Vec<String> {
let unquote = |v: &str| {
let v = v.trim().trim_end_matches(';').trim();
v.strip_prefix('"').and_then(|v| v.strip_suffix('"')).map_or_else(|| v.to_owned(), |v| v.replace("\\\"", "\""))
};
let mut names = Vec::new();
let (mut in_section, mut in_list) = (false, false);
let (mut name, mut is_test) = (None, false);
for line in pbxproj.lines().map(str::trim) {
if let Some(section) = line.strip_prefix("/* Begin ") {
in_section =
["PBXNativeTarget ", "PBXAggregateTarget ", "PBXLegacyTarget "].iter().any(|t| section.starts_with(t));
} else if line.starts_with("/* End ") {
in_section = false;
} else if !in_section {
} else if in_list {
in_list = line != ");";
} else if line.ends_with("= (") {
in_list = true;
} else if line == "};" {
names.extend(name.take().filter(|_| !is_test));
is_test = false;
} else if let Some(value) = line.strip_prefix("name = ") {
name = Some(unquote(value));
} else if let Some(value) = line.strip_prefix("productType = ") {
is_test = [".unit-test", ".ui-testing"].iter().any(|t| unquote(value).ends_with(t));
}
}
names.sort();
names.dedup();
names
}
/// Parses one `.xcscheme` file. `name` and `shared` are left for the caller, which knows the file.
pub fn parse_scheme(xml: &str, container: &Path) -> Option<XcodeScheme> {
let mut scheme = XcodeScheme { container: container.to_owned(), ..Default::default() };
+2 -2
Переглянути файл
@@ -11,10 +11,10 @@ use std::process::{Command, Stdio};
use crate::xcode;
/// The DerivedData directory of the first scheme, using the selected project or workspace.
/// The DerivedData directory of the scheme Run builds first ([`xcode::first_run_params`]), using the selected project or workspace.
/// Used when generating the BSP config so a workspace's package schemes can be skipped.
pub fn first_scheme_build_root(root: &Path, container: &str) -> Option<PathBuf> {
let scheme = xcode::schemes(root).into_iter().next()?.name;
let scheme = xcode::first_run_params(root)?.remove("scheme")?;
let flag = if container.ends_with(".xcworkspace") { "-workspace" } else { "-project" };
let args = [flag, container, "-scheme", &scheme, "-showBuildSettings", "-json"].map(String::from);
let out = xcode::output(root, "xcodebuild", &args, None).ok()?;
+286
Переглянути файл
@@ -0,0 +1,286 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 77;
objects = {
/* Begin PBXBuildFile section */
384B5FA28753B132EBEEBCD6 /* Greeter.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC44269867C5C45C5491CF50 /* Greeter.swift */; };
647F47E88A66A90C34DC8DED /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75C459DF3E618CFB0F09BB1E /* App.swift */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
2FE224D8D661805C0968071B /* Auto.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = Auto.app; sourceTree = BUILT_PRODUCTS_DIR; };
75C459DF3E618CFB0F09BB1E /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = "<group>"; };
CC44269867C5C45C5491CF50 /* Greeter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Greeter.swift; sourceTree = "<group>"; };
E0755E5667C816D72563B24F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXGroup section */
693DD94D5C2F9244BD931C1F /* Products */ = {
isa = PBXGroup;
children = (
2FE224D8D661805C0968071B /* Auto.app */,
);
name = Products;
sourceTree = "<group>";
};
B74FE6ABB7378A2B355F3FAA /* Sources */ = {
isa = PBXGroup;
children = (
75C459DF3E618CFB0F09BB1E /* App.swift */,
CC44269867C5C45C5491CF50 /* Greeter.swift */,
E0755E5667C816D72563B24F /* Info.plist */,
);
path = Sources;
sourceTree = "<group>";
};
D2D77C31E4B04C41D4269B0B = {
isa = PBXGroup;
children = (
B74FE6ABB7378A2B355F3FAA /* Sources */,
693DD94D5C2F9244BD931C1F /* Products */,
);
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
3F2247986C90816DA548463B /* Auto */ = {
isa = PBXNativeTarget;
buildConfigurationList = 15EA619EC5DD2257D2EB9680 /* Build configuration list for PBXNativeTarget "Auto" */;
buildPhases = (
9792A1976D2AB4091ABF67B6 /* Sources */,
);
buildRules = (
);
dependencies = (
);
name = Auto;
packageProductDependencies = (
);
productName = Auto;
productReference = 2FE224D8D661805C0968071B /* Auto.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
F3479A8FE19706B8AFBF7D3E /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 1430;
TargetAttributes = {
};
};
buildConfigurationList = B6524F458F7CA7A6F57D72DD /* Build configuration list for PBXProject "Auto" */;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
Base,
en,
);
mainGroup = D2D77C31E4B04C41D4269B0B;
minimizedProjectReferenceProxies = 1;
preferredProjectObjectVersion = 77;
productRefGroup = 693DD94D5C2F9244BD931C1F /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
3F2247986C90816DA548463B /* Auto */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
9792A1976D2AB4091ABF67B6 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
647F47E88A66A90C34DC8DED /* App.swift in Sources */,
384B5FA28753B132EBEEBCD6 /* Greeter.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
6FC26C5AC7C1A96E9A384AF7 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
INFOPLIST_FILE = Sources/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.Auto;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
9CC761EF5592844589249873 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.0;
};
name = Release;
};
A37F5E2407D144240FC5B187 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"DEBUG=1",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
E3547225B16B1BCFA85BC8F5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
INFOPLIST_FILE = Sources/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.Auto;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
15EA619EC5DD2257D2EB9680 /* Build configuration list for PBXNativeTarget "Auto" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E3547225B16B1BCFA85BC8F5 /* Debug */,
6FC26C5AC7C1A96E9A384AF7 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
B6524F458F7CA7A6F57D72DD /* Build configuration list for PBXProject "Auto" */ = {
isa = XCConfigurationList;
buildConfigurations = (
A37F5E2407D144240FC5B187 /* Debug */,
9CC761EF5592844589249873 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
/* End XCConfigurationList section */
};
rootObject = F3479A8FE19706B8AFBF7D3E /* Project object */;
}
+625
Переглянути файл
@@ -0,0 +1,625 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 77;
objects = {
/* Begin PBXBuildFile section */
01F0C4B6DA78E507DA15B4A9 /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = D895E0B5A77820B6F45B144E /* App.swift */; };
3EB07ED01ED6842F48F8556A /* Kit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2506B5F8E51EA15DD2B4A48 /* Kit.framework */; };
4C571845C51F8FFB214458E6 /* Ext.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 0C406237423E9AC0D6467476 /* Ext.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
8E454A2A7167A1E20D4EFC15 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A338372DBB92DDDDBE625C1 /* Tests.swift */; };
A61C69246D7FCE931E8A6000 /* Kit.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1926C2D72AAC50810DF803A /* Kit.swift */; };
BEB591EC17309E6564781476 /* Kit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D2506B5F8E51EA15DD2B4A48 /* Kit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
E4AFF7ADD71707E543A13E95 /* Main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F4B48659FF58127FA9F7741 /* Main.swift */; };
FE188280BC6971FAD022DA96 /* Ext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DDC9723D652D011D9E6E4FE /* Ext.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
1E62CE1DDFB4BFBB89803F72 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 5AE8ECF6BAAEC57719D171D0 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 2B6B9EE949F187B05D552654;
remoteInfo = Kit;
};
CC68A58141F8C2609EBF0BEC /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 5AE8ECF6BAAEC57719D171D0 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 0CEF58433B6D91E534A1E45B;
remoteInfo = App;
};
FC439567C770A5C9DE888E65 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 5AE8ECF6BAAEC57719D171D0 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 57FCB3CF7C31BCAB8D8417E0;
remoteInfo = Ext;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
2A06FB88CB9B70C9C8CB1D98 /* Embed Foundation Extensions */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 13;
files = (
4C571845C51F8FFB214458E6 /* Ext.appex in Embed Foundation Extensions */,
);
name = "Embed Foundation Extensions";
runOnlyForDeploymentPostprocessing = 0;
};
7A68086E6AEA1E2357071B06 /* Embed Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
BEB591EC17309E6564781476 /* Kit.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
0A338372DBB92DDDDBE625C1 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
0C406237423E9AC0D6467476 /* Ext.appex */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "wrapper.app-extension"; path = Ext.appex; sourceTree = BUILT_PRODUCTS_DIR; };
2DDC9723D652D011D9E6E4FE /* Ext.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Ext.swift; sourceTree = "<group>"; };
4F4B48659FF58127FA9F7741 /* Main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Main.swift; sourceTree = "<group>"; };
6F50648EE498ED178EFCA722 /* AppTests.xctest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.cfbundle; path = AppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
76816AEE4776CCE0B27BA486 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
809F2E055E34CAFF3082E7A4 /* App.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; };
B7D45F67695C5C3F40C34DDE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
D1926C2D72AAC50810DF803A /* Kit.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Kit.swift; sourceTree = "<group>"; };
D2506B5F8E51EA15DD2B4A48 /* Kit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Kit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D895E0B5A77820B6F45B144E /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
76AA1BF3E47B2C238011EDFA /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
3EB07ED01ED6842F48F8556A /* Kit.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
091D0B40AD1E049CBC856B25 /* Kit */ = {
isa = PBXGroup;
children = (
D1926C2D72AAC50810DF803A /* Kit.swift */,
);
path = Kit;
sourceTree = "<group>";
};
56102C081EE8074FFA664AD4 /* Tests */ = {
isa = PBXGroup;
children = (
0A338372DBB92DDDDBE625C1 /* Tests.swift */,
);
path = Tests;
sourceTree = "<group>";
};
68B2F2A68BAD537811D393B3 /* Products */ = {
isa = PBXGroup;
children = (
809F2E055E34CAFF3082E7A4 /* App.app */,
6F50648EE498ED178EFCA722 /* AppTests.xctest */,
0C406237423E9AC0D6467476 /* Ext.appex */,
D2506B5F8E51EA15DD2B4A48 /* Kit.framework */,
);
name = Products;
sourceTree = "<group>";
};
6A2540A2D319EA2ED2A5FD00 /* Ext */ = {
isa = PBXGroup;
children = (
2DDC9723D652D011D9E6E4FE /* Ext.swift */,
B7D45F67695C5C3F40C34DDE /* Info.plist */,
);
path = Ext;
sourceTree = "<group>";
};
BACEF41F7F724C14158CEE4D /* App */ = {
isa = PBXGroup;
children = (
D895E0B5A77820B6F45B144E /* App.swift */,
76816AEE4776CCE0B27BA486 /* Info.plist */,
4F4B48659FF58127FA9F7741 /* Main.swift */,
);
path = App;
sourceTree = "<group>";
};
C381BC908A7A1355896092C9 = {
isa = PBXGroup;
children = (
BACEF41F7F724C14158CEE4D /* App */,
6A2540A2D319EA2ED2A5FD00 /* Ext */,
091D0B40AD1E049CBC856B25 /* Kit */,
56102C081EE8074FFA664AD4 /* Tests */,
68B2F2A68BAD537811D393B3 /* Products */,
);
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
0CEF58433B6D91E534A1E45B /* App */ = {
isa = PBXNativeTarget;
buildConfigurationList = 34EB93F31966BD0673123588 /* Build configuration list for PBXNativeTarget "App" */;
buildPhases = (
E8938203660F34C5DA262D7E /* Sources */,
76AA1BF3E47B2C238011EDFA /* Frameworks */,
2A06FB88CB9B70C9C8CB1D98 /* Embed Foundation Extensions */,
7A68086E6AEA1E2357071B06 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
A1B8A37B23C26325E3860ACD /* PBXTargetDependency */,
BCAC3BFB8382188C7F6CF57B /* PBXTargetDependency */,
);
name = App;
packageProductDependencies = (
);
productName = App;
productReference = 809F2E055E34CAFF3082E7A4 /* App.app */;
productType = "com.apple.product-type.application";
};
2B6B9EE949F187B05D552654 /* Kit */ = {
isa = PBXNativeTarget;
buildConfigurationList = 29B8324A33452B8A75BF7139 /* Build configuration list for PBXNativeTarget "Kit" */;
buildPhases = (
A5586AB588AA1BD11FE9038E /* Sources */,
);
buildRules = (
);
dependencies = (
);
name = Kit;
packageProductDependencies = (
);
productName = Kit;
productReference = D2506B5F8E51EA15DD2B4A48 /* Kit.framework */;
productType = "com.apple.product-type.framework";
};
57FCB3CF7C31BCAB8D8417E0 /* Ext */ = {
isa = PBXNativeTarget;
buildConfigurationList = A2AD1DD8E44C12678421F129 /* Build configuration list for PBXNativeTarget "Ext" */;
buildPhases = (
AF3E6AF62040FC44C4F04675 /* Sources */,
);
buildRules = (
);
dependencies = (
);
name = Ext;
packageProductDependencies = (
);
productName = Ext;
productReference = 0C406237423E9AC0D6467476 /* Ext.appex */;
productType = "com.apple.product-type.app-extension";
};
C4BE2C5978D74B3C9792C221 /* AppTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4F9D318721342752A301C468 /* Build configuration list for PBXNativeTarget "AppTests" */;
buildPhases = (
A20FB061CD9AB69829D36045 /* Sources */,
);
buildRules = (
);
dependencies = (
D2765FCB325DFD9369EE920C /* PBXTargetDependency */,
);
name = AppTests;
packageProductDependencies = (
);
productName = AppTests;
productReference = 6F50648EE498ED178EFCA722 /* AppTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
5AE8ECF6BAAEC57719D171D0 /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastUpgradeCheck = 1430;
TargetAttributes = {
};
};
buildConfigurationList = 7F37E1687B10793FC4244584 /* Build configuration list for PBXProject "Multi" */;
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
Base,
en,
);
mainGroup = C381BC908A7A1355896092C9;
minimizedProjectReferenceProxies = 1;
preferredProjectObjectVersion = 77;
productRefGroup = 68B2F2A68BAD537811D393B3 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
0CEF58433B6D91E534A1E45B /* App */,
2B6B9EE949F187B05D552654 /* Kit */,
57FCB3CF7C31BCAB8D8417E0 /* Ext */,
C4BE2C5978D74B3C9792C221 /* AppTests */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
A20FB061CD9AB69829D36045 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8E454A2A7167A1E20D4EFC15 /* Tests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
A5586AB588AA1BD11FE9038E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A61C69246D7FCE931E8A6000 /* Kit.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
AF3E6AF62040FC44C4F04675 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
FE188280BC6971FAD022DA96 /* Ext.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E8938203660F34C5DA262D7E /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
01F0C4B6DA78E507DA15B4A9 /* App.swift in Sources */,
E4AFF7ADD71707E543A13E95 /* Main.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
A1B8A37B23C26325E3860ACD /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 2B6B9EE949F187B05D552654 /* Kit */;
targetProxy = 1E62CE1DDFB4BFBB89803F72 /* PBXContainerItemProxy */;
};
BCAC3BFB8382188C7F6CF57B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 57FCB3CF7C31BCAB8D8417E0 /* Ext */;
targetProxy = FC439567C770A5C9DE888E65 /* PBXContainerItemProxy */;
};
D2765FCB325DFD9369EE920C /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 0CEF58433B6D91E534A1E45B /* App */;
targetProxy = CC68A58141F8C2609EBF0BEC /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
10CA6255F1320A2A94EA7812 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.Kit;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
};
18F730DC84994EBBF80860F5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = Ext/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.Ext;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
51EC97C58C06E44DE72A0294 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = Ext/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.Ext;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
69C992A89706A7622238FDDE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"DEBUG=1",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
};
name = Debug;
};
6B8F494D9E1B295490A28986 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.AppTests;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/App.app/App";
};
name = Debug;
};
82913D74227412CE0F1C8EC3 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "";
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.Kit;
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
};
8D13EFA8542E17DF560F228C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
INFOPLIST_FILE = App/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.App;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
9603814DBBBFD56E1832D7EE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.0;
};
name = Release;
};
A25C7ED9F3FBF17BD83B3F70 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
INFOPLIST_FILE = App/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.App;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
F2A00DCAC4B4D6392C867667 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.example.AppTests;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/App.app/App";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
29B8324A33452B8A75BF7139 /* Build configuration list for PBXNativeTarget "Kit" */ = {
isa = XCConfigurationList;
buildConfigurations = (
10CA6255F1320A2A94EA7812 /* Debug */,
82913D74227412CE0F1C8EC3 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
34EB93F31966BD0673123588 /* Build configuration list for PBXNativeTarget "App" */ = {
isa = XCConfigurationList;
buildConfigurations = (
8D13EFA8542E17DF560F228C /* Debug */,
A25C7ED9F3FBF17BD83B3F70 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
4F9D318721342752A301C468 /* Build configuration list for PBXNativeTarget "AppTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
6B8F494D9E1B295490A28986 /* Debug */,
F2A00DCAC4B4D6392C867667 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
7F37E1687B10793FC4244584 /* Build configuration list for PBXProject "Multi" */ = {
isa = XCConfigurationList;
buildConfigurations = (
69C992A89706A7622238FDDE /* Debug */,
9603814DBBBFD56E1832D7EE /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
A2AD1DD8E44C12678421F129 /* Build configuration list for PBXNativeTarget "Ext" */ = {
isa = XCConfigurationList;
buildConfigurations = (
51EC97C58C06E44DE72A0294 /* Debug */,
18F730DC84994EBBF80860F5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Debug;
};
/* End XCConfigurationList section */
};
rootObject = 5AE8ECF6BAAEC57719D171D0 /* Project object */;
}