peachsim 0.1.1845 → 0.1.1847
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/detox/index.ts +14 -4
- 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 +139 -61
- 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 +14 -6
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +45 -23
- 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 +138 -60
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +43 -19
- 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 +43 -19
- package/dist-lib/native-app-identity-project.cjs +39 -15
- package/dist-lib/native-app-identity-project.mjs +39 -15
- 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 +143 -65
- package/dist-lib/swift-compile.cjs +8 -3
- package/dist-lib/swift-compile.mjs +7 -3
- 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 +28 -13
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +3 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-swift-host.ts +35 -18
- package/src/native-firebase-config.ts +3 -3
- package/src/swift-compile.ts +11 -3
- package/src/swift-host.ts +5 -1
- package/src/turbo-codegen-intake.ts +41 -6
- package/src/turbo-source.ts +56 -24
- package/src/xcode-project.ts +51 -18
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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.1847 | (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.1847 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __esm = (fn, res) => function __init() {
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "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": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "02dac6951dc7dd8465a421670901c932ac320fc9f8fe277885b2916149d40182", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -11189,7 +11189,7 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
11189
11189
|
init_version();
|
|
11190
11190
|
|
|
11191
11191
|
// runtime-companion.json
|
|
11192
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
11192
|
+
var runtime_companion_default = { abi: 1, sha256: "031fe7fcb9db836c5df1ddc8cf3ce1690992fc0465ae1d1210d7ef9b62547d48", file: "node/cli-031fe7fcb9db836c5df1ddc8cf3ce1690992fc0465ae1d1210d7ef9b62547d48.cjs" };
|
|
11193
11193
|
|
|
11194
11194
|
// src/answeredNativePackages.ts
|
|
11195
11195
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -13721,7 +13721,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
13721
13721
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
13722
13722
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
13723
13723
|
).join("");
|
|
13724
|
-
var compilerSourceDigest = true ? "
|
|
13724
|
+
var compilerSourceDigest = true ? "de4cf043c56670d57d1dccc969b1b12b70e242e3015fd98011df86b7ce82c4d6" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13725
13725
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
13726
13726
|
"CFAllocator",
|
|
13727
13727
|
"CFArray",
|
|
@@ -14234,7 +14234,7 @@ function applyConditions(raw, configuration) {
|
|
|
14234
14234
|
);
|
|
14235
14235
|
if (matches) conditional[key.slice(0, bracket)] = value;
|
|
14236
14236
|
}
|
|
14237
|
-
return
|
|
14237
|
+
return [plain, conditional];
|
|
14238
14238
|
}
|
|
14239
14239
|
function applyOperator(value, operator) {
|
|
14240
14240
|
if (operator.startsWith("default=")) return value === "" ? operator.slice(8) : value;
|
|
@@ -14396,8 +14396,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
14396
14396
|
const fromFile = baseFile ? readXcconfig(baseFile, read) : {};
|
|
14397
14397
|
xcconfigs.push(...read);
|
|
14398
14398
|
return [
|
|
14399
|
-
applyConditions(fromFile, name2),
|
|
14400
|
-
applyConditions(
|
|
14399
|
+
...applyConditions(fromFile, name2),
|
|
14400
|
+
...applyConditions(
|
|
14401
14401
|
Object.fromEntries(
|
|
14402
14402
|
Object.entries(own).flatMap(
|
|
14403
14403
|
([key, value]) => typeof value === "string" ? [[key, value]] : Array.isArray(value) ? [[key, list(value).join(" ")]] : []
|
|
@@ -15001,11 +15001,24 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
15001
15001
|
const nested = import_node_path18.default.join(projectRoot, "ios");
|
|
15002
15002
|
const iosRoot = import_node_fs15.default.existsSync(nested) ? nested : projectRoot;
|
|
15003
15003
|
const entries = import_node_fs15.default.readdirSync(iosRoot, { withFileTypes: true });
|
|
15004
|
-
const projects = (entries.some((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")) ? entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")).map((entry) =>
|
|
15005
|
-
|
|
15004
|
+
const projects = (entries.some((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")) ? entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")).map((entry) => ({
|
|
15005
|
+
xcodeproj: import_node_path18.default.join(iosRoot, entry.name),
|
|
15006
|
+
workspace: null
|
|
15007
|
+
})) : entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcworkspace")).flatMap((entry) => {
|
|
15008
|
+
const workspace = import_node_path18.default.join(iosRoot, entry.name);
|
|
15009
|
+
return workspaceReferences(workspace).map((xcodeproj2) => ({
|
|
15010
|
+
xcodeproj: xcodeproj2,
|
|
15011
|
+
workspace
|
|
15012
|
+
}));
|
|
15013
|
+
}).filter(
|
|
15014
|
+
({ xcodeproj: xcodeproj2 }) => xcodeproj2.endsWith(".xcodeproj") && !xcodeproj2.split(import_node_path18.default.sep).includes("Pods") && import_node_fs15.default.existsSync(xcodeproj2)
|
|
15006
15015
|
).filter(
|
|
15007
|
-
(xcodeproj2) => listXcodeAppTargets(xcodeproj2, { requireSources: false }).length > 0
|
|
15008
|
-
)).map((
|
|
15016
|
+
({ xcodeproj: xcodeproj2 }) => listXcodeAppTargets(xcodeproj2, { requireSources: false }).length > 0
|
|
15017
|
+
)).map(({ xcodeproj: xcodeproj2, workspace }) => ({
|
|
15018
|
+
xcodeproj: xcodeproj2,
|
|
15019
|
+
workspace,
|
|
15020
|
+
name: import_node_path18.default.basename(xcodeproj2)
|
|
15021
|
+
}));
|
|
15009
15022
|
if (projects.length === 0) return null;
|
|
15010
15023
|
if (projects.length > 1 && !iosTarget) {
|
|
15011
15024
|
throw new NativeAppTargetSelectionError(
|
|
@@ -15046,7 +15059,7 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
15046
15059
|
}
|
|
15047
15060
|
if (!appTargets.includes(target))
|
|
15048
15061
|
throw new Error(`native app identity has no application target ${target}`);
|
|
15049
|
-
return { xcodeproj, target };
|
|
15062
|
+
return { xcodeproj, target, workspace: project.workspace };
|
|
15050
15063
|
}
|
|
15051
15064
|
var workspaceResolvedFile = (xcodeprojOrWorkspace) => import_node_path18.default.join(
|
|
15052
15065
|
xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : import_node_path18.default.join(xcodeprojOrWorkspace, "project.xcworkspace"),
|
|
@@ -15806,7 +15819,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15806
15819
|
const binaryFrameworks = /* @__PURE__ */ new Map();
|
|
15807
15820
|
const searchedFrameworks = /* @__PURE__ */ new Map();
|
|
15808
15821
|
const frameworkSearchDirectories = /* @__PURE__ */ new Set();
|
|
15822
|
+
const sdkFrameworks = /* @__PURE__ */ new Set();
|
|
15809
15823
|
for (const { ref, settings: settings2 } of builtTargets) {
|
|
15824
|
+
const ldflags = settingList(settings2("OTHER_LDFLAGS"));
|
|
15825
|
+
ldflags.forEach((flag, index) => {
|
|
15826
|
+
const name2 = ldflags[index + 1];
|
|
15827
|
+
if ((flag === "-framework" || flag === "-weak_framework") && name2)
|
|
15828
|
+
sdkFrameworks.add(name2);
|
|
15829
|
+
});
|
|
15810
15830
|
const absolute = (raw) => import_node_path18.default.resolve(ref.project.projectDir, expand(raw, settings2));
|
|
15811
15831
|
const requested = options.nativeModules;
|
|
15812
15832
|
const includeBinary = (name2, dir) => {
|
|
@@ -15923,10 +15943,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15923
15943
|
const rawPath = str(file?.path) ?? "";
|
|
15924
15944
|
const name2 = /([^/]+)\.(xc)?framework$/.exec(rawPath)?.[1];
|
|
15925
15945
|
if (file?.isa !== "PBXFileReference" || !name2) continue;
|
|
15926
|
-
if (tree2 === "
|
|
15927
|
-
|
|
15928
|
-
|
|
15929
|
-
|
|
15946
|
+
if (tree2 === "SDKROOT" || /\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`)) {
|
|
15947
|
+
sdkFrameworks.add(name2);
|
|
15948
|
+
continue;
|
|
15949
|
+
}
|
|
15950
|
+
if (tree2 === "BUILT_PRODUCTS_DIR" || tree2 === "DEVELOPER_DIR" || // a target in the workspace builds it, so it exists only after that build
|
|
15930
15951
|
byProduct.has(import_node_path18.default.basename(rawPath)))
|
|
15931
15952
|
continue;
|
|
15932
15953
|
const resolved = fileId ? project.resolvePath(fileId) : null;
|
|
@@ -16008,6 +16029,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
16008
16029
|
...new Set(localPackageDirs.map((dir) => import_node_fs15.default.realpathSync(dir)))
|
|
16009
16030
|
].sort(),
|
|
16010
16031
|
binaryFrameworks: [...binaryFrameworks].map(([name2, file]) => ({ name: name2, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
|
|
16032
|
+
sdkFrameworks: [...sdkFrameworks].filter(
|
|
16033
|
+
(name2) => !binaryFrameworks.has(name2) && !byProduct.has(`${name2}.framework`)
|
|
16034
|
+
).sort(),
|
|
16011
16035
|
packageResolved,
|
|
16012
16036
|
appTargets: appTargetNames,
|
|
16013
16037
|
configuration,
|
|
@@ -16680,8 +16704,8 @@ function findDefaultConfigureCall(body, sources) {
|
|
|
16680
16704
|
}
|
|
16681
16705
|
return null;
|
|
16682
16706
|
}
|
|
16683
|
-
function readTargetGoogleServicesFile(projectRoot,
|
|
16684
|
-
const app = readXcodeAppTarget(
|
|
16707
|
+
function readTargetGoogleServicesFile(projectRoot, container, target, prepareGeneratedSources = false) {
|
|
16708
|
+
const app = readXcodeAppTarget(container, target, void 0, {
|
|
16685
16709
|
requireSources: false,
|
|
16686
16710
|
prepareGeneratedSources
|
|
16687
16711
|
});
|
|
@@ -16789,7 +16813,7 @@ function readNativeFirebaseConfig(projectRoot, platforms = ["ios", "android"], i
|
|
|
16789
16813
|
if (selected) {
|
|
16790
16814
|
const file = readTargetGoogleServicesFile(
|
|
16791
16815
|
projectRoot,
|
|
16792
|
-
selected.xcodeproj,
|
|
16816
|
+
selected.workspace ?? selected.xcodeproj,
|
|
16793
16817
|
selected.target,
|
|
16794
16818
|
prepareGeneratedSources
|
|
16795
16819
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "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": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "02dac6951dc7dd8465a421670901c932ac320fc9f8fe277885b2916149d40182", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -3046,7 +3046,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
3046
3046
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3047
3047
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
3048
3048
|
).join("");
|
|
3049
|
-
var compilerSourceDigest = true ? "
|
|
3049
|
+
var compilerSourceDigest = true ? "de4cf043c56670d57d1dccc969b1b12b70e242e3015fd98011df86b7ce82c4d6" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
3050
3050
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
3051
3051
|
"CFAllocator",
|
|
3052
3052
|
"CFArray",
|
|
@@ -3563,7 +3563,7 @@ function applyConditions(raw, configuration) {
|
|
|
3563
3563
|
);
|
|
3564
3564
|
if (matches) conditional[key.slice(0, bracket)] = value;
|
|
3565
3565
|
}
|
|
3566
|
-
return
|
|
3566
|
+
return [plain, conditional];
|
|
3567
3567
|
}
|
|
3568
3568
|
function applyOperator(value, operator) {
|
|
3569
3569
|
if (operator.startsWith("default=")) return value === "" ? operator.slice(8) : value;
|
|
@@ -3725,8 +3725,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
3725
3725
|
const fromFile = baseFile ? readXcconfig(baseFile, read) : {};
|
|
3726
3726
|
xcconfigs.push(...read);
|
|
3727
3727
|
return [
|
|
3728
|
-
applyConditions(fromFile, name2),
|
|
3729
|
-
applyConditions(
|
|
3728
|
+
...applyConditions(fromFile, name2),
|
|
3729
|
+
...applyConditions(
|
|
3730
3730
|
Object.fromEntries(
|
|
3731
3731
|
Object.entries(own).flatMap(
|
|
3732
3732
|
([key, value]) => typeof value === "string" ? [[key, value]] : Array.isArray(value) ? [[key, list(value).join(" ")]] : []
|
|
@@ -4330,11 +4330,24 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
4330
4330
|
const nested = import_node_path10.default.join(projectRoot, "ios");
|
|
4331
4331
|
const iosRoot = import_node_fs6.default.existsSync(nested) ? nested : projectRoot;
|
|
4332
4332
|
const entries = import_node_fs6.default.readdirSync(iosRoot, { withFileTypes: true });
|
|
4333
|
-
const projects = (entries.some((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")) ? entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")).map((entry) =>
|
|
4334
|
-
|
|
4333
|
+
const projects = (entries.some((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")) ? entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")).map((entry) => ({
|
|
4334
|
+
xcodeproj: import_node_path10.default.join(iosRoot, entry.name),
|
|
4335
|
+
workspace: null
|
|
4336
|
+
})) : entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcworkspace")).flatMap((entry) => {
|
|
4337
|
+
const workspace = import_node_path10.default.join(iosRoot, entry.name);
|
|
4338
|
+
return workspaceReferences(workspace).map((xcodeproj2) => ({
|
|
4339
|
+
xcodeproj: xcodeproj2,
|
|
4340
|
+
workspace
|
|
4341
|
+
}));
|
|
4342
|
+
}).filter(
|
|
4343
|
+
({ xcodeproj: xcodeproj2 }) => xcodeproj2.endsWith(".xcodeproj") && !xcodeproj2.split(import_node_path10.default.sep).includes("Pods") && import_node_fs6.default.existsSync(xcodeproj2)
|
|
4335
4344
|
).filter(
|
|
4336
|
-
(xcodeproj2) => listXcodeAppTargets(xcodeproj2, { requireSources: false }).length > 0
|
|
4337
|
-
)).map((
|
|
4345
|
+
({ xcodeproj: xcodeproj2 }) => listXcodeAppTargets(xcodeproj2, { requireSources: false }).length > 0
|
|
4346
|
+
)).map(({ xcodeproj: xcodeproj2, workspace }) => ({
|
|
4347
|
+
xcodeproj: xcodeproj2,
|
|
4348
|
+
workspace,
|
|
4349
|
+
name: import_node_path10.default.basename(xcodeproj2)
|
|
4350
|
+
}));
|
|
4338
4351
|
if (projects.length === 0) return null;
|
|
4339
4352
|
if (projects.length > 1 && !iosTarget) {
|
|
4340
4353
|
throw new NativeAppTargetSelectionError(
|
|
@@ -4375,7 +4388,7 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
4375
4388
|
}
|
|
4376
4389
|
if (!appTargets.includes(target))
|
|
4377
4390
|
throw new Error(`native app identity has no application target ${target}`);
|
|
4378
|
-
return { xcodeproj, target };
|
|
4391
|
+
return { xcodeproj, target, workspace: project.workspace };
|
|
4379
4392
|
}
|
|
4380
4393
|
var workspaceResolvedFile = (xcodeprojOrWorkspace) => import_node_path10.default.join(
|
|
4381
4394
|
xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : import_node_path10.default.join(xcodeprojOrWorkspace, "project.xcworkspace"),
|
|
@@ -5135,7 +5148,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5135
5148
|
const binaryFrameworks = /* @__PURE__ */ new Map();
|
|
5136
5149
|
const searchedFrameworks = /* @__PURE__ */ new Map();
|
|
5137
5150
|
const frameworkSearchDirectories = /* @__PURE__ */ new Set();
|
|
5151
|
+
const sdkFrameworks = /* @__PURE__ */ new Set();
|
|
5138
5152
|
for (const { ref, settings: settings2 } of builtTargets) {
|
|
5153
|
+
const ldflags = settingList(settings2("OTHER_LDFLAGS"));
|
|
5154
|
+
ldflags.forEach((flag, index) => {
|
|
5155
|
+
const name2 = ldflags[index + 1];
|
|
5156
|
+
if ((flag === "-framework" || flag === "-weak_framework") && name2)
|
|
5157
|
+
sdkFrameworks.add(name2);
|
|
5158
|
+
});
|
|
5139
5159
|
const absolute = (raw) => import_node_path10.default.resolve(ref.project.projectDir, expand(raw, settings2));
|
|
5140
5160
|
const requested = options.nativeModules;
|
|
5141
5161
|
const includeBinary = (name2, dir) => {
|
|
@@ -5252,10 +5272,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5252
5272
|
const rawPath = str(file?.path) ?? "";
|
|
5253
5273
|
const name2 = /([^/]+)\.(xc)?framework$/.exec(rawPath)?.[1];
|
|
5254
5274
|
if (file?.isa !== "PBXFileReference" || !name2) continue;
|
|
5255
|
-
if (tree2 === "
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5275
|
+
if (tree2 === "SDKROOT" || /\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`)) {
|
|
5276
|
+
sdkFrameworks.add(name2);
|
|
5277
|
+
continue;
|
|
5278
|
+
}
|
|
5279
|
+
if (tree2 === "BUILT_PRODUCTS_DIR" || tree2 === "DEVELOPER_DIR" || // a target in the workspace builds it, so it exists only after that build
|
|
5259
5280
|
byProduct.has(import_node_path10.default.basename(rawPath)))
|
|
5260
5281
|
continue;
|
|
5261
5282
|
const resolved = fileId ? project.resolvePath(fileId) : null;
|
|
@@ -5337,6 +5358,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5337
5358
|
...new Set(localPackageDirs.map((dir) => import_node_fs6.default.realpathSync(dir)))
|
|
5338
5359
|
].sort(),
|
|
5339
5360
|
binaryFrameworks: [...binaryFrameworks].map(([name2, file]) => ({ name: name2, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
|
|
5361
|
+
sdkFrameworks: [...sdkFrameworks].filter(
|
|
5362
|
+
(name2) => !binaryFrameworks.has(name2) && !byProduct.has(`${name2}.framework`)
|
|
5363
|
+
).sort(),
|
|
5340
5364
|
packageResolved,
|
|
5341
5365
|
appTargets: appTargetNames,
|
|
5342
5366
|
configuration,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -32,7 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
33
33
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
34
34
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
35
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "
|
|
35
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "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": "08583ee03b92e00f3f331e52fb480ef81c9fd7e668d796a5afcfa07978bcaf03", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "26f8d4a25d1af9917f0005153c73c9cefa4f6681c9d56c6333b8096190db0431", "swift-package.ts": "e224b5e20ed3a86df1c62d6429e88234ed65317ce32c61c1b6b02aaee173d64f", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "a90155695844684e625ab83687161104f028ef34030715a40042a4407b77fca0", "home-paths.ts": "744d0e29fcc4baae6748161da45dd75e357348703331dad685c74ec813abcc83", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "02dac6951dc7dd8465a421670901c932ac320fc9f8fe277885b2916149d40182", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
|
|
@@ -3179,7 +3179,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
3179
3179
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3180
3180
|
(module) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module}"`
|
|
3181
3181
|
).join("");
|
|
3182
|
-
var compilerSourceDigest = true ? "
|
|
3182
|
+
var compilerSourceDigest = true ? "de4cf043c56670d57d1dccc969b1b12b70e242e3015fd98011df86b7ce82c4d6" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
3183
3183
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
3184
3184
|
"CFAllocator",
|
|
3185
3185
|
"CFArray",
|
|
@@ -3704,7 +3704,7 @@ function applyConditions(raw, configuration) {
|
|
|
3704
3704
|
);
|
|
3705
3705
|
if (matches) conditional[key.slice(0, bracket)] = value;
|
|
3706
3706
|
}
|
|
3707
|
-
return
|
|
3707
|
+
return [plain, conditional];
|
|
3708
3708
|
}
|
|
3709
3709
|
function applyOperator(value, operator) {
|
|
3710
3710
|
if (operator.startsWith("default=")) return value === "" ? operator.slice(8) : value;
|
|
@@ -3866,8 +3866,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
3866
3866
|
const fromFile = baseFile ? readXcconfig(baseFile, read) : {};
|
|
3867
3867
|
xcconfigs.push(...read);
|
|
3868
3868
|
return [
|
|
3869
|
-
applyConditions(fromFile, name2),
|
|
3870
|
-
applyConditions(
|
|
3869
|
+
...applyConditions(fromFile, name2),
|
|
3870
|
+
...applyConditions(
|
|
3871
3871
|
Object.fromEntries(
|
|
3872
3872
|
Object.entries(own).flatMap(
|
|
3873
3873
|
([key, value]) => typeof value === "string" ? [[key, value]] : Array.isArray(value) ? [[key, list(value).join(" ")]] : []
|
|
@@ -4471,11 +4471,24 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
4471
4471
|
const nested = path30.join(projectRoot, "ios");
|
|
4472
4472
|
const iosRoot = fs16.existsSync(nested) ? nested : projectRoot;
|
|
4473
4473
|
const entries = fs16.readdirSync(iosRoot, { withFileTypes: true });
|
|
4474
|
-
const projects = (entries.some((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")) ? entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")).map((entry) =>
|
|
4475
|
-
|
|
4474
|
+
const projects = (entries.some((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")) ? entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj")).map((entry) => ({
|
|
4475
|
+
xcodeproj: path30.join(iosRoot, entry.name),
|
|
4476
|
+
workspace: null
|
|
4477
|
+
})) : entries.filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcworkspace")).flatMap((entry) => {
|
|
4478
|
+
const workspace = path30.join(iosRoot, entry.name);
|
|
4479
|
+
return workspaceReferences(workspace).map((xcodeproj2) => ({
|
|
4480
|
+
xcodeproj: xcodeproj2,
|
|
4481
|
+
workspace
|
|
4482
|
+
}));
|
|
4483
|
+
}).filter(
|
|
4484
|
+
({ xcodeproj: xcodeproj2 }) => xcodeproj2.endsWith(".xcodeproj") && !xcodeproj2.split(path30.sep).includes("Pods") && fs16.existsSync(xcodeproj2)
|
|
4476
4485
|
).filter(
|
|
4477
|
-
(xcodeproj2) => listXcodeAppTargets(xcodeproj2, { requireSources: false }).length > 0
|
|
4478
|
-
)).map((
|
|
4486
|
+
({ xcodeproj: xcodeproj2 }) => listXcodeAppTargets(xcodeproj2, { requireSources: false }).length > 0
|
|
4487
|
+
)).map(({ xcodeproj: xcodeproj2, workspace }) => ({
|
|
4488
|
+
xcodeproj: xcodeproj2,
|
|
4489
|
+
workspace,
|
|
4490
|
+
name: path30.basename(xcodeproj2)
|
|
4491
|
+
}));
|
|
4479
4492
|
if (projects.length === 0) return null;
|
|
4480
4493
|
if (projects.length > 1 && !iosTarget) {
|
|
4481
4494
|
throw new NativeAppTargetSelectionError(
|
|
@@ -4516,7 +4529,7 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
4516
4529
|
}
|
|
4517
4530
|
if (!appTargets.includes(target))
|
|
4518
4531
|
throw new Error(`native app identity has no application target ${target}`);
|
|
4519
|
-
return { xcodeproj, target };
|
|
4532
|
+
return { xcodeproj, target, workspace: project.workspace };
|
|
4520
4533
|
}
|
|
4521
4534
|
var workspaceResolvedFile = (xcodeprojOrWorkspace) => path30.join(
|
|
4522
4535
|
xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : path30.join(xcodeprojOrWorkspace, "project.xcworkspace"),
|
|
@@ -5276,7 +5289,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5276
5289
|
const binaryFrameworks = /* @__PURE__ */ new Map();
|
|
5277
5290
|
const searchedFrameworks = /* @__PURE__ */ new Map();
|
|
5278
5291
|
const frameworkSearchDirectories = /* @__PURE__ */ new Set();
|
|
5292
|
+
const sdkFrameworks = /* @__PURE__ */ new Set();
|
|
5279
5293
|
for (const { ref, settings: settings2 } of builtTargets) {
|
|
5294
|
+
const ldflags = settingList(settings2("OTHER_LDFLAGS"));
|
|
5295
|
+
ldflags.forEach((flag, index) => {
|
|
5296
|
+
const name2 = ldflags[index + 1];
|
|
5297
|
+
if ((flag === "-framework" || flag === "-weak_framework") && name2)
|
|
5298
|
+
sdkFrameworks.add(name2);
|
|
5299
|
+
});
|
|
5280
5300
|
const absolute = (raw) => path30.resolve(ref.project.projectDir, expand(raw, settings2));
|
|
5281
5301
|
const requested = options.nativeModules;
|
|
5282
5302
|
const includeBinary = (name2, dir) => {
|
|
@@ -5393,10 +5413,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5393
5413
|
const rawPath = str(file?.path) ?? "";
|
|
5394
5414
|
const name2 = /([^/]+)\.(xc)?framework$/.exec(rawPath)?.[1];
|
|
5395
5415
|
if (file?.isa !== "PBXFileReference" || !name2) continue;
|
|
5396
|
-
if (tree2 === "
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5416
|
+
if (tree2 === "SDKROOT" || /\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`)) {
|
|
5417
|
+
sdkFrameworks.add(name2);
|
|
5418
|
+
continue;
|
|
5419
|
+
}
|
|
5420
|
+
if (tree2 === "BUILT_PRODUCTS_DIR" || tree2 === "DEVELOPER_DIR" || // a target in the workspace builds it, so it exists only after that build
|
|
5400
5421
|
byProduct.has(path30.basename(rawPath)))
|
|
5401
5422
|
continue;
|
|
5402
5423
|
const resolved = fileId ? project.resolvePath(fileId) : null;
|
|
@@ -5478,6 +5499,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5478
5499
|
...new Set(localPackageDirs.map((dir) => fs16.realpathSync(dir)))
|
|
5479
5500
|
].sort(),
|
|
5480
5501
|
binaryFrameworks: [...binaryFrameworks].map(([name2, file]) => ({ name: name2, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
|
|
5502
|
+
sdkFrameworks: [...sdkFrameworks].filter(
|
|
5503
|
+
(name2) => !binaryFrameworks.has(name2) && !byProduct.has(`${name2}.framework`)
|
|
5504
|
+
).sort(),
|
|
5481
5505
|
packageResolved,
|
|
5482
5506
|
appTargets: appTargetNames,
|
|
5483
5507
|
configuration,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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.1847 | (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.1847 | (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/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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;
|
package/dist-lib/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1847 | (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.1847 | (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;
|