peachsim 0.1.1728 → 0.1.1738
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/control.ts +1 -0
- package/cli/commands/coverage-swift.ts +112 -4
- package/cli/commands/package.ts +11 -1
- package/cli/commands/shell-url.ts +4 -0
- package/cli/scene-video.ts +24 -7
- package/detox/index.ts +9 -1
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +5 -2
- package/dist-lib/auth/shared-session.cjs +5 -2
- 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 +3592 -1918
- 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 +13 -5
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +1329 -1022
- package/dist-lib/expo-swift-metadata.cjs +2 -2
- package/dist-lib/expo-swift-metadata.mjs +2 -2
- package/dist-lib/home-paths.cjs +7 -2
- package/dist-lib/host/bridge-host.cjs +3773 -2149
- package/dist-lib/host/fetch-proxy-handler.cjs +16 -5
- 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 +97 -68
- 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 +209 -32
- package/dist-lib/menu.cjs +7 -1
- package/dist-lib/menu.mjs +7 -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 +93 -65
- package/dist-lib/native-app-identity-project.cjs +37 -31
- package/dist-lib/native-app-identity-project.mjs +37 -31
- 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/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +5 -2
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +23 -23
- package/dist-lib/public-origins-lib.json +79 -53
- package/dist-lib/react-native-host-modules.cjs +5 -2
- package/dist-lib/react-native-host-modules.mjs +5 -2
- 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 +4486 -2789
- package/dist-lib/swift-compile.cjs +53 -60
- package/dist-lib/swift-compile.mjs +52 -60
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +17 -17
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +1056 -870
- package/dist-lib/vite.cjs +20 -8
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +7 -4
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +0 -5
- package/dist-types/packages/peach-engine/src/engine/memory-counts.d.ts +8 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +4 -1
- package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/text-paragraph.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/native-preview-bundle.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +7 -2
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +13 -1
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
- package/kotlin/README.md +3 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h +35 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h +53 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACError.h +37 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/Accounts.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/AccountsDefines.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +58 -3
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +636 -37
- package/sdk/ios/usr/include/os/signpost.h +414 -0
- package/sdk/ios/usr/include/os.modulemap +5 -0
- package/sdk/ios/wasm/include/errno.h +4 -20
- package/sdk/ios/wasm/include/pthread.h +3 -0
- package/sdk/ios/wasm/include/setjmp.h +57 -0
- package/sdk/ios/wasm/include/sys/resource.h +2 -2
- package/sdk/native-hashes.json +3 -3
- package/skills/peach-debug/SKILL.md +0 -1
- package/skills/peach-perf/SKILL.md +0 -1
- package/skills/peach-setup/SKILL.md +0 -1
- package/skills/peach-test/SKILL.md +0 -1
- package/skills/peach-visual/SKILL.md +0 -1
- package/src/android-autolinking.ts +1 -0
- package/src/android-bridge-packages.ts +279 -0
- package/src/appPackageContract.ts +2 -0
- package/src/bundle-channel.mjs +20 -2
- package/src/cli-runtime.ts +9 -5
- package/src/expo-discovery-cache.ts +7 -3
- package/src/expo-kotlin-host.ts +97 -26
- package/src/expo-native-workspace.ts +135 -40
- package/src/expo-swift-host.ts +93 -20
- package/src/expo-swift-ready.ts +5 -1
- package/src/expoKotlinContract.ts +12 -2
- package/src/expoSwiftContract.ts +9 -2
- package/src/generated/swift-c-predefines.json +1 -1
- package/src/home-paths.ts +6 -1
- package/src/host/bridge-host.ts +5 -0
- package/src/host/fetch-proxy-handler.ts +10 -0
- package/src/kotlin-host.ts +204 -30
- package/src/kotlinSdkContract.ts +2 -1
- package/src/menu.ts +7 -0
- package/src/native-prebuilt.ts +154 -0
- package/src/nitro-adapter.lock.json +251 -251
- package/src/nitro-adapter.ts +56 -50
- package/src/nitro-bundle.ts +84 -74
- package/src/nitro-compile.ts +10 -5
- package/src/nitro-dependencies.ts +43 -28
- package/src/nitro-source.ts +60 -26
- package/src/nitroAdapterContract.ts +146 -98
- package/src/nitroContract.ts +64 -21
- package/src/react-native-bridge-modules.ts +2 -0
- package/src/react-native-host-modules.ts +4 -1
- package/src/settingsContract.ts +11 -0
- package/src/storageSnapshotContract.ts +29 -81
- package/src/swift-compile.ts +49 -50
- package/src/swift-coverage/indexdump.ts +22 -6
- package/src/swift-coverage/indexing.ts +4 -4
- package/src/swift-coverage/sdk.ts +104 -20
- package/src/swift-coverage/types.ts +34 -0
- package/src/swift-coverage/xcode.ts +9 -1
- package/src/swift-distribution.lock.json +15 -12
- package/src/swift-host.ts +3 -0
- package/src/swift-standin-emit.ts +6 -1
- package/src/swift-standins.ts +172 -10
- package/src/swift-submit.ts +5 -1
- package/src/swift-toolchain.ts +16 -16
- package/src/turbo-bundle.ts +81 -0
- package/src/turbo-compile.ts +120 -0
- package/src/turbo-runtime.lock.json +69 -0
- package/src/turbo-source.ts +754 -0
- package/src/vite-plugin-one.ts +4 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1738 | (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;
|
|
@@ -40,6 +40,7 @@ __export(swift_compile_exports, {
|
|
|
40
40
|
compileTargets: () => compileTargets,
|
|
41
41
|
emitSwiftPackageManifest: () => emitSwiftPackageManifest,
|
|
42
42
|
ensureMacroPlugins: () => ensureMacroPlugins,
|
|
43
|
+
foundationOwnerOf: () => foundationOwnerOf,
|
|
43
44
|
lowerAVAssetURLCluster: () => lowerAVAssetURLCluster,
|
|
44
45
|
lowerNSValueTimeBox: () => lowerNSValueTimeBox,
|
|
45
46
|
missingSwiftModules: () => missingSwiftModules,
|
|
@@ -110,7 +111,7 @@ function admittedMacBuilderSlot(env = process.env) {
|
|
|
110
111
|
|
|
111
112
|
// src/generated/swift-c-predefines.json
|
|
112
113
|
var swift_c_predefines_default = {
|
|
113
|
-
release: "swift-6.4.0-RELEASE-custom-
|
|
114
|
+
release: "swift-6.4.0-RELEASE-custom-81b2c791c27276bf",
|
|
114
115
|
languages: {
|
|
115
116
|
c: {
|
|
116
117
|
TARGET_IPHONE_SIMULATOR: "1",
|
|
@@ -2158,10 +2159,13 @@ var swift_c_predefines_default = {
|
|
|
2158
2159
|
var import_node_os = require("node:os");
|
|
2159
2160
|
var import_node_path = __toESM(require("node:path"), 1);
|
|
2160
2161
|
var PEACH_HOME_ENV = "PEACH_HOME";
|
|
2162
|
+
function ambientHomeDir() {
|
|
2163
|
+
return import_node_path.default.join((0, import_node_os.homedir)(), ".peach");
|
|
2164
|
+
}
|
|
2161
2165
|
function rnxHomeDir() {
|
|
2162
2166
|
const override = process.env[PEACH_HOME_ENV];
|
|
2163
2167
|
if (override && override.length > 0) return import_node_path.default.resolve(override);
|
|
2164
|
-
return
|
|
2168
|
+
return ambientHomeDir();
|
|
2165
2169
|
}
|
|
2166
2170
|
function cacheDir() {
|
|
2167
2171
|
return import_node_path.default.join(rnxHomeDir(), "cache");
|
|
@@ -2982,23 +2986,23 @@ function swiftSdkOptions() {
|
|
|
2982
2986
|
}
|
|
2983
2987
|
return [];
|
|
2984
2988
|
}
|
|
2985
|
-
var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-
|
|
2986
|
-
var SWIFT_HOST_COMPILER_ID = "
|
|
2989
|
+
var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-81b2c791c27276bf";
|
|
2990
|
+
var SWIFT_HOST_COMPILER_ID = "81b2c791c27276bf";
|
|
2987
2991
|
var compilerArchives = {
|
|
2988
|
-
"swift-6.4.0-RELEASE-custom-
|
|
2989
|
-
identity: "
|
|
2992
|
+
"swift-6.4.0-RELEASE-custom-0b2d0a9011c88e66": {
|
|
2993
|
+
identity: "0b2d0a9011c88e66",
|
|
2990
2994
|
hosts: {
|
|
2991
2995
|
"darwin-arm64": {
|
|
2992
|
-
checksum: "
|
|
2993
|
-
manifest: "
|
|
2996
|
+
checksum: "dc6a494227297ea657e8e5f7c5b4a861cb5e142bdbcfcb028ace2aeb19db90cc",
|
|
2997
|
+
manifest: "d8e9eee0fb9b847f1e9350525d6c68606df46101745f553332309ed026b3c26a"
|
|
2994
2998
|
},
|
|
2995
2999
|
"linux-x64": {
|
|
2996
|
-
checksum: "
|
|
2997
|
-
manifest: "
|
|
3000
|
+
checksum: "85c04b4496aea1657c21a47f448e01d6ccc1c7920d130a566db37fb8350a7be2",
|
|
3001
|
+
manifest: "8451659e74235ad53b700c1afbe293512197900eb98cb1f79e36df2f5c85d511"
|
|
2998
3002
|
},
|
|
2999
3003
|
"linux-arm64": {
|
|
3000
|
-
checksum: "
|
|
3001
|
-
manifest: "
|
|
3004
|
+
checksum: "196606ed62c5c926d18e6ef0769cb1ab21c9943f9084070ddf14a7bc696768b8",
|
|
3005
|
+
manifest: "85fb8d5b6527bd75003a6dbd25b68b22540665cf9df9b13f41f82e5d8acdbf1d"
|
|
3002
3006
|
}
|
|
3003
3007
|
}
|
|
3004
3008
|
},
|
|
@@ -3006,16 +3010,16 @@ var compilerArchives = {
|
|
|
3006
3010
|
identity: SWIFT_HOST_COMPILER_ID,
|
|
3007
3011
|
hosts: {
|
|
3008
3012
|
"darwin-arm64": {
|
|
3009
|
-
checksum: "
|
|
3010
|
-
manifest: "
|
|
3013
|
+
checksum: "bc51b83d9e2e01c9873875326544734486d3ff3a868d650379c304045e8838d3",
|
|
3014
|
+
manifest: "a26eb9cb4fbd1dbd7faac20cced1ec5e67745bd358aa1180cc4abc1a0d21d6e6"
|
|
3011
3015
|
},
|
|
3012
3016
|
"linux-x64": {
|
|
3013
|
-
checksum: "
|
|
3014
|
-
manifest: "
|
|
3017
|
+
checksum: "ea63bbdecae14ff8e9e3f535b521fedc65d51b31521c5d10cc332cb91882d058",
|
|
3018
|
+
manifest: "b22b321ce3eb3fe044fa2122484a15c061f262c45d88a05b3fbace0a5bf038b6"
|
|
3015
3019
|
},
|
|
3016
3020
|
"linux-arm64": {
|
|
3017
|
-
checksum: "
|
|
3018
|
-
manifest: "
|
|
3021
|
+
checksum: "3eef4ed57830908515d8def2882e312f7cabeea57ccda5b2a7585401ef98cc48",
|
|
3022
|
+
manifest: "cfab342b8090fa83a697a391a7563cba14b771c24f07e1f8e19977f913ac88be"
|
|
3019
3023
|
}
|
|
3020
3024
|
}
|
|
3021
3025
|
}
|
|
@@ -4817,9 +4821,8 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
|
4817
4821
|
ImagePlayground: [],
|
|
4818
4822
|
QuickLookThumbnailing: [],
|
|
4819
4823
|
libxml2: [],
|
|
4820
|
-
Compression: [
|
|
4821
|
-
zlib: [
|
|
4822
|
-
PeachCodec: [],
|
|
4824
|
+
Compression: [],
|
|
4825
|
+
zlib: [],
|
|
4823
4826
|
TikTokBusinessSDK: [],
|
|
4824
4827
|
nSure: [],
|
|
4825
4828
|
Statsig: [],
|
|
@@ -5159,7 +5162,7 @@ var executableLinkFlags = (root) => ` "-Xclang-linker", "-O0",
|
|
|
5159
5162
|
`;
|
|
5160
5163
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
5161
5164
|
var MULTI_MANIFEST_VERSION = 50;
|
|
5162
|
-
var compilerSourceDigest = true ? "
|
|
5165
|
+
var compilerSourceDigest = true ? "ef5dd306e582a1e4457110943c56b962bf338a0800b8065a7e15eaaa8a25a9ae" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
5163
5166
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
5164
5167
|
const hash = (0, import_node_crypto5.createHash)("sha256");
|
|
5165
5168
|
hash.update(`swift-compile
|
|
@@ -5516,7 +5519,7 @@ function syncSwiftTree(base, files) {
|
|
|
5516
5519
|
var DIRECTIVE = /^[ \t]*#(?:if|elseif)\b/;
|
|
5517
5520
|
var OS_IOS = /\b(?:os\(\s*iOS\s*\)|targetEnvironment\(\s*simulator\s*\))/g;
|
|
5518
5521
|
var DELEGATE_CLASS = /^class\s+[A-Za-z_]\w*\s*(?:<[^>{]*>)?\s*:[^{]*\b(?:UIApplicationDelegate|UISceneDelegate|UIWindowSceneDelegate)\b[^{]*\{/;
|
|
5519
|
-
var REUSABLE_INIT = /^override(?=\s+init\s*\(\s*(?:style\s*:[^,)]*,\s*reuseIdentifier|reuseIdentifier)\s*:)/;
|
|
5522
|
+
var REUSABLE_INIT = /^override(?=\s+(?:(?:public|open|internal)\s+)?init\s*\(\s*(?:style\s*:[^,)]*,\s*reuseIdentifier|reuseIdentifier)\s*:)/;
|
|
5520
5523
|
var REUSABLE_VIEW_BASES = [
|
|
5521
5524
|
"UICollectionReusableView",
|
|
5522
5525
|
"UICollectionViewCell",
|
|
@@ -5672,34 +5675,12 @@ function swiftCodeMask(source) {
|
|
|
5672
5675
|
return chars.join("");
|
|
5673
5676
|
}
|
|
5674
5677
|
var FOUNDATION_NETWORKING_TYPES = /* @__PURE__ */ new Set([
|
|
5675
|
-
"CachedURLResponse",
|
|
5676
|
-
"HTTPCookieStorage",
|
|
5677
|
-
"NSMutableURLRequest",
|
|
5678
5678
|
"NSURLConnection",
|
|
5679
5679
|
"NSURLConnectionDataDelegate",
|
|
5680
5680
|
"NSURLConnectionDelegate",
|
|
5681
5681
|
"NSURLConnectionDownloadDelegate",
|
|
5682
|
-
"URLCache",
|
|
5683
|
-
"URLCredentialStorage",
|
|
5684
5682
|
"URLProtocol",
|
|
5685
|
-
"URLProtocolClient"
|
|
5686
|
-
"URLRequest",
|
|
5687
|
-
"URLSession",
|
|
5688
|
-
"URLSessionConfiguration",
|
|
5689
|
-
"URLSessionDataDelegate",
|
|
5690
|
-
"URLSessionDataTask",
|
|
5691
|
-
"URLSessionDelegate",
|
|
5692
|
-
"URLSessionDownloadDelegate",
|
|
5693
|
-
"URLSessionDownloadTask",
|
|
5694
|
-
"URLSessionStreamDelegate",
|
|
5695
|
-
"URLSessionStreamTask",
|
|
5696
|
-
"URLSessionTask",
|
|
5697
|
-
"URLSessionTaskDelegate",
|
|
5698
|
-
"URLSessionTaskMetrics",
|
|
5699
|
-
"URLSessionTaskTransactionMetrics",
|
|
5700
|
-
"URLSessionUploadTask",
|
|
5701
|
-
"URLSessionWebSocketDelegate",
|
|
5702
|
-
"URLSessionWebSocketTask"
|
|
5683
|
+
"URLProtocolClient"
|
|
5703
5684
|
]);
|
|
5704
5685
|
var FOUNDATION_OVERLAY_TYPES = /* @__PURE__ */ new Set([
|
|
5705
5686
|
"AsyncCharacterSequence",
|
|
@@ -5725,6 +5706,7 @@ var FOUNDATION_OVERLAY_TYPES = /* @__PURE__ */ new Set([
|
|
|
5725
5706
|
"NSCollectionChangeType",
|
|
5726
5707
|
"NSConditionLock",
|
|
5727
5708
|
"NSDataDetector",
|
|
5709
|
+
"NSErrorPointer",
|
|
5728
5710
|
"NSException",
|
|
5729
5711
|
"NSExtensionContext",
|
|
5730
5712
|
"NSExtensionItem",
|
|
@@ -6353,6 +6335,15 @@ var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
|
6353
6335
|
"import typealias CoreFoundation.CFTypeRef",
|
|
6354
6336
|
"import CoreGraphics"
|
|
6355
6337
|
]).join("; ");
|
|
6338
|
+
function foundationOwnerOf(name2) {
|
|
6339
|
+
if (name2 === "NSClassFromString" || name2 === "NSKeyValueChange" || name2 === "NSKeyValueObservedChange" || name2 === "NSKeyValueObservation")
|
|
6340
|
+
return "PeachObjC";
|
|
6341
|
+
if (name2 === "DispatchData") return "Dispatch";
|
|
6342
|
+
if (FOUNDATION_NETWORKING_TYPES.has(name2)) return "FoundationNetworking";
|
|
6343
|
+
if (FOUNDATION_OVERLAY_TYPES.has(name2) || FOUNDATION_OVERLAY_GLOBALS.has(name2) || CORE_FOUNDATION_OVERLAY_GLOBALS.has(name2))
|
|
6344
|
+
return "PeachFoundation";
|
|
6345
|
+
return void 0;
|
|
6346
|
+
}
|
|
6356
6347
|
function swiftSourceAsIOS(source) {
|
|
6357
6348
|
const { lineStarts, tokens } = swiftCodeScan(source);
|
|
6358
6349
|
let offset = 0;
|
|
@@ -6408,16 +6399,7 @@ function swiftSourceAsIOS(source) {
|
|
|
6408
6399
|
}
|
|
6409
6400
|
const foundationMember = /^Foundation\s*\.\s*(?:`([A-Za-z_]\w*)`|([A-Za-z_]\w*)\b)/.exec(rest);
|
|
6410
6401
|
const foundationName = foundationMember?.[1] ?? foundationMember?.[2];
|
|
6411
|
-
|
|
6412
|
-
if (foundationName !== void 0) {
|
|
6413
|
-
if (foundationName === "NSClassFromString" || foundationName === "NSKeyValueChange" || foundationName === "NSKeyValueObservedChange" || foundationName === "NSKeyValueObservation")
|
|
6414
|
-
foundationOwner = "PeachObjC";
|
|
6415
|
-
else if (foundationName === "DispatchData") foundationOwner = "Dispatch";
|
|
6416
|
-
else if (FOUNDATION_NETWORKING_TYPES.has(foundationName))
|
|
6417
|
-
foundationOwner = "FoundationNetworking";
|
|
6418
|
-
else if (FOUNDATION_OVERLAY_TYPES.has(foundationName) || FOUNDATION_OVERLAY_GLOBALS.has(foundationName) || CORE_FOUNDATION_OVERLAY_GLOBALS.has(foundationName))
|
|
6419
|
-
foundationOwner = "PeachFoundation";
|
|
6420
|
-
}
|
|
6402
|
+
const foundationOwner = foundationName === void 0 ? void 0 : foundationOwnerOf(foundationName);
|
|
6421
6403
|
if (foundationOwner !== void 0) {
|
|
6422
6404
|
out += conditioned.slice(copied, at) + foundationOwner;
|
|
6423
6405
|
copied = at + "Foundation".length;
|
|
@@ -6988,13 +6970,21 @@ function writeSwiftProject(layout, input, moduleRoot, prebuilt) {
|
|
|
6988
6970
|
if (target) swiftTargets.add(target.name);
|
|
6989
6971
|
}
|
|
6990
6972
|
const importedModules = /* @__PURE__ */ new Set();
|
|
6973
|
+
const swiftImportedModules = /* @__PURE__ */ new Set();
|
|
6974
|
+
const clangImportedModules = /* @__PURE__ */ new Set();
|
|
6991
6975
|
for (const [file, contents] of Object.entries(input.files)) {
|
|
6992
6976
|
if (file.endsWith(".swift"))
|
|
6993
|
-
for (const name2 of swiftImportNames(contents))
|
|
6977
|
+
for (const name2 of swiftImportNames(contents)) {
|
|
6978
|
+
importedModules.add(name2);
|
|
6979
|
+
swiftImportedModules.add(name2);
|
|
6980
|
+
}
|
|
6994
6981
|
else if (SWIFT_NATIVE_SOURCE_EXTENSIONS.some(
|
|
6995
6982
|
(extension) => extension !== ".modulemap" && file.endsWith(extension)
|
|
6996
6983
|
))
|
|
6997
|
-
for (const name2 of clangImportNames(contents))
|
|
6984
|
+
for (const name2 of clangImportNames(contents)) {
|
|
6985
|
+
importedModules.add(name2);
|
|
6986
|
+
clangImportedModules.add(name2);
|
|
6987
|
+
}
|
|
6998
6988
|
}
|
|
6999
6989
|
const headerDirectory = import_node_path13.default.join(layout.root, ".build", "peach-cxx-headers");
|
|
7000
6990
|
let checkedToolchain;
|
|
@@ -7705,7 +7695,9 @@ function writeSwiftProject(layout, input, moduleRoot, prebuilt) {
|
|
|
7705
7695
|
const reachesFrameworks = !distribution || Object.entries(input.files).some(
|
|
7706
7696
|
([file, source]) => file.endsWith(".swift") && file !== input.entry && file !== "Package.swift" || /\.mm?$/.test(file) || source.includes("dispatch_")
|
|
7707
7697
|
) || [...importedModules].some(
|
|
7708
|
-
(name2) => distribution.modules.includes(name2) && !targets.some((target) => target.name === name2)
|
|
7698
|
+
(name2) => distribution.modules.includes(name2) && !targets.some((target) => target.name === name2) && !(clangImportedModules.has(name2) && !swiftImportedModules.has(name2) && (0, import_node_fs9.existsSync)(
|
|
7699
|
+
import_node_path13.default.join(swiftSharedSdkRoot(moduleRoot, true), "usr/include", name2)
|
|
7700
|
+
))
|
|
7709
7701
|
);
|
|
7710
7702
|
const frameworkLink = prebuilt ? import_node_path13.default.join(layout.root, ".peach-framework-objects.rsp") : void 0;
|
|
7711
7703
|
if (prebuilt && frameworkLink) {
|
|
@@ -8610,6 +8602,7 @@ function compileSwiftProjectUnit(input, options) {
|
|
|
8610
8602
|
compileTargets,
|
|
8611
8603
|
emitSwiftPackageManifest,
|
|
8612
8604
|
ensureMacroPlugins,
|
|
8605
|
+
foundationOwnerOf,
|
|
8613
8606
|
lowerAVAssetURLCluster,
|
|
8614
8607
|
lowerNSValueTimeBox,
|
|
8615
8608
|
missingSwiftModules,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1738 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -54,7 +54,7 @@ function admittedMacBuilderSlot(env = process.env) {
|
|
|
54
54
|
|
|
55
55
|
// src/generated/swift-c-predefines.json
|
|
56
56
|
var swift_c_predefines_default = {
|
|
57
|
-
release: "swift-6.4.0-RELEASE-custom-
|
|
57
|
+
release: "swift-6.4.0-RELEASE-custom-81b2c791c27276bf",
|
|
58
58
|
languages: {
|
|
59
59
|
c: {
|
|
60
60
|
TARGET_IPHONE_SIMULATOR: "1",
|
|
@@ -2104,10 +2104,13 @@ import fs from "node:fs";
|
|
|
2104
2104
|
import { homedir } from "node:os";
|
|
2105
2105
|
import path from "node:path";
|
|
2106
2106
|
var PEACH_HOME_ENV = "PEACH_HOME";
|
|
2107
|
+
function ambientHomeDir() {
|
|
2108
|
+
return path.join(homedir(), ".peach");
|
|
2109
|
+
}
|
|
2107
2110
|
function rnxHomeDir() {
|
|
2108
2111
|
const override = process.env[PEACH_HOME_ENV];
|
|
2109
2112
|
if (override && override.length > 0) return path.resolve(override);
|
|
2110
|
-
return
|
|
2113
|
+
return ambientHomeDir();
|
|
2111
2114
|
}
|
|
2112
2115
|
function cacheDir() {
|
|
2113
2116
|
return path.join(rnxHomeDir(), "cache");
|
|
@@ -2941,23 +2944,23 @@ function swiftSdkOptions() {
|
|
|
2941
2944
|
}
|
|
2942
2945
|
return [];
|
|
2943
2946
|
}
|
|
2944
|
-
var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-
|
|
2945
|
-
var SWIFT_HOST_COMPILER_ID = "
|
|
2947
|
+
var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-81b2c791c27276bf";
|
|
2948
|
+
var SWIFT_HOST_COMPILER_ID = "81b2c791c27276bf";
|
|
2946
2949
|
var compilerArchives = {
|
|
2947
|
-
"swift-6.4.0-RELEASE-custom-
|
|
2948
|
-
identity: "
|
|
2950
|
+
"swift-6.4.0-RELEASE-custom-0b2d0a9011c88e66": {
|
|
2951
|
+
identity: "0b2d0a9011c88e66",
|
|
2949
2952
|
hosts: {
|
|
2950
2953
|
"darwin-arm64": {
|
|
2951
|
-
checksum: "
|
|
2952
|
-
manifest: "
|
|
2954
|
+
checksum: "dc6a494227297ea657e8e5f7c5b4a861cb5e142bdbcfcb028ace2aeb19db90cc",
|
|
2955
|
+
manifest: "d8e9eee0fb9b847f1e9350525d6c68606df46101745f553332309ed026b3c26a"
|
|
2953
2956
|
},
|
|
2954
2957
|
"linux-x64": {
|
|
2955
|
-
checksum: "
|
|
2956
|
-
manifest: "
|
|
2958
|
+
checksum: "85c04b4496aea1657c21a47f448e01d6ccc1c7920d130a566db37fb8350a7be2",
|
|
2959
|
+
manifest: "8451659e74235ad53b700c1afbe293512197900eb98cb1f79e36df2f5c85d511"
|
|
2957
2960
|
},
|
|
2958
2961
|
"linux-arm64": {
|
|
2959
|
-
checksum: "
|
|
2960
|
-
manifest: "
|
|
2962
|
+
checksum: "196606ed62c5c926d18e6ef0769cb1ab21c9943f9084070ddf14a7bc696768b8",
|
|
2963
|
+
manifest: "85fb8d5b6527bd75003a6dbd25b68b22540665cf9df9b13f41f82e5d8acdbf1d"
|
|
2961
2964
|
}
|
|
2962
2965
|
}
|
|
2963
2966
|
},
|
|
@@ -2965,16 +2968,16 @@ var compilerArchives = {
|
|
|
2965
2968
|
identity: SWIFT_HOST_COMPILER_ID,
|
|
2966
2969
|
hosts: {
|
|
2967
2970
|
"darwin-arm64": {
|
|
2968
|
-
checksum: "
|
|
2969
|
-
manifest: "
|
|
2971
|
+
checksum: "bc51b83d9e2e01c9873875326544734486d3ff3a868d650379c304045e8838d3",
|
|
2972
|
+
manifest: "a26eb9cb4fbd1dbd7faac20cced1ec5e67745bd358aa1180cc4abc1a0d21d6e6"
|
|
2970
2973
|
},
|
|
2971
2974
|
"linux-x64": {
|
|
2972
|
-
checksum: "
|
|
2973
|
-
manifest: "
|
|
2975
|
+
checksum: "ea63bbdecae14ff8e9e3f535b521fedc65d51b31521c5d10cc332cb91882d058",
|
|
2976
|
+
manifest: "b22b321ce3eb3fe044fa2122484a15c061f262c45d88a05b3fbace0a5bf038b6"
|
|
2974
2977
|
},
|
|
2975
2978
|
"linux-arm64": {
|
|
2976
|
-
checksum: "
|
|
2977
|
-
manifest: "
|
|
2979
|
+
checksum: "3eef4ed57830908515d8def2882e312f7cabeea57ccda5b2a7585401ef98cc48",
|
|
2980
|
+
manifest: "cfab342b8090fa83a697a391a7563cba14b771c24f07e1f8e19977f913ac88be"
|
|
2978
2981
|
}
|
|
2979
2982
|
}
|
|
2980
2983
|
}
|
|
@@ -4788,9 +4791,8 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
|
4788
4791
|
ImagePlayground: [],
|
|
4789
4792
|
QuickLookThumbnailing: [],
|
|
4790
4793
|
libxml2: [],
|
|
4791
|
-
Compression: [
|
|
4792
|
-
zlib: [
|
|
4793
|
-
PeachCodec: [],
|
|
4794
|
+
Compression: [],
|
|
4795
|
+
zlib: [],
|
|
4794
4796
|
TikTokBusinessSDK: [],
|
|
4795
4797
|
nSure: [],
|
|
4796
4798
|
Statsig: [],
|
|
@@ -5130,7 +5132,7 @@ var executableLinkFlags = (root) => ` "-Xclang-linker", "-O0",
|
|
|
5130
5132
|
`;
|
|
5131
5133
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
5132
5134
|
var MULTI_MANIFEST_VERSION = 50;
|
|
5133
|
-
var compilerSourceDigest = true ? "
|
|
5135
|
+
var compilerSourceDigest = true ? "ef5dd306e582a1e4457110943c56b962bf338a0800b8065a7e15eaaa8a25a9ae" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
5134
5136
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
5135
5137
|
const hash = createHash6("sha256");
|
|
5136
5138
|
hash.update(`swift-compile
|
|
@@ -5487,7 +5489,7 @@ function syncSwiftTree(base, files) {
|
|
|
5487
5489
|
var DIRECTIVE = /^[ \t]*#(?:if|elseif)\b/;
|
|
5488
5490
|
var OS_IOS = /\b(?:os\(\s*iOS\s*\)|targetEnvironment\(\s*simulator\s*\))/g;
|
|
5489
5491
|
var DELEGATE_CLASS = /^class\s+[A-Za-z_]\w*\s*(?:<[^>{]*>)?\s*:[^{]*\b(?:UIApplicationDelegate|UISceneDelegate|UIWindowSceneDelegate)\b[^{]*\{/;
|
|
5490
|
-
var REUSABLE_INIT = /^override(?=\s+init\s*\(\s*(?:style\s*:[^,)]*,\s*reuseIdentifier|reuseIdentifier)\s*:)/;
|
|
5492
|
+
var REUSABLE_INIT = /^override(?=\s+(?:(?:public|open|internal)\s+)?init\s*\(\s*(?:style\s*:[^,)]*,\s*reuseIdentifier|reuseIdentifier)\s*:)/;
|
|
5491
5493
|
var REUSABLE_VIEW_BASES = [
|
|
5492
5494
|
"UICollectionReusableView",
|
|
5493
5495
|
"UICollectionViewCell",
|
|
@@ -5643,34 +5645,12 @@ function swiftCodeMask(source) {
|
|
|
5643
5645
|
return chars.join("");
|
|
5644
5646
|
}
|
|
5645
5647
|
var FOUNDATION_NETWORKING_TYPES = /* @__PURE__ */ new Set([
|
|
5646
|
-
"CachedURLResponse",
|
|
5647
|
-
"HTTPCookieStorage",
|
|
5648
|
-
"NSMutableURLRequest",
|
|
5649
5648
|
"NSURLConnection",
|
|
5650
5649
|
"NSURLConnectionDataDelegate",
|
|
5651
5650
|
"NSURLConnectionDelegate",
|
|
5652
5651
|
"NSURLConnectionDownloadDelegate",
|
|
5653
|
-
"URLCache",
|
|
5654
|
-
"URLCredentialStorage",
|
|
5655
5652
|
"URLProtocol",
|
|
5656
|
-
"URLProtocolClient"
|
|
5657
|
-
"URLRequest",
|
|
5658
|
-
"URLSession",
|
|
5659
|
-
"URLSessionConfiguration",
|
|
5660
|
-
"URLSessionDataDelegate",
|
|
5661
|
-
"URLSessionDataTask",
|
|
5662
|
-
"URLSessionDelegate",
|
|
5663
|
-
"URLSessionDownloadDelegate",
|
|
5664
|
-
"URLSessionDownloadTask",
|
|
5665
|
-
"URLSessionStreamDelegate",
|
|
5666
|
-
"URLSessionStreamTask",
|
|
5667
|
-
"URLSessionTask",
|
|
5668
|
-
"URLSessionTaskDelegate",
|
|
5669
|
-
"URLSessionTaskMetrics",
|
|
5670
|
-
"URLSessionTaskTransactionMetrics",
|
|
5671
|
-
"URLSessionUploadTask",
|
|
5672
|
-
"URLSessionWebSocketDelegate",
|
|
5673
|
-
"URLSessionWebSocketTask"
|
|
5653
|
+
"URLProtocolClient"
|
|
5674
5654
|
]);
|
|
5675
5655
|
var FOUNDATION_OVERLAY_TYPES = /* @__PURE__ */ new Set([
|
|
5676
5656
|
"AsyncCharacterSequence",
|
|
@@ -5696,6 +5676,7 @@ var FOUNDATION_OVERLAY_TYPES = /* @__PURE__ */ new Set([
|
|
|
5696
5676
|
"NSCollectionChangeType",
|
|
5697
5677
|
"NSConditionLock",
|
|
5698
5678
|
"NSDataDetector",
|
|
5679
|
+
"NSErrorPointer",
|
|
5699
5680
|
"NSException",
|
|
5700
5681
|
"NSExtensionContext",
|
|
5701
5682
|
"NSExtensionItem",
|
|
@@ -6324,6 +6305,15 @@ var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
|
6324
6305
|
"import typealias CoreFoundation.CFTypeRef",
|
|
6325
6306
|
"import CoreGraphics"
|
|
6326
6307
|
]).join("; ");
|
|
6308
|
+
function foundationOwnerOf(name2) {
|
|
6309
|
+
if (name2 === "NSClassFromString" || name2 === "NSKeyValueChange" || name2 === "NSKeyValueObservedChange" || name2 === "NSKeyValueObservation")
|
|
6310
|
+
return "PeachObjC";
|
|
6311
|
+
if (name2 === "DispatchData") return "Dispatch";
|
|
6312
|
+
if (FOUNDATION_NETWORKING_TYPES.has(name2)) return "FoundationNetworking";
|
|
6313
|
+
if (FOUNDATION_OVERLAY_TYPES.has(name2) || FOUNDATION_OVERLAY_GLOBALS.has(name2) || CORE_FOUNDATION_OVERLAY_GLOBALS.has(name2))
|
|
6314
|
+
return "PeachFoundation";
|
|
6315
|
+
return void 0;
|
|
6316
|
+
}
|
|
6327
6317
|
function swiftSourceAsIOS(source) {
|
|
6328
6318
|
const { lineStarts, tokens } = swiftCodeScan(source);
|
|
6329
6319
|
let offset = 0;
|
|
@@ -6379,16 +6369,7 @@ function swiftSourceAsIOS(source) {
|
|
|
6379
6369
|
}
|
|
6380
6370
|
const foundationMember = /^Foundation\s*\.\s*(?:`([A-Za-z_]\w*)`|([A-Za-z_]\w*)\b)/.exec(rest);
|
|
6381
6371
|
const foundationName = foundationMember?.[1] ?? foundationMember?.[2];
|
|
6382
|
-
|
|
6383
|
-
if (foundationName !== void 0) {
|
|
6384
|
-
if (foundationName === "NSClassFromString" || foundationName === "NSKeyValueChange" || foundationName === "NSKeyValueObservedChange" || foundationName === "NSKeyValueObservation")
|
|
6385
|
-
foundationOwner = "PeachObjC";
|
|
6386
|
-
else if (foundationName === "DispatchData") foundationOwner = "Dispatch";
|
|
6387
|
-
else if (FOUNDATION_NETWORKING_TYPES.has(foundationName))
|
|
6388
|
-
foundationOwner = "FoundationNetworking";
|
|
6389
|
-
else if (FOUNDATION_OVERLAY_TYPES.has(foundationName) || FOUNDATION_OVERLAY_GLOBALS.has(foundationName) || CORE_FOUNDATION_OVERLAY_GLOBALS.has(foundationName))
|
|
6390
|
-
foundationOwner = "PeachFoundation";
|
|
6391
|
-
}
|
|
6372
|
+
const foundationOwner = foundationName === void 0 ? void 0 : foundationOwnerOf(foundationName);
|
|
6392
6373
|
if (foundationOwner !== void 0) {
|
|
6393
6374
|
out += conditioned.slice(copied, at) + foundationOwner;
|
|
6394
6375
|
copied = at + "Foundation".length;
|
|
@@ -6959,13 +6940,21 @@ function writeSwiftProject(layout, input, moduleRoot, prebuilt) {
|
|
|
6959
6940
|
if (target) swiftTargets.add(target.name);
|
|
6960
6941
|
}
|
|
6961
6942
|
const importedModules = /* @__PURE__ */ new Set();
|
|
6943
|
+
const swiftImportedModules = /* @__PURE__ */ new Set();
|
|
6944
|
+
const clangImportedModules = /* @__PURE__ */ new Set();
|
|
6962
6945
|
for (const [file, contents] of Object.entries(input.files)) {
|
|
6963
6946
|
if (file.endsWith(".swift"))
|
|
6964
|
-
for (const name2 of swiftImportNames(contents))
|
|
6947
|
+
for (const name2 of swiftImportNames(contents)) {
|
|
6948
|
+
importedModules.add(name2);
|
|
6949
|
+
swiftImportedModules.add(name2);
|
|
6950
|
+
}
|
|
6965
6951
|
else if (SWIFT_NATIVE_SOURCE_EXTENSIONS.some(
|
|
6966
6952
|
(extension) => extension !== ".modulemap" && file.endsWith(extension)
|
|
6967
6953
|
))
|
|
6968
|
-
for (const name2 of clangImportNames(contents))
|
|
6954
|
+
for (const name2 of clangImportNames(contents)) {
|
|
6955
|
+
importedModules.add(name2);
|
|
6956
|
+
clangImportedModules.add(name2);
|
|
6957
|
+
}
|
|
6969
6958
|
}
|
|
6970
6959
|
const headerDirectory = path13.join(layout.root, ".build", "peach-cxx-headers");
|
|
6971
6960
|
let checkedToolchain;
|
|
@@ -7676,7 +7665,9 @@ function writeSwiftProject(layout, input, moduleRoot, prebuilt) {
|
|
|
7676
7665
|
const reachesFrameworks = !distribution || Object.entries(input.files).some(
|
|
7677
7666
|
([file, source]) => file.endsWith(".swift") && file !== input.entry && file !== "Package.swift" || /\.mm?$/.test(file) || source.includes("dispatch_")
|
|
7678
7667
|
) || [...importedModules].some(
|
|
7679
|
-
(name2) => distribution.modules.includes(name2) && !targets.some((target) => target.name === name2)
|
|
7668
|
+
(name2) => distribution.modules.includes(name2) && !targets.some((target) => target.name === name2) && !(clangImportedModules.has(name2) && !swiftImportedModules.has(name2) && existsSync2(
|
|
7669
|
+
path13.join(swiftSharedSdkRoot(moduleRoot, true), "usr/include", name2)
|
|
7670
|
+
))
|
|
7680
7671
|
);
|
|
7681
7672
|
const frameworkLink = prebuilt ? path13.join(layout.root, ".peach-framework-objects.rsp") : void 0;
|
|
7682
7673
|
if (prebuilt && frameworkLink) {
|
|
@@ -8580,6 +8571,7 @@ export {
|
|
|
8580
8571
|
compileTargets,
|
|
8581
8572
|
emitSwiftPackageManifest,
|
|
8582
8573
|
ensureMacroPlugins,
|
|
8574
|
+
foundationOwnerOf,
|
|
8583
8575
|
lowerAVAssetURLCluster,
|
|
8584
8576
|
lowerNSValueTimeBox,
|
|
8585
8577
|
missingSwiftModules,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1738 | (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.1738 | (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;
|
|
@@ -86,7 +86,7 @@ var MAX_SWIFT_COMPILE_METAL_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
86
86
|
var MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
87
87
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
88
88
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
89
|
-
var SWIFT_HOST_ABI =
|
|
89
|
+
var SWIFT_HOST_ABI = 55;
|
|
90
90
|
var POLL_INTERVAL_MS = 1500;
|
|
91
91
|
function swiftNativeEntry(native, file) {
|
|
92
92
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1738 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/is-record.ts
|
|
4
4
|
function isRecord(value) {
|
|
@@ -40,7 +40,7 @@ var MAX_SWIFT_COMPILE_METAL_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
40
40
|
var MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
41
41
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
42
42
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
43
|
-
var SWIFT_HOST_ABI =
|
|
43
|
+
var SWIFT_HOST_ABI = 55;
|
|
44
44
|
var POLL_INTERVAL_MS = 1500;
|
|
45
45
|
function swiftNativeEntry(native, file) {
|
|
46
46
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1738 | (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;
|
|
@@ -89,23 +89,23 @@ function swiftSdkOptions() {
|
|
|
89
89
|
}
|
|
90
90
|
return [];
|
|
91
91
|
}
|
|
92
|
-
var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-
|
|
93
|
-
var SWIFT_HOST_COMPILER_ID = "
|
|
92
|
+
var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-81b2c791c27276bf";
|
|
93
|
+
var SWIFT_HOST_COMPILER_ID = "81b2c791c27276bf";
|
|
94
94
|
var compilerArchives = {
|
|
95
|
-
"swift-6.4.0-RELEASE-custom-
|
|
96
|
-
identity: "
|
|
95
|
+
"swift-6.4.0-RELEASE-custom-0b2d0a9011c88e66": {
|
|
96
|
+
identity: "0b2d0a9011c88e66",
|
|
97
97
|
hosts: {
|
|
98
98
|
"darwin-arm64": {
|
|
99
|
-
checksum: "
|
|
100
|
-
manifest: "
|
|
99
|
+
checksum: "dc6a494227297ea657e8e5f7c5b4a861cb5e142bdbcfcb028ace2aeb19db90cc",
|
|
100
|
+
manifest: "d8e9eee0fb9b847f1e9350525d6c68606df46101745f553332309ed026b3c26a"
|
|
101
101
|
},
|
|
102
102
|
"linux-x64": {
|
|
103
|
-
checksum: "
|
|
104
|
-
manifest: "
|
|
103
|
+
checksum: "85c04b4496aea1657c21a47f448e01d6ccc1c7920d130a566db37fb8350a7be2",
|
|
104
|
+
manifest: "8451659e74235ad53b700c1afbe293512197900eb98cb1f79e36df2f5c85d511"
|
|
105
105
|
},
|
|
106
106
|
"linux-arm64": {
|
|
107
|
-
checksum: "
|
|
108
|
-
manifest: "
|
|
107
|
+
checksum: "196606ed62c5c926d18e6ef0769cb1ab21c9943f9084070ddf14a7bc696768b8",
|
|
108
|
+
manifest: "85fb8d5b6527bd75003a6dbd25b68b22540665cf9df9b13f41f82e5d8acdbf1d"
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
},
|
|
@@ -113,16 +113,16 @@ var compilerArchives = {
|
|
|
113
113
|
identity: SWIFT_HOST_COMPILER_ID,
|
|
114
114
|
hosts: {
|
|
115
115
|
"darwin-arm64": {
|
|
116
|
-
checksum: "
|
|
117
|
-
manifest: "
|
|
116
|
+
checksum: "bc51b83d9e2e01c9873875326544734486d3ff3a868d650379c304045e8838d3",
|
|
117
|
+
manifest: "a26eb9cb4fbd1dbd7faac20cced1ec5e67745bd358aa1180cc4abc1a0d21d6e6"
|
|
118
118
|
},
|
|
119
119
|
"linux-x64": {
|
|
120
|
-
checksum: "
|
|
121
|
-
manifest: "
|
|
120
|
+
checksum: "ea63bbdecae14ff8e9e3f535b521fedc65d51b31521c5d10cc332cb91882d058",
|
|
121
|
+
manifest: "b22b321ce3eb3fe044fa2122484a15c061f262c45d88a05b3fbace0a5bf038b6"
|
|
122
122
|
},
|
|
123
123
|
"linux-arm64": {
|
|
124
|
-
checksum: "
|
|
125
|
-
manifest: "
|
|
124
|
+
checksum: "3eef4ed57830908515d8def2882e312f7cabeea57ccda5b2a7585401ef98cc48",
|
|
125
|
+
manifest: "cfab342b8090fa83a697a391a7563cba14b771c24f07e1f8e19977f913ac88be"
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
}
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1738 | (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;
|