MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / xcodeObjectFiles

Function xcodeObjectFiles

scripts/experimental/swiftui-preview.mjs:867–882  ·  view source on GitHub ↗
(xcode, editedSourceFile)

Source from the content-addressed store, hash-verified

865}
866
867function xcodeObjectFiles(xcode, editedSourceFile) {
868 if (!xcode) {
869 return [];
870 }
871 if (xcode.debugDylibPath) {
872 return [xcode.debugDylibPath];
873 }
874 const editedBaseName = path.basename(
875 editedSourceFile,
876 path.extname(editedSourceFile),
877 );
878 return xcode.objectFiles.filter((file) => {
879 const name = path.basename(file, ".o");
880 return name !== editedBaseName && !name.startsWith(`${editedBaseName}.`);
881 });
882}
883
884function collectXcodeObjectFiles(settings, arch) {
885 const roots = [

Callers 2

monolithicCompileArgsFunction · 0.85
splitWrapperCompileArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected