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

Function xcodeCacheIdentity

scripts/experimental/swiftui-preview.mjs:667–677  ·  view source on GitHub ↗
(args, derivedDataPath)

Source from the content-addressed store, hash-verified

665}
666
667function xcodeCacheIdentity(args, derivedDataPath) {
668 return {
669 configuration: String(args.configuration ?? "Debug"),
670 derivedDataPath,
671 destination: String(args.destination ?? "generic/platform=iOS Simulator"),
672 project: args.project ? path.resolve(String(args.project)) : "",
673 scheme: String(args.scheme),
674 target: String(args.target ?? ""),
675 workspace: args.workspace ? path.resolve(String(args.workspace)) : "",
676 };
677}
678
679function readCachedXcodeContext(context, identity) {
680 const cachePath = xcodeContextCachePath(context);

Callers 1

resolveXcodeContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected