peachsim 0.1.2411 → 0.1.2412
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/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 +119 -22
- 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 +118 -21
- 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 +119 -22
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- 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 +9 -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 +1 -1
- 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 +9 -5
- package/dist-lib/native-app-identity-project.cjs +8 -4
- package/dist-lib/native-app-identity-project.mjs +8 -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 +119 -22
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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 +116 -19
- package/dist-lib/vite.cjs +3 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +5 -0
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +4 -0
- package/src/swift-host.ts +82 -15
- package/src/swift-objc-compile.ts +5 -0
- package/src/swift-packages.ts +46 -0
- package/src/xcode-project.ts +17 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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;
|
|
@@ -13300,7 +13300,7 @@ var swiftCoverageProvenance;
|
|
|
13300
13300
|
var init_provenance = __esm({
|
|
13301
13301
|
"src/swift-coverage/provenance.ts"() {
|
|
13302
13302
|
"use strict";
|
|
13303
|
-
swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"a19fe4c5e2efe18bbc3ece544ff2c8be660170d63274cccb0ab58e53083050e4","swift-package.ts":"851417572ca9aff699ad368bdc3ff05309b0256e483d40812b9c0beb869d0a5b","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"dec93d0206df8efbd9f538d1f3e3f6173f6eb022cb9ad6b02271481db7578d77","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"4a775ba92c7b23ce71dd6bb08c188c4bccd6e1ed500cc9fc7850030b945fc8d4","xcode-project.ts":"
|
|
13303
|
+
swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"a19fe4c5e2efe18bbc3ece544ff2c8be660170d63274cccb0ab58e53083050e4","swift-package.ts":"851417572ca9aff699ad368bdc3ff05309b0256e483d40812b9c0beb869d0a5b","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"dec93d0206df8efbd9f538d1f3e3f6173f6eb022cb9ad6b02271481db7578d77","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"4a775ba92c7b23ce71dd6bb08c188c4bccd6e1ed500cc9fc7850030b945fc8d4","xcode-project.ts":"5e7daa9fabfa1c7f38e7b7e11bb0d4168e26d958b1acdb65e54e06e7de5c6804","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
13304
13304
|
}
|
|
13305
13305
|
});
|
|
13306
13306
|
|
|
@@ -39467,12 +39467,16 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
39467
39467
|
);
|
|
39468
39468
|
const allTargets = projects2.flatMap(projectTargets);
|
|
39469
39469
|
const appTargets = allTargets.filter(
|
|
39470
|
-
(ref) => isIosAppTarget(ref, options) || targetName !== void 0 && ref.target.name === targetName && ref.target.productType === APP_EXTENSION
|
|
39470
|
+
(ref) => options.frameworkMachOType ? ref.target.name === targetName && FRAMEWORK_PRODUCTS.has(str(ref.target.productType) ?? "") : isIosAppTarget(ref, options) || targetName !== void 0 && ref.target.name === targetName && ref.target.productType === APP_EXTENSION
|
|
39471
39471
|
);
|
|
39472
39472
|
const appTargetNames = appTargets.map((ref) => str(ref.target.name) ?? ref.id);
|
|
39473
39473
|
const container = import_node_path47.default.basename(xcodeprojOrWorkspace);
|
|
39474
39474
|
const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
|
|
39475
39475
|
if (named.length !== 1) {
|
|
39476
|
+
if (options.frameworkMachOType)
|
|
39477
|
+
throw new Error(
|
|
39478
|
+
`${container} must declare one framework target named ${targetName}`
|
|
39479
|
+
);
|
|
39476
39480
|
if (appTargets.length === 0)
|
|
39477
39481
|
throw new Error(
|
|
39478
39482
|
`${container} has no application targets; open a project or workspace that contains one`
|
|
@@ -39735,7 +39739,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
39735
39739
|
DEVELOPMENT_LANGUAGE: str(ref.project.project.developmentRegion) ?? "en"
|
|
39736
39740
|
},
|
|
39737
39741
|
options,
|
|
39738
|
-
workspaceBuild
|
|
39742
|
+
ref === app && options.frameworkMachOType ? { ...workspaceBuild, MACH_O_TYPE: options.frameworkMachOType } : workspaceBuild
|
|
39739
39743
|
);
|
|
39740
39744
|
for (const file of read) xcconfigs.add(file);
|
|
39741
39745
|
const swiftVersion = Number.parseFloat(settings2("SWIFT_VERSION") || "5");
|
|
@@ -56173,6 +56177,7 @@ function resolveSwiftPackages(options) {
|
|
|
56173
56177
|
targets: [],
|
|
56174
56178
|
nativePackages: [],
|
|
56175
56179
|
nativeProducts: [],
|
|
56180
|
+
sourceFrameworks: [],
|
|
56176
56181
|
unavailable: /* @__PURE__ */ new Map(),
|
|
56177
56182
|
modules: /* @__PURE__ */ new Map(),
|
|
56178
56183
|
binaries: [],
|
|
@@ -56181,6 +56186,7 @@ function resolveSwiftPackages(options) {
|
|
|
56181
56186
|
const pins = resolved.length > 0 ? readPins(resolved) : null;
|
|
56182
56187
|
const checkouts = remoteSwiftCheckouts(rootDir);
|
|
56183
56188
|
const packages = /* @__PURE__ */ new Map();
|
|
56189
|
+
const sourceFrameworks = /* @__PURE__ */ new Map();
|
|
56184
56190
|
const packageKey = (source) => import_node_path77.default.isAbsolute(source) ? source : swiftPackageIdentity(source);
|
|
56185
56191
|
const sourceKey = (source) => packageKey(source.kind === "local" ? import_node_path77.default.resolve(source.dir) : source.url);
|
|
56186
56192
|
const load2 = (source) => {
|
|
@@ -56204,6 +56210,7 @@ function resolveSwiftPackages(options) {
|
|
|
56204
56210
|
loaded3 = {
|
|
56205
56211
|
source: source.url,
|
|
56206
56212
|
remote: true,
|
|
56213
|
+
revision: pin2.revision,
|
|
56207
56214
|
manifest: swiftPackageManifest(
|
|
56208
56215
|
fetchedCheckout(checkouts, identity2, pin2),
|
|
56209
56216
|
void 0,
|
|
@@ -56255,6 +56262,7 @@ function resolveSwiftPackages(options) {
|
|
|
56255
56262
|
const targetOutcomes = /* @__PURE__ */ new Map();
|
|
56256
56263
|
const resolveTarget = (pkg, name3) => {
|
|
56257
56264
|
const key2 = `${pkg.manifest.dir}\0${name3}`;
|
|
56265
|
+
if (sourceFrameworks.has(key2)) return [];
|
|
56258
56266
|
if (targetOutcomes.has(key2)) return targetOutcomes.get(key2);
|
|
56259
56267
|
targetOutcomes.set(key2, []);
|
|
56260
56268
|
const outcome = (() => {
|
|
@@ -56350,6 +56358,18 @@ function resolveSwiftPackages(options) {
|
|
|
56350
56358
|
if (!binaryOnly && claimed.has(key2)) return true;
|
|
56351
56359
|
const target = pkg.manifest.targets.get(name3);
|
|
56352
56360
|
if (target?.type === "binary") {
|
|
56361
|
+
const recipe2 = target.checksum ? sourceFrameworkRecipes.get(target.checksum) : void 0;
|
|
56362
|
+
if (recipe2 && pkg.revision === recipe2.revision && name3 === recipe2.target) {
|
|
56363
|
+
sourceFrameworks.set(key2, {
|
|
56364
|
+
packageTarget: import_node_path77.default.join(pkg.manifest.dir, "#target", name3),
|
|
56365
|
+
project: import_node_path77.default.join(pkg.manifest.dir, recipe2.project),
|
|
56366
|
+
target: name3,
|
|
56367
|
+
configuration: recipe2.configuration,
|
|
56368
|
+
machOType: recipe2.machOType
|
|
56369
|
+
});
|
|
56370
|
+
providedTargets.delete(name3);
|
|
56371
|
+
return true;
|
|
56372
|
+
}
|
|
56353
56373
|
const changed = !options.standinTargets?.has(name3) && shippedBinaryDiffers(name3, target.checksum);
|
|
56354
56374
|
if (changed) providedTargets.delete(name3);
|
|
56355
56375
|
return changed;
|
|
@@ -56394,6 +56414,7 @@ function resolveSwiftPackages(options) {
|
|
|
56394
56414
|
for (const pkg of packages.values()) {
|
|
56395
56415
|
if (typeof pkg === "string") continue;
|
|
56396
56416
|
for (const [name3, target] of pkg.manifest.targets) {
|
|
56417
|
+
if (sourceFrameworks.has(`${pkg.manifest.dir}\0${name3}`)) continue;
|
|
56397
56418
|
if (target.type === "test" || target.type === "plugin" || target.type === "macro")
|
|
56398
56419
|
continue;
|
|
56399
56420
|
if (target.type === "executable") continue;
|
|
@@ -56611,6 +56632,8 @@ function resolveSwiftPackages(options) {
|
|
|
56611
56632
|
const id = targetId(pkg, name3);
|
|
56612
56633
|
if (emitted.has(id)) return id;
|
|
56613
56634
|
emitted.add(id);
|
|
56635
|
+
const framework = sourceFrameworks.get(`${pkg.manifest.dir}\0${name3}`);
|
|
56636
|
+
if (framework) result.sourceFrameworks.push(framework);
|
|
56614
56637
|
const target = pkg.manifest.targets.get(name3);
|
|
56615
56638
|
if (!target) throw new Error(`missing resolved package target ${name3}`);
|
|
56616
56639
|
const dependencies = target.type === "macro" ? [] : target.dependencies.flatMap((dependency) => {
|
|
@@ -56657,7 +56680,7 @@ function resolveSwiftPackages(options) {
|
|
|
56657
56680
|
result.nativeProducts.push({ name: name3, packageDir: manifest.dir, source });
|
|
56658
56681
|
return result;
|
|
56659
56682
|
}
|
|
56660
|
-
var import_node_child_process40, import_node_crypto41, import_node_fs77, import_node_path77, import_promises7, import_node_util10, swiftBinaryOnDisk, SWIFT_PLACEHOLDER_PACKAGES, placeholderPackage, UNSUPPORTED_NATIVE, BINARY, blockers, verified, execFileAsync2, checkoutKey;
|
|
56683
|
+
var import_node_child_process40, import_node_crypto41, import_node_fs77, import_node_path77, import_promises7, import_node_util10, swiftBinaryOnDisk, SWIFT_PLACEHOLDER_PACKAGES, placeholderPackage, sourceFrameworkRecipes, UNSUPPORTED_NATIVE, BINARY, blockers, verified, execFileAsync2, checkoutKey;
|
|
56661
56684
|
var init_swift_packages = __esm({
|
|
56662
56685
|
"src/swift-packages.ts"() {
|
|
56663
56686
|
"use strict";
|
|
@@ -56679,6 +56702,18 @@ var init_swift_packages = __esm({
|
|
|
56679
56702
|
swiftBinaryOnDisk = (binary2) => binary2.url !== null || import_node_fs77.default.existsSync(binary2.dir);
|
|
56680
56703
|
SWIFT_PLACEHOLDER_PACKAGES = /* @__PURE__ */ new Map();
|
|
56681
56704
|
placeholderPackage = (pkg) => SWIFT_PLACEHOLDER_PACKAGES.get(swiftPackageIdentity(pkg.manifest.dir));
|
|
56705
|
+
sourceFrameworkRecipes = /* @__PURE__ */ new Map([
|
|
56706
|
+
[
|
|
56707
|
+
"438de2c5afb7dde20b640af35dd841961aa2aa4d2719e40c92d48bd2aa5dca56",
|
|
56708
|
+
{
|
|
56709
|
+
revision: "a49e7c2148ac9e38bd35ef4f13bc9d6ea3ff0b81",
|
|
56710
|
+
project: "Sentry.xcodeproj",
|
|
56711
|
+
target: "Sentry",
|
|
56712
|
+
configuration: "Release",
|
|
56713
|
+
machOType: "staticlib"
|
|
56714
|
+
}
|
|
56715
|
+
]
|
|
56716
|
+
]);
|
|
56682
56717
|
UNSUPPORTED_NATIVE = /\.(s|S)$/;
|
|
56683
56718
|
BINARY = "is a binary framework";
|
|
56684
56719
|
blockers = (reasons) => [...new Set(reasons.flat())];
|
|
@@ -56742,7 +56777,7 @@ var init_swift_standin_digest = __esm({
|
|
|
56742
56777
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
56743
56778
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
56744
56779
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
56745
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
56780
|
+
STANDIN_SOURCE_DIGEST = true ? "467738b34c64972f28a4f51bb4a9e09b15d846aaf5143fa94e95cf779eb7bf82" : standinSourceDigest();
|
|
56746
56781
|
}
|
|
56747
56782
|
});
|
|
56748
56783
|
|
|
@@ -60599,6 +60634,11 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
60599
60634
|
}
|
|
60600
60635
|
return regular ? source : null;
|
|
60601
60636
|
};
|
|
60637
|
+
for (const directory2 of target.objc.headerSearchPaths) {
|
|
60638
|
+
if (isSdkInclude(directory2)) continue;
|
|
60639
|
+
const file = availableHeader(import_node_path83.default.join(directory2, "module.modulemap"));
|
|
60640
|
+
if (file) queue.push({ file, origin: directory2 });
|
|
60641
|
+
}
|
|
60602
60642
|
for (const name3 of forced) {
|
|
60603
60643
|
const file = [...quoted2, ...includes].filter((directory2) => !isSdkInclude(directory2)).map((directory2) => availableHeader(import_node_path83.default.resolve(directory2, name3))).find((candidate) => candidate !== null);
|
|
60604
60644
|
if (file) queue.push({ file });
|
|
@@ -62307,17 +62347,15 @@ async function swiftPackages(entry, app) {
|
|
|
62307
62347
|
}
|
|
62308
62348
|
function xcodeInputKey(layout2, file, relative4) {
|
|
62309
62349
|
const owner = layout2.targetDirs.get(file);
|
|
62350
|
+
const checkouts = layout2.checkouts;
|
|
62351
|
+
const checkoutPath = file.startsWith(`${checkouts}${import_node_path87.default.sep}`) ? import_node_path87.default.relative(checkouts, file).split(import_node_path87.default.sep).join("/") : null;
|
|
62310
62352
|
if (owner) {
|
|
62311
|
-
const input = file.endsWith(".swift") ? relative4.split("/").map(
|
|
62353
|
+
const input = file.endsWith(".swift") ? (checkoutPath ?? relative4).split("/").map(
|
|
62312
62354
|
(part) => part === "." || part === ".." ? part : part.replaceAll("%", "%25").replace(/^\./, "%2E")
|
|
62313
|
-
).join("/") : relative4;
|
|
62355
|
+
).join("/") : checkoutPath ?? relative4;
|
|
62314
62356
|
return import_node_path87.default.posix.join(owner, input);
|
|
62315
62357
|
}
|
|
62316
|
-
|
|
62317
|
-
return file.startsWith(`${checkouts}${import_node_path87.default.sep}`) ? import_node_path87.default.posix.join(
|
|
62318
|
-
XCODE_PACKAGES_DIR,
|
|
62319
|
-
import_node_path87.default.relative(checkouts, file).split(import_node_path87.default.sep).join("/")
|
|
62320
|
-
) : relative4 === ".." || relative4.startsWith("../") ? import_node_path87.default.posix.join("external", file.split(import_node_path87.default.sep).join("/")) : relative4;
|
|
62358
|
+
return checkoutPath !== null ? import_node_path87.default.posix.join(XCODE_PACKAGES_DIR, checkoutPath) : relative4 === ".." || relative4.startsWith("../") ? import_node_path87.default.posix.join("external", file.split(import_node_path87.default.sep).join("/")) : relative4;
|
|
62321
62359
|
}
|
|
62322
62360
|
async function withXcodeLayout(root, run10) {
|
|
62323
62361
|
const scope2 = /* @__PURE__ */ new Map();
|
|
@@ -62335,7 +62373,7 @@ function xcodeLayout(root) {
|
|
|
62335
62373
|
async function buildXcodeLayout(root) {
|
|
62336
62374
|
const registered = xcodeProjects().get(root);
|
|
62337
62375
|
if (!registered) return null;
|
|
62338
|
-
const
|
|
62376
|
+
const appTarget = readXcodeAppTargetPrepared(
|
|
62339
62377
|
registered.xcodeproj,
|
|
62340
62378
|
registered.target,
|
|
62341
62379
|
registered.configuration,
|
|
@@ -62345,6 +62383,51 @@ async function buildXcodeLayout(root) {
|
|
|
62345
62383
|
nativeModules: registered.nativeModules
|
|
62346
62384
|
}
|
|
62347
62385
|
);
|
|
62386
|
+
const { packages, standins, projectGaps, binaries } = await swiftPackages(
|
|
62387
|
+
registered,
|
|
62388
|
+
appTarget
|
|
62389
|
+
);
|
|
62390
|
+
const sourceFrameworks = new Map(
|
|
62391
|
+
packages.sourceFrameworks.map(
|
|
62392
|
+
({ packageTarget, project: project2, target, configuration, machOType }) => {
|
|
62393
|
+
const framework = readXcodeAppTarget(project2, target, configuration, {
|
|
62394
|
+
prepareGeneratedSources: true,
|
|
62395
|
+
frameworkMachOType: machOType
|
|
62396
|
+
});
|
|
62397
|
+
if (framework.moduleName !== target || framework.allSources.length === 0)
|
|
62398
|
+
throw new Error(
|
|
62399
|
+
`${project2}: ${target} did not produce its declared source module`
|
|
62400
|
+
);
|
|
62401
|
+
if (framework.linkedProducts.length > 0 || framework.binaryFrameworks.some(({ path: path108 }) => path108))
|
|
62402
|
+
throw new Error(
|
|
62403
|
+
`${project2}: ${target} has external dependencies outside the source framework build`
|
|
62404
|
+
);
|
|
62405
|
+
return [packageTarget, framework];
|
|
62406
|
+
}
|
|
62407
|
+
)
|
|
62408
|
+
);
|
|
62409
|
+
const frameworkTargets = [...sourceFrameworks.values()];
|
|
62410
|
+
const app = {
|
|
62411
|
+
...appTarget,
|
|
62412
|
+
frameworks: [
|
|
62413
|
+
...appTarget.frameworks,
|
|
62414
|
+
...frameworkTargets.flatMap((framework) => [...framework.frameworks, framework])
|
|
62415
|
+
],
|
|
62416
|
+
projectFiles: [
|
|
62417
|
+
...appTarget.projectFiles,
|
|
62418
|
+
...frameworkTargets.flatMap((framework) => framework.projectFiles)
|
|
62419
|
+
],
|
|
62420
|
+
resourceProducts: [
|
|
62421
|
+
...appTarget.resourceProducts,
|
|
62422
|
+
...frameworkTargets.flatMap((framework) => framework.resourceProducts)
|
|
62423
|
+
],
|
|
62424
|
+
sdkFrameworks: [
|
|
62425
|
+
.../* @__PURE__ */ new Set([
|
|
62426
|
+
...appTarget.sdkFrameworks,
|
|
62427
|
+
...frameworkTargets.flatMap((framework) => framework.sdkFrameworks)
|
|
62428
|
+
])
|
|
62429
|
+
]
|
|
62430
|
+
};
|
|
62348
62431
|
const appSources = app.allSources;
|
|
62349
62432
|
const checkouts = remoteSwiftCheckouts(app.rootDir);
|
|
62350
62433
|
const files2 = /* @__PURE__ */ new Set([
|
|
@@ -62360,10 +62443,6 @@ async function buildXcodeLayout(root) {
|
|
|
62360
62443
|
const resourceBundles = [
|
|
62361
62444
|
{ target: app.moduleName, sourcePath: XCODE_APP_DIR, path: "." }
|
|
62362
62445
|
];
|
|
62363
|
-
const { packages, standins, projectGaps, binaries } = await swiftPackages(
|
|
62364
|
-
registered,
|
|
62365
|
-
app
|
|
62366
|
-
);
|
|
62367
62446
|
const targets = [];
|
|
62368
62447
|
const frameworkNames = /* @__PURE__ */ new Map();
|
|
62369
62448
|
const usedNames = new Set(
|
|
@@ -62838,7 +62917,14 @@ async function buildXcodeLayout(root) {
|
|
|
62838
62917
|
)
|
|
62839
62918
|
});
|
|
62840
62919
|
}
|
|
62841
|
-
const graphTargets = [
|
|
62920
|
+
const graphTargets = [
|
|
62921
|
+
...app.sourceLinkGraph.targets,
|
|
62922
|
+
...frameworkTargets.flatMap((framework) => framework.sourceLinkGraph.targets),
|
|
62923
|
+
...packages.sourceLinks.targets.map((target) => {
|
|
62924
|
+
const source = sourceFrameworks.get(target.id);
|
|
62925
|
+
return source ? { ...target, dependencies: [{ target: source.id, attributes: [] }] } : target;
|
|
62926
|
+
})
|
|
62927
|
+
];
|
|
62842
62928
|
const applicationBuildVersion = app.sourceLinkGraph.targets.find(
|
|
62843
62929
|
(target) => target.id === app.sourceLinkGraph.entry
|
|
62844
62930
|
).buildVersion;
|
|
@@ -63908,11 +63994,22 @@ async function compile(packagePath, stamp, moduleRootOverride, hosted, snapshot,
|
|
|
63908
63994
|
const parsed2 = compileTargets(input);
|
|
63909
63995
|
const targets = parsed2.map((target) => swiftTargetModuleName(target.name));
|
|
63910
63996
|
const byPath = [...parsed2].sort((left, right) => right.path.length - left.path.length);
|
|
63997
|
+
const clangModulesByTarget = new Map(
|
|
63998
|
+
(input.nativeTargets ?? []).map(({ name: name3, headerSearchPaths }) => [
|
|
63999
|
+
name3,
|
|
64000
|
+
headerSearchPaths.flatMap((directory2) => {
|
|
64001
|
+
const map2 = input.files[import_node_path87.default.posix.join(directory2, "module.modulemap")];
|
|
64002
|
+
return map2 === void 0 ? [] : moduleMapModules(map2).map(({ name: name4 }) => name4);
|
|
64003
|
+
})
|
|
64004
|
+
])
|
|
64005
|
+
);
|
|
63911
64006
|
const providedByFile = (file) => {
|
|
63912
64007
|
const owner = byPath.find(
|
|
63913
64008
|
(target) => target.path === "." ? true : file.startsWith(`${target.path}/`)
|
|
63914
64009
|
);
|
|
63915
|
-
|
|
64010
|
+
if (!owner) return [];
|
|
64011
|
+
const clangModules = clangModulesByTarget.get(owner.name) ?? [];
|
|
64012
|
+
return owner.experimentalFeatures?.includes("BuiltinModule") ? [...clangModules, "Builtin"] : clangModules;
|
|
63916
64013
|
};
|
|
63917
64014
|
const missing2 = missingSwiftModules(
|
|
63918
64015
|
input.files,
|
|
@@ -71299,7 +71396,7 @@ var init_nitro_superset = __esm({
|
|
|
71299
71396
|
init_nitroContract();
|
|
71300
71397
|
init_swift_standin_digest();
|
|
71301
71398
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
71302
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
71399
|
+
NITRO_COMPILER_DIGEST = true ? "09d634619adc6638e3825b30f0b525d9161241c4f85cc899ea493a7d4c2773e4" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
71303
71400
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
71304
71401
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
71305
71402
|
published = /* @__PURE__ */ new Map();
|
|
@@ -72538,7 +72635,7 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
72538
72635
|
|
|
72539
72636
|
// src/expo-native-prebuilt.ts
|
|
72540
72637
|
function expoNativeCompilerDigestValue() {
|
|
72541
|
-
return true ? "
|
|
72638
|
+
return true ? "d4d0faa36585edc650e4af73f22815b669e67e40bd5df77ec7d25f8d87e65a0f" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
72542
72639
|
}
|
|
72543
72640
|
function readSources(value) {
|
|
72544
72641
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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 __defProp = Object.defineProperty;
|
package/dist-lib/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2412 | (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;
|