peachsim 0.1.2220 → 0.1.2222
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/compat.ts +4 -4
- package/cli/commands/inspect.ts +4 -4
- package/cli/commands/report-issue.ts +1 -1
- package/cli/runtime-compat.ts +7 -2
- 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 +475 -381
- 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 +3 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +472 -379
- 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 +695 -574
- package/dist-lib/host/fetch-proxy-handler.cjs +10 -7
- 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 +8232 -7815
- 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 +8146 -7737
- package/dist-lib/native-app-identity-project.cjs +331 -13
- package/dist-lib/native-app-identity-project.mjs +331 -13
- package/dist-lib/native-app-identity.cjs +16 -3
- package/dist-lib/native-app-identity.mjs +16 -3
- 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 +25 -24
- package/dist-lib/public-origins-lib.json +99 -96
- 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 +532 -420
- package/dist-lib/swift-compile.cjs +84 -49
- package/dist-lib/swift-compile.mjs +84 -49
- 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 +158 -69
- package/dist-lib/vite.cjs +2930 -2800
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/cli-companion.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/cli-host-terser.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/glass-material.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +1 -2
- package/dist-types/packages/peach-kit/src/internal.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/ios-tint.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +25 -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/SceneKit.framework/Headers/SCNAnimation.h +4 -4
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNCameraController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNConstraint.h +5 -5
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNGeometry.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNLevelOfDetail.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNParametricGeometry.h +9 -9
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNParticleSystem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNPhysicsBehavior.h +7 -7
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNRenderer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNShadable.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNTechnique.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h +1 -8
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap +1 -0
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +1 -0
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UILayoutPriority.h +11 -0
- package/src/cli-runtime.ts +1 -0
- package/src/expo-native-workspace.ts +14 -10
- package/src/expo-workspace-exclusion.ts +10 -7
- package/src/react-native-autolinking.ts +2 -1
- package/src/runtime-delivery.ts +7 -0
- package/src/swift-compile.ts +90 -54
- package/src/swift-coverage/xcode-assets.ts +4 -2
- package/src/swift-host.ts +53 -14
- package/src/swift-objc-import.ts +4 -0
- package/src/wasm-optimize.ts +5 -1
- package/src/xcode-project.ts +26 -5
- package/src/xcode-target-members.ts +25 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2222 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "29c2661be4b952101c9b9b8fd861560e6ce63b25dd4464f47475aaf72024f4fe", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "25505683ca29a0b380413bf2a5026d4967eacf886e35bc11ece6e15317e5bb02", "home-paths.ts": "d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "b6e04100805ba81f14d751383416fd4aab46901a6f94f5b62f831e66c28001c1", "xcode-target-members.ts": "d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -1587,6 +1587,7 @@ function parseOpenStepPlist(text2) {
|
|
|
1587
1587
|
// src/xcode-target-members.ts
|
|
1588
1588
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1589
1589
|
var NEVER_MEMBER = /(?:^|\/)(?:Info\.plist|[^/]+\.entitlements|[^/]+\.xcconfig|\.DS_Store)$/;
|
|
1590
|
+
var FOLDER_REFERENCE = /^(?:folder|wrapper\.scnassets)$/;
|
|
1590
1591
|
var BUNDLE_DIR = /\.(xcassets|bundle|lproj|xcdatamodeld|scnassets|spriteatlas|rcproject|storyboardc|icon)$/;
|
|
1591
1592
|
function xcodePathResolver(objects, projectDir, join2, sourceTreeRoot) {
|
|
1592
1593
|
const parents = /* @__PURE__ */ new Map();
|
|
@@ -1653,8 +1654,20 @@ function xcodeTargetMemberVisitor(objects) {
|
|
|
1653
1654
|
for (const id of refs) {
|
|
1654
1655
|
const file = resolvePath(id);
|
|
1655
1656
|
if (file === null) continue;
|
|
1656
|
-
if (phase.isa === "PBXSourcesBuildPhase")
|
|
1657
|
-
|
|
1657
|
+
if (phase.isa === "PBXSourcesBuildPhase") {
|
|
1658
|
+
visit(file, "source");
|
|
1659
|
+
continue;
|
|
1660
|
+
}
|
|
1661
|
+
const ref = objects[id];
|
|
1662
|
+
const type = isDict(ref) ? str(ref.lastKnownFileType) ?? str(ref.explicitFileType) ?? "" : "";
|
|
1663
|
+
const root = file.replace(/[\\/]+$/, "");
|
|
1664
|
+
const folder = FOLDER_REFERENCE.test(type) ? root.split(/[\\/]/).pop() : void 0;
|
|
1665
|
+
for (const inner of filesUnder(file))
|
|
1666
|
+
visit(
|
|
1667
|
+
inner,
|
|
1668
|
+
"resource",
|
|
1669
|
+
folder && `${folder}/${inner.slice(root.length + 1).replaceAll("\\", "/")}`
|
|
1670
|
+
);
|
|
1658
1671
|
}
|
|
1659
1672
|
}
|
|
1660
1673
|
}
|
|
@@ -2562,6 +2575,297 @@ var import_node_fs6 = __toESM(require("node:fs"), 1);
|
|
|
2562
2575
|
var import_node_path10 = __toESM(require("node:path"), 1);
|
|
2563
2576
|
var import_plist2 = __toESM(require("plist"), 1);
|
|
2564
2577
|
|
|
2578
|
+
// src/ios-sdk-frameworks.json
|
|
2579
|
+
var ios_sdk_frameworks_default = {
|
|
2580
|
+
sdk: "iphonesimulator27.1",
|
|
2581
|
+
frameworks: [
|
|
2582
|
+
"ARKit",
|
|
2583
|
+
"AVFAudio",
|
|
2584
|
+
"AVFoundation",
|
|
2585
|
+
"AVKit",
|
|
2586
|
+
"AVRouting",
|
|
2587
|
+
"Accelerate",
|
|
2588
|
+
"Accessibility",
|
|
2589
|
+
"AccessoryLiveActivities",
|
|
2590
|
+
"AccessoryNotifications",
|
|
2591
|
+
"AccessorySetupKit",
|
|
2592
|
+
"AccessoryTransportExtension",
|
|
2593
|
+
"Accounts",
|
|
2594
|
+
"ActivityKit",
|
|
2595
|
+
"AdAttributionKit",
|
|
2596
|
+
"AdServices",
|
|
2597
|
+
"AdSupport",
|
|
2598
|
+
"AddressBook",
|
|
2599
|
+
"AddressBookUI",
|
|
2600
|
+
"AlarmKit",
|
|
2601
|
+
"AppClip",
|
|
2602
|
+
"AppIntents",
|
|
2603
|
+
"AppIntentsTypeSupport",
|
|
2604
|
+
"AppMigrationKit",
|
|
2605
|
+
"AppTrackingTransparency",
|
|
2606
|
+
"AssetsLibrary",
|
|
2607
|
+
"AudioToolbox",
|
|
2608
|
+
"AudioUnit",
|
|
2609
|
+
"AuthenticationServices",
|
|
2610
|
+
"AutomatedDeviceEnrollment",
|
|
2611
|
+
"AutomaticAssessmentConfiguration",
|
|
2612
|
+
"BackgroundAssets",
|
|
2613
|
+
"BackgroundTasks",
|
|
2614
|
+
"BrowserEngineCore",
|
|
2615
|
+
"BrowserEngineKit",
|
|
2616
|
+
"BrowserKit",
|
|
2617
|
+
"BusinessChat",
|
|
2618
|
+
"CFNetwork",
|
|
2619
|
+
"CallKit",
|
|
2620
|
+
"CarKey",
|
|
2621
|
+
"CarPlay",
|
|
2622
|
+
"Charts",
|
|
2623
|
+
"ClassKit",
|
|
2624
|
+
"ClassKitUI",
|
|
2625
|
+
"ClockKit",
|
|
2626
|
+
"CloudKit",
|
|
2627
|
+
"ColorSync",
|
|
2628
|
+
"Combine",
|
|
2629
|
+
"ComputeGraph",
|
|
2630
|
+
"ContactProvider",
|
|
2631
|
+
"Contacts",
|
|
2632
|
+
"ContactsUI",
|
|
2633
|
+
"CoreAudio",
|
|
2634
|
+
"CoreAudioKit",
|
|
2635
|
+
"CoreAudioTypes",
|
|
2636
|
+
"CoreBluetooth",
|
|
2637
|
+
"CoreData",
|
|
2638
|
+
"CoreFoundation",
|
|
2639
|
+
"CoreGraphics",
|
|
2640
|
+
"CoreHaptics",
|
|
2641
|
+
"CoreImage",
|
|
2642
|
+
"CoreLocation",
|
|
2643
|
+
"CoreLocationUI",
|
|
2644
|
+
"CoreMIDI",
|
|
2645
|
+
"CoreML",
|
|
2646
|
+
"CoreMedia",
|
|
2647
|
+
"CoreMotion",
|
|
2648
|
+
"CoreNFC",
|
|
2649
|
+
"CoreServices",
|
|
2650
|
+
"CoreSpotlight",
|
|
2651
|
+
"CoreTelephony",
|
|
2652
|
+
"CoreText",
|
|
2653
|
+
"CoreTransferable",
|
|
2654
|
+
"CoreVideo",
|
|
2655
|
+
"CreateMLComponents",
|
|
2656
|
+
"CryptoKit",
|
|
2657
|
+
"CryptoTokenKit",
|
|
2658
|
+
"DataDetection",
|
|
2659
|
+
"DeclaredAgeRange",
|
|
2660
|
+
"DeveloperToolsSupport",
|
|
2661
|
+
"DeviceActivity",
|
|
2662
|
+
"DeviceCheck",
|
|
2663
|
+
"DeviceDiscoveryExtension",
|
|
2664
|
+
"DeviceDiscoveryUI",
|
|
2665
|
+
"EnergyKit",
|
|
2666
|
+
"EventKit",
|
|
2667
|
+
"EventKitUI",
|
|
2668
|
+
"ExposureNotification",
|
|
2669
|
+
"ExtensionFoundation",
|
|
2670
|
+
"ExtensionKit",
|
|
2671
|
+
"ExternalAccessory",
|
|
2672
|
+
"FamilyControls",
|
|
2673
|
+
"FileProvider",
|
|
2674
|
+
"FileProviderUI",
|
|
2675
|
+
"FinanceKit",
|
|
2676
|
+
"FinanceKitUI",
|
|
2677
|
+
"Foundation",
|
|
2678
|
+
"FoundationModels",
|
|
2679
|
+
"GLKit",
|
|
2680
|
+
"GSS",
|
|
2681
|
+
"GameController",
|
|
2682
|
+
"GameKit",
|
|
2683
|
+
"GameSave",
|
|
2684
|
+
"GameplayKit",
|
|
2685
|
+
"GeoToolbox",
|
|
2686
|
+
"GroupActivities",
|
|
2687
|
+
"HealthKit",
|
|
2688
|
+
"HealthKitUI",
|
|
2689
|
+
"HomeKit",
|
|
2690
|
+
"IOKit",
|
|
2691
|
+
"IOSurface",
|
|
2692
|
+
"IdentityDocumentServices",
|
|
2693
|
+
"IdentityDocumentServicesUI",
|
|
2694
|
+
"IdentityLookup",
|
|
2695
|
+
"IdentityLookupUI",
|
|
2696
|
+
"ImageCaptureCore",
|
|
2697
|
+
"ImageIO",
|
|
2698
|
+
"ImagePlayground",
|
|
2699
|
+
"ImmersiveMediaSupport",
|
|
2700
|
+
"Intents",
|
|
2701
|
+
"IntentsUI",
|
|
2702
|
+
"JavaScriptCore",
|
|
2703
|
+
"LinkPresentation",
|
|
2704
|
+
"LinkSecurity",
|
|
2705
|
+
"LiveCommunicationKit",
|
|
2706
|
+
"LocalAuthentication",
|
|
2707
|
+
"LocalAuthenticationEmbeddedUI",
|
|
2708
|
+
"LockedCameraCapture",
|
|
2709
|
+
"ManagedApp",
|
|
2710
|
+
"ManagedAppDistribution",
|
|
2711
|
+
"ManagedSettings",
|
|
2712
|
+
"ManagedSettingsUI",
|
|
2713
|
+
"MapKit",
|
|
2714
|
+
"MarketplaceKit",
|
|
2715
|
+
"Matter",
|
|
2716
|
+
"MatterSupport",
|
|
2717
|
+
"MediaAccessibility",
|
|
2718
|
+
"MediaIntelligence",
|
|
2719
|
+
"MediaIntents",
|
|
2720
|
+
"MediaPlayer",
|
|
2721
|
+
"MediaToolbox",
|
|
2722
|
+
"MessageUI",
|
|
2723
|
+
"Messages",
|
|
2724
|
+
"Metal",
|
|
2725
|
+
"MetalKit",
|
|
2726
|
+
"MetalPerformancePrimitives",
|
|
2727
|
+
"MetalPerformanceShaders",
|
|
2728
|
+
"MetalPerformanceShadersGraph",
|
|
2729
|
+
"MetricKit",
|
|
2730
|
+
"MobileCoreServices",
|
|
2731
|
+
"ModelIO",
|
|
2732
|
+
"MultipeerConnectivity",
|
|
2733
|
+
"MusicKit",
|
|
2734
|
+
"MusicUnderstanding",
|
|
2735
|
+
"NaturalLanguage",
|
|
2736
|
+
"NearbyInteraction",
|
|
2737
|
+
"Network",
|
|
2738
|
+
"NetworkExtension",
|
|
2739
|
+
"NotificationCenter",
|
|
2740
|
+
"NowPlaying",
|
|
2741
|
+
"OSLog",
|
|
2742
|
+
"OpenAL",
|
|
2743
|
+
"OpenGLES",
|
|
2744
|
+
"PDFKit",
|
|
2745
|
+
"PHASE",
|
|
2746
|
+
"PaperKit",
|
|
2747
|
+
"PassKit",
|
|
2748
|
+
"PencilKit",
|
|
2749
|
+
"PermissionKit",
|
|
2750
|
+
"Photos",
|
|
2751
|
+
"PhotosUI",
|
|
2752
|
+
"ProximityReader",
|
|
2753
|
+
"PushKit",
|
|
2754
|
+
"PushToTalk",
|
|
2755
|
+
"QuartzCore",
|
|
2756
|
+
"QuickLook",
|
|
2757
|
+
"QuickLookThumbnailing",
|
|
2758
|
+
"RealityFoundation",
|
|
2759
|
+
"RealityKit",
|
|
2760
|
+
"RelevanceKit",
|
|
2761
|
+
"ReplayKit",
|
|
2762
|
+
"RoomPlan",
|
|
2763
|
+
"SafariServices",
|
|
2764
|
+
"SafetyKit",
|
|
2765
|
+
"SceneKit",
|
|
2766
|
+
"ScreenTime",
|
|
2767
|
+
"SecureElementCredential",
|
|
2768
|
+
"Security",
|
|
2769
|
+
"SecurityUI",
|
|
2770
|
+
"SensitiveContentAnalysis",
|
|
2771
|
+
"SensorKit",
|
|
2772
|
+
"ServicesAccountLinking",
|
|
2773
|
+
"SharedWithYou",
|
|
2774
|
+
"SharedWithYouCore",
|
|
2775
|
+
"ShazamKit",
|
|
2776
|
+
"Social",
|
|
2777
|
+
"SoundAnalysis",
|
|
2778
|
+
"Speech",
|
|
2779
|
+
"SpriteKit",
|
|
2780
|
+
"StateReporting",
|
|
2781
|
+
"StoreKit",
|
|
2782
|
+
"SuggestedActions",
|
|
2783
|
+
"SwiftData",
|
|
2784
|
+
"SwiftUI",
|
|
2785
|
+
"SwiftUICore",
|
|
2786
|
+
"Symbols",
|
|
2787
|
+
"SystemConfiguration",
|
|
2788
|
+
"SystemExtensions",
|
|
2789
|
+
"TabularData",
|
|
2790
|
+
"TelephonyMessagingKit",
|
|
2791
|
+
"TipKit",
|
|
2792
|
+
"TouchController",
|
|
2793
|
+
"Translation",
|
|
2794
|
+
"TranslationUIProvider",
|
|
2795
|
+
"TrustInsights",
|
|
2796
|
+
"Twitter",
|
|
2797
|
+
"UIKit",
|
|
2798
|
+
"USDKit",
|
|
2799
|
+
"UniformTypeIdentifiers",
|
|
2800
|
+
"UserNotifications",
|
|
2801
|
+
"UserNotificationsUI",
|
|
2802
|
+
"VideoSubscriberAccount",
|
|
2803
|
+
"VideoToolbox",
|
|
2804
|
+
"Vision",
|
|
2805
|
+
"VisionKit",
|
|
2806
|
+
"WatchConnectivity",
|
|
2807
|
+
"WeatherKit",
|
|
2808
|
+
"WebKit",
|
|
2809
|
+
"WiFiAware",
|
|
2810
|
+
"WidgetKit",
|
|
2811
|
+
"WorkoutKit",
|
|
2812
|
+
"_AVKit_SwiftUI",
|
|
2813
|
+
"_AdAttributionKit_StoreKit",
|
|
2814
|
+
"_AppIntents_HealthKit",
|
|
2815
|
+
"_AppIntents_SwiftUI",
|
|
2816
|
+
"_AppIntents_UIKit",
|
|
2817
|
+
"_AuthenticationServices_SwiftUI",
|
|
2818
|
+
"_Contacts_AppIntents",
|
|
2819
|
+
"_CoreData_CloudKit",
|
|
2820
|
+
"_CoreLocationUI_SwiftUI",
|
|
2821
|
+
"_CoreNFC_UIKit",
|
|
2822
|
+
"_CoreSpotlight_FoundationModels",
|
|
2823
|
+
"_DataDetection_SwiftUI",
|
|
2824
|
+
"_DeviceActivity_SwiftUI",
|
|
2825
|
+
"_DeviceDiscoveryUI_SwiftUI",
|
|
2826
|
+
"_FinanceKit_AppIntents",
|
|
2827
|
+
"_FoundationModels_SwiftUI",
|
|
2828
|
+
"_FoundationModels_UIKit",
|
|
2829
|
+
"_GameController_SwiftUI",
|
|
2830
|
+
"_GeoToolbox_AppIntents",
|
|
2831
|
+
"_GroupActivities_UIKit",
|
|
2832
|
+
"_HomeKit_SwiftUI",
|
|
2833
|
+
"_Intents_TipKit",
|
|
2834
|
+
"_LinkPresentation_AppIntents",
|
|
2835
|
+
"_LocationEssentials",
|
|
2836
|
+
"_MapKit_SwiftUI",
|
|
2837
|
+
"_MarketplaceKit_UIKit",
|
|
2838
|
+
"_MediaIntents_AppIntents",
|
|
2839
|
+
"_MediaPlayer_AppIntents",
|
|
2840
|
+
"_MusicKit_SwiftUI",
|
|
2841
|
+
"_NowPlaying_AppIntents",
|
|
2842
|
+
"_PassKit_SwiftUI",
|
|
2843
|
+
"_PermissionKit_SwiftUI",
|
|
2844
|
+
"_PermissionKit_UIKit",
|
|
2845
|
+
"_PhotosUI_SwiftUI",
|
|
2846
|
+
"_PhotosUI_WidgetKit",
|
|
2847
|
+
"_Photos_AppIntents",
|
|
2848
|
+
"_QuickLook_SwiftUI",
|
|
2849
|
+
"_RealityKit_ComputeGraph",
|
|
2850
|
+
"_RealityKit_SwiftUI",
|
|
2851
|
+
"_RelevanceKit_MapKit",
|
|
2852
|
+
"_SceneKit_SwiftUI",
|
|
2853
|
+
"_SecureElementCredential_SwiftUI",
|
|
2854
|
+
"_SecureElementCredential_UIKit",
|
|
2855
|
+
"_SharedWithYou_AppIntents",
|
|
2856
|
+
"_SpriteKit_SwiftUI",
|
|
2857
|
+
"_StoreKit_SwiftUI",
|
|
2858
|
+
"_SwiftData_CoreData",
|
|
2859
|
+
"_SwiftData_SwiftUI",
|
|
2860
|
+
"_Translation_SwiftUI",
|
|
2861
|
+
"_USDKit_RealityKit",
|
|
2862
|
+
"_UserNotifications_AppIntents",
|
|
2863
|
+
"_WebKit_SwiftUI",
|
|
2864
|
+
"_WorkoutKit_SwiftUI",
|
|
2865
|
+
"iAd"
|
|
2866
|
+
]
|
|
2867
|
+
};
|
|
2868
|
+
|
|
2565
2869
|
// src/prepared-xcode-phases.ts
|
|
2566
2870
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2567
2871
|
var import_node_crypto2 = require("node:crypto");
|
|
@@ -3207,7 +3511,8 @@ var FEATURES = [
|
|
|
3207
3511
|
"reference-types",
|
|
3208
3512
|
"sign-ext"
|
|
3209
3513
|
];
|
|
3210
|
-
var
|
|
3514
|
+
var KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
|
|
3515
|
+
var WASM_OPTIMIZE_IDENTITY = `wasm-opt ${import_wasm_opt.BINARYEN_VERSION} -Oz ${FEATURES.join(",")}${KEEP_WASM_NAMES ? " -g" : ""}`;
|
|
3211
3516
|
|
|
3212
3517
|
// src/swift-icu.ts
|
|
3213
3518
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -3266,7 +3571,8 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
|
3266
3571
|
PeachCFNetwork: [],
|
|
3267
3572
|
JavaScriptCore: ["PeachJavaScriptCore"],
|
|
3268
3573
|
PeachJavaScriptCore: [],
|
|
3269
|
-
GameplayKit
|
|
3574
|
+
// GameplayKit names SpriteKit and SceneKit nodes, as on iOS
|
|
3575
|
+
GameplayKit: ["SpriteKit", "SceneKit", "PeachBox2D", "simd", "GLKit"],
|
|
3270
3576
|
simd: [],
|
|
3271
3577
|
ModelIO: ["simd"],
|
|
3272
3578
|
GLKit: ["ModelIO"],
|
|
@@ -3333,7 +3639,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
3333
3639
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
3334
3640
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
3335
3641
|
).join("");
|
|
3336
|
-
var compilerSourceDigest = true ? "
|
|
3642
|
+
var compilerSourceDigest = true ? "eba60b7a2e9485f928a6ec2e544e10d84b2b33430be66b9e069c9797a927af86" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
3337
3643
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
3338
3644
|
"CFAllocator",
|
|
3339
3645
|
"CFArray",
|
|
@@ -4276,6 +4582,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
4276
4582
|
const allSources = /* @__PURE__ */ new Set();
|
|
4277
4583
|
const headers = /* @__PURE__ */ new Set();
|
|
4278
4584
|
const resources = /* @__PURE__ */ new Set();
|
|
4585
|
+
const resourceNames = {};
|
|
4279
4586
|
const scriptForOutput = /* @__PURE__ */ new Map();
|
|
4280
4587
|
const copiedFiles = [];
|
|
4281
4588
|
let generatedInfoPlist = false;
|
|
@@ -4445,13 +4752,14 @@ ${output2}`
|
|
|
4445
4752
|
xcodePathResolver(project.objects, project.projectDir, import_node_path10.default.join, settings),
|
|
4446
4753
|
(file) => isDirectory(file) ? walkFiles(file) : import_node_fs6.default.existsSync(file) ? [file] : [],
|
|
4447
4754
|
import_node_path10.default.join,
|
|
4448
|
-
(file, kind) => {
|
|
4755
|
+
(file, kind, bundleName) => {
|
|
4449
4756
|
if (kind === "header") {
|
|
4450
4757
|
headers.add(file);
|
|
4451
4758
|
return;
|
|
4452
4759
|
}
|
|
4453
4760
|
if (kind === "resource") {
|
|
4454
4761
|
resources.add(file);
|
|
4762
|
+
if (bundleName) resourceNames[file] = bundleName;
|
|
4455
4763
|
return;
|
|
4456
4764
|
}
|
|
4457
4765
|
if (!import_node_fs6.default.existsSync(file)) {
|
|
@@ -4575,6 +4883,7 @@ ${output2}`
|
|
|
4575
4883
|
return {
|
|
4576
4884
|
sources: [...sources].sort(),
|
|
4577
4885
|
resources: [...resources].sort(),
|
|
4886
|
+
resourceNames,
|
|
4578
4887
|
copiedFiles,
|
|
4579
4888
|
generatedInfoPlist,
|
|
4580
4889
|
allSources: [...allSources].sort(),
|
|
@@ -5781,10 +6090,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5781
6090
|
byProduct.has(import_node_path10.default.basename(rawPath)))
|
|
5782
6091
|
continue;
|
|
5783
6092
|
const resolved = fileId ? project.resolvePath(fileId) : null;
|
|
5784
|
-
if (fileId && resolved !== null && !import_node_fs6.default.existsSync(resolved))
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
6093
|
+
if (fileId && resolved !== null && !import_node_fs6.default.existsSync(resolved)) {
|
|
6094
|
+
if (!ios_sdk_frameworks_default.frameworks.includes(name))
|
|
6095
|
+
throw new Error(
|
|
6096
|
+
`${str(target.name) ?? "target"}: linked framework ${name} (${fileId}) points at missing ${resolved} in ${project.projectFile}`
|
|
6097
|
+
);
|
|
6098
|
+
sdkFrameworks.add(name);
|
|
6099
|
+
continue;
|
|
6100
|
+
}
|
|
5788
6101
|
if (!binaryFrameworks.get(name)) binaryFrameworks.set(name, resolved);
|
|
5789
6102
|
}
|
|
5790
6103
|
}
|
|
@@ -5861,7 +6174,12 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
5861
6174
|
...linkedProducts.flatMap(
|
|
5862
6175
|
({ source }) => source.kind === "local" && import_node_fs6.default.existsSync(source.dir) ? [source.dir] : []
|
|
5863
6176
|
),
|
|
5864
|
-
...new Set(podSourceDirs)
|
|
6177
|
+
...new Set(podSourceDirs),
|
|
6178
|
+
// a target's own files may sit beside the project, such as an asset
|
|
6179
|
+
// catalog one folder up, and xcode builds them from there
|
|
6180
|
+
...new Set(
|
|
6181
|
+
[...module2.allSources, ...module2.resources].filter((file) => import_node_fs6.default.existsSync(file)).map((file) => import_node_path10.default.dirname(file))
|
|
6182
|
+
)
|
|
5865
6183
|
].map((dir) => import_node_fs6.default.realpathSync.native(dir))
|
|
5866
6184
|
),
|
|
5867
6185
|
projectFiles: [
|