peachsim 0.1.2189 → 0.1.2191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/commands/daemon.ts +13 -1
- package/cli/commands/package.ts +1 -1
- package/cli/commands/setup.ts +4 -2
- package/cli/commands/shell-url.ts +1 -1
- package/cli/main.ts +2 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +85 -135
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +59 -131
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +85 -135
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +7 -5
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +7 -2
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +7 -5
- package/dist-lib/native-app-identity-project.cjs +6 -4
- package/dist-lib/native-app-identity-project.mjs +6 -4
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +105 -139
- package/dist-lib/swift-compile.cjs +14 -117
- package/dist-lib/swift-compile.mjs +14 -117
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +57 -129
- package/dist-lib/vite.cjs +4 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/computed-padding.d.ts +40 -0
- package/dist-types/packages/peach-engine/src/engine/layout-engine.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +60 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/settings/device-spec-bus.d.ts +10 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindSession.h +2 -12
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +12 -0
- package/src/kotlin-host.ts +6 -1
- package/src/podspec-sources.ts +21 -2
- package/src/swift-compile.ts +21 -114
- package/src/swift-host.ts +12 -8
- package/src/swift-interface-bodies.ts +7 -1
- package/src/swift-objc-standin.ts +46 -8
- package/src/swift-packages.ts +1 -0
- package/src/xcode-project.ts +6 -4
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2191 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "86f79e98323ec065e0e5195324c75ca608f490efbd95dcc25c53d5aa0b9aecc9", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -11218,11 +11218,17 @@ var init_registry = __esm({
|
|
|
11218
11218
|
stubType: "native",
|
|
11219
11219
|
versions: [
|
|
11220
11220
|
{
|
|
11221
|
-
range: ">=8.0.0",
|
|
11221
|
+
range: ">=8.0.0 <10.10.0",
|
|
11222
11222
|
coverage: 0.6,
|
|
11223
11223
|
note: "telemetry calls may remain unavailable by scoring policy, but the reference iOS simulator presents the messenger and help-center UI that Peach omits",
|
|
11224
11224
|
working: "full upstream JS surface (Intercom object + correct enums + IntercomEvents); initialize, login/logout/updateUser/setUserHash/setUserJwt, logEvent, present* (accepted), help-center collection/article/search (empty), getUnreadConversationCount (0), visibility/padding/theme/loglevel setters, push token, event-listener wiring",
|
|
11225
11225
|
missing: "no chat UI presentation, no help center fetches return real data, no push token delivery to Intercom servers"
|
|
11226
|
+
},
|
|
11227
|
+
{
|
|
11228
|
+
range: ">=10.10.0",
|
|
11229
|
+
coverage: 0,
|
|
11230
|
+
note: "unsupported: the original native package requires the Intercom vendor framework; no native behavior is qualified for this version",
|
|
11231
|
+
missing: "Intercom vendor framework and original-package runtime conformance"
|
|
11226
11232
|
}
|
|
11227
11233
|
]
|
|
11228
11234
|
},
|
|
@@ -14636,10 +14642,16 @@ var init_registry = __esm({
|
|
|
14636
14642
|
stubType: "native",
|
|
14637
14643
|
versions: [
|
|
14638
14644
|
{
|
|
14639
|
-
range: ">=0.6.0",
|
|
14645
|
+
range: ">=0.6.0 <0.19.0",
|
|
14640
14646
|
coverage: 0.75,
|
|
14641
14647
|
note: "load-safe passthrough \u2014 NavigationView/NavigationProvider pass children; useNavigation=null",
|
|
14642
14648
|
missing: "no Google Maps Navigation SDK on web"
|
|
14649
|
+
},
|
|
14650
|
+
{
|
|
14651
|
+
range: ">=0.19.0",
|
|
14652
|
+
coverage: 0,
|
|
14653
|
+
note: "unsupported: the original native package requires GoogleNavigation/GoogleNavigation.h; no native behavior is qualified for this version",
|
|
14654
|
+
missing: "Google Navigation vendor SDK and original-package runtime conformance"
|
|
14643
14655
|
}
|
|
14644
14656
|
]
|
|
14645
14657
|
},
|
|
@@ -43093,7 +43105,7 @@ function swiftInterfaceWithoutBodies(text6, keepDefaults = false) {
|
|
|
43093
43105
|
continue;
|
|
43094
43106
|
}
|
|
43095
43107
|
const char = text6[i];
|
|
43096
|
-
if (char === "=" && parens > 0 && text6[i - 1] === " " && text6[i + 1] === " ") {
|
|
43108
|
+
if (!keepDefaults && char === "=" && parens > 0 && text6[i - 1] === " " && text6[i + 1] === " ") {
|
|
43097
43109
|
out = out.trimEnd();
|
|
43098
43110
|
i = skipExpression(text6, i + 1);
|
|
43099
43111
|
continue;
|
|
@@ -45230,10 +45242,11 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
45230
45242
|
"-module-cache-path",
|
|
45231
45243
|
moduleCache,
|
|
45232
45244
|
"-minimum-access-level",
|
|
45233
|
-
// symbol graphs hide public underscored names at the public threshold
|
|
45234
|
-
//
|
|
45235
|
-
//
|
|
45236
|
-
|
|
45245
|
+
// symbol graphs hide public underscored names at the public threshold,
|
|
45246
|
+
// including a function with an underscored parameter. clang headers
|
|
45247
|
+
// remain the declaration boundary, and a swift overlay names its
|
|
45248
|
+
// underscored and spi declarations.
|
|
45249
|
+
"internal",
|
|
45237
45250
|
...surface.interface ? ["-include-spi-symbols"] : [],
|
|
45238
45251
|
"-skip-synthesized-members",
|
|
45239
45252
|
"-omit-extension-block-symbols",
|
|
@@ -45332,6 +45345,13 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
45332
45345
|
writeHeaders();
|
|
45333
45346
|
}
|
|
45334
45347
|
const ownHeaders = new Set(headerFiles(headersDir).map((name3) => import_node_path33.default.basename(name3)));
|
|
45348
|
+
const functionPointers = new Set(
|
|
45349
|
+
[...originals.values()].flatMap(
|
|
45350
|
+
(text6) => [...text6.matchAll(/\btypedef\b[^;{}]*?\(\s*\*\s*(\w+)\s*\)\s*\(/g)].map(
|
|
45351
|
+
(match) => match[1]
|
|
45352
|
+
)
|
|
45353
|
+
)
|
|
45354
|
+
);
|
|
45335
45355
|
const graphs = import_node_fs36.default.readdirSync(out).filter((name3) => name3.endsWith(".symbols.json")).sort().map((name3) => {
|
|
45336
45356
|
const graph = JSON.parse(import_node_fs36.default.readFileSync(import_node_path33.default.join(out, name3), "utf8"));
|
|
45337
45357
|
return {
|
|
@@ -45339,6 +45359,22 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
45339
45359
|
symbols: graph.symbols.filter((symbol2) => {
|
|
45340
45360
|
const header = /^c:([^@]+\.h)@/.exec(symbol2.identifier.precise)?.[1];
|
|
45341
45361
|
return !header || ownHeaders.has(header);
|
|
45362
|
+
}).map((symbol2) => {
|
|
45363
|
+
if (symbol2.kind.identifier !== "swift.typealias" || !symbol2.identifier.precise.startsWith("c:") || !functionPointers.has(symbol2.pathComponents.at(-1) ?? ""))
|
|
45364
|
+
return symbol2;
|
|
45365
|
+
const fragments = symbol2.declarationFragments ?? [];
|
|
45366
|
+
const equals = fragments.findIndex(
|
|
45367
|
+
(fragment) => fragment.spelling.includes("=")
|
|
45368
|
+
);
|
|
45369
|
+
const arrow = fragments.findLastIndex(
|
|
45370
|
+
(fragment) => fragment.spelling.includes("->")
|
|
45371
|
+
);
|
|
45372
|
+
return {
|
|
45373
|
+
...symbol2,
|
|
45374
|
+
declarationFragments: fragments.map(
|
|
45375
|
+
(fragment, index) => index > equals && index < arrow && fragment.kind === "typeIdentifier" && functionPointers.has(fragment.spelling) ? { ...fragment, spelling: `@escaping ${fragment.spelling}` } : fragment
|
|
45376
|
+
)
|
|
45377
|
+
};
|
|
45342
45378
|
})
|
|
45343
45379
|
};
|
|
45344
45380
|
});
|
|
@@ -54700,6 +54736,9 @@ function emitSwiftPackageManifest(args) {
|
|
|
54700
54736
|
' publicHeadersPath: "include",'
|
|
54701
54737
|
] : native?.flags ? [` sources: ${JSON.stringify(native.sources)},`] : target.sources !== void 0 ? [` sources: ${JSON.stringify(target.sources)},`] : [],
|
|
54702
54738
|
...!native?.clang && target.publicHeadersPath !== void 0 ? [` publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)},`] : [],
|
|
54739
|
+
// swiftpm appends the root package's name after a target's own flags
|
|
54740
|
+
// unless the target opts out of package access
|
|
54741
|
+
...!clang && target.swiftFlags?.includes("-package-name") ? [" packageAccess: false,"] : [],
|
|
54703
54742
|
// the native backend supplies dependency module maps without their
|
|
54704
54743
|
// compiled modules. textual c++ includes keep those dependencies usable.
|
|
54705
54744
|
` ${clang ? nativeSettings : swiftSettings}${link}`,
|
|
@@ -55662,7 +55701,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
55662
55701
|
for (const file of Object.keys(input.files)) {
|
|
55663
55702
|
if (!file.endsWith(".swift")) continue;
|
|
55664
55703
|
const target = bySourcePath.find(
|
|
55665
|
-
(candidate) => candidate.path === "." || file.startsWith(`${candidate.path}/`)
|
|
55704
|
+
(candidate) => (candidate.path === "." || file.startsWith(`${candidate.path}/`)) && (candidate.sources === void 0 || candidate.sources.some((source) => {
|
|
55705
|
+
const selected = import_node_path51.default.posix.join(candidate.path, source);
|
|
55706
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
55707
|
+
}))
|
|
55666
55708
|
);
|
|
55667
55709
|
const excluded = target?.exclude?.some(
|
|
55668
55710
|
(name3) => file === import_node_path51.default.posix.join(target.path, name3)
|
|
@@ -55715,7 +55757,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
55715
55757
|
const targetEntries = (target) => {
|
|
55716
55758
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
55717
55759
|
return Object.entries(input.files).filter(
|
|
55718
|
-
([file]) => file.startsWith(prefix) && !target.
|
|
55760
|
+
([file]) => file.startsWith(prefix) && (target.sources === void 0 || !(file.endsWith(".swift") || isSwiftNativeTranslationUnit(file)) || target.sources.some((source) => {
|
|
55761
|
+
const selected = import_node_path51.default.posix.join(prefix, source);
|
|
55762
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
55763
|
+
})) && !target.exclude?.some(
|
|
55719
55764
|
(excluded) => file === `${prefix}${excluded}` || file.startsWith(`${prefix}${excluded}/`)
|
|
55720
55765
|
) && !targets.some(
|
|
55721
55766
|
(candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) && file.startsWith(`${candidate.path}/`)
|
|
@@ -55870,8 +55915,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
55870
55915
|
)) {
|
|
55871
55916
|
const include2 = match[1];
|
|
55872
55917
|
const producer = /(?:^|\/)([^/]+)-Swift\.h$/.exec(include2)?.[1];
|
|
55873
|
-
if (producer &&
|
|
55874
|
-
producers2.add(producer);
|
|
55918
|
+
if (producer && swiftTargets.has(producer)) producers2.add(producer);
|
|
55875
55919
|
const local = [
|
|
55876
55920
|
import_node_path51.default.posix.join(import_node_path51.default.posix.dirname(file), include2),
|
|
55877
55921
|
`${includes}${include2}`,
|
|
@@ -58235,7 +58279,7 @@ var init_swift_compile = __esm({
|
|
|
58235
58279
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
58236
58280
|
MULTI_MANIFEST_VERSION = 68;
|
|
58237
58281
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
58238
|
-
compilerSourceDigest = true ? "
|
|
58282
|
+
compilerSourceDigest = true ? "9d8d3ae2b2d5324ea93c50de702176f964cf229949899cccbeb49f982845e24b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
58239
58283
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
58240
58284
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
58241
58285
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -58398,117 +58442,6 @@ var init_swift_compile = __esm({
|
|
|
58398
58442
|
"NSFileErrorMinimum",
|
|
58399
58443
|
"NSFormattingErrorMaximum",
|
|
58400
58444
|
"NSFormattingErrorMinimum",
|
|
58401
|
-
"NSFoundationVersionNumber",
|
|
58402
|
-
"NSFoundationVersionNumber10_0",
|
|
58403
|
-
"NSFoundationVersionNumber10_1",
|
|
58404
|
-
"NSFoundationVersionNumber10_10",
|
|
58405
|
-
"NSFoundationVersionNumber10_10_1",
|
|
58406
|
-
"NSFoundationVersionNumber10_10_2",
|
|
58407
|
-
"NSFoundationVersionNumber10_10_3",
|
|
58408
|
-
"NSFoundationVersionNumber10_10_4",
|
|
58409
|
-
"NSFoundationVersionNumber10_10_5",
|
|
58410
|
-
"NSFoundationVersionNumber10_10_Max",
|
|
58411
|
-
"NSFoundationVersionNumber10_11",
|
|
58412
|
-
"NSFoundationVersionNumber10_11_1",
|
|
58413
|
-
"NSFoundationVersionNumber10_11_2",
|
|
58414
|
-
"NSFoundationVersionNumber10_11_3",
|
|
58415
|
-
"NSFoundationVersionNumber10_11_4",
|
|
58416
|
-
"NSFoundationVersionNumber10_11_Max",
|
|
58417
|
-
"NSFoundationVersionNumber10_1_1",
|
|
58418
|
-
"NSFoundationVersionNumber10_1_2",
|
|
58419
|
-
"NSFoundationVersionNumber10_1_3",
|
|
58420
|
-
"NSFoundationVersionNumber10_1_4",
|
|
58421
|
-
"NSFoundationVersionNumber10_2",
|
|
58422
|
-
"NSFoundationVersionNumber10_2_1",
|
|
58423
|
-
"NSFoundationVersionNumber10_2_2",
|
|
58424
|
-
"NSFoundationVersionNumber10_2_3",
|
|
58425
|
-
"NSFoundationVersionNumber10_2_4",
|
|
58426
|
-
"NSFoundationVersionNumber10_2_5",
|
|
58427
|
-
"NSFoundationVersionNumber10_2_6",
|
|
58428
|
-
"NSFoundationVersionNumber10_2_7",
|
|
58429
|
-
"NSFoundationVersionNumber10_2_8",
|
|
58430
|
-
"NSFoundationVersionNumber10_3",
|
|
58431
|
-
"NSFoundationVersionNumber10_3_1",
|
|
58432
|
-
"NSFoundationVersionNumber10_3_2",
|
|
58433
|
-
"NSFoundationVersionNumber10_3_3",
|
|
58434
|
-
"NSFoundationVersionNumber10_3_4",
|
|
58435
|
-
"NSFoundationVersionNumber10_3_5",
|
|
58436
|
-
"NSFoundationVersionNumber10_3_6",
|
|
58437
|
-
"NSFoundationVersionNumber10_3_7",
|
|
58438
|
-
"NSFoundationVersionNumber10_3_8",
|
|
58439
|
-
"NSFoundationVersionNumber10_3_9",
|
|
58440
|
-
"NSFoundationVersionNumber10_4",
|
|
58441
|
-
"NSFoundationVersionNumber10_4_1",
|
|
58442
|
-
"NSFoundationVersionNumber10_4_10",
|
|
58443
|
-
"NSFoundationVersionNumber10_4_11",
|
|
58444
|
-
"NSFoundationVersionNumber10_4_2",
|
|
58445
|
-
"NSFoundationVersionNumber10_4_3",
|
|
58446
|
-
"NSFoundationVersionNumber10_4_4_Intel",
|
|
58447
|
-
"NSFoundationVersionNumber10_4_4_PowerPC",
|
|
58448
|
-
"NSFoundationVersionNumber10_4_5",
|
|
58449
|
-
"NSFoundationVersionNumber10_4_6",
|
|
58450
|
-
"NSFoundationVersionNumber10_4_7",
|
|
58451
|
-
"NSFoundationVersionNumber10_4_8",
|
|
58452
|
-
"NSFoundationVersionNumber10_4_9",
|
|
58453
|
-
"NSFoundationVersionNumber10_5",
|
|
58454
|
-
"NSFoundationVersionNumber10_5_1",
|
|
58455
|
-
"NSFoundationVersionNumber10_5_2",
|
|
58456
|
-
"NSFoundationVersionNumber10_5_3",
|
|
58457
|
-
"NSFoundationVersionNumber10_5_4",
|
|
58458
|
-
"NSFoundationVersionNumber10_5_5",
|
|
58459
|
-
"NSFoundationVersionNumber10_5_6",
|
|
58460
|
-
"NSFoundationVersionNumber10_5_7",
|
|
58461
|
-
"NSFoundationVersionNumber10_5_8",
|
|
58462
|
-
"NSFoundationVersionNumber10_6",
|
|
58463
|
-
"NSFoundationVersionNumber10_6_1",
|
|
58464
|
-
"NSFoundationVersionNumber10_6_2",
|
|
58465
|
-
"NSFoundationVersionNumber10_6_3",
|
|
58466
|
-
"NSFoundationVersionNumber10_6_4",
|
|
58467
|
-
"NSFoundationVersionNumber10_6_5",
|
|
58468
|
-
"NSFoundationVersionNumber10_6_6",
|
|
58469
|
-
"NSFoundationVersionNumber10_6_7",
|
|
58470
|
-
"NSFoundationVersionNumber10_6_8",
|
|
58471
|
-
"NSFoundationVersionNumber10_7",
|
|
58472
|
-
"NSFoundationVersionNumber10_7_1",
|
|
58473
|
-
"NSFoundationVersionNumber10_7_2",
|
|
58474
|
-
"NSFoundationVersionNumber10_7_3",
|
|
58475
|
-
"NSFoundationVersionNumber10_7_4",
|
|
58476
|
-
"NSFoundationVersionNumber10_8",
|
|
58477
|
-
"NSFoundationVersionNumber10_8_1",
|
|
58478
|
-
"NSFoundationVersionNumber10_8_2",
|
|
58479
|
-
"NSFoundationVersionNumber10_8_3",
|
|
58480
|
-
"NSFoundationVersionNumber10_8_4",
|
|
58481
|
-
"NSFoundationVersionNumber10_9",
|
|
58482
|
-
"NSFoundationVersionNumber10_9_1",
|
|
58483
|
-
"NSFoundationVersionNumber10_9_2",
|
|
58484
|
-
"NSFoundationVersionNumber_iOS_4_0",
|
|
58485
|
-
"NSFoundationVersionNumber_iOS_4_1",
|
|
58486
|
-
"NSFoundationVersionNumber_iOS_4_2",
|
|
58487
|
-
"NSFoundationVersionNumber_iOS_4_3",
|
|
58488
|
-
"NSFoundationVersionNumber_iOS_5_0",
|
|
58489
|
-
"NSFoundationVersionNumber_iOS_5_1",
|
|
58490
|
-
"NSFoundationVersionNumber_iOS_6_0",
|
|
58491
|
-
"NSFoundationVersionNumber_iOS_6_1",
|
|
58492
|
-
"NSFoundationVersionNumber_iOS_7_0",
|
|
58493
|
-
"NSFoundationVersionNumber_iOS_7_1",
|
|
58494
|
-
"NSFoundationVersionNumber_iOS_8_0",
|
|
58495
|
-
"NSFoundationVersionNumber_iOS_8_1",
|
|
58496
|
-
"NSFoundationVersionNumber_iOS_8_2",
|
|
58497
|
-
"NSFoundationVersionNumber_iOS_8_3",
|
|
58498
|
-
"NSFoundationVersionNumber_iOS_8_4",
|
|
58499
|
-
"NSFoundationVersionNumber_iOS_8_x_Max",
|
|
58500
|
-
"NSFoundationVersionNumber_iOS_9_0",
|
|
58501
|
-
"NSFoundationVersionNumber_iOS_9_1",
|
|
58502
|
-
"NSFoundationVersionNumber_iOS_9_2",
|
|
58503
|
-
"NSFoundationVersionNumber_iOS_9_3",
|
|
58504
|
-
"NSFoundationVersionNumber_iOS_9_4",
|
|
58505
|
-
"NSFoundationVersionNumber_iOS_9_x_Max",
|
|
58506
|
-
"NSFoundationVersionNumber_iPhoneOS_2_0",
|
|
58507
|
-
"NSFoundationVersionNumber_iPhoneOS_2_1",
|
|
58508
|
-
"NSFoundationVersionNumber_iPhoneOS_2_2",
|
|
58509
|
-
"NSFoundationVersionNumber_iPhoneOS_3_0",
|
|
58510
|
-
"NSFoundationVersionNumber_iPhoneOS_3_1",
|
|
58511
|
-
"NSFoundationVersionNumber_iPhoneOS_3_2",
|
|
58512
58445
|
"NSFoundationVersionWithFileManagerResourceForkSupport",
|
|
58513
58446
|
"NSFreeHashTable",
|
|
58514
58447
|
"NSFreeMapTable",
|
|
@@ -61393,8 +61326,10 @@ function isIosAppTarget(ref, options = {}) {
|
|
|
61393
61326
|
},
|
|
61394
61327
|
options
|
|
61395
61328
|
);
|
|
61329
|
+
const platforms2 = settingList(get("SUPPORTED_PLATFORMS"));
|
|
61330
|
+
if (platforms2.length > 0) return platforms2.some(isIosPlatform);
|
|
61396
61331
|
const sdk = get("SDKROOT");
|
|
61397
|
-
return sdk === "
|
|
61332
|
+
return sdk === "" || isIosPlatform(sdk);
|
|
61398
61333
|
}
|
|
61399
61334
|
function isIosPlatform(name3) {
|
|
61400
61335
|
return name3.startsWith("iphoneos") || name3.startsWith("iphonesimulator");
|
|
@@ -64802,7 +64737,7 @@ var init_swift_standin_digest = __esm({
|
|
|
64802
64737
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
64803
64738
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
64804
64739
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
64805
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
64740
|
+
STANDIN_SOURCE_DIGEST = true ? "8bf9878abc11473e9367806d1a6ac0089e4451eefdc2a1e5830542f3e83e80cf" : standinSourceDigest();
|
|
64806
64741
|
}
|
|
64807
64742
|
});
|
|
64808
64743
|
|
|
@@ -65263,7 +65198,7 @@ var init_package_tree_digest = __esm({
|
|
|
65263
65198
|
|
|
65264
65199
|
// src/expo-native-prebuilt.ts
|
|
65265
65200
|
function expoNativeCompilerDigestValue() {
|
|
65266
|
-
return true ? "
|
|
65201
|
+
return true ? "b94cda9bfcf7bc33627ad755dd1d150970b3a3ad790430aa313cfc6d23d36831" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
65267
65202
|
}
|
|
65268
65203
|
function readSources(value) {
|
|
65269
65204
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -66254,6 +66189,7 @@ function resolveSwiftPackages(options) {
|
|
|
66254
66189
|
dir: target.dir,
|
|
66255
66190
|
files: files2,
|
|
66256
66191
|
exclude: target.exclude,
|
|
66192
|
+
...target.sources ? { sources: target.sources } : {},
|
|
66257
66193
|
packageDir: pkg.manifest.dir,
|
|
66258
66194
|
remote: pkg.remote,
|
|
66259
66195
|
iosDeployment: pkg.manifest.iosDeployment,
|
|
@@ -71571,7 +71507,7 @@ var init_react_native_core = __esm({
|
|
|
71571
71507
|
init_swift_distribution();
|
|
71572
71508
|
init_swift_package();
|
|
71573
71509
|
init_swiftContract();
|
|
71574
|
-
recipe = true ? "
|
|
71510
|
+
recipe = true ? "3fd6f321c9bd4f9cede042a7cee967febbe9f87df3e90e8e2937322e8ee19455" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
71575
71511
|
strings3 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
71576
71512
|
}
|
|
71577
71513
|
});
|
|
@@ -74700,9 +74636,13 @@ async function buildXcodeLayout(root) {
|
|
|
74700
74636
|
upcomingFeatures: target.packageUpcomingFeatures.filter(
|
|
74701
74637
|
(feature) => feature.configuration === null || feature.configuration === packageConfiguration
|
|
74702
74638
|
).map((feature) => feature.name),
|
|
74703
|
-
|
|
74704
|
-
|
|
74705
|
-
|
|
74639
|
+
// the flat build gives every module one package; swiftpm names each
|
|
74640
|
+
// module for its own package, which `@retroactive` and `package` read
|
|
74641
|
+
swiftFlags: ["-package-name", swiftPackageIdentity(target.packageDir)].concat(
|
|
74642
|
+
target.packageSwiftFlags.filter(
|
|
74643
|
+
(setting) => setting.configuration === null || setting.configuration === packageConfiguration
|
|
74644
|
+
).flatMap((setting) => setting.flags)
|
|
74645
|
+
),
|
|
74706
74646
|
linkedLibraries: target.packageLibraries.filter(
|
|
74707
74647
|
(library) => library.configuration === null || library.configuration === packageConfiguration
|
|
74708
74648
|
).map((library) => library.name),
|
|
@@ -75060,7 +75000,7 @@ function xcodeManifest(layout2) {
|
|
|
75060
75000
|
`let package = Package(name: "app", ${layout2.app.iosDeploymentTarget ? `platforms: [.iOS(${JSON.stringify(layout2.app.iosDeploymentTarget)})], ` : ""}dependencies: [${[...nativePaths].map(([name3, directory2]) => `.package(name: ${JSON.stringify(name3)}, path: ${JSON.stringify(directory2)})`).join(", ")}], targets: [`,
|
|
75061
75001
|
` .executableTarget(name: "${layout2.app.moduleName}", dependencies: [${[...appProducts, ...layout2.targets.map((target) => JSON.stringify(target.name)), ...sdkProducts].join(", ")}], path: "${XCODE_APP_DIR}", ${appSettings}),`,
|
|
75062
75002
|
...layout2.targets.map(
|
|
75063
|
-
(target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", ${target.dependencies === void 0 ? "" : `dependencies: [${dependencies(target)}], `}path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
|
|
75003
|
+
(target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", ${target.dependencies === void 0 ? "" : `dependencies: [${dependencies(target)}], `}path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.sources === void 0 ? "" : `sources: ${JSON.stringify(target.sources)}, `}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
|
|
75064
75004
|
),
|
|
75065
75005
|
"])",
|
|
75066
75006
|
""
|
|
@@ -77416,7 +77356,8 @@ var init_podspec_sources = __esm({
|
|
|
77416
77356
|
}
|
|
77417
77357
|
or = () => this.binary(["||"], this.and);
|
|
77418
77358
|
and = () => this.binary(["&&"], this.eq);
|
|
77419
|
-
eq = () => this.binary(["==", "!="], this.
|
|
77359
|
+
eq = () => this.binary(["==", "!="], this.compare);
|
|
77360
|
+
compare = () => this.binary(["<", ">", "<=", ">="], this.shift);
|
|
77420
77361
|
shift = () => this.binary(["<<"], this.add);
|
|
77421
77362
|
add = () => this.binary(["+", "-"], this.unary);
|
|
77422
77363
|
unary = () => {
|
|
@@ -77571,6 +77512,8 @@ var init_podspec_sources = __esm({
|
|
|
77571
77512
|
return { k: "hash", pairs: pairs2 };
|
|
77572
77513
|
}
|
|
77573
77514
|
if (tok.v === "::") return this.fail("top-level constant");
|
|
77515
|
+
if (tok.v === "$" && this.toks[this.i]?.t === "id")
|
|
77516
|
+
return { k: "fail", why: `global $${this.toks[this.i++].v}` };
|
|
77574
77517
|
return this.fail(`unexpected ${tok.v}`);
|
|
77575
77518
|
}
|
|
77576
77519
|
}
|
|
@@ -77778,7 +77721,15 @@ var init_podspec_sources = __esm({
|
|
|
77778
77721
|
}
|
|
77779
77722
|
case "bin": {
|
|
77780
77723
|
if (node.op === "||" || node.op === "&&") {
|
|
77781
|
-
|
|
77724
|
+
let l2;
|
|
77725
|
+
try {
|
|
77726
|
+
l2 = this.ev(scope2, node.l);
|
|
77727
|
+
} catch (error) {
|
|
77728
|
+
if (!recoverable(error)) throw error;
|
|
77729
|
+
const r2 = this.ev(scope2, node.r);
|
|
77730
|
+
if (truthy(r2) === (node.op === "||")) return r2;
|
|
77731
|
+
throw error;
|
|
77732
|
+
}
|
|
77782
77733
|
return truthy(l2) === (node.op === "||") ? l2 : this.ev(scope2, node.r);
|
|
77783
77734
|
}
|
|
77784
77735
|
const l = this.ev(scope2, node.l);
|
|
@@ -77800,6 +77751,12 @@ var init_podspec_sources = __esm({
|
|
|
77800
77751
|
l.push(r);
|
|
77801
77752
|
return l;
|
|
77802
77753
|
}
|
|
77754
|
+
if (typeof l === "number" && typeof r === "number") {
|
|
77755
|
+
if (node.op === "<") return l < r;
|
|
77756
|
+
if (node.op === ">") return l > r;
|
|
77757
|
+
if (node.op === "<=") return l <= r;
|
|
77758
|
+
if (node.op === ">=") return l >= r;
|
|
77759
|
+
}
|
|
77803
77760
|
return this.fail(`operator ${node.op}`);
|
|
77804
77761
|
}
|
|
77805
77762
|
case "method": {
|
|
@@ -85041,7 +84998,7 @@ var init_nitro_superset = __esm({
|
|
|
85041
84998
|
init_nitroContract();
|
|
85042
84999
|
init_swift_standin_digest();
|
|
85043
85000
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
85044
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
85001
|
+
NITRO_COMPILER_DIGEST = true ? "e99385128dd9d84fea68a577e53c7a4a93a855f8f3e0b00b584eba31e08b599f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
85045
85002
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
85046
85003
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
85047
85004
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -96876,6 +96833,7 @@ async function compileKotlin(input, origin) {
|
|
|
96876
96833
|
[
|
|
96877
96834
|
...common,
|
|
96878
96835
|
"-nowarn",
|
|
96836
|
+
"-Xpartial-linkage-loglevel=error",
|
|
96879
96837
|
`-Xinclude=${import_node_path123.default.join(work, "klib")}`,
|
|
96880
96838
|
"-Xir-produce-js",
|
|
96881
96839
|
"-ir-output-dir",
|
|
@@ -96971,6 +96929,10 @@ async function compileKotlin(input, origin) {
|
|
|
96971
96929
|
import_node_path123.default.join(work, "java-abi", `Spec${index}.kt`),
|
|
96972
96930
|
spec.file
|
|
96973
96931
|
);
|
|
96932
|
+
output2 = output2.replace(
|
|
96933
|
+
/^error: <app> @ (.+\.kt:\d+:\d+): (.*)$/gm,
|
|
96934
|
+
"$1: error: $2"
|
|
96935
|
+
);
|
|
96974
96936
|
throw new Error(
|
|
96975
96937
|
`kotlin compile failed:
|
|
96976
96938
|
${output2.trim() || (error instanceof Error ? error.message : String(error))}`
|
|
@@ -97116,7 +97078,7 @@ var init_kotlin_host = __esm({
|
|
|
97116
97078
|
"__tests__",
|
|
97117
97079
|
"scripts"
|
|
97118
97080
|
]);
|
|
97119
|
-
BUILD_FORMAT =
|
|
97081
|
+
BUILD_FORMAT = 20;
|
|
97120
97082
|
builds = /* @__PURE__ */ new Map();
|
|
97121
97083
|
toolScans = /* @__PURE__ */ new Map();
|
|
97122
97084
|
BRIDGE_PARAMETERS = {
|
|
@@ -112105,10 +112067,14 @@ function getDaemonServiceStatus() {
|
|
|
112105
112067
|
}
|
|
112106
112068
|
if (process.platform === "linux") {
|
|
112107
112069
|
const path136 = linuxUnitPath();
|
|
112108
|
-
return { supported:
|
|
112070
|
+
return { supported: linuxUserManagerReachable(), installed: (0, import_fs10.existsSync)(path136), path: path136 };
|
|
112109
112071
|
}
|
|
112110
112072
|
return { supported: false, installed: false };
|
|
112111
112073
|
}
|
|
112074
|
+
function linuxUserManagerReachable() {
|
|
112075
|
+
const runtime = process.env.XDG_RUNTIME_DIR;
|
|
112076
|
+
return runtime ? (0, import_fs10.existsSync)((0, import_path9.resolve)(runtime, "systemd/private")) : false;
|
|
112077
|
+
}
|
|
112112
112078
|
function macServiceTarget() {
|
|
112113
112079
|
return `gui/${process.getuid()}/${SERVICE_LABEL_MAC}`;
|
|
112114
112080
|
}
|
|
@@ -114033,7 +113999,7 @@ async function buildShellUrl(target, baseUrl = resolveDefaultShellBaseUrl(), opt
|
|
|
114033
113999
|
new URL(resolved).searchParams
|
|
114034
114000
|
)?.nativeRenderer;
|
|
114035
114001
|
if (nativeRenderer === "paper" || expoRenderer === "paper" || legacyDefault || configuredRenderer === "paper")
|
|
114036
|
-
throw new
|
|
114002
|
+
throw new CliUsageError(
|
|
114037
114003
|
"unsupported-architecture: React Native apps require the new architecture. " + (legacyDefault ? "React Native " + version2 + " defaults to the legacy architecture. " : "This app disables the new architecture. ") + "Upgrade or explicitly enable the new architecture in the app before opening it."
|
|
114038
114004
|
);
|
|
114039
114005
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2191 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -12477,7 +12477,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12477
12477
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12478
12478
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12479
12479
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12480
|
-
var compilerSourceDigest = true ? "
|
|
12480
|
+
var compilerSourceDigest = true ? "9d8d3ae2b2d5324ea93c50de702176f964cf229949899cccbeb49f982845e24b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12481
12481
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12482
12482
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
12483
12483
|
hash.update(`swift-compile
|
|
@@ -12886,6 +12886,9 @@ function emitSwiftPackageManifest(args) {
|
|
|
12886
12886
|
' publicHeadersPath: "include",'
|
|
12887
12887
|
] : native?.flags ? [` sources: ${JSON.stringify(native.sources)},`] : target.sources !== void 0 ? [` sources: ${JSON.stringify(target.sources)},`] : [],
|
|
12888
12888
|
...!native?.clang && target.publicHeadersPath !== void 0 ? [` publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)},`] : [],
|
|
12889
|
+
// swiftpm appends the root package's name after a target's own flags
|
|
12890
|
+
// unless the target opts out of package access
|
|
12891
|
+
...!clang && target.swiftFlags?.includes("-package-name") ? [" packageAccess: false,"] : [],
|
|
12889
12892
|
// the native backend supplies dependency module maps without their
|
|
12890
12893
|
// compiled modules. textual c++ includes keep those dependencies usable.
|
|
12891
12894
|
` ${clang ? nativeSettings : swiftSettings}${link}`,
|
|
@@ -13276,117 +13279,6 @@ var FOUNDATION_OVERLAY_GLOBALS = /* @__PURE__ */ new Set([
|
|
|
13276
13279
|
"NSFileErrorMinimum",
|
|
13277
13280
|
"NSFormattingErrorMaximum",
|
|
13278
13281
|
"NSFormattingErrorMinimum",
|
|
13279
|
-
"NSFoundationVersionNumber",
|
|
13280
|
-
"NSFoundationVersionNumber10_0",
|
|
13281
|
-
"NSFoundationVersionNumber10_1",
|
|
13282
|
-
"NSFoundationVersionNumber10_10",
|
|
13283
|
-
"NSFoundationVersionNumber10_10_1",
|
|
13284
|
-
"NSFoundationVersionNumber10_10_2",
|
|
13285
|
-
"NSFoundationVersionNumber10_10_3",
|
|
13286
|
-
"NSFoundationVersionNumber10_10_4",
|
|
13287
|
-
"NSFoundationVersionNumber10_10_5",
|
|
13288
|
-
"NSFoundationVersionNumber10_10_Max",
|
|
13289
|
-
"NSFoundationVersionNumber10_11",
|
|
13290
|
-
"NSFoundationVersionNumber10_11_1",
|
|
13291
|
-
"NSFoundationVersionNumber10_11_2",
|
|
13292
|
-
"NSFoundationVersionNumber10_11_3",
|
|
13293
|
-
"NSFoundationVersionNumber10_11_4",
|
|
13294
|
-
"NSFoundationVersionNumber10_11_Max",
|
|
13295
|
-
"NSFoundationVersionNumber10_1_1",
|
|
13296
|
-
"NSFoundationVersionNumber10_1_2",
|
|
13297
|
-
"NSFoundationVersionNumber10_1_3",
|
|
13298
|
-
"NSFoundationVersionNumber10_1_4",
|
|
13299
|
-
"NSFoundationVersionNumber10_2",
|
|
13300
|
-
"NSFoundationVersionNumber10_2_1",
|
|
13301
|
-
"NSFoundationVersionNumber10_2_2",
|
|
13302
|
-
"NSFoundationVersionNumber10_2_3",
|
|
13303
|
-
"NSFoundationVersionNumber10_2_4",
|
|
13304
|
-
"NSFoundationVersionNumber10_2_5",
|
|
13305
|
-
"NSFoundationVersionNumber10_2_6",
|
|
13306
|
-
"NSFoundationVersionNumber10_2_7",
|
|
13307
|
-
"NSFoundationVersionNumber10_2_8",
|
|
13308
|
-
"NSFoundationVersionNumber10_3",
|
|
13309
|
-
"NSFoundationVersionNumber10_3_1",
|
|
13310
|
-
"NSFoundationVersionNumber10_3_2",
|
|
13311
|
-
"NSFoundationVersionNumber10_3_3",
|
|
13312
|
-
"NSFoundationVersionNumber10_3_4",
|
|
13313
|
-
"NSFoundationVersionNumber10_3_5",
|
|
13314
|
-
"NSFoundationVersionNumber10_3_6",
|
|
13315
|
-
"NSFoundationVersionNumber10_3_7",
|
|
13316
|
-
"NSFoundationVersionNumber10_3_8",
|
|
13317
|
-
"NSFoundationVersionNumber10_3_9",
|
|
13318
|
-
"NSFoundationVersionNumber10_4",
|
|
13319
|
-
"NSFoundationVersionNumber10_4_1",
|
|
13320
|
-
"NSFoundationVersionNumber10_4_10",
|
|
13321
|
-
"NSFoundationVersionNumber10_4_11",
|
|
13322
|
-
"NSFoundationVersionNumber10_4_2",
|
|
13323
|
-
"NSFoundationVersionNumber10_4_3",
|
|
13324
|
-
"NSFoundationVersionNumber10_4_4_Intel",
|
|
13325
|
-
"NSFoundationVersionNumber10_4_4_PowerPC",
|
|
13326
|
-
"NSFoundationVersionNumber10_4_5",
|
|
13327
|
-
"NSFoundationVersionNumber10_4_6",
|
|
13328
|
-
"NSFoundationVersionNumber10_4_7",
|
|
13329
|
-
"NSFoundationVersionNumber10_4_8",
|
|
13330
|
-
"NSFoundationVersionNumber10_4_9",
|
|
13331
|
-
"NSFoundationVersionNumber10_5",
|
|
13332
|
-
"NSFoundationVersionNumber10_5_1",
|
|
13333
|
-
"NSFoundationVersionNumber10_5_2",
|
|
13334
|
-
"NSFoundationVersionNumber10_5_3",
|
|
13335
|
-
"NSFoundationVersionNumber10_5_4",
|
|
13336
|
-
"NSFoundationVersionNumber10_5_5",
|
|
13337
|
-
"NSFoundationVersionNumber10_5_6",
|
|
13338
|
-
"NSFoundationVersionNumber10_5_7",
|
|
13339
|
-
"NSFoundationVersionNumber10_5_8",
|
|
13340
|
-
"NSFoundationVersionNumber10_6",
|
|
13341
|
-
"NSFoundationVersionNumber10_6_1",
|
|
13342
|
-
"NSFoundationVersionNumber10_6_2",
|
|
13343
|
-
"NSFoundationVersionNumber10_6_3",
|
|
13344
|
-
"NSFoundationVersionNumber10_6_4",
|
|
13345
|
-
"NSFoundationVersionNumber10_6_5",
|
|
13346
|
-
"NSFoundationVersionNumber10_6_6",
|
|
13347
|
-
"NSFoundationVersionNumber10_6_7",
|
|
13348
|
-
"NSFoundationVersionNumber10_6_8",
|
|
13349
|
-
"NSFoundationVersionNumber10_7",
|
|
13350
|
-
"NSFoundationVersionNumber10_7_1",
|
|
13351
|
-
"NSFoundationVersionNumber10_7_2",
|
|
13352
|
-
"NSFoundationVersionNumber10_7_3",
|
|
13353
|
-
"NSFoundationVersionNumber10_7_4",
|
|
13354
|
-
"NSFoundationVersionNumber10_8",
|
|
13355
|
-
"NSFoundationVersionNumber10_8_1",
|
|
13356
|
-
"NSFoundationVersionNumber10_8_2",
|
|
13357
|
-
"NSFoundationVersionNumber10_8_3",
|
|
13358
|
-
"NSFoundationVersionNumber10_8_4",
|
|
13359
|
-
"NSFoundationVersionNumber10_9",
|
|
13360
|
-
"NSFoundationVersionNumber10_9_1",
|
|
13361
|
-
"NSFoundationVersionNumber10_9_2",
|
|
13362
|
-
"NSFoundationVersionNumber_iOS_4_0",
|
|
13363
|
-
"NSFoundationVersionNumber_iOS_4_1",
|
|
13364
|
-
"NSFoundationVersionNumber_iOS_4_2",
|
|
13365
|
-
"NSFoundationVersionNumber_iOS_4_3",
|
|
13366
|
-
"NSFoundationVersionNumber_iOS_5_0",
|
|
13367
|
-
"NSFoundationVersionNumber_iOS_5_1",
|
|
13368
|
-
"NSFoundationVersionNumber_iOS_6_0",
|
|
13369
|
-
"NSFoundationVersionNumber_iOS_6_1",
|
|
13370
|
-
"NSFoundationVersionNumber_iOS_7_0",
|
|
13371
|
-
"NSFoundationVersionNumber_iOS_7_1",
|
|
13372
|
-
"NSFoundationVersionNumber_iOS_8_0",
|
|
13373
|
-
"NSFoundationVersionNumber_iOS_8_1",
|
|
13374
|
-
"NSFoundationVersionNumber_iOS_8_2",
|
|
13375
|
-
"NSFoundationVersionNumber_iOS_8_3",
|
|
13376
|
-
"NSFoundationVersionNumber_iOS_8_4",
|
|
13377
|
-
"NSFoundationVersionNumber_iOS_8_x_Max",
|
|
13378
|
-
"NSFoundationVersionNumber_iOS_9_0",
|
|
13379
|
-
"NSFoundationVersionNumber_iOS_9_1",
|
|
13380
|
-
"NSFoundationVersionNumber_iOS_9_2",
|
|
13381
|
-
"NSFoundationVersionNumber_iOS_9_3",
|
|
13382
|
-
"NSFoundationVersionNumber_iOS_9_4",
|
|
13383
|
-
"NSFoundationVersionNumber_iOS_9_x_Max",
|
|
13384
|
-
"NSFoundationVersionNumber_iPhoneOS_2_0",
|
|
13385
|
-
"NSFoundationVersionNumber_iPhoneOS_2_1",
|
|
13386
|
-
"NSFoundationVersionNumber_iPhoneOS_2_2",
|
|
13387
|
-
"NSFoundationVersionNumber_iPhoneOS_3_0",
|
|
13388
|
-
"NSFoundationVersionNumber_iPhoneOS_3_1",
|
|
13389
|
-
"NSFoundationVersionNumber_iPhoneOS_3_2",
|
|
13390
13282
|
"NSFoundationVersionWithFileManagerResourceForkSupport",
|
|
13391
13283
|
"NSFreeHashTable",
|
|
13392
13284
|
"NSFreeMapTable",
|
|
@@ -14535,7 +14427,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
14535
14427
|
for (const file of Object.keys(input.files)) {
|
|
14536
14428
|
if (!file.endsWith(".swift")) continue;
|
|
14537
14429
|
const target = bySourcePath.find(
|
|
14538
|
-
(candidate) => candidate.path === "." || file.startsWith(`${candidate.path}/`)
|
|
14430
|
+
(candidate) => (candidate.path === "." || file.startsWith(`${candidate.path}/`)) && (candidate.sources === void 0 || candidate.sources.some((source) => {
|
|
14431
|
+
const selected = import_node_path27.default.posix.join(candidate.path, source);
|
|
14432
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
14433
|
+
}))
|
|
14539
14434
|
);
|
|
14540
14435
|
const excluded = target?.exclude?.some(
|
|
14541
14436
|
(name2) => file === import_node_path27.default.posix.join(target.path, name2)
|
|
@@ -14588,7 +14483,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
14588
14483
|
const targetEntries = (target) => {
|
|
14589
14484
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
14590
14485
|
return Object.entries(input.files).filter(
|
|
14591
|
-
([file]) => file.startsWith(prefix) && !target.
|
|
14486
|
+
([file]) => file.startsWith(prefix) && (target.sources === void 0 || !(file.endsWith(".swift") || isSwiftNativeTranslationUnit(file)) || target.sources.some((source) => {
|
|
14487
|
+
const selected = import_node_path27.default.posix.join(prefix, source);
|
|
14488
|
+
return file === selected || file.startsWith(`${selected}/`);
|
|
14489
|
+
})) && !target.exclude?.some(
|
|
14592
14490
|
(excluded) => file === `${prefix}${excluded}` || file.startsWith(`${prefix}${excluded}/`)
|
|
14593
14491
|
) && !targets.some(
|
|
14594
14492
|
(candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) && file.startsWith(`${candidate.path}/`)
|
|
@@ -14743,8 +14641,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
14743
14641
|
)) {
|
|
14744
14642
|
const include2 = match[1];
|
|
14745
14643
|
const producer = /(?:^|\/)([^/]+)-Swift\.h$/.exec(include2)?.[1];
|
|
14746
|
-
if (producer &&
|
|
14747
|
-
producers2.add(producer);
|
|
14644
|
+
if (producer && swiftTargets.has(producer)) producers2.add(producer);
|
|
14748
14645
|
const local = [
|
|
14749
14646
|
import_node_path27.default.posix.join(import_node_path27.default.posix.dirname(file), include2),
|
|
14750
14647
|
`${includes}${include2}`,
|