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

Function appContainerPath

scripts/experimental/swiftui-preview.mjs:595–607  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

593}
594
595function appContainerPath(context) {
596 if (context.containerPath) {
597 return context.containerPath;
598 }
599 context.containerPath = runText("xcrun", [
600 "simctl",
601 "get_app_container",
602 context.udid,
603 context.bundleId,
604 "data",
605 ]).trim();
606 return context.containerPath;
607}
608
609function resolveXcodeContext(args, context) {
610 if (!args.workspace && !args.project && !args.scheme) {

Callers 2

reloadPreviewFunction · 0.85
sendTcpReloadPathFunction · 0.85

Calls 1

runTextFunction · 0.70

Tested by

no test coverage detected