peachsim 0.1.1802 → 0.1.1808
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/README.md +1 -0
- package/cli/bin.ts +1 -1
- package/cli/cloud-test-tunnel.ts +36 -10
- package/cli/commands/coverage-swift.ts +1 -1
- package/cli/commands/cpu-profile.ts +2 -2
- package/cli/commands/daemon.ts +8 -7
- package/cli/commands/inspect/env.ts +4 -2
- package/cli/commands/inspect/wait-ready.ts +3 -1
- package/cli/commands/inspect.ts +14 -66
- package/cli/commands/package.ts +7 -1
- package/cli/commands/shell-url.ts +8 -1
- package/cli/drivers/playwright-provisioning.ts +1 -1
- package/cli/drivers/playwright.ts +1 -1
- package/cli/internal-child-contract.ts +13 -0
- package/cli/internal-child.ts +23 -10
- package/cli/maestro-js.ts +1 -1
- package/cli/native-input.ts +9 -0
- package/cli/outbound-endpoints.ts +11 -0
- package/detox/index.ts +6 -9
- 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 +7186 -5499
- 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 +7 -9
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +5103 -3976
- 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 +7172 -5542
- package/dist-lib/host/fetch-proxy-handler.cjs +82 -34
- 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 +3 -1
- package/dist-lib/index.cjs +695 -470
- 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 +702 -477
- package/dist-lib/native-app-identity-project.cjs +454 -276
- package/dist-lib/native-app-identity-project.mjs +503 -320
- 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 +106 -0
- package/dist-lib/pdfium-raster.mjs +81 -0
- 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 +37 -24
- package/dist-lib/public-origins-lib.json +146 -80
- 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 +7874 -6178
- package/dist-lib/swift-compile.cjs +917 -610
- package/dist-lib/swift-compile.mjs +879 -572
- package/dist-lib/swift-package.cjs +32 -15
- package/dist-lib/swift-package.mjs +32 -15
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +52 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +3226 -2161
- package/dist-lib/vite.cjs +88 -40
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/screen-transition-math.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/fontDataContract.d.ts +51 -0
- package/dist-types/packages/peach-engine/src/engine/scroll-velocity.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +2 -0
- package/dist-types/packages/peach-globals/src/appLifecycleBridgeContract.d.ts +5 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +10 -2
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioApplication.h +143 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioBuffer.h +268 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioChannelLayout.h +85 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConnectionPoint.h +54 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioConverter.h +355 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioEngine.h +1064 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioEnvironmentNode.h +311 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioFile.h +192 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioFormat.h +241 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioIONode.h +304 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioMixerNode.h +43 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioMixing.h +339 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioNode.h +244 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioPlayer.h +155 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioPlayerNode.h +434 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioRecorder.h +243 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioRoutingArbiter.h +114 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSequencer.h +640 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSettings.h +111 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSinkNode.h +93 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSourceNode.h +122 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioTime.h +145 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioTypes.h +173 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnit.h +114 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitComponent.h +269 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitDelay.h +62 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitDistortion.h +71 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitEQ.h +166 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitEffect.h +53 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitGenerator.h +43 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitMIDIInstrument.h +147 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitReverb.h +56 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitSampler.h +112 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitTimeEffect.h +42 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitTimePitch.h +56 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioUnitVarispeed.h +41 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.h +58 -3
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVMIDIPlayer.h +94 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVMusicEvents.h +612 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVSpeechSynthesis.h +340 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVSpeechSynthesisProvider.h +172 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h +1003 -9
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetCache.h +56 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetDownloadStorageManager.h +93 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetDownloadTask.h +403 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h +484 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetImageGenerator.h +244 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetPlaybackAssistant.h +74 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReader.h +232 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h +857 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetResourceLoader.h +497 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetSegmentReport.h +146 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrack.h +408 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrackGroup.h +57 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetTrackSegment.h +47 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetVariant.h +262 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriter.h +531 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h +868 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWritingPlanner.h +434 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsynchronousKeyValueLoading.h +69 -9
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioBuffer.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioChannelLayout.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioConnectionPoint.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioConverter.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioEngine.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioEnvironmentNode.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioFile.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioFormat.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioIONode.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioMix.h +175 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioMixerNode.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioMixing.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioNode.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioPlayer.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioPlayerNode.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioProcessingSettings.h +76 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioRecorder.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSequencer.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSessionDeprecated.h +12 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSessionRoute.h +12 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSessionTypes.h +12 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSettings.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioTime.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioTypes.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnit.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitComponent.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitDelay.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitDistortion.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitEQ.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitEffect.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitGenerator.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitMIDIInstrument.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitReverb.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitSampler.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitTimeEffect.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitTimePitch.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioUnitVarispeed.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCameraCalibrationData.h +184 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaption.h +917 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptionConversionValidator.h +235 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptionFormatConformer.h +80 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptionGroup.h +103 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptionGrouper.h +39 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptionRenderer.h +127 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptionSettings.h +66 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAncillaryDataEncoder.h +116 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioDataOutput.h +157 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureAudioPreviewOutput.h +63 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureBroadcastVideoOutput.h +183 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureControl.h +49 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDataOutputSynchronizer.h +359 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDepthDataOutput.h +164 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDeskViewApplication.h +98 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h +4119 -13
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureExternalDisplayConfigurator.h +114 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureFileOutput.h +743 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureIndexPicker.h +156 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureInput.h +641 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureMetadataOutput.h +155 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutput.h +23 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureOutputBase.h +163 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h +2470 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureReactions.h +131 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSlider.h +169 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSpatialAudioMetadataSampleGenerator.h +53 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureStillImageOutput.h +356 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSystemExposureBiasSlider.h +66 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSystemPressure.h +111 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSystemZoomSlider.h +66 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureTimecodeGenerator.h +226 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoDataOutput.h +337 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h +288 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVComposition.h +440 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCompositionTrack.h +329 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCompositionTrackSegment.h +112 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVContentKeySession.h +713 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVContinuityDevice.h +73 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVDepthData.h +239 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVDisplayCriteria.h +50 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVError.h +138 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVExternalStorageDevice.h +252 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVExternalSyncDevice.h +127 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVFAudio.h +59 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVFCapture.h +48 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVFCore.h +97 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.apinotes +2785 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h +26 -18
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVGeometry.h +66 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMIDIPlayer.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaSelection.h +79 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaSelectionGroup.h +287 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataFormat.h +398 -8
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataIdentifiers.h +392 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataItem.h +365 -9
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataObject.h +699 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetrics.h +521 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMovie.h +744 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMovieTrack.h +526 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVOutputSettingsAssistant.h +179 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlaybackCoordinationMedium.h +38 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlaybackCoordinator.h +518 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayer.h +960 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerInterstitialEventController.h +550 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h +1147 -3
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemIntegratedTimeline.h +309 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemMediaDataCollector.h +127 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemOutput.h +669 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemSampleBufferOutput.h +124 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItemTrack.h +101 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLayer.h +117 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerLooper.h +220 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerMediaSelectionCriteria.h +86 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerOutput.h +229 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPortraitEffectsMatte.h +126 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVProVideoStorage.h +90 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVQueuedSampleBufferRendering.h +124 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVRenderedCaptionImage.h +62 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVRouteDetector.h +69 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferAudioRenderer.h +248 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h +242 -3
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferGenerator.h +230 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferRenderSynchronizer.h +199 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferVideoRenderer.h +276 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleCursor.h +327 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSemanticSegmentationMatte.h +164 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSpatialVideoConfiguration.h +57 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSpeechSynthesis.h +9 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSynchronizedLayer.h +89 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVTextStyleRule.h +112 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVTime.h +58 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVTimedMetadataGroup.h +179 -2
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVUtilities.h +17 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoCompositing.h +392 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h +924 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoPerformanceMetrics.h +108 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h +332 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Modules/module.modulemap +3 -2
- package/sdk/ios/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomDeviceRoute.h +53 -0
- package/sdk/ios/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingActionItem.h +59 -0
- package/sdk/ios/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingController.h +261 -0
- package/sdk/ios/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingEvent.h +62 -0
- package/sdk/ios/System/Library/Frameworks/AVRouting.framework/Headers/AVRouting.h +18 -0
- package/sdk/ios/System/Library/Frameworks/AVRouting.framework/Headers/AVRoutingDefines.h +14 -0
- package/sdk/ios/System/Library/Frameworks/AVRouting.framework/Headers/AVRoutingPlaybackArbiter.h +63 -0
- package/sdk/ios/System/Library/Frameworks/AVRouting.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h +1621 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnitImplementation.h +481 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AUComponent.h +1999 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h +726 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AUHeadTrackingBinauralRenderer.h +73 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h +386 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioCodec.h +1454 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioComponent.h +743 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h +1099 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFile.h +1563 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFileStream.h +499 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioFormat.h +537 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioOutputUnit.h +56 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioQueue.h +1888 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioServices.h +441 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioSession.h +863 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.apinotes +6 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.h +153 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h +38 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitParameters.h +1091 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h +4194 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitUtilities.h +611 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioWorkInterval.h +102 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/CAFFile.h +368 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/CAShow.h +40 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/CASpatialAudioExperience.h +167 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/ExtendedAudioFile.h +610 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/MusicDevice.h +491 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Headers/MusicPlayer.h +1732 -0
- package/sdk/ios/System/Library/Frameworks/AudioToolbox.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h +6 -0
- package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h +604 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPActionSheetTemplate.h +40 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPAlertAction.h +64 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPAlertTemplate.h +53 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPBarButton.h +91 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPBarButtonProviding.h +36 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPButton.h +65 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPChargingStationConnection.h +38 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPContact.h +109 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPContactTemplate.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPDashboardButton.h +52 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPDashboardController.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPGridButton.h +95 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPGridTemplate.h +65 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPImageOverlay.h +80 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPImageSet.h +26 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPInformationItem.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPInformationRatingItem.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPInformationTemplate.h +80 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPInstrumentClusterController.h +76 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPInterfaceController.h +288 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPLane.h +57 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPLaneGuidance.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListImageRowItem.h +229 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListImageRowItemCardElement.h +101 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListImageRowItemCondensedElement.h +70 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListImageRowItemElement.h +53 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListImageRowItemGridElement.h +39 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListImageRowItemImageGridElement.h +77 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListImageRowItemRowElement.h +52 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListItem.h +273 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListItemTypes.h +55 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListSection.h +117 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListTemplate.h +289 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPListTemplateDetailsHeader.h +164 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPLocation.h +32 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPManeuver.h +254 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMapButton.h +56 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanel.h +65 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelButtonConfiguration.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelItem.h +56 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMapPanelSection.h +47 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMapTemplate.h +518 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMapTemplateWaypoint.h +44 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMessageComposeBarButton.h +41 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMessageListItem.h +213 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPMultiStopCardConfiguration.h +62 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationAlert.h +182 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationEnum.h +23 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationSession.h +173 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPNavigationWaypoint.h +105 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPNowPlayingButton.h +122 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPNowPlayingMode.h +333 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPNowPlayingTemplate.h +122 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPPanel.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPPanelButtonConfiguration.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPPanelItem.h +51 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPPlaybackConfiguration.h +89 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPPointOfInterest.h +161 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPPointOfInterestTemplate.h +85 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPRerouteReason.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteDetail.h +371 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteInformation.h +61 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteSegment.h +92 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPRouteSource.h +43 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPSearchTemplate.h +57 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPSessionConfiguration.h +59 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPSportsOverlay.h +51 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPTabBarTemplate.h +90 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPTemplate.h +65 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPTemplateApplicationDashboardScene.h +60 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPTemplateApplicationInstrumentClusterScene.h +61 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPTemplateApplicationScene.h +109 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPTextButton.h +57 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPThumbnailImage.h +66 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPTravelEstimates.h +63 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPTrip.h +172 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPTripPreviewTextConfiguration.h +25 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPVoiceControlTemplate.h +173 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CPWindow.h +37 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CarPlay.apinotes +68 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Headers/CarPlay.h +89 -0
- package/sdk/ios/System/Library/Frameworks/CarPlay.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h +1459 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudio.framework/Headers/AudioServerPlugIn.h +1195 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h +4 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudio.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h +167 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h +97 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h +294 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h +49 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h +360 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h +193 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h +54 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h +294 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h +53 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h +69 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h +188 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h +124 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h +117 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h +140 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h +158 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h +184 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h +263 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h +330 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h +128 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h +108 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h +78 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h +197 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h +27 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h +201 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h +278 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +110 -57
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h +436 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h +305 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h +949 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h +219 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h +355 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h +567 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h +2734 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h +27 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterGenerator.h +160 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h +69 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h +860 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h +72 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h +589 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h +187 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h +342 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h +311 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIPlugIn.h +63 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIPlugInInterface.h +45 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h +223 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter_Deprecated.h +195 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h +348 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h +88 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h +265 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes +1231 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h +34 -46
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h +69 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h +44 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIBluetoothConnection.h +82 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDICIDevice.h +124 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDICIDeviceManager.h +143 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDICapabilityInquiry.h +336 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIDriver.h +566 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIMessages.h +784 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDINetworkSession.h +137 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIServices.h +2759 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDISetup.h +478 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIThruConnection.h +378 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIUMPCI.h +243 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIUMPCIProfile.h +161 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIUMPEndpoint.h +200 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIUMPEndpointManager.h +146 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIUMPFunctionBlock.h +152 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIUMPMutableEndpoint.h +167 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIUMPMutableFunctionBlock.h +179 -0
- package/sdk/ios/System/Library/Frameworks/CoreMIDI.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMAttachment.h +118 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioClock.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioDeviceClock.h +105 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMBlockBuffer.h +580 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h +946 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h +2090 -5
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescriptionBridge.h +734 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMGenlockClock.h +65 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMMemoryPool.h +120 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMMetadata.h +668 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h +1967 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMSimpleQueue.h +204 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTag.h +631 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTagCollection.h +560 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTaggedBufferGroup.h +294 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTextMarkup.h +431 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h +627 -34
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h +442 -6
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.apinotes +1267 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.h +33 -6
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Modules/module.modulemap +5 -3
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMAbsoluteAltitude.h +48 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMAccelerometer.h +61 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltimeter.h +109 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMAltitude.h +44 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMAmbientPressure.h +38 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMAttitude.h +138 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMAuthorization.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMAvailability.h +22 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMBatchedSensorManager.h +147 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMBody.h +25 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMDeviceMotion.h +160 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMError.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMErrorDomain.h +21 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMFallDetectionEvent.h +59 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMFallDetectionManager.h +101 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMGyro.h +70 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneActivityManager.h +129 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManager.h +131 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMHeadphoneMotionManagerDelegate.h +47 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMHighFrequencyHeartRateData.h +53 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMLogItem.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMMagnetometer.h +62 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivity.h +122 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionActivityManager.h +112 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h +424 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMMovementDisorderManager.h +183 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMOdometer.h +146 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMPedometer.h +326 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedAccelerometerData.h +43 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedDeviceMotion.h +45 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMRecordedPressureData.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMRotationRateData.h +58 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMSensorRecorder.h +88 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMStepCounter.h +103 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMWaterSubmersionData.h +71 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CMWaterSubmersionManager.h +122 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Headers/CoreMotion.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CoreMotion.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h +371 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h +186 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h +64 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h +394 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBuffer.h +59 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalBufferCache.h +98 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h +97 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h +136 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h +87 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h +146 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h +661 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h +81 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h +167 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h +175 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h +97 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h +62 -0
- package/sdk/ios/System/Library/Frameworks/CoreVideo.framework/Modules/module.modulemap +12 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/CryptoTokenKit.apinotes +79 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/CryptoTokenKit.h +21 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKBase.h +12 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKError.h +32 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKSmartCard.h +423 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKSmartCardATR.h +81 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKSmartCardSlotNFCSession.h +35 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKSmartCardToken.h +124 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKSmartCardTokenRegistrationManager.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKTLVRecord.h +100 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKToken.h +323 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKTokenConfiguration.h +74 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKTokenKeychainItem.h +152 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Headers/TKTokenWatcher.h +61 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Modules/CryptoTokenKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +32 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Modules/CryptoTokenKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +32 -0
- package/sdk/ios/System/Library/Frameworks/CryptoTokenKit.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +194 -5105
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h +234 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h +1 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h +1466 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h +867 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h +76 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h +800 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h +160 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h +584 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h +97 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h +859 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h +321 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h +476 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h +123 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h +63 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSCorelibsRuntime.h +30 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSData.h +727 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h +217 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h +247 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h +507 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h +124 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h +118 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h +110 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h +329 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h +764 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h +65 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h +48 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSError.h +209 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSException.h +610 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h +249 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h +58 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h +44 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h +25 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h +330 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h +455 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h +1407 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h +165 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h +169 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h +371 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h +101 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h +241 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h +159 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h +242 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h +137 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h +106 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h +291 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSInflectionRule.h +50 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h +134 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h +402 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSItemProviderReadingWriting.h +8 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h +95 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h +249 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h +272 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueSharedObservers.h +77 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h +418 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h +73 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h +432 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h +64 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h +331 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSLocalizedNumberFormatRule.h +25 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h +112 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h +275 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h +69 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h +60 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h +93 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h +281 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h +256 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h +36 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSMorphology.h +215 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h +488 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h +189 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h +66 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h +20 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h +490 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h +867 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h +212 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h +634 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h +96 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h +114 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h +822 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h +83 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h +278 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h +149 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h +248 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h +137 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h +191 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h +222 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h +125 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPredicateValidating.h +33 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h +541 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h +559 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h +88 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h +56 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h +83 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h +641 -15
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h +101 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h +202 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h +244 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h +481 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h +160 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h +437 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSString.h +1362 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSTermOfAddress.h +64 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h +179 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h +208 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h +221 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h +178 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h +1582 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h +117 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h +211 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h +432 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h +147 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h +124 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h +226 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h +153 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h +297 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h +464 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h +153 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h +2203 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h +60 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h +116 -8
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h +302 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h +1491 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h +199 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h +474 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h +321 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h +81 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h +510 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h +304 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h +125 -0
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAnchoredObjectQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAttachment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAttachmentStore.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSample.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityPoint.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityPointClampingRange.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKAudiogramSensitivityTest.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCharacteristicObjects.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsLensSpecification.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKContactsPrescription.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKDeletedObject.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKGAD7Assessment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesLensSpecification.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKGlassesPrescription.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKLensSpecification.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h +7 -7
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKPHQ9Assessment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySeriesSampleQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryAnchor.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKScoredAssessment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKStatisticsCollectionQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKUserAnnotatedMedicationQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKVisionPrescription.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKVisionPrism.h +1 -1
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LABase.h +18 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LABiometryType.h +26 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LACompanionType.h +22 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAContext.h +406 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LADomainState.h +93 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAEnvironment.h +49 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAEnvironmentMechanism.h +33 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAEnvironmentMechanismBiometry.h +48 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAEnvironmentMechanismCompanion.h +27 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAEnvironmentMechanismUserPassword.h +20 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAEnvironmentState.h +49 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAError.h +83 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAPersistedRight.h +30 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAPrivateKey.h +61 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAPublicDefines.h +65 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LAPublicKey.h +52 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LARequirement.h +58 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LARight.h +75 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LARightStore.h +57 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LASecret.h +24 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LocalAuthentication.apinotes +5 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Headers/LocalAuthentication.h +24 -0
- package/sdk/ios/System/Library/Frameworks/LocalAuthentication.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKAddress.h +25 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKAddressFilter.h +36 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKAddressRepresentations.h +52 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotation.h +31 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h +168 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKCircle.h +30 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKCircleRenderer.h +30 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKCircleView.h +29 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKClusterAnnotation.h +25 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKCompassButton.h +38 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKDirections.h +36 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsRequest.h +53 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsResponse.h +79 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKDirectionsTypes.h +16 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKDistanceFormatter.h +42 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKFoundation.h +19 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKGeoJSONSerialization.h +65 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKGeocodingRequest.h +34 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKGeodesicPolyline.h +24 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKGeometry.h +186 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKGradientPolylineRenderer.h +28 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h +25 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKIconStyle.h +23 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h +21 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLocalPointsOfInterestRequest.h +30 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearch.h +38 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h +85 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchRequest.h +40 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchResponse.h +25 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLookAroundScene.h +20 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLookAroundSceneRequest.h +36 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLookAroundSnapshot.h +29 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLookAroundSnapshotOptions.h +32 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLookAroundSnapshotter.h +32 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKLookAroundViewController.h +69 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h +43 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapCameraBoundary.h +29 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapCameraZoomRange.h +32 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapConfiguration.h +30 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapFeatureAnnotation.h +32 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h +95 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemAnnotation.h +33 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemDetailViewController.h +76 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemIdentifier.h +25 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemRequest.h +40 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapSnapshot.h +34 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapSnapshotOptions.h +57 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapSnapshotter.h +30 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h +351 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMarkerAnnotationView.h +45 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMultiPoint.h +32 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMultiPolygon.h +23 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMultiPolygonRenderer.h +22 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMultiPolyline.h +23 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKMultiPolylineRenderer.h +22 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKOverlay.h +36 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayPathRenderer.h +63 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayPathView.h +50 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayRenderer.h +61 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKOverlayView.h +60 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPinAnnotationView.h +60 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPitchControl.h +37 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPlacemark.h +36 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPointAnnotation.h +26 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestCategory.h +95 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestFilter.h +27 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPolygon.h +27 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPolygonRenderer.h +30 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPolygonView.h +27 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPolyline.h +22 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPolylineRenderer.h +32 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKPolylineView.h +30 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKReverseGeocoder.h +50 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKReverseGeocodingRequest.h +32 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKScaleView.h +39 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKSelectionAccessory.h +95 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKShape.h +21 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKStandardMapConfiguration.h +36 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKTileOverlay.h +51 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKTileOverlayRenderer.h +23 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h +43 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocation.h +41 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKUserLocationView.h +23 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKUserTrackingBarButtonItem.h +28 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKUserTrackingButton.h +30 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MKZoomControl.h +37 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes +359 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h +116 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Headers/NSUserActivity+MKMapItem.h +16 -0
- package/sdk/ios/System/Library/Frameworks/MapKit.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/System/Library/Frameworks/MediaToolbox.framework/Headers/MTAudioProcessingTap.h +416 -0
- package/sdk/ios/System/Library/Frameworks/MediaToolbox.framework/Headers/MTFormatNames.h +32 -0
- package/sdk/ios/System/Library/Frameworks/MediaToolbox.framework/Headers/MTProfessionalVideoWorkflow.h +40 -0
- package/sdk/ios/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.apinotes +9 -0
- package/sdk/ios/System/Library/Frameworks/MediaToolbox.framework/Headers/MediaToolbox.h +13 -0
- package/sdk/ios/System/Library/Frameworks/MediaToolbox.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/MetalKit.framework/Headers/MTKDefines.h +19 -0
- package/sdk/ios/System/Library/Frameworks/MetalKit.framework/Headers/MTKModel.h +299 -0
- package/sdk/ios/System/Library/Frameworks/MetalKit.framework/Headers/MTKTextureLoader.h +369 -0
- package/sdk/ios/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h +269 -0
- package/sdk/ios/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.apinotes +181 -0
- package/sdk/ios/System/Library/Frameworks/MetalKit.framework/Headers/MetalKit.h +10 -0
- package/sdk/ios/System/Library/Frameworks/MetalKit.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/MobileCoreServices.framework/Headers/UTCoreTypes.h +20 -0
- package/sdk/ios/System/Library/Frameworks/MobileCoreServices.framework/Modules/module.modulemap +14 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLAnimatedValueTypes.h +224 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLAnimation.h +63 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLAsset.h +335 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLAssetResolver.h +75 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLCamera.h +441 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLLight.h +171 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLMaterial.h +414 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLMesh.h +700 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLMeshBuffer.h +283 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLObject.h +167 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLSubmesh.h +217 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLTexture.h +396 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransform.h +129 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLTransformStack.h +134 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h +100 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLUtility.h +20 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLValueTypes.h +32 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLVertexDescriptor.h +342 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/MDLVoxelArray.h +277 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.apinotes +57 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/ModelIO.h +26 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Headers/ModelIOExports.h +18 -0
- package/sdk/ios/System/Library/Frameworks/ModelIO.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h +93 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h +72 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h +28 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h +812 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h +365 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h +629 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h +479 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h +1040 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h +310 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes +53 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h +13 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h +39 -0
- package/sdk/ios/System/Library/Frameworks/OpenGLES.framework/Modules/module.modulemap +23 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFAction.h +33 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFActionGoTo.h +31 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFActionNamed.h +51 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFActionRemoteGoTo.h +41 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFActionResetForm.h +41 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFActionURL.h +28 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotation.h +307 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFAnnotationUtilities.h +289 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFAppearanceCharacteristics.h +74 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFBorder.h +66 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFDestination.h +54 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFDocument.h +347 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFKit.apinotes +32 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFKit.h +28 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFKitPlatform.h +142 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFOutline.h +87 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFPage.h +220 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFPageOverlayViewProvider.h +35 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFSelection.h +107 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFThumbnailView.h +75 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Headers/PDFView.h +461 -0
- package/sdk/ios/System/Library/Frameworks/PDFKit.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEDRMetadata.h +117 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h +180 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h +22 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +19 -22
- package/sdk/ios/System/Library/Frameworks/React.framework/Headers/React.h +93 -0
- package/sdk/ios/System/Library/Frameworks/React.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/Symbols.framework/Headers/NSSymbolEffect.h +566 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/CaptiveNetwork.h +189 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/DHCPClientPreferences.h +83 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCDynamicStoreCopyDHCPInfo.h +119 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Modules/module.modulemap +21 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h +11 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAdaptiveImageGlyph.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h +231 -19
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h +49 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSDiffableDataSourceSectionSnapshot.h +158 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h +21 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h +33 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h +68 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h +132 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h +227 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h +367 -6
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +458 -86
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h +82 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSText.h +39 -24
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h +337 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h +208 -11
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContentManager.h +390 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextElement.h +86 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutFragment.h +185 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLayoutManager.h +396 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextLineFragment.h +100 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextList.h +140 -9
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextListElement.h +94 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextRange.h +141 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelection.h +118 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextSelectionNavigation.h +312 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h +191 -5
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextTable.h +96 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportLayoutController.h +192 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextViewportRenderingSurface.h +30 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTouchBar+UIKitAdditions.h +61 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h +18 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/PrintKitUI.h +20 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h +15 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h +53 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h +644 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h +76 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +228 -22
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h +110 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h +54 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h +78 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h +101 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h +49 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h +53 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h +69 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h +82 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h +66 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityCollaborationModeRestriction.h +90 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h +1 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h +47 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading+ShareSheet.h +20 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h +67 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h +56 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h +14 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h +64 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h +88 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h +55 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h +653 -34
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h +84 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIArrangementViewController.h +124 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h +112 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundConfiguration.h +129 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundExtensionView.h +46 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBandSelectionInteraction.h +53 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h +24 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h +285 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h +71 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemBadge.h +56 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h +72 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h +49 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarMinimization.h +61 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBehavioralStyle.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h +94 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h +71 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h +188 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h +173 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelection.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionMultiDate.h +79 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionSingleDate.h +63 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarSelectionWeekOfYear.h +63 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarView.h +103 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICalendarViewDecoration.h +64 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICanvasFeedbackGenerator.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICellAccessory.h +241 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICellConfigurationState.h +50 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h +84 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionLayoutList.h +143 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h +770 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h +120 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h +614 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h +50 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h +68 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewItemRegistration.h +51 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h +192 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewListCell.h +59 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h +39 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewUpdateItem.h +30 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h +69 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h +161 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorPickerViewController.h +71 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColorWell.h +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIConfigurationColorTransformer.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIConfigurationState.h +40 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentConfiguration.h +51 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableButtonProperties.h +39 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableConfiguration.h +90 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableConfigurationState.h +36 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableImageProperties.h +46 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableTextProperties.h +53 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContentUnavailableView.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h +73 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h +181 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuSystem.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h +42 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h +177 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIConversationContext.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIConversationEntry.h +46 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICornerConfiguration.h +77 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICornerRadius.h +36 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h +15 -19
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h +55 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h +55 -13
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h +84 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +88 -16
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h +252 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h +204 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h +44 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h +199 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h +104 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h +47 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h +47 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h +77 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentProperties.h +48 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentViewController.h +48 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentViewControllerLaunchOptions.h +59 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h +247 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h +59 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h +52 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h +22 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h +118 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h +166 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h +70 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h +75 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h +62 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEditMenuInteraction.h +149 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h +4 -24
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttribution.h +68 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEventAttributionView.h +23 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h +169 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindInteraction.h +90 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFindSession.h +134 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h +198 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h +66 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h +66 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDefines.h +19 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusEffect.h +62 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h +36 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem+UIKitAdditions.h +32 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h +57 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFocusUpdateContext+UIKitAdditions.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h +11 -5
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h +14 -7
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h +40 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h +50 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h +38 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFoundation.h +32 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h +10 -40
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h +3 -14
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGlassEffect.h +58 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h +57 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h +65 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h +47 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h +72 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h +39 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h +39 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h +91 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h +14 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHinge.h +76 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHingeInteraction.h +77 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffect.h +63 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverEffectLayer.h +74 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverStyle.h +64 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h +374 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h +58 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h +121 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImageReader.h +57 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h +84 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h +119 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h +46 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIIndirectScribbleInteraction.h +117 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputSuggestion.h +26 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h +33 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h +77 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h +219 -23
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKey.h +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h +121 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKeyConstants.h +34 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKeyboardLayoutGuide.h +42 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes +4 -172
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +19 -926
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h +435 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h +13 -20
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h +116 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h +121 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILetterformAwareAdjusting.h +38 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h +34 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIListContentConfiguration.h +154 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIListContentImageProperties.h +87 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIListContentTextProperties.h +77 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIListSeparatorConfiguration.h +68 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h +68 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h +46 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h +36 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILookToScrollInteraction.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMailConversationContext.h +34 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMailConversationEntry.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMainMenuSystem.h +73 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h +68 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h +5 -24
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h +173 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h +66 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h +6 -34
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h +58 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMessageConversationContext.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMessageConversationEntry.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h +80 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h +166 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h +61 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h +165 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h +268 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINib.h +36 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h +36 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h +33 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h +33 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h +30 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h +51 -14
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIOverlayArrangement.h +60 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h +112 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageControlProgress.h +118 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h +123 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPasteControl.h +52 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h +193 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h +170 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPhotoSearchSuggestion.h +68 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h +8 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerAccessory.h +73 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerInteraction.h +106 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerLockState.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerRegion.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerStyle.h +153 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h +51 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h +104 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h +92 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationControllerSourceItem.h +56 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h +132 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h +70 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h +28 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h +51 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h +56 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h +93 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h +54 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h +97 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h +57 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrintServiceExtension.h +38 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h +131 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h +77 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h +46 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h +49 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h +42 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h +59 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h +25 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h +228 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScene+AVAudioSession.h +30 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h +122 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessory.h +83 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneAccessoryRegistration.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneClosureConfirmation.h +65 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneConfiguration.h +52 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h +38 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneDestructionCondition.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneEnhancedStateRestoration.h +25 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h +116 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSessionActivationRequest.h +55 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSizeRestrictions.h +39 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneSystemProtectionManager.h +42 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneWindowingBehaviors.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISceneWindowingControlStyle.h +38 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h +109 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h +24 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h +23 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h +66 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScribbleInteraction.h +86 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollEdgeElementContainerInteraction.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h +348 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h +212 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h +162 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h +75 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchSuggestion.h +90 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchTab.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h +131 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h +134 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h +30 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIShadowProperties.h +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIShape.h +176 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h +173 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h +73 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISliderTrackConfiguration.h +49 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISmartReplySuggestion.h +32 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitArrangement.h +114 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h +314 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewControllerLayoutEnvironment.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h +144 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h +25 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h +236 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStandardTextCursorView.h +25 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h +95 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h +36 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h +51 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h +28 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h +52 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h +98 -12
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h +42 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h +52 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISymbolContentTransition.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISymbolEffectCompletion.h +53 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITab.h +148 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabAccessory.h +65 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h +158 -6
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h +31 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h +232 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarControllerSidebar.h +250 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h +75 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabGroup.h +116 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabSidebarItem.h +79 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h +802 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h +200 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h +38 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h +87 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h +36 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h +98 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h +53 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorDropPositionAnimator.h +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextCursorView.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h +46 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h +129 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h +102 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h +143 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h +227 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h +51 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewController.h +89 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerChangeValue.h +95 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerComponent.h +92 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerConfiguration.h +48 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingDescriptor.h +94 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingViewControllerFormattingStyle.h +39 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h +379 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputContext.h +26 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h +290 -29
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextItem.h +98 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h +14 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextLoupeSession.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h +28 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h +147 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSearching.h +161 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionDisplayInteraction.h +81 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionHandleView.h +39 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextSelectionHighlightView.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h +369 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h +84 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolTipInteraction.h +78 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h +91 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +11 -12
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITrackingLayoutGuide.h +46 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITrait.h +142 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +306 -18
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitListEnvironment.h +28 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateActionPhase.h +102 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateInfo.h +82 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUpdateLink.h +95 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h +128 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVerticalBarEdge.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h +44 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h +47 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIView.h +696 -17
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h +84 -12
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewConfigurationState.h +40 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h +880 -16
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransition.h +83 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h +138 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h +253 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewLayoutRegion.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h +109 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewReservedRegion.h +81 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h +35 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h +44 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h +106 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h +156 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h +153 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneActivationAction.h +51 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneActivationConfiguration.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneActivationInteraction.h +43 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneActivationRequestOptions.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneDragInteraction.h +28 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometry.h +65 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferences.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesIOS.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesMac.h +31 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneGeometryPreferencesVision.h +49 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScenePlacement.h +28 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneProminentPlacement.h +26 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScenePushPlacement.h +38 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneReplacePlacement.h +32 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindowSceneStandardPlacement.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h +1140 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinatorAnimationParameters.h +67 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinatorContext.h +143 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIZoomTransitionOptions.h +72 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h +25 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/System/Library/Frameworks/UIKitActivity.framework/Headers/UIKitActivity.h +49 -0
- package/sdk/ios/System/Library/Frameworks/UIKitActivity.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/UIKitAnimationOptions.framework/Headers/UIKitAnimationOptions.apinotes +6 -0
- package/sdk/ios/System/Library/Frameworks/UIKitAnimationOptions.framework/Headers/UIViewAnimationOptions.h +3 -0
- package/sdk/ios/System/Library/Frameworks/UIKitAnimationOptions.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/UIKitGeometry.framework/Headers/UIEdgeInsets.h +21 -0
- package/sdk/ios/System/Library/Frameworks/UIKitGeometry.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitText.apinotes +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +2209 -0
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIWindowLevel.h +5 -0
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/UIUtilities.framework/Headers/UICoordinateSpace.h +24 -0
- package/sdk/ios/System/Library/Frameworks/UIUtilities.framework/Headers/UIDefines.h +26 -0
- package/sdk/ios/System/Library/Frameworks/UIUtilities.framework/Headers/UIGeometry.h +22 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/NSItemProvider+UTType.h +128 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.h +2 -0
- package/sdk/ios/usr/include/MacTypes.h +815 -10
- package/sdk/ios/usr/include/libxml2/libxml/DOCBparser.h +96 -0
- package/sdk/ios/usr/include/libxml2/libxml/HTMLparser.h +306 -0
- package/sdk/ios/usr/include/libxml2/libxml/HTMLtree.h +147 -0
- package/sdk/ios/usr/include/libxml2/libxml/SAX.h +173 -0
- package/sdk/ios/usr/include/libxml2/libxml/SAX2.h +178 -0
- package/sdk/ios/usr/include/libxml2/libxml/c14n.h +128 -0
- package/sdk/ios/usr/include/libxml2/libxml/catalog.h +182 -0
- package/sdk/ios/usr/include/libxml2/libxml/chvalid.h +230 -0
- package/sdk/ios/usr/include/libxml2/libxml/debugXML.h +217 -0
- package/sdk/ios/usr/include/libxml2/libxml/dict.h +79 -0
- package/sdk/ios/usr/include/libxml2/libxml/encoding.h +245 -0
- package/sdk/ios/usr/include/libxml2/libxml/entities.h +151 -0
- package/sdk/ios/usr/include/libxml2/libxml/globals.h +508 -0
- package/sdk/ios/usr/include/libxml2/libxml/hash.h +236 -0
- package/sdk/ios/usr/include/libxml2/libxml/list.h +137 -0
- package/sdk/ios/usr/include/libxml2/libxml/nanoftp.h +163 -0
- package/sdk/ios/usr/include/libxml2/libxml/nanohttp.h +81 -0
- package/sdk/ios/usr/include/libxml2/libxml/parser.h +1243 -0
- package/sdk/ios/usr/include/libxml2/libxml/parserInternals.h +644 -0
- package/sdk/ios/usr/include/libxml2/libxml/pattern.h +100 -0
- package/sdk/ios/usr/include/libxml2/libxml/relaxng.h +217 -0
- package/sdk/ios/usr/include/libxml2/libxml/schemasInternals.h +958 -0
- package/sdk/ios/usr/include/libxml2/libxml/schematron.h +142 -0
- package/sdk/ios/usr/include/libxml2/libxml/threads.h +89 -0
- package/sdk/ios/usr/include/libxml2/libxml/tree.h +1311 -0
- package/sdk/ios/usr/include/libxml2/libxml/uri.h +94 -0
- package/sdk/ios/usr/include/libxml2/libxml/valid.h +458 -0
- package/sdk/ios/usr/include/libxml2/libxml/xinclude.h +129 -0
- package/sdk/ios/usr/include/libxml2/libxml/xlink.h +189 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlIO.h +368 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlautomata.h +146 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlerror.h +945 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlexports.h +77 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlmemory.h +224 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlmodule.h +57 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlreader.h +428 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlregexp.h +222 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlsave.h +88 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlschemas.h +246 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlschemastypes.h +151 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlstring.h +140 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlunicode.h +202 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlversion.h +485 -0
- package/sdk/ios/usr/include/libxml2/libxml/xmlwriter.h +488 -0
- package/sdk/ios/usr/include/libxml2/libxml/xpath.h +564 -0
- package/sdk/ios/usr/include/libxml2/libxml/xpathInternals.h +632 -0
- package/sdk/ios/usr/include/libxml2/libxml/xpointer.h +114 -0
- package/sdk/ios/usr/include/libxml2/module.modulemap +5 -0
- package/sdk/ios/usr/include/mach-o/compact_unwind_encoding.h +542 -0
- package/sdk/ios/usr/include/objc/NSObject.h +0 -6
- package/sdk/ios/usr/include/simd/base.h +160 -0
- package/sdk/ios/usr/include/simd/common.h +5617 -0
- package/sdk/ios/usr/include/simd/conversion.h +2472 -0
- package/sdk/ios/usr/include/simd/extern.h +65 -0
- package/sdk/ios/usr/include/simd/geometry.h +1524 -0
- package/sdk/ios/usr/include/simd/logic.h +1399 -0
- package/sdk/ios/usr/include/simd/math.h +6595 -0
- package/sdk/ios/usr/include/simd/matrix.h +2865 -0
- package/sdk/ios/usr/include/simd/matrix_types.h +758 -0
- package/sdk/ios/usr/include/simd/module.modulemap +6 -0
- package/sdk/ios/usr/include/simd/packed.h +1111 -0
- package/sdk/ios/usr/include/simd/quaternion.h +1780 -0
- package/sdk/ios/usr/include/simd/simd.h +30 -0
- package/sdk/ios/usr/include/simd/types.h +158 -0
- package/sdk/ios/usr/include/simd/vector.h +52 -0
- package/sdk/ios/usr/include/simd/vector_make.h +8759 -0
- package/sdk/ios/usr/include/simd/vector_types.h +1381 -0
- package/sdk/ios/usr/include/sys/cdefs.h +3 -0
- package/sdk/ios/usr/include/tgmath.h +1441 -0
- package/sdk/ios/usr/include/unicode/localpointer.h +607 -0
- package/sdk/ios/usr/include/unicode/parseerr.h +94 -0
- package/sdk/ios/usr/include/unicode/platform.h +852 -0
- package/sdk/ios/usr/include/unicode/ptypes.h +66 -0
- package/sdk/ios/usr/include/unicode/putil.h +183 -0
- package/sdk/ios/usr/include/unicode/stringoptions.h +190 -0
- package/sdk/ios/usr/include/unicode/uchar.h +4421 -0
- package/sdk/ios/usr/include/unicode/uconfig.h +504 -0
- package/sdk/ios/usr/include/unicode/ucpmap.h +158 -0
- package/sdk/ios/usr/include/unicode/uidna.h +794 -0
- package/sdk/ios/usr/include/unicode/uiter.h +709 -0
- package/sdk/ios/usr/include/unicode/umachine.h +513 -0
- package/sdk/ios/usr/include/unicode/uregex.h +1617 -0
- package/sdk/ios/usr/include/unicode/urename.h +2057 -0
- package/sdk/ios/usr/include/unicode/ustring.h +1719 -0
- package/sdk/ios/usr/include/unicode/utext.h +1613 -0
- package/sdk/ios/usr/include/unicode/utf.h +256 -0
- package/sdk/ios/usr/include/unicode/utf16.h +740 -0
- package/sdk/ios/usr/include/unicode/utf8.h +908 -0
- package/sdk/ios/usr/include/unicode/utf_old.h +1209 -0
- package/sdk/ios/usr/include/unicode/utypes.h +913 -0
- package/sdk/ios/usr/include/unicode/uvernum.h +191 -0
- package/sdk/ios/usr/include/unicode/uversion.h +254 -0
- package/sdk/ios/wasm/include/__header_time.h +12 -0
- package/sdk/ios/wasm/include/__locale_dir/locale_base_api/musl.h +6 -0
- package/sdk/ios/wasm/include/__typedef_clockid_t.h +18 -0
- package/sdk/ios/wasm/include/fts.h +22 -0
- package/sdk/ios/wasm/include/math.h +53 -0
- package/sdk/ios/wasm/include/pthread/pthread.h +2 -0
- package/sdk/ios/wasm/include/pthread.h +13 -0
- package/sdk/ios/wasm/include/string.h +6 -0
- package/sdk/ios/wasm/include/swiftToCxx/_SwiftCxxInteroperability.h +319 -0
- package/sdk/ios/wasm/include/sys/mman.h +4 -4
- package/sdk/ios/wasm/include/sys/resource.h +2 -1
- package/sdk/ios/wasm/include/sys/socket.h +10 -0
- package/sdk/ios/wasm/include/sys/ucontext.h +4 -0
- package/sdk/ios/wasm/include/tgmath.h +3 -0
- package/sdk/ios/wasm/include/time.h +12 -0
- package/sdk/ios/wasm/include/unistd.h +1 -0
- package/sdk/ios/wasm/storage-include/mach/machine/thread_status.h +4 -1
- package/sdk/ios/wasm/storage-include/mach/machine/vm_types.h +4 -0
- package/sdk/native-hashes.json +2 -1
- package/src/bundle-channel.mjs +10 -4
- package/src/dns-over-https.ts +70 -0
- package/src/expo-native-workspace.ts +4 -0
- package/src/expo-swift-host.ts +130 -70
- package/src/host/bridge-host.ts +8 -0
- package/src/host/fetch-proxy-handler.ts +9 -0
- package/src/host/fetch-proxy-transport.ts +8 -0
- package/src/host/hostname-resolver.ts +44 -0
- package/src/host/network-policy.ts +4 -0
- package/src/installed-native-libraries.ts +193 -0
- package/src/native-static-libraries.ts +121 -8
- package/src/nitro-adapter.lock.json +316 -260
- package/src/nitro-bundle.ts +25 -6
- package/src/nitro-compile.ts +134 -147
- package/src/nitro-compiler-digest.ts +4 -0
- package/src/nitro-source.ts +35 -12
- package/src/nitro-superset.lock.json +133 -36
- package/src/nitro-superset.ts +33 -6
- package/src/nitroContract.ts +11 -2
- package/src/pdfium-raster.ts +97 -0
- package/src/react-native-bridge-modules.ts +8 -0
- package/src/swift-binary-modules.ts +2 -2
- package/src/swift-compile.ts +465 -255
- package/src/swift-compiler-digest.ts +2 -0
- package/src/swift-coverage/xcode-asset-symbols.ts +6 -2
- package/src/swift-coverage/xcode-assets.ts +4 -2
- package/src/swift-cxx-reachable.ts +3 -3
- package/src/swift-darwin-records.ts +4 -3
- package/src/swift-distribution.lock.json +34 -15
- package/src/swift-distribution.ts +23 -0
- package/src/swift-foundation.ts +9 -0
- package/src/swift-host.ts +189 -60
- package/src/swift-installed-targets.ts +188 -0
- package/src/swift-link-roots.ts +6 -3
- package/src/swift-objc-compile.ts +128 -43
- package/src/swift-objc-standin.ts +69 -30
- package/src/swift-package.ts +43 -14
- package/src/swift-pdf-raster.ts +34 -15
- package/src/swift-reproducible.ts +2 -2
- package/src/swift-runtime-products.ts +87 -0
- package/src/swift-shared-sdk.ts +56 -14
- package/src/swift-source-file.ts +12 -0
- package/src/swift-source-pods.ts +28 -29
- package/src/swift-standin-emit.ts +205 -36
- package/src/swift-standins.ts +221 -86
- package/src/swift-submit.ts +2 -1
- package/src/swift-toolchain.ts +51 -0
- package/src/swift-uniform-type-constants.ts +37 -0
- package/src/swift-wasm-prune.ts +10 -8
- package/src/swift-xcframework.ts +37 -0
- package/src/swiftContract.ts +50 -13
- package/src/swiftRuntimeProductContract.ts +92 -0
- package/src/turbo-codegen-intake.ts +1 -0
- package/src/turbo-compile.ts +96 -60
- package/src/turbo-runtime.lock.json +23 -16
- package/src/turbo-source.ts +276 -141
- package/src/worker-system-chunks.ts +6 -1
- package/src/write-build-file.ts +15 -0
- package/src/xcode-header-search.ts +3 -2
- package/src/xcode-project.ts +131 -15
- package/src/turbo-native-libraries.ts +0 -98
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1808 | (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": "
|
|
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": "fdb8333fdb5d8346283e2397b0cd4b93b269ce7a5c34e15bbc2431b9e890f18a", "swift-package.ts": "400bc4d38dc6ccc74ed78b465fa81542b478fceb5b1163c22b8811869be16b6b", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "441845483a69f2eb87e2a8ce7a1594b16e82c2b69f87b6a9db80398dbe5955de", "home-paths.ts": "cc72e811854c4d9e288ad449b8b33aa7b82ece846ba5f7a9ddf252a3d39943ac", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "013514e30865026d985c52829483a5a5cf183dd39cc10df776fd759594e7d59b", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -1475,17 +1475,17 @@ function visit(node, visitor) {
|
|
|
1475
1475
|
} else
|
|
1476
1476
|
visit_(null, node, visitor_, Object.freeze([]));
|
|
1477
1477
|
}
|
|
1478
|
-
function visit_(key, node, visitor,
|
|
1479
|
-
const ctrl = callVisitor(key, node, visitor,
|
|
1478
|
+
function visit_(key, node, visitor, path30) {
|
|
1479
|
+
const ctrl = callVisitor(key, node, visitor, path30);
|
|
1480
1480
|
if (isNode(ctrl) || isPair(ctrl)) {
|
|
1481
|
-
replaceNode(key,
|
|
1482
|
-
return visit_(key, ctrl, visitor,
|
|
1481
|
+
replaceNode(key, path30, ctrl);
|
|
1482
|
+
return visit_(key, ctrl, visitor, path30);
|
|
1483
1483
|
}
|
|
1484
1484
|
if (typeof ctrl !== "symbol") {
|
|
1485
1485
|
if (isCollection(node)) {
|
|
1486
|
-
|
|
1486
|
+
path30 = Object.freeze(path30.concat(node));
|
|
1487
1487
|
for (let i = 0; i < node.items.length; ++i) {
|
|
1488
|
-
const ci = visit_(i, node.items[i], visitor,
|
|
1488
|
+
const ci = visit_(i, node.items[i], visitor, path30);
|
|
1489
1489
|
if (typeof ci === "number")
|
|
1490
1490
|
i = ci - 1;
|
|
1491
1491
|
else if (ci === BREAK)
|
|
@@ -1496,13 +1496,13 @@ function visit_(key, node, visitor, path29) {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
1498
|
} else if (isPair(node)) {
|
|
1499
|
-
|
|
1500
|
-
const ck = visit_("key", node.key, visitor,
|
|
1499
|
+
path30 = Object.freeze(path30.concat(node));
|
|
1500
|
+
const ck = visit_("key", node.key, visitor, path30);
|
|
1501
1501
|
if (ck === BREAK)
|
|
1502
1502
|
return BREAK;
|
|
1503
1503
|
else if (ck === REMOVE)
|
|
1504
1504
|
node.key = null;
|
|
1505
|
-
const cv = visit_("value", node.value, visitor,
|
|
1505
|
+
const cv = visit_("value", node.value, visitor, path30);
|
|
1506
1506
|
if (cv === BREAK)
|
|
1507
1507
|
return BREAK;
|
|
1508
1508
|
else if (cv === REMOVE)
|
|
@@ -1520,17 +1520,17 @@ async function visitAsync(node, visitor) {
|
|
|
1520
1520
|
} else
|
|
1521
1521
|
await visitAsync_(null, node, visitor_, Object.freeze([]));
|
|
1522
1522
|
}
|
|
1523
|
-
async function visitAsync_(key, node, visitor,
|
|
1524
|
-
const ctrl = await callVisitor(key, node, visitor,
|
|
1523
|
+
async function visitAsync_(key, node, visitor, path30) {
|
|
1524
|
+
const ctrl = await callVisitor(key, node, visitor, path30);
|
|
1525
1525
|
if (isNode(ctrl) || isPair(ctrl)) {
|
|
1526
|
-
replaceNode(key,
|
|
1527
|
-
return visitAsync_(key, ctrl, visitor,
|
|
1526
|
+
replaceNode(key, path30, ctrl);
|
|
1527
|
+
return visitAsync_(key, ctrl, visitor, path30);
|
|
1528
1528
|
}
|
|
1529
1529
|
if (typeof ctrl !== "symbol") {
|
|
1530
1530
|
if (isCollection(node)) {
|
|
1531
|
-
|
|
1531
|
+
path30 = Object.freeze(path30.concat(node));
|
|
1532
1532
|
for (let i = 0; i < node.items.length; ++i) {
|
|
1533
|
-
const ci = await visitAsync_(i, node.items[i], visitor,
|
|
1533
|
+
const ci = await visitAsync_(i, node.items[i], visitor, path30);
|
|
1534
1534
|
if (typeof ci === "number")
|
|
1535
1535
|
i = ci - 1;
|
|
1536
1536
|
else if (ci === BREAK)
|
|
@@ -1541,13 +1541,13 @@ async function visitAsync_(key, node, visitor, path29) {
|
|
|
1541
1541
|
}
|
|
1542
1542
|
}
|
|
1543
1543
|
} else if (isPair(node)) {
|
|
1544
|
-
|
|
1545
|
-
const ck = await visitAsync_("key", node.key, visitor,
|
|
1544
|
+
path30 = Object.freeze(path30.concat(node));
|
|
1545
|
+
const ck = await visitAsync_("key", node.key, visitor, path30);
|
|
1546
1546
|
if (ck === BREAK)
|
|
1547
1547
|
return BREAK;
|
|
1548
1548
|
else if (ck === REMOVE)
|
|
1549
1549
|
node.key = null;
|
|
1550
|
-
const cv = await visitAsync_("value", node.value, visitor,
|
|
1550
|
+
const cv = await visitAsync_("value", node.value, visitor, path30);
|
|
1551
1551
|
if (cv === BREAK)
|
|
1552
1552
|
return BREAK;
|
|
1553
1553
|
else if (cv === REMOVE)
|
|
@@ -1574,23 +1574,23 @@ function initVisitor(visitor) {
|
|
|
1574
1574
|
}
|
|
1575
1575
|
return visitor;
|
|
1576
1576
|
}
|
|
1577
|
-
function callVisitor(key, node, visitor,
|
|
1577
|
+
function callVisitor(key, node, visitor, path30) {
|
|
1578
1578
|
if (typeof visitor === "function")
|
|
1579
|
-
return visitor(key, node,
|
|
1579
|
+
return visitor(key, node, path30);
|
|
1580
1580
|
if (isMap(node))
|
|
1581
|
-
return visitor.Map?.(key, node,
|
|
1581
|
+
return visitor.Map?.(key, node, path30);
|
|
1582
1582
|
if (isSeq(node))
|
|
1583
|
-
return visitor.Seq?.(key, node,
|
|
1583
|
+
return visitor.Seq?.(key, node, path30);
|
|
1584
1584
|
if (isPair(node))
|
|
1585
|
-
return visitor.Pair?.(key, node,
|
|
1585
|
+
return visitor.Pair?.(key, node, path30);
|
|
1586
1586
|
if (isScalar(node))
|
|
1587
|
-
return visitor.Scalar?.(key, node,
|
|
1587
|
+
return visitor.Scalar?.(key, node, path30);
|
|
1588
1588
|
if (isAlias(node))
|
|
1589
|
-
return visitor.Alias?.(key, node,
|
|
1589
|
+
return visitor.Alias?.(key, node, path30);
|
|
1590
1590
|
return void 0;
|
|
1591
1591
|
}
|
|
1592
|
-
function replaceNode(key,
|
|
1593
|
-
const parent =
|
|
1592
|
+
function replaceNode(key, path30, node) {
|
|
1593
|
+
const parent = path30[path30.length - 1];
|
|
1594
1594
|
if (isCollection(parent)) {
|
|
1595
1595
|
parent.items[key] = node;
|
|
1596
1596
|
} else if (isPair(parent)) {
|
|
@@ -2150,10 +2150,10 @@ var init_createNode = __esm({
|
|
|
2150
2150
|
});
|
|
2151
2151
|
|
|
2152
2152
|
// ../../node_modules/yaml/browser/dist/nodes/Collection.js
|
|
2153
|
-
function collectionFromPath(schema4,
|
|
2153
|
+
function collectionFromPath(schema4, path30, value) {
|
|
2154
2154
|
let v = value;
|
|
2155
|
-
for (let i =
|
|
2156
|
-
const k =
|
|
2155
|
+
for (let i = path30.length - 1; i >= 0; --i) {
|
|
2156
|
+
const k = path30[i];
|
|
2157
2157
|
if (typeof k === "number" && Number.isInteger(k) && k >= 0) {
|
|
2158
2158
|
const a = [];
|
|
2159
2159
|
a[k] = v;
|
|
@@ -2179,7 +2179,7 @@ var init_Collection = __esm({
|
|
|
2179
2179
|
init_createNode();
|
|
2180
2180
|
init_identity();
|
|
2181
2181
|
init_Node();
|
|
2182
|
-
isEmptyPath = (
|
|
2182
|
+
isEmptyPath = (path30) => path30 == null || typeof path30 === "object" && !!path30[Symbol.iterator]().next().done;
|
|
2183
2183
|
Collection = class extends NodeBase {
|
|
2184
2184
|
constructor(type, schema4) {
|
|
2185
2185
|
super(type);
|
|
@@ -2209,11 +2209,11 @@ var init_Collection = __esm({
|
|
|
2209
2209
|
* be a Pair instance or a `{ key, value }` object, which may not have a key
|
|
2210
2210
|
* that already exists in the map.
|
|
2211
2211
|
*/
|
|
2212
|
-
addIn(
|
|
2213
|
-
if (isEmptyPath(
|
|
2212
|
+
addIn(path30, value) {
|
|
2213
|
+
if (isEmptyPath(path30))
|
|
2214
2214
|
this.add(value);
|
|
2215
2215
|
else {
|
|
2216
|
-
const [key, ...rest] =
|
|
2216
|
+
const [key, ...rest] = path30;
|
|
2217
2217
|
const node = this.get(key, true);
|
|
2218
2218
|
if (isCollection(node))
|
|
2219
2219
|
node.addIn(rest, value);
|
|
@@ -2227,8 +2227,8 @@ var init_Collection = __esm({
|
|
|
2227
2227
|
* Removes a value from the collection.
|
|
2228
2228
|
* @returns `true` if the item was found and removed.
|
|
2229
2229
|
*/
|
|
2230
|
-
deleteIn(
|
|
2231
|
-
const [key, ...rest] =
|
|
2230
|
+
deleteIn(path30) {
|
|
2231
|
+
const [key, ...rest] = path30;
|
|
2232
2232
|
if (rest.length === 0)
|
|
2233
2233
|
return this.delete(key);
|
|
2234
2234
|
const node = this.get(key, true);
|
|
@@ -2242,8 +2242,8 @@ var init_Collection = __esm({
|
|
|
2242
2242
|
* scalar values from their surrounding node; to disable set `keepScalar` to
|
|
2243
2243
|
* `true` (collections are always returned intact).
|
|
2244
2244
|
*/
|
|
2245
|
-
getIn(
|
|
2246
|
-
const [key, ...rest] =
|
|
2245
|
+
getIn(path30, keepScalar) {
|
|
2246
|
+
const [key, ...rest] = path30;
|
|
2247
2247
|
const node = this.get(key, true);
|
|
2248
2248
|
if (rest.length === 0)
|
|
2249
2249
|
return !keepScalar && isScalar(node) ? node.value : node;
|
|
@@ -2261,8 +2261,8 @@ var init_Collection = __esm({
|
|
|
2261
2261
|
/**
|
|
2262
2262
|
* Checks if the collection includes a value with the key `key`.
|
|
2263
2263
|
*/
|
|
2264
|
-
hasIn(
|
|
2265
|
-
const [key, ...rest] =
|
|
2264
|
+
hasIn(path30) {
|
|
2265
|
+
const [key, ...rest] = path30;
|
|
2266
2266
|
if (rest.length === 0)
|
|
2267
2267
|
return this.has(key);
|
|
2268
2268
|
const node = this.get(key, true);
|
|
@@ -2272,8 +2272,8 @@ var init_Collection = __esm({
|
|
|
2272
2272
|
* Sets a value in this collection. For `!!set`, `value` needs to be a
|
|
2273
2273
|
* boolean to add/remove the item from the set.
|
|
2274
2274
|
*/
|
|
2275
|
-
setIn(
|
|
2276
|
-
const [key, ...rest] =
|
|
2275
|
+
setIn(path30, value) {
|
|
2276
|
+
const [key, ...rest] = path30;
|
|
2277
2277
|
if (rest.length === 0) {
|
|
2278
2278
|
this.set(key, value);
|
|
2279
2279
|
} else {
|
|
@@ -4246,15 +4246,15 @@ function visit2(cst, visitor) {
|
|
|
4246
4246
|
cst = { start: cst.start, value: cst.value };
|
|
4247
4247
|
_visit(Object.freeze([]), cst, visitor);
|
|
4248
4248
|
}
|
|
4249
|
-
function _visit(
|
|
4250
|
-
let ctrl = visitor(item,
|
|
4249
|
+
function _visit(path30, item, visitor) {
|
|
4250
|
+
let ctrl = visitor(item, path30);
|
|
4251
4251
|
if (typeof ctrl === "symbol")
|
|
4252
4252
|
return ctrl;
|
|
4253
4253
|
for (const field of ["key", "value"]) {
|
|
4254
4254
|
const token = item[field];
|
|
4255
4255
|
if (token && "items" in token) {
|
|
4256
4256
|
for (let i = 0; i < token.items.length; ++i) {
|
|
4257
|
-
const ci = _visit(Object.freeze(
|
|
4257
|
+
const ci = _visit(Object.freeze(path30.concat([[field, i]])), token.items[i], visitor);
|
|
4258
4258
|
if (typeof ci === "number")
|
|
4259
4259
|
i = ci - 1;
|
|
4260
4260
|
else if (ci === BREAK2)
|
|
@@ -4265,10 +4265,10 @@ function _visit(path29, item, visitor) {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
}
|
|
4267
4267
|
if (typeof ctrl === "function" && field === "key")
|
|
4268
|
-
ctrl = ctrl(item,
|
|
4268
|
+
ctrl = ctrl(item, path30);
|
|
4269
4269
|
}
|
|
4270
4270
|
}
|
|
4271
|
-
return typeof ctrl === "function" ? ctrl(item,
|
|
4271
|
+
return typeof ctrl === "function" ? ctrl(item, path30) : ctrl;
|
|
4272
4272
|
}
|
|
4273
4273
|
var BREAK2, SKIP2, REMOVE2;
|
|
4274
4274
|
var init_cst_visit = __esm({
|
|
@@ -4280,9 +4280,9 @@ var init_cst_visit = __esm({
|
|
|
4280
4280
|
visit2.BREAK = BREAK2;
|
|
4281
4281
|
visit2.SKIP = SKIP2;
|
|
4282
4282
|
visit2.REMOVE = REMOVE2;
|
|
4283
|
-
visit2.itemAtPath = (cst,
|
|
4283
|
+
visit2.itemAtPath = (cst, path30) => {
|
|
4284
4284
|
let item = cst;
|
|
4285
|
-
for (const [field, index] of
|
|
4285
|
+
for (const [field, index] of path30) {
|
|
4286
4286
|
const tok = item?.[field];
|
|
4287
4287
|
if (tok && "items" in tok) {
|
|
4288
4288
|
item = tok.items[index];
|
|
@@ -4291,9 +4291,9 @@ var init_cst_visit = __esm({
|
|
|
4291
4291
|
}
|
|
4292
4292
|
return item;
|
|
4293
4293
|
};
|
|
4294
|
-
visit2.parentCollection = (cst,
|
|
4295
|
-
const parent = visit2.itemAtPath(cst,
|
|
4296
|
-
const field =
|
|
4294
|
+
visit2.parentCollection = (cst, path30) => {
|
|
4295
|
+
const parent = visit2.itemAtPath(cst, path30.slice(0, -1));
|
|
4296
|
+
const field = path30[path30.length - 1][0];
|
|
4297
4297
|
const coll = parent?.[field];
|
|
4298
4298
|
if (coll && "items" in coll)
|
|
4299
4299
|
return coll;
|
|
@@ -4463,8 +4463,8 @@ function metadataValue(value, key) {
|
|
|
4463
4463
|
if (!value || typeof value !== "object") return void 0;
|
|
4464
4464
|
return Object.getOwnPropertyDescriptor(value, key)?.value;
|
|
4465
4465
|
}
|
|
4466
|
-
function readProjectJson(
|
|
4467
|
-
const text2 = readProjectMetadata(
|
|
4466
|
+
function readProjectJson(path30, files = nodeRepoFileReader) {
|
|
4467
|
+
const text2 = readProjectMetadata(path30, files);
|
|
4468
4468
|
if (text2 === null) return null;
|
|
4469
4469
|
try {
|
|
4470
4470
|
const value = JSON.parse(text2);
|
|
@@ -5513,7 +5513,7 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
|
|
|
5513
5513
|
}
|
|
5514
5514
|
let resolvedTargetPath;
|
|
5515
5515
|
try {
|
|
5516
|
-
resolvedTargetPath = await
|
|
5516
|
+
resolvedTargetPath = await import_promises5.default.realpath(targetPath);
|
|
5517
5517
|
} catch (error) {
|
|
5518
5518
|
const message = error instanceof Error ? error.message : String(error);
|
|
5519
5519
|
res.writeHead(404, { "Content-Type": "text/plain; charset=utf-8" });
|
|
@@ -5521,7 +5521,7 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
|
|
|
5521
5521
|
return true;
|
|
5522
5522
|
}
|
|
5523
5523
|
if (servedRoots) {
|
|
5524
|
-
const realRoots = (await Promise.all(servedRoots.map((root) =>
|
|
5524
|
+
const realRoots = (await Promise.all(servedRoots.map((root) => import_promises5.default.realpath(root).catch(() => null)))).filter((root) => root !== null);
|
|
5525
5525
|
if (!isInsideAny(realRoots, resolvedTargetPath)) {
|
|
5526
5526
|
res.writeHead(403, { "Content-Type": "text/plain; charset=utf-8" });
|
|
5527
5527
|
res.end("replacement file must be inside a folder the bundler serves");
|
|
@@ -5531,7 +5531,7 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
|
|
|
5531
5531
|
try {
|
|
5532
5532
|
const compiled = compileReplacementModule({
|
|
5533
5533
|
filePath: resolvedTargetPath,
|
|
5534
|
-
source: await
|
|
5534
|
+
source: await import_promises5.default.readFile(resolvedTargetPath, "utf8"),
|
|
5535
5535
|
runtimePackages,
|
|
5536
5536
|
// the imported file's url is this request's with only its path changed,
|
|
5537
5537
|
// so the token, cache key and runtime packages carry over.
|
|
@@ -5557,13 +5557,13 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
|
|
|
5557
5557
|
}
|
|
5558
5558
|
return true;
|
|
5559
5559
|
}
|
|
5560
|
-
var import_node_fs11,
|
|
5560
|
+
var import_node_fs11, import_promises5, import_node_path11, REPLACEMENT_MODULE_ROUTE;
|
|
5561
5561
|
var init_replacement_module_handler = __esm({
|
|
5562
5562
|
"src/host/replacement-module-handler.ts"() {
|
|
5563
5563
|
"use strict";
|
|
5564
5564
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5565
5565
|
import_node_fs11 = require("node:fs");
|
|
5566
|
-
|
|
5566
|
+
import_promises5 = __toESM(require("node:fs/promises"), 1);
|
|
5567
5567
|
import_node_path11 = __toESM(require("node:path"), 1);
|
|
5568
5568
|
init_replacementModule();
|
|
5569
5569
|
init_backend_origin();
|
|
@@ -5827,19 +5827,19 @@ function readJson(root, relative3) {
|
|
|
5827
5827
|
return JSON.parse(
|
|
5828
5828
|
readPackageFile(
|
|
5829
5829
|
root,
|
|
5830
|
-
|
|
5830
|
+
import_node_path28.default.join(root, relative3),
|
|
5831
5831
|
MAX_SWIFT_COMPILE_SOURCE_BYTES
|
|
5832
5832
|
).toString("utf8")
|
|
5833
5833
|
);
|
|
5834
5834
|
}
|
|
5835
5835
|
function registrations(root) {
|
|
5836
|
-
const directory =
|
|
5837
|
-
const initializers =
|
|
5836
|
+
const directory = import_node_path28.default.join(root, "nitrogen/generated/ios");
|
|
5837
|
+
const initializers = import_node_fs25.default.readdirSync(directory).filter((file) => file.endsWith("Autolinking.mm"));
|
|
5838
5838
|
if (initializers.length !== 1)
|
|
5839
5839
|
throw new Error(`${root}: expected one generated Nitro iOS initializer`);
|
|
5840
5840
|
const source = readPackageFile(
|
|
5841
5841
|
root,
|
|
5842
|
-
|
|
5842
|
+
import_node_path28.default.join(directory, initializers[0]),
|
|
5843
5843
|
MAX_SWIFT_COMPILE_SOURCE_BYTES
|
|
5844
5844
|
).toString("utf8");
|
|
5845
5845
|
const namespaces = [
|
|
@@ -5902,18 +5902,18 @@ function registrations(root) {
|
|
|
5902
5902
|
if (new Set(classes.map(({ name: name2 }) => name2)).size !== classes.length)
|
|
5903
5903
|
throw new Error(`${root}: duplicate generated Nitro iOS registration`);
|
|
5904
5904
|
classes.sort((a, b) => a.name.localeCompare(b.name));
|
|
5905
|
-
const ios =
|
|
5906
|
-
if (swiftModule === null &&
|
|
5905
|
+
const ios = import_node_path28.default.join(root, "ios");
|
|
5906
|
+
if (swiftModule === null && import_node_fs25.default.existsSync(ios) && import_node_fs25.default.readdirSync(ios, { recursive: true, encoding: "utf8" }).some((file) => file.endsWith(".swift") && !file.startsWith("Tests")))
|
|
5907
5907
|
swiftModule = initializers[0].slice(0, -"Autolinking.mm".length);
|
|
5908
5908
|
return { namespace, swiftModule, classes, views: viewNames(root, classes) };
|
|
5909
5909
|
}
|
|
5910
5910
|
function viewNames(root, classes) {
|
|
5911
|
-
const directory =
|
|
5912
|
-
if (!
|
|
5911
|
+
const directory = import_node_path28.default.join(root, "nitrogen/generated/shared/json");
|
|
5912
|
+
if (!import_node_fs25.default.existsSync(directory)) return /* @__PURE__ */ new Set();
|
|
5913
5913
|
const views = /* @__PURE__ */ new Set();
|
|
5914
|
-
for (const file of
|
|
5914
|
+
for (const file of import_node_fs25.default.readdirSync(directory)) {
|
|
5915
5915
|
if (!file.endsWith("Config.json")) continue;
|
|
5916
|
-
const config = readJson(root,
|
|
5916
|
+
const config = readJson(root, import_node_path28.default.join("nitrogen/generated/shared/json", file));
|
|
5917
5917
|
const name2 = object(config) ? config.uiViewClassName : void 0;
|
|
5918
5918
|
if (typeof name2 === "string" && classes.some((entry) => entry.name === name2))
|
|
5919
5919
|
views.add(name2);
|
|
@@ -5921,22 +5921,22 @@ function viewNames(root, classes) {
|
|
|
5921
5921
|
return views;
|
|
5922
5922
|
}
|
|
5923
5923
|
function hasNitroIosInitializer(root) {
|
|
5924
|
-
const generated =
|
|
5925
|
-
return
|
|
5924
|
+
const generated = import_node_path28.default.join(root, "nitrogen/generated/ios");
|
|
5925
|
+
return import_node_fs25.default.existsSync(generated) && import_node_fs25.default.readdirSync(generated).some((file) => file.endsWith("Autolinking.mm"));
|
|
5926
5926
|
}
|
|
5927
5927
|
function nitroRegisteredNames(root) {
|
|
5928
5928
|
if (!hasNitroIosInitializer(root)) return null;
|
|
5929
5929
|
const { classes, views } = registrations(root);
|
|
5930
5930
|
return { names: classes.map(({ name: name2 }) => name2), views: [...views].sort() };
|
|
5931
5931
|
}
|
|
5932
|
-
var import_node_child_process11,
|
|
5932
|
+
var import_node_child_process11, import_node_fs25, import_node_path28, import_node_util7, run6;
|
|
5933
5933
|
var init_nitro_source = __esm({
|
|
5934
5934
|
"src/nitro-source.ts"() {
|
|
5935
5935
|
"use strict";
|
|
5936
5936
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5937
5937
|
import_node_child_process11 = require("node:child_process");
|
|
5938
|
-
|
|
5939
|
-
|
|
5938
|
+
import_node_fs25 = __toESM(require("node:fs"), 1);
|
|
5939
|
+
import_node_path28 = __toESM(require("node:path"), 1);
|
|
5940
5940
|
import_node_util7 = require("node:util");
|
|
5941
5941
|
init_forked_script_contract();
|
|
5942
5942
|
init_nitro_dependencies();
|
|
@@ -6062,7 +6062,7 @@ function resolveAppStubs(appDir, config, configDir) {
|
|
|
6062
6062
|
const { modules, views, hybridObjects } = expandStubs(appDir, source);
|
|
6063
6063
|
assertRegisteredHybridObjects(appDir, source, hybridObjects);
|
|
6064
6064
|
for (const [name2, answer] of Object.entries(hybridObjects))
|
|
6065
|
-
nativeHybridObjects[name2] = answer === "unsupported" ? answer : { file: (0,
|
|
6065
|
+
nativeHybridObjects[name2] = answer === "unsupported" ? answer : { file: (0, import_node_path29.resolve)(source.baseDir, answer) };
|
|
6066
6066
|
for (const [name2, stub] of Object.entries(modules))
|
|
6067
6067
|
nativeModules[name2] = lowerStub(stub, source.baseDir);
|
|
6068
6068
|
for (const [name2, stub] of Object.entries(views))
|
|
@@ -6127,10 +6127,10 @@ function assertRegisteredHybridObjects(appDir, source, hybridObjects) {
|
|
|
6127
6127
|
);
|
|
6128
6128
|
}
|
|
6129
6129
|
function lowerStub(stub, baseDir) {
|
|
6130
|
-
return stub === "noop" ? stub : { file: (0,
|
|
6130
|
+
return stub === "noop" ? stub : { file: (0, import_node_path29.resolve)(baseDir, stub) };
|
|
6131
6131
|
}
|
|
6132
6132
|
function readPackageJson(dir) {
|
|
6133
|
-
const text2 = readSmallFile((0,
|
|
6133
|
+
const text2 = readSmallFile((0, import_node_path29.join)(dir, "package.json"));
|
|
6134
6134
|
if (!text2) return null;
|
|
6135
6135
|
try {
|
|
6136
6136
|
const parsed = JSON.parse(text2);
|
|
@@ -6142,9 +6142,9 @@ function readPackageJson(dir) {
|
|
|
6142
6142
|
function installedPackageDir(appDir, name2) {
|
|
6143
6143
|
let current = appDir;
|
|
6144
6144
|
while (true) {
|
|
6145
|
-
const dir = (0,
|
|
6146
|
-
if ((0,
|
|
6147
|
-
const parent = (0,
|
|
6145
|
+
const dir = (0, import_node_path29.join)(current, "node_modules", name2);
|
|
6146
|
+
if ((0, import_node_fs26.existsSync)((0, import_node_path29.join)(dir, "package.json"))) return (0, import_node_fs26.realpathSync)(dir);
|
|
6147
|
+
const parent = (0, import_node_path29.dirname)(current);
|
|
6148
6148
|
if (parent === current) return null;
|
|
6149
6149
|
current = parent;
|
|
6150
6150
|
}
|
|
@@ -6215,15 +6215,15 @@ function sourceNativeRequests(file, text2, includeLegacy = false) {
|
|
|
6215
6215
|
const first = node.arguments[0];
|
|
6216
6216
|
if (first?.type !== "Literal" || typeof first.value !== "string") return;
|
|
6217
6217
|
const callee = node.callee;
|
|
6218
|
-
const
|
|
6219
|
-
if (callee.type === "MemberExpression" && !callee.computed && nativeLookupName(callee.object) === "TurboModuleRegistry" && (
|
|
6218
|
+
const lookup2 = nativeLookupName(callee);
|
|
6219
|
+
if (callee.type === "MemberExpression" && !callee.computed && nativeLookupName(callee.object) === "TurboModuleRegistry" && (lookup2 === "get" || lookup2 === "getEnforcing")) {
|
|
6220
6220
|
add("module", first.value, node.start, false);
|
|
6221
|
-
} else if (
|
|
6222
|
-
if (["requireNativeModule", "requireOptionalNativeModule"].includes(
|
|
6223
|
-
add("module", first.value, node.start,
|
|
6224
|
-
else if (["requireNativeComponent", "codegenNativeComponent"].includes(
|
|
6221
|
+
} else if (lookup2) {
|
|
6222
|
+
if (["requireNativeModule", "requireOptionalNativeModule"].includes(lookup2))
|
|
6223
|
+
add("module", first.value, node.start, lookup2 === "requireOptionalNativeModule");
|
|
6224
|
+
else if (["requireNativeComponent", "codegenNativeComponent"].includes(lookup2))
|
|
6225
6225
|
add("view", first.value, node.start, false);
|
|
6226
|
-
else if (["requireNativeView", "requireNativeViewManager"].includes(
|
|
6226
|
+
else if (["requireNativeView", "requireNativeViewManager"].includes(lookup2)) {
|
|
6227
6227
|
const second = node.arguments[1];
|
|
6228
6228
|
const name2 = second?.type === "Literal" && typeof second.value === "string" ? `${first.value}_${second.value}` : first.value;
|
|
6229
6229
|
add("view", name2, node.start, false);
|
|
@@ -6248,7 +6248,7 @@ function mergeRequests(previous, next) {
|
|
|
6248
6248
|
function packageNativeRequests(dir) {
|
|
6249
6249
|
const found = /* @__PURE__ */ new Map();
|
|
6250
6250
|
const directories = scanRepository(dir).directories.filter((sub) => {
|
|
6251
|
-
const segments = (0,
|
|
6251
|
+
const segments = (0, import_node_path29.relative)(dir, sub).split("/");
|
|
6252
6252
|
return !NATIVE_SOURCE_DIRS.has(segments[0]) && !segments.some((segment) => PACKAGE_SKIP_DIRS.has(segment));
|
|
6253
6253
|
});
|
|
6254
6254
|
let files = 0;
|
|
@@ -6256,7 +6256,7 @@ function packageNativeRequests(dir) {
|
|
|
6256
6256
|
for (const name2 of listDir(sub)) {
|
|
6257
6257
|
if (!SOURCE_FILE.test(name2) || name2.endsWith(".d.ts") || files >= 2e3) continue;
|
|
6258
6258
|
files++;
|
|
6259
|
-
const file = (0,
|
|
6259
|
+
const file = (0, import_node_path29.join)(sub, name2);
|
|
6260
6260
|
const text2 = readSmallFile(file);
|
|
6261
6261
|
if (!text2) continue;
|
|
6262
6262
|
for (const { line: _line, ...request } of sourceNativeRequests(file, text2, true)) {
|
|
@@ -6374,27 +6374,27 @@ function wireSlotMigration(appDir, configPath, wire, kept = []) {
|
|
|
6374
6374
|
}
|
|
6375
6375
|
function listDir(dir) {
|
|
6376
6376
|
try {
|
|
6377
|
-
return (0,
|
|
6377
|
+
return (0, import_node_fs26.readdirSync)(dir);
|
|
6378
6378
|
} catch {
|
|
6379
6379
|
return [];
|
|
6380
6380
|
}
|
|
6381
6381
|
}
|
|
6382
6382
|
function readSmallFile(file) {
|
|
6383
6383
|
try {
|
|
6384
|
-
return (0,
|
|
6384
|
+
return (0, import_node_fs26.statSync)(file).size <= 1024 * 1024 ? (0, import_node_fs26.readFileSync)(file, "utf8") : null;
|
|
6385
6385
|
} catch {
|
|
6386
6386
|
return null;
|
|
6387
6387
|
}
|
|
6388
6388
|
}
|
|
6389
6389
|
function hasNativeCode(dir, platform) {
|
|
6390
|
-
const expoConfig = (0,
|
|
6390
|
+
const expoConfig = (0, import_node_path29.join)(dir, "expo-module.config.json");
|
|
6391
6391
|
const platforms = metadataValue(readProjectJson(expoConfig), "platforms");
|
|
6392
6392
|
if (Array.isArray(platforms))
|
|
6393
6393
|
return platforms.includes(platform) || platform === "ios" && platforms.includes("apple");
|
|
6394
|
-
if ([platform, "expo-module.config.json"].some((entry) => (0,
|
|
6394
|
+
if ([platform, "expo-module.config.json"].some((entry) => (0, import_node_fs26.existsSync)((0, import_node_path29.join)(dir, entry))))
|
|
6395
6395
|
return true;
|
|
6396
6396
|
if (listDir(dir).some((name2) => name2.endsWith(".podspec"))) return true;
|
|
6397
|
-
const manifest = readSmallFile((0,
|
|
6397
|
+
const manifest = readSmallFile((0, import_node_path29.join)(dir, "package.json"));
|
|
6398
6398
|
return manifest !== null && manifest.includes('"codegenConfig"');
|
|
6399
6399
|
}
|
|
6400
6400
|
function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__PURE__ */ new Set(), includeLegacy = false, providers) {
|
|
@@ -6407,7 +6407,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6407
6407
|
(excluded) => dir === excluded || dir.startsWith(`${excluded}/`)
|
|
6408
6408
|
))
|
|
6409
6409
|
continue;
|
|
6410
|
-
if ((0,
|
|
6410
|
+
if ((0, import_node_fs26.existsSync)((0, import_node_path29.join)(dir, "expo-module.config.json"))) {
|
|
6411
6411
|
if (platform && !hasNativeCode(dir, platform)) {
|
|
6412
6412
|
excludedModuleDirs.push(dir);
|
|
6413
6413
|
continue;
|
|
@@ -6416,7 +6416,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6416
6416
|
}
|
|
6417
6417
|
for (const name2 of listDir(dir)) {
|
|
6418
6418
|
if (SOURCE_FILE.test(name2) && !name2.endsWith(".d.ts"))
|
|
6419
|
-
sourceFiles.push((0,
|
|
6419
|
+
sourceFiles.push((0, import_node_path29.join)(dir, name2));
|
|
6420
6420
|
}
|
|
6421
6421
|
}
|
|
6422
6422
|
}
|
|
@@ -6426,7 +6426,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6426
6426
|
scanRepository(dir).directories.flatMap(
|
|
6427
6427
|
(sub) => listDir(sub).filter(
|
|
6428
6428
|
(name2) => NATIVE_SOURCE_FILE.test(name2) && (!platform || (platform === "ios" ? name2.endsWith(".swift") : name2.endsWith(".kt")))
|
|
6429
|
-
).map((name2) => (0,
|
|
6429
|
+
).map((name2) => (0, import_node_path29.join)(sub, name2))
|
|
6430
6430
|
)
|
|
6431
6431
|
])
|
|
6432
6432
|
);
|
|
@@ -6435,7 +6435,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6435
6435
|
const known = owners.get(dir);
|
|
6436
6436
|
if (known) return known;
|
|
6437
6437
|
const name2 = readPackageJson(dir)?.name;
|
|
6438
|
-
const parent = (0,
|
|
6438
|
+
const parent = (0, import_node_path29.dirname)(dir);
|
|
6439
6439
|
const result = typeof name2 === "string" ? name2 : parent === dir ? pkg.name ?? "app" : owner(parent);
|
|
6440
6440
|
owners.set(dir, result);
|
|
6441
6441
|
return result;
|
|
@@ -6449,25 +6449,25 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6449
6449
|
else {
|
|
6450
6450
|
const moduleDir2 = expoModuleDirs.find((dir) => file.startsWith(`${dir}/`));
|
|
6451
6451
|
if (moduleDir2 && (file.endsWith(".swift") || !known.expoModule)) {
|
|
6452
|
-
known.expoModule = (0,
|
|
6452
|
+
known.expoModule = (0, import_node_path29.relative)(appDir, moduleDir2) || ".";
|
|
6453
6453
|
known.swift = file.endsWith(".swift");
|
|
6454
6454
|
}
|
|
6455
6455
|
}
|
|
6456
6456
|
return;
|
|
6457
6457
|
}
|
|
6458
6458
|
providers ??= dependencyNativeOwners(appDir, pkg);
|
|
6459
|
-
const packageName = providers.get(key) ?? owner((0,
|
|
6459
|
+
const packageName = providers.get(key) ?? owner((0, import_node_path29.dirname)(file));
|
|
6460
6460
|
if (knownPackages.has(packageName)) return;
|
|
6461
6461
|
const moduleDir = expoModuleDirs.find((dir) => file.startsWith(`${dir}/`)) ?? null;
|
|
6462
6462
|
found.set(key, {
|
|
6463
6463
|
kind,
|
|
6464
6464
|
name: name2,
|
|
6465
6465
|
package: packageName,
|
|
6466
|
-
path: `${(0,
|
|
6467
|
-
expoModule: moduleDir ? (0,
|
|
6466
|
+
path: `${(0, import_node_path29.relative)(appDir, file)}:${line}`,
|
|
6467
|
+
expoModule: moduleDir ? (0, import_node_path29.relative)(appDir, moduleDir) || "." : null,
|
|
6468
6468
|
optional,
|
|
6469
6469
|
swift: moduleDir ? (nativeFilesByModule.get(moduleDir) ?? []).some(
|
|
6470
|
-
(
|
|
6470
|
+
(path30) => path30.endsWith(".swift") && [...(readSmallFile(path30) ?? "").matchAll(/\bName\(\s*"(\w+)"\s*\)/g)].some(
|
|
6471
6471
|
(match) => match[1] === name2
|
|
6472
6472
|
)
|
|
6473
6473
|
) : false,
|
|
@@ -6515,30 +6515,30 @@ function workspacePackageDirs(appDir, pkg) {
|
|
|
6515
6515
|
for (const name2 of Object.keys({ ...pkg.dependencies, ...pkg.devDependencies })) {
|
|
6516
6516
|
let current = appDir;
|
|
6517
6517
|
while (true) {
|
|
6518
|
-
const link = (0,
|
|
6519
|
-
if ((0,
|
|
6520
|
-
if ((0,
|
|
6521
|
-
const target = (0,
|
|
6518
|
+
const link = (0, import_node_path29.join)(current, "node_modules", name2);
|
|
6519
|
+
if ((0, import_node_fs26.existsSync)(link)) {
|
|
6520
|
+
if ((0, import_node_fs26.lstatSync)(link).isSymbolicLink()) {
|
|
6521
|
+
const target = (0, import_node_fs26.realpathSync)(link);
|
|
6522
6522
|
if (!target.split("/").includes("node_modules") && !target.startsWith(`${appDir}/`)) {
|
|
6523
6523
|
dirs.add(target);
|
|
6524
6524
|
}
|
|
6525
6525
|
}
|
|
6526
6526
|
break;
|
|
6527
6527
|
}
|
|
6528
|
-
const parent = (0,
|
|
6528
|
+
const parent = (0, import_node_path29.dirname)(current);
|
|
6529
6529
|
if (parent === current) break;
|
|
6530
6530
|
current = parent;
|
|
6531
6531
|
}
|
|
6532
6532
|
}
|
|
6533
6533
|
return [...dirs];
|
|
6534
6534
|
}
|
|
6535
|
-
var
|
|
6535
|
+
var import_node_fs26, import_node_path29, import_oxc_parser2, import_sucrase, SOURCE_FILE, NATIVE_LOOKUP, NATIVE_SOURCE_DIRS, PACKAGE_SKIP_DIRS, NATIVE_SOURCE_FILE;
|
|
6536
6536
|
var init_app_stubs = __esm({
|
|
6537
6537
|
"cli/app-stubs.ts"() {
|
|
6538
6538
|
"use strict";
|
|
6539
6539
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
6540
|
-
|
|
6541
|
-
|
|
6540
|
+
import_node_fs26 = require("node:fs");
|
|
6541
|
+
import_node_path29 = require("node:path");
|
|
6542
6542
|
init_version_range();
|
|
6543
6543
|
import_oxc_parser2 = require("oxc-parser");
|
|
6544
6544
|
import_sucrase = require("sucrase");
|
|
@@ -6574,12 +6574,12 @@ function resolveFileEntries(entries, configDir) {
|
|
|
6574
6574
|
return Object.fromEntries(
|
|
6575
6575
|
Object.entries(entries).map(([name2, resolution]) => [
|
|
6576
6576
|
name2,
|
|
6577
|
-
resolution && typeof resolution === "object" && "file" in resolution && typeof resolution.file === "string" ? { ...resolution, file:
|
|
6577
|
+
resolution && typeof resolution === "object" && "file" in resolution && typeof resolution.file === "string" ? { ...resolution, file: import_node_path30.default.resolve(configDir, resolution.file) } : resolution
|
|
6578
6578
|
])
|
|
6579
6579
|
);
|
|
6580
6580
|
}
|
|
6581
6581
|
function resolveConfigReplacementFiles(config, configPath) {
|
|
6582
|
-
const configDir =
|
|
6582
|
+
const configDir = import_node_path30.default.dirname(configPath);
|
|
6583
6583
|
return {
|
|
6584
6584
|
...config,
|
|
6585
6585
|
modules: resolveFileEntries(config.modules, configDir)
|
|
@@ -6595,7 +6595,7 @@ async function loadRNXAppStubs(project) {
|
|
|
6595
6595
|
return resolveAppStubs(
|
|
6596
6596
|
project.appDir,
|
|
6597
6597
|
config,
|
|
6598
|
-
project.configPath ?
|
|
6598
|
+
project.configPath ? import_node_path30.default.dirname(project.configPath) : project.appDir
|
|
6599
6599
|
);
|
|
6600
6600
|
} catch (error) {
|
|
6601
6601
|
const message = error instanceof Error ? error.message : String(error);
|
|
@@ -6614,7 +6614,7 @@ async function loadConfigFile(project) {
|
|
|
6614
6614
|
[`${rnxPublicBrand.packageName}/config`]: config_exports
|
|
6615
6615
|
}
|
|
6616
6616
|
});
|
|
6617
|
-
const loaded3 = project.configPath.endsWith(".json") ? JSON.parse((0,
|
|
6617
|
+
const loaded3 = project.configPath.endsWith(".json") ? JSON.parse((0, import_node_fs27.readFileSync)(project.configPath, "utf8")) : await jiti.import(project.configPath, { default: true });
|
|
6618
6618
|
if (!isPeachConfig(loaded3)) {
|
|
6619
6619
|
throw new Error("the default export must be a peach config object");
|
|
6620
6620
|
}
|
|
@@ -6650,13 +6650,13 @@ async function resolveRNXAppConfig(startDir = process.cwd()) {
|
|
|
6650
6650
|
const project = resolveAppProject(startDir);
|
|
6651
6651
|
return { project, ...await loadRNXAppStubs(project) };
|
|
6652
6652
|
}
|
|
6653
|
-
var
|
|
6653
|
+
var import_node_fs27, import_node_path30, import_jiti, WIRE_SLOTS;
|
|
6654
6654
|
var init_app_config = __esm({
|
|
6655
6655
|
"cli/app-config.ts"() {
|
|
6656
6656
|
"use strict";
|
|
6657
6657
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
6658
|
-
|
|
6659
|
-
|
|
6658
|
+
import_node_fs27 = require("node:fs");
|
|
6659
|
+
import_node_path30 = __toESM(require("node:path"), 1);
|
|
6660
6660
|
import_jiti = require("jiti");
|
|
6661
6661
|
init_config();
|
|
6662
6662
|
init_config();
|
|
@@ -6756,14 +6756,14 @@ async function produceConfiguredBundle(source, config, runtimePackages) {
|
|
|
6756
6756
|
const neededPackages = /* @__PURE__ */ new Set();
|
|
6757
6757
|
const factories = [];
|
|
6758
6758
|
const visit3 = (filePath) => {
|
|
6759
|
-
const real =
|
|
6759
|
+
const real = import_node_fs28.default.realpathSync(filePath);
|
|
6760
6760
|
const previous = files.get(real);
|
|
6761
6761
|
if (previous !== void 0) return previous;
|
|
6762
6762
|
const id = "peach-config-file:" + files.size;
|
|
6763
6763
|
files.set(real, id);
|
|
6764
6764
|
const compiled = compileReplacementModule({
|
|
6765
6765
|
filePath: real,
|
|
6766
|
-
source:
|
|
6766
|
+
source: import_node_fs28.default.readFileSync(real, "utf8"),
|
|
6767
6767
|
runtimePackages,
|
|
6768
6768
|
localModuleUrl: (specifier) => visit3(resolveReplacementModuleFile(real, specifier))
|
|
6769
6769
|
});
|
|
@@ -6787,7 +6787,7 @@ async function produceConfiguredBundle(source, config, runtimePackages) {
|
|
|
6787
6787
|
if (!entries || typeof entries !== "object") continue;
|
|
6788
6788
|
for (const resolution of Object.values(entries)) {
|
|
6789
6789
|
if (resolution && typeof resolution === "object" && "file" in resolution && typeof resolution.file === "string") {
|
|
6790
|
-
resolution.file = visit3(
|
|
6790
|
+
resolution.file = visit3(import_node_path31.default.resolve(resolution.file));
|
|
6791
6791
|
}
|
|
6792
6792
|
}
|
|
6793
6793
|
}
|
|
@@ -6811,13 +6811,13 @@ async function produceConfiguredBundle(source, config, runtimePackages) {
|
|
|
6811
6811
|
const identityStart = findBundleFooter(source, "globalThis.__sootsimModulePaths=");
|
|
6812
6812
|
return prefix2 + (identityStart < 0 ? source + footer : source.slice(0, identityStart) + footer + source.slice(identityStart));
|
|
6813
6813
|
}
|
|
6814
|
-
var
|
|
6814
|
+
var import_node_fs28, import_node_path31, import_sucrase2, import_terser, PREFIX_START, PREFIX_END;
|
|
6815
6815
|
var init_configured_bundle_producer = __esm({
|
|
6816
6816
|
"src/configured-bundle-producer.ts"() {
|
|
6817
6817
|
"use strict";
|
|
6818
6818
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
6819
|
-
|
|
6820
|
-
|
|
6819
|
+
import_node_fs28 = __toESM(require("node:fs"), 1);
|
|
6820
|
+
import_node_path31 = __toESM(require("node:path"), 1);
|
|
6821
6821
|
import_sucrase2 = require("sucrase");
|
|
6822
6822
|
import_terser = require("terser");
|
|
6823
6823
|
init_dependencies();
|
|
@@ -6901,7 +6901,7 @@ var import_node_module = require("node:module");
|
|
|
6901
6901
|
var import_node_path2 = require("node:path");
|
|
6902
6902
|
|
|
6903
6903
|
// runtime-companion.json
|
|
6904
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
6904
|
+
var runtime_companion_default = { abi: 1, sha256: "b75c5cdfbd95172e0c2434d6acfda5bc5940f1960123f07cdee4ad9a17b274f3", file: "node/cli-b75c5cdfbd95172e0c2434d6acfda5bc5940f1960123f07cdee4ad9a17b274f3.cjs" };
|
|
6905
6905
|
|
|
6906
6906
|
// src/runtime-assets.ts
|
|
6907
6907
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -8653,9 +8653,9 @@ function createBridge(wsPort, opts = {}) {
|
|
|
8653
8653
|
}
|
|
8654
8654
|
try {
|
|
8655
8655
|
if (targetedSimId && cmd.type !== "bridge:list-sims" && !lineageBySimId.has(targetedSimId)) {
|
|
8656
|
-
let
|
|
8657
|
-
if (!
|
|
8658
|
-
|
|
8656
|
+
let lookup2 = lineageLookupBySimId.get(targetedSimId);
|
|
8657
|
+
if (!lookup2) {
|
|
8658
|
+
lookup2 = (async () => {
|
|
8659
8659
|
try {
|
|
8660
8660
|
const sims = await sendOnce(void 0, { type: "bridge:list-sims" });
|
|
8661
8661
|
if (!Array.isArray(sims)) return;
|
|
@@ -8674,9 +8674,9 @@ function createBridge(wsPort, opts = {}) {
|
|
|
8674
8674
|
lineageLookupBySimId.delete(targetedSimId);
|
|
8675
8675
|
}
|
|
8676
8676
|
})();
|
|
8677
|
-
lineageLookupBySimId.set(targetedSimId,
|
|
8677
|
+
lineageLookupBySimId.set(targetedSimId, lookup2);
|
|
8678
8678
|
}
|
|
8679
|
-
await
|
|
8679
|
+
await lookup2;
|
|
8680
8680
|
}
|
|
8681
8681
|
return await sendOnce(sentSimId);
|
|
8682
8682
|
} catch (error) {
|
|
@@ -11878,7 +11878,7 @@ var import_node_http3 = __toESM(require("node:http"), 1);
|
|
|
11878
11878
|
var import_node_https2 = __toESM(require("node:https"), 1);
|
|
11879
11879
|
var import_node_url2 = require("node:url");
|
|
11880
11880
|
var import_path5 = __toESM(require("path"), 1);
|
|
11881
|
-
var
|
|
11881
|
+
var import_promises6 = require("stream/promises");
|
|
11882
11882
|
var import_ws2 = require("ws");
|
|
11883
11883
|
|
|
11884
11884
|
// src/dev-server-open.ts
|
|
@@ -11960,7 +11960,7 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
11960
11960
|
var import_http = __toESM(require("http"), 1);
|
|
11961
11961
|
var import_https = __toESM(require("https"), 1);
|
|
11962
11962
|
var import_node_http2 = require("node:http2");
|
|
11963
|
-
var
|
|
11963
|
+
var import_promises4 = require("stream/promises");
|
|
11964
11964
|
init_backend_origin();
|
|
11965
11965
|
|
|
11966
11966
|
// src/host/dev-server-package-versions.ts
|
|
@@ -15928,33 +15928,9 @@ function nodeRequestHeaderEntries(headers) {
|
|
|
15928
15928
|
return entries;
|
|
15929
15929
|
}
|
|
15930
15930
|
|
|
15931
|
-
// src/host/
|
|
15931
|
+
// src/host/hostname-resolver.ts
|
|
15932
15932
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
15933
|
-
|
|
15934
|
-
var LOOPBACK_PORTS = /* @__PURE__ */ new Map();
|
|
15935
|
-
for (const pair of process.env.PEACH_LOOPBACK_PORTS?.split(",").filter(Boolean) ?? []) {
|
|
15936
|
-
const match = /^\s*([1-9][0-9]{0,4}):([1-9][0-9]{0,4})\s*$/.exec(pair);
|
|
15937
|
-
const from = Number(match?.[1]);
|
|
15938
|
-
const to = Number(match?.[2]);
|
|
15939
|
-
if (!match || from > 65535 || to > 65535 || LOOPBACK_PORTS.has(from)) {
|
|
15940
|
-
throw new Error(`PEACH_LOOPBACK_PORTS has an invalid entry: ${JSON.stringify(pair)}`);
|
|
15941
|
-
}
|
|
15942
|
-
LOOPBACK_PORTS.set(from, to);
|
|
15943
|
-
}
|
|
15944
|
-
function projectLoopbackPort(hostname, port) {
|
|
15945
|
-
return isLoopbackHost(hostname) ? LOOPBACK_PORTS.get(port) ?? port : port;
|
|
15946
|
-
}
|
|
15947
|
-
function projectLoopbackUrl(value) {
|
|
15948
|
-
if (LOOPBACK_PORTS.size === 0) return value;
|
|
15949
|
-
const url = new URL(value);
|
|
15950
|
-
const port = Number(
|
|
15951
|
-
url.port || (url.protocol === "https:" || url.protocol === "wss:" ? 443 : 80)
|
|
15952
|
-
);
|
|
15953
|
-
const projected = projectLoopbackPort(url.hostname, port);
|
|
15954
|
-
if (projected === port) return value;
|
|
15955
|
-
url.port = String(projected);
|
|
15956
|
-
return url.href;
|
|
15957
|
-
}
|
|
15933
|
+
var import_promises2 = require("node:dns/promises");
|
|
15958
15934
|
|
|
15959
15935
|
// src/host/network-policy.ts
|
|
15960
15936
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -15979,6 +15955,8 @@ function describeEvent(event) {
|
|
|
15979
15955
|
return `tcp ${event.host}:${event.port}`;
|
|
15980
15956
|
case "tunnel":
|
|
15981
15957
|
return `tunnel ${event.host}:${event.port}`;
|
|
15958
|
+
case "dns":
|
|
15959
|
+
return `dns ${event.host}`;
|
|
15982
15960
|
}
|
|
15983
15961
|
}
|
|
15984
15962
|
function createNetworkAuthorizer(policy) {
|
|
@@ -16027,15 +16005,80 @@ var authorizeNetwork = createNetworkAuthorizer(
|
|
|
16027
16005
|
policyFile === null ? null : loadNetworkPolicy(policyFile)
|
|
16028
16006
|
);
|
|
16029
16007
|
|
|
16008
|
+
// src/host/hostname-resolver.ts
|
|
16009
|
+
function isHostnameResolutionRequest(rawUrl) {
|
|
16010
|
+
return rawUrl?.startsWith("/__peach-resolve-host?") ?? false;
|
|
16011
|
+
}
|
|
16012
|
+
async function handleHostnameResolutionRequest(req, res) {
|
|
16013
|
+
const host2 = new URL(req.url ?? "", "http://localhost").searchParams.get("name");
|
|
16014
|
+
if (req.method !== "GET" || !host2) {
|
|
16015
|
+
res.statusCode = 400;
|
|
16016
|
+
res.end();
|
|
16017
|
+
return;
|
|
16018
|
+
}
|
|
16019
|
+
if (!await authorizeNetwork({ kind: "dns", host: host2 })) {
|
|
16020
|
+
res.statusCode = 403;
|
|
16021
|
+
res.end();
|
|
16022
|
+
return;
|
|
16023
|
+
}
|
|
16024
|
+
let resolved;
|
|
16025
|
+
try {
|
|
16026
|
+
await (0, import_promises2.lookup)(host2);
|
|
16027
|
+
resolved = true;
|
|
16028
|
+
} catch (error) {
|
|
16029
|
+
const code = error instanceof Error ? Reflect.get(error, "code") : null;
|
|
16030
|
+
if (code !== "ENOTFOUND" && code !== "EINVAL" && code !== "ERR_INVALID_ARG_VALUE") {
|
|
16031
|
+
res.statusCode = 503;
|
|
16032
|
+
res.end();
|
|
16033
|
+
return;
|
|
16034
|
+
}
|
|
16035
|
+
resolved = false;
|
|
16036
|
+
}
|
|
16037
|
+
res.statusCode = 200;
|
|
16038
|
+
res.setHeader("content-type", "application/json");
|
|
16039
|
+
res.setHeader("cache-control", "no-store");
|
|
16040
|
+
res.setHeader("access-control-allow-origin", req.headers.origin || "*");
|
|
16041
|
+
res.setHeader("cross-origin-resource-policy", "cross-origin");
|
|
16042
|
+
res.end(JSON.stringify(resolved));
|
|
16043
|
+
}
|
|
16044
|
+
|
|
16045
|
+
// src/host/loopback-ports.ts
|
|
16046
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
16047
|
+
init_backend_origin();
|
|
16048
|
+
var LOOPBACK_PORTS = /* @__PURE__ */ new Map();
|
|
16049
|
+
for (const pair of process.env.PEACH_LOOPBACK_PORTS?.split(",").filter(Boolean) ?? []) {
|
|
16050
|
+
const match = /^\s*([1-9][0-9]{0,4}):([1-9][0-9]{0,4})\s*$/.exec(pair);
|
|
16051
|
+
const from = Number(match?.[1]);
|
|
16052
|
+
const to = Number(match?.[2]);
|
|
16053
|
+
if (!match || from > 65535 || to > 65535 || LOOPBACK_PORTS.has(from)) {
|
|
16054
|
+
throw new Error(`PEACH_LOOPBACK_PORTS has an invalid entry: ${JSON.stringify(pair)}`);
|
|
16055
|
+
}
|
|
16056
|
+
LOOPBACK_PORTS.set(from, to);
|
|
16057
|
+
}
|
|
16058
|
+
function projectLoopbackPort(hostname, port) {
|
|
16059
|
+
return isLoopbackHost(hostname) ? LOOPBACK_PORTS.get(port) ?? port : port;
|
|
16060
|
+
}
|
|
16061
|
+
function projectLoopbackUrl(value) {
|
|
16062
|
+
if (LOOPBACK_PORTS.size === 0) return value;
|
|
16063
|
+
const url = new URL(value);
|
|
16064
|
+
const port = Number(
|
|
16065
|
+
url.port || (url.protocol === "https:" || url.protocol === "wss:" ? 443 : 80)
|
|
16066
|
+
);
|
|
16067
|
+
const projected = projectLoopbackPort(url.hostname, port);
|
|
16068
|
+
if (projected === port) return value;
|
|
16069
|
+
url.port = String(projected);
|
|
16070
|
+
return url.href;
|
|
16071
|
+
}
|
|
16072
|
+
|
|
16030
16073
|
// src/host/rolldown-bundle-forward.ts
|
|
16031
16074
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
16032
16075
|
var import_stream = require("stream");
|
|
16033
|
-
var
|
|
16076
|
+
var import_promises3 = require("stream/promises");
|
|
16034
16077
|
var ROLLDOWN_INVENTORY_HEADER = "x-peach-rolldown-inventory";
|
|
16035
16078
|
async function forwardRolldownBundleResponse(upstream, res) {
|
|
16036
16079
|
res.setHeader(ROLLDOWN_INVENTORY_HEADER, "1");
|
|
16037
16080
|
if (upstream.headers[ROLLDOWN_INVENTORY_HEADER] === "1") {
|
|
16038
|
-
await (0,
|
|
16081
|
+
await (0, import_promises3.pipeline)(upstream, res);
|
|
16039
16082
|
return;
|
|
16040
16083
|
}
|
|
16041
16084
|
const contentType = typeof upstream.headers["content-type"] === "string" ? upstream.headers["content-type"] : "";
|
|
@@ -16077,7 +16120,7 @@ async function forwardRolldownBundleResponse(upstream, res) {
|
|
|
16077
16120
|
}
|
|
16078
16121
|
yield Buffer.from(annotated.slice(sent), "utf8");
|
|
16079
16122
|
};
|
|
16080
|
-
await (0,
|
|
16123
|
+
await (0, import_promises3.pipeline)(import_stream.Readable.from(annotate(), { objectMode: false }), res);
|
|
16081
16124
|
}
|
|
16082
16125
|
|
|
16083
16126
|
// src/host/fetch-proxy-handler.ts
|
|
@@ -16279,6 +16322,11 @@ function handleAppApiRequest(req, res) {
|
|
|
16279
16322
|
return true;
|
|
16280
16323
|
}
|
|
16281
16324
|
function serveBrowserProxyRoute(req, res) {
|
|
16325
|
+
if (isHostnameResolutionRequest(req.url)) {
|
|
16326
|
+
if (!rejectUntrustedBridgeOrigin(req, res))
|
|
16327
|
+
void handleHostnameResolutionRequest(req, res);
|
|
16328
|
+
return true;
|
|
16329
|
+
}
|
|
16282
16330
|
if (isBundleProxyRequestUrl(req.url) || isFetchProxyRequestUrl(req.url)) {
|
|
16283
16331
|
if (!rejectUntrustedBridgeOrigin(req, res)) void handleFetchProxyRequest(req, res);
|
|
16284
16332
|
return true;
|
|
@@ -16370,7 +16418,7 @@ async function proxyUpstream(req, res, upstreamUrl, reportFailure, route) {
|
|
|
16370
16418
|
await route.respond(proxyRes, hopCookies);
|
|
16371
16419
|
if (isNativeCookieRedirect(hop)) res.removeHeader("location");
|
|
16372
16420
|
res.statusCode = isNativeCookieRedirect(hop) ? 200 : status;
|
|
16373
|
-
await (0,
|
|
16421
|
+
await (0, import_promises4.pipeline)(proxyRes, res);
|
|
16374
16422
|
return;
|
|
16375
16423
|
}
|
|
16376
16424
|
if (location && (status === 301 || status === 302 || status === 303 || status === 307 || status === 308)) {
|
|
@@ -16381,7 +16429,7 @@ async function proxyUpstream(req, res, upstreamUrl, reportFailure, route) {
|
|
|
16381
16429
|
const switchToGet = (status === 301 || status === 302) && method === "POST" || status === 303 && method !== "GET" && method !== "HEAD";
|
|
16382
16430
|
const redirectUrl = resolveRedirectUrl(location, targetUrl);
|
|
16383
16431
|
proxyRes.resume();
|
|
16384
|
-
await (0,
|
|
16432
|
+
await (0, import_promises4.finished)(proxyRes);
|
|
16385
16433
|
await proxy(
|
|
16386
16434
|
redirectUrl,
|
|
16387
16435
|
switchToGet ? "GET" : method,
|
|
@@ -16398,7 +16446,7 @@ async function proxyUpstream(req, res, upstreamUrl, reportFailure, route) {
|
|
|
16398
16446
|
await forwardRolldownBundleResponse(proxyRes, res);
|
|
16399
16447
|
return;
|
|
16400
16448
|
}
|
|
16401
|
-
await (0,
|
|
16449
|
+
await (0, import_promises4.pipeline)(proxyRes, res);
|
|
16402
16450
|
};
|
|
16403
16451
|
let upstreamAnswered = false;
|
|
16404
16452
|
let body;
|
|
@@ -16781,7 +16829,7 @@ function peachPlugin(options = {}) {
|
|
|
16781
16829
|
}
|
|
16782
16830
|
res.setHeader(key, value);
|
|
16783
16831
|
}
|
|
16784
|
-
const forward = res.statusCode === 200 ? forwardRolldownBundleResponse(upstream, res) : (0,
|
|
16832
|
+
const forward = res.statusCode === 200 ? forwardRolldownBundleResponse(upstream, res) : (0, import_promises6.pipeline)(upstream, res);
|
|
16785
16833
|
forward.catch((error) => {
|
|
16786
16834
|
console.error("[peach] bundle forward failed", error);
|
|
16787
16835
|
const failure = error instanceof Error ? error : new Error(String(error));
|
|
@@ -17931,10 +17979,10 @@ function appTargetReleaseSettings(pbxproj, targetName, infoPlistRelativePath) {
|
|
|
17931
17979
|
var APP_DELEGATE_PATH_RE = /(?:^|\/)(?:ios\/)?([^/]+)\/AppDelegate\.(?:swift|mm|m)$/;
|
|
17932
17980
|
function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri) {
|
|
17933
17981
|
const pbxprojPath = Object.keys(files).find(
|
|
17934
|
-
(
|
|
17982
|
+
(path30) => /(?:^|\/)ios\/[^/]+\.xcodeproj\/project\.pbxproj$/.test(path30)
|
|
17935
17983
|
) ?? Object.keys(files).find(
|
|
17936
|
-
(
|
|
17937
|
-
) ?? Object.keys(files).find((
|
|
17984
|
+
(path30) => /(?:^|\/)[^/]+\.xcodeproj\/project\.pbxproj$/.test(path30)
|
|
17985
|
+
) ?? Object.keys(files).find((path30) => /(?:^|\/)project\.pbxproj$/.test(path30));
|
|
17938
17986
|
if (!pbxprojPath) return null;
|
|
17939
17987
|
const pbxproj = files[pbxprojPath];
|
|
17940
17988
|
let objects = {};
|
|
@@ -17976,7 +18024,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
17976
18024
|
} else if (applicationTargetNames.size === 1) {
|
|
17977
18025
|
targetName = [...applicationTargetNames][0];
|
|
17978
18026
|
} else if (applicationTargetNames.size > 1) {
|
|
17979
|
-
const delegateTargets = Object.keys(files).filter((
|
|
18027
|
+
const delegateTargets = Object.keys(files).filter((path30) => !path30.includes("/Pods/")).map((path30) => path30.match(APP_DELEGATE_PATH_RE)?.[1]).filter(
|
|
17980
18028
|
(name2) => typeof name2 === "string" && applicationTargetNames.has(name2)
|
|
17981
18029
|
);
|
|
17982
18030
|
if (delegateTargets.length === 1) {
|
|
@@ -18199,7 +18247,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
18199
18247
|
if (Object.hasOwn(files, file)) return [file];
|
|
18200
18248
|
const prefix2 = file === "" ? "" : `${file.replace(/\/$/, "")}/`;
|
|
18201
18249
|
return paths.filter(
|
|
18202
|
-
(
|
|
18250
|
+
(path30) => path30.startsWith(prefix2) && !/(?:^|\/)\./.test(path30.slice(prefix2.length))
|
|
18203
18251
|
);
|
|
18204
18252
|
},
|
|
18205
18253
|
join8,
|
|
@@ -18210,7 +18258,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
18210
18258
|
}
|
|
18211
18259
|
const rootModuleName = readRootModuleName(
|
|
18212
18260
|
Object.entries(files).filter(
|
|
18213
|
-
([
|
|
18261
|
+
([path30]) => !path30.includes("/Pods/") && (/(?:^|\/)(?:ios\/)?AppDelegate\.(?:swift|mm|m)$/.test(path30) || path30.match(APP_DELEGATE_PATH_RE)?.[1] === targetName)
|
|
18214
18262
|
).map(([, source]) => source)
|
|
18215
18263
|
);
|
|
18216
18264
|
return {
|
|
@@ -18296,9 +18344,9 @@ function extractNativeAppIdentityFromFiles(files, platform, parseInfoPlist, iosT
|
|
|
18296
18344
|
|
|
18297
18345
|
// src/native-app-identity-project.ts
|
|
18298
18346
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18299
|
-
var
|
|
18347
|
+
var import_node_fs23 = __toESM(require("node:fs"), 1);
|
|
18300
18348
|
var import_node_module4 = require("node:module");
|
|
18301
|
-
var
|
|
18349
|
+
var import_node_path26 = __toESM(require("node:path"), 1);
|
|
18302
18350
|
init_is_record();
|
|
18303
18351
|
|
|
18304
18352
|
// src/swift-objc-standin.ts
|
|
@@ -18406,6 +18454,57 @@ var compilerArchives = {
|
|
|
18406
18454
|
}
|
|
18407
18455
|
}
|
|
18408
18456
|
},
|
|
18457
|
+
"swift-6.4.0-RELEASE-custom-bd49e2f77434e7b1": {
|
|
18458
|
+
identity: "bd49e2f77434e7b1",
|
|
18459
|
+
hosts: {
|
|
18460
|
+
"darwin-arm64": {
|
|
18461
|
+
checksum: "e815b06394566e8125475afc8f1807f7f465318c845549c5831043cdc28eca64",
|
|
18462
|
+
manifest: "6e3ae00102c67f2f9761b1462aab63580f2ca010469300a7c4a620765573e4e0"
|
|
18463
|
+
},
|
|
18464
|
+
"linux-x64": {
|
|
18465
|
+
checksum: "9336e0b0aefaa0171799d4b5d4215c711a24c79ac9e91baa362ba100fc22534f",
|
|
18466
|
+
manifest: "3802c631f593eda1d79dc4af55a8667356eece954d2ea59b62b1f8f981fa538e"
|
|
18467
|
+
},
|
|
18468
|
+
"linux-arm64": {
|
|
18469
|
+
checksum: "851b5a756472ad53d833e8f0ab3ae55c05d3e6b49871bb982c977b7582cc117f",
|
|
18470
|
+
manifest: "4162656192a2881e5ccc763e3e66ce46646a84ff42cdf2de50bd6424ebac5e34"
|
|
18471
|
+
}
|
|
18472
|
+
}
|
|
18473
|
+
},
|
|
18474
|
+
"swift-6.4.0-RELEASE-custom-13450179a7e01c81": {
|
|
18475
|
+
identity: "13450179a7e01c81",
|
|
18476
|
+
hosts: {
|
|
18477
|
+
"darwin-arm64": {
|
|
18478
|
+
checksum: "a29be6b722f15c7aafac26ba5703a7392f49ce7ea5e1c56548846b7e458290f7",
|
|
18479
|
+
manifest: "9d89bc39d80d13c8bdb93ad5c306bb87e83bac34090f9bcec57476fd90a6a115"
|
|
18480
|
+
},
|
|
18481
|
+
"linux-x64": {
|
|
18482
|
+
checksum: "b9e9e3ed855f6a8c85f5fe24016b83792a0088e2d0ea632482426c4dc6031b98",
|
|
18483
|
+
manifest: "5de3bb6bf131e68862539195fbb4fce9d4de2b528fa882495b27fd4bdd02e5ab"
|
|
18484
|
+
},
|
|
18485
|
+
"linux-arm64": {
|
|
18486
|
+
checksum: "844f5ead2854d4ac2d1fc9fb13c366450a2ed4b8fa641719822d74f9150575b4",
|
|
18487
|
+
manifest: "1fcfb353679186a3e631b83085e5e8c3dde8cb32d25052b3c8b7896339a4378b"
|
|
18488
|
+
}
|
|
18489
|
+
}
|
|
18490
|
+
},
|
|
18491
|
+
"swift-6.4.0-RELEASE-custom-f6868fa6054e83d6": {
|
|
18492
|
+
identity: "f6868fa6054e83d6",
|
|
18493
|
+
hosts: {
|
|
18494
|
+
"darwin-arm64": {
|
|
18495
|
+
checksum: "bd80c2f35864ec29883dd22001d0165821e80d78002fc12f92406c3c708694a4",
|
|
18496
|
+
manifest: "daad0da2a296084307769b59719dbe83e45755871438fad129b20421b111657b"
|
|
18497
|
+
},
|
|
18498
|
+
"linux-x64": {
|
|
18499
|
+
checksum: "39707ef599835ae2d9ce5aea026b7a96d43e51b4c4dcd2ca62d5fc11c520e871",
|
|
18500
|
+
manifest: "065405edd9b02a84ce01c09e68531834dbe190232e6387b056a481354c44fe81"
|
|
18501
|
+
},
|
|
18502
|
+
"linux-arm64": {
|
|
18503
|
+
checksum: "a91f2947d560b49b56334938d0efdcb22286557da63d65389129030b2a4e146d",
|
|
18504
|
+
manifest: "4dfbc167c96f30c7de19cc280948786fb79a888b666ca200b0788803902361ce"
|
|
18505
|
+
}
|
|
18506
|
+
}
|
|
18507
|
+
},
|
|
18409
18508
|
[SWIFT_HOST_COMPILER_RELEASE]: {
|
|
18410
18509
|
identity: SWIFT_HOST_COMPILER_ID,
|
|
18411
18510
|
hosts: {
|
|
@@ -18545,8 +18644,8 @@ var IOS_SDK_ID = (0, import_node_crypto7.createHash)("sha256").update(JSON.strin
|
|
|
18545
18644
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18546
18645
|
var import_node_child_process7 = require("node:child_process");
|
|
18547
18646
|
var import_node_crypto10 = require("node:crypto");
|
|
18548
|
-
var
|
|
18549
|
-
var
|
|
18647
|
+
var import_node_fs22 = __toESM(require("node:fs"), 1);
|
|
18648
|
+
var import_node_path25 = __toESM(require("node:path"), 1);
|
|
18550
18649
|
var import_plist3 = __toESM(require("plist"), 1);
|
|
18551
18650
|
init_is_record();
|
|
18552
18651
|
|
|
@@ -18620,14 +18719,50 @@ function preparedXcodePhase(project, target, phase, configuration, outputs, reco
|
|
|
18620
18719
|
return true;
|
|
18621
18720
|
}
|
|
18622
18721
|
|
|
18722
|
+
// src/swift-binary-modules.ts
|
|
18723
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18724
|
+
var import_node_fs20 = __toESM(require("node:fs"), 1);
|
|
18725
|
+
var import_node_path21 = __toESM(require("node:path"), 1);
|
|
18726
|
+
init_home_paths();
|
|
18727
|
+
var cacheDir2 = import_node_path21.default.join(cacheDir(), "swift-binary-modules");
|
|
18728
|
+
function frameworkModules(paths) {
|
|
18729
|
+
const modules = /* @__PURE__ */ new Set();
|
|
18730
|
+
for (const file of paths) {
|
|
18731
|
+
const segment = file.split("/").find((part) => part.endsWith(".framework"));
|
|
18732
|
+
if (segment) modules.add(segment.slice(0, -".framework".length));
|
|
18733
|
+
}
|
|
18734
|
+
return [...modules].sort();
|
|
18735
|
+
}
|
|
18736
|
+
function localSwiftBinaryModules(dir) {
|
|
18737
|
+
if (!import_node_fs20.default.existsSync(dir)) return [];
|
|
18738
|
+
const slices = import_node_fs20.default.readdirSync(dir, { withFileTypes: true }).filter((slice) => slice.isDirectory());
|
|
18739
|
+
const frameworks = frameworkModules(
|
|
18740
|
+
slices.flatMap(
|
|
18741
|
+
(slice) => import_node_fs20.default.readdirSync(import_node_path21.default.join(dir, slice.name)).map((entry) => `${slice.name}/${entry}`)
|
|
18742
|
+
)
|
|
18743
|
+
);
|
|
18744
|
+
if (frameworks.length > 0) return frameworks;
|
|
18745
|
+
const modules = /* @__PURE__ */ new Set();
|
|
18746
|
+
for (const slice of slices) {
|
|
18747
|
+
const headers = import_node_path21.default.join(dir, slice.name, "Headers");
|
|
18748
|
+
if (!import_node_fs20.default.existsSync(headers)) continue;
|
|
18749
|
+
for (const file of import_node_fs20.default.readdirSync(headers, { recursive: true, encoding: "utf8" })) {
|
|
18750
|
+
if (import_node_path21.default.basename(file) !== "module.modulemap") continue;
|
|
18751
|
+
const module2 = moduleMapName(import_node_fs20.default.readFileSync(import_node_path21.default.join(headers, file), "utf8"));
|
|
18752
|
+
if (module2) modules.add(module2);
|
|
18753
|
+
}
|
|
18754
|
+
}
|
|
18755
|
+
return [...modules].sort();
|
|
18756
|
+
}
|
|
18757
|
+
|
|
18623
18758
|
// src/swift-coverage/xcode-assets.ts
|
|
18624
18759
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18625
18760
|
|
|
18626
18761
|
// src/swift-coverage/provenance.ts
|
|
18627
18762
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18628
18763
|
var import_node_crypto9 = require("node:crypto");
|
|
18629
|
-
var
|
|
18630
|
-
var
|
|
18764
|
+
var import_node_fs21 = require("node:fs");
|
|
18765
|
+
var import_node_path22 = require("node:path");
|
|
18631
18766
|
var SWIFT_COVERAGE_DIGEST_SOURCES = [
|
|
18632
18767
|
"swift-coverage/indexdump.ts",
|
|
18633
18768
|
"swift-coverage/indexing.ts",
|
|
@@ -18657,11 +18792,11 @@ function swiftCoverageSourceDigests(srcDir) {
|
|
|
18657
18792
|
return Object.fromEntries(
|
|
18658
18793
|
SWIFT_COVERAGE_DIGEST_SOURCES.map((file) => [
|
|
18659
18794
|
file,
|
|
18660
|
-
(0, import_node_crypto9.createHash)("sha256").update((0,
|
|
18795
|
+
(0, import_node_crypto9.createHash)("sha256").update((0, import_node_fs21.readFileSync)((0, import_node_path22.join)(srcDir, file))).digest("hex")
|
|
18661
18796
|
])
|
|
18662
18797
|
);
|
|
18663
18798
|
}
|
|
18664
|
-
var swiftCoverageProvenance = typeof define_SWIFT_COVERAGE_SOURCE_DIGESTS_default === "object" ? define_SWIFT_COVERAGE_SOURCE_DIGESTS_default : swiftCoverageSourceDigests((0,
|
|
18799
|
+
var swiftCoverageProvenance = typeof define_SWIFT_COVERAGE_SOURCE_DIGESTS_default === "object" ? define_SWIFT_COVERAGE_SOURCE_DIGESTS_default : swiftCoverageSourceDigests((0, import_node_path22.join)(__sootsim_import_meta_dirname, ".."));
|
|
18665
18800
|
|
|
18666
18801
|
// src/swift-coverage/xcode-asset-symbols.ts
|
|
18667
18802
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -18790,8 +18925,12 @@ var rules = {
|
|
|
18790
18925
|
}
|
|
18791
18926
|
},
|
|
18792
18927
|
symbolset: {
|
|
18793
|
-
entry: {
|
|
18794
|
-
|
|
18928
|
+
entry: {
|
|
18929
|
+
idiom: "any",
|
|
18930
|
+
filename: "any",
|
|
18931
|
+
"language-direction": ["left-to-right", "right-to-left"]
|
|
18932
|
+
},
|
|
18933
|
+
set: { "symbol-rendering-intent": "any", localizable: "boolean" }
|
|
18795
18934
|
}
|
|
18796
18935
|
};
|
|
18797
18936
|
var swiftKeywords = new Set(
|
|
@@ -18844,7 +18983,7 @@ var assetSymbolSettingKeys = [
|
|
|
18844
18983
|
// src/swift-package-manifest.ts
|
|
18845
18984
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18846
18985
|
var import_node_child_process6 = require("node:child_process");
|
|
18847
|
-
var
|
|
18986
|
+
var import_node_path23 = __toESM(require("node:path"), 1);
|
|
18848
18987
|
var import_node_util4 = require("node:util");
|
|
18849
18988
|
init_home_paths();
|
|
18850
18989
|
|
|
@@ -18916,6 +19055,9 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
18916
19055
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18917
19056
|
init_is_record();
|
|
18918
19057
|
|
|
19058
|
+
// src/swift-foundation.ts
|
|
19059
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
19060
|
+
|
|
18919
19061
|
// src/swift-icu.ts
|
|
18920
19062
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18921
19063
|
var import_node_child_process5 = require("node:child_process");
|
|
@@ -18942,6 +19084,9 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
18942
19084
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18943
19085
|
init_home_paths();
|
|
18944
19086
|
|
|
19087
|
+
// src/swift-uniform-type-constants.ts
|
|
19088
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
19089
|
+
|
|
18945
19090
|
// src/swift-wasm-prune.ts
|
|
18946
19091
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18947
19092
|
var PRUNED_SDK_ARCHIVES = /* @__PURE__ */ new Set([
|
|
@@ -18983,27 +19128,35 @@ var FEATURES = [
|
|
|
18983
19128
|
];
|
|
18984
19129
|
var WASM_OPTIMIZE_IDENTITY = `wasm-opt ${import_wasm_opt.BINARYEN_VERSION} -Oz ${FEATURES.join(",")}`;
|
|
18985
19130
|
|
|
19131
|
+
// src/write-build-file.ts
|
|
19132
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
19133
|
+
|
|
18986
19134
|
// src/xcode-header-search.ts
|
|
18987
19135
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
18988
19136
|
|
|
18989
19137
|
// src/swift-compile.ts
|
|
18990
19138
|
var admittedCores = Number(process.env.TM_EXEC_CPU_CORES);
|
|
18991
|
-
var
|
|
18992
|
-
|
|
18993
|
-
|
|
18994
|
-
|
|
18995
|
-
Number.isInteger(admittedCores) && admittedCores > 0 ? admittedCores : 4
|
|
18996
|
-
)
|
|
19139
|
+
var SWIFT_BUILD_JOBS = Math.min(
|
|
19140
|
+
4,
|
|
19141
|
+
Math.max(1, Math.floor(import_node_os4.default.availableParallelism() / 2)),
|
|
19142
|
+
Number.isInteger(admittedCores) && admittedCores > 0 ? admittedCores : 4
|
|
18997
19143
|
);
|
|
19144
|
+
var BUILD_JOBS = String(SWIFT_BUILD_JOBS);
|
|
18998
19145
|
var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
19146
|
+
PDFKit: [],
|
|
19147
|
+
CFNetwork: ["PeachCFNetwork"],
|
|
19148
|
+
PeachCFNetwork: [],
|
|
19149
|
+
JavaScriptCore: ["PeachJavaScriptCore"],
|
|
19150
|
+
PeachJavaScriptCore: [],
|
|
18999
19151
|
GameplayKit: [],
|
|
19000
19152
|
simd: [],
|
|
19001
19153
|
ModelIO: ["simd"],
|
|
19002
19154
|
GLKit: ["ModelIO"],
|
|
19003
19155
|
Accelerate: [],
|
|
19004
|
-
|
|
19156
|
+
CryptoTokenKit: [],
|
|
19005
19157
|
CommonCrypto: [],
|
|
19006
19158
|
ImagePlayground: [],
|
|
19159
|
+
QuickLook: ["QuickLookThumbnailing"],
|
|
19007
19160
|
QuickLookThumbnailing: [],
|
|
19008
19161
|
libxml2: [],
|
|
19009
19162
|
Compression: [],
|
|
@@ -19060,7 +19213,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
19060
19213
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
19061
19214
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
19062
19215
|
).join("");
|
|
19063
|
-
var compilerSourceDigest = true ? "
|
|
19216
|
+
var compilerSourceDigest = true ? "c30b94c39ef2c57dd0f163385e565e0340acb99365cc16c5091e712d04e7fe68" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
19064
19217
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
19065
19218
|
"CFAllocator",
|
|
19066
19219
|
"CFArray",
|
|
@@ -19086,12 +19239,12 @@ var rootLocks = host[ROOT_LOCKS] ??= /* @__PURE__ */ new Map();
|
|
|
19086
19239
|
var SHARED_ARTIFACT_BUDGET_BYTES = 4 * 1024 ** 3;
|
|
19087
19240
|
|
|
19088
19241
|
// src/swift-package-manifest.ts
|
|
19089
|
-
var
|
|
19242
|
+
var cacheDir3 = import_node_path23.default.join(cacheDir(), "swift-manifests");
|
|
19090
19243
|
var execFileAsync = (0, import_node_util4.promisify)(import_node_child_process6.execFile);
|
|
19091
19244
|
|
|
19092
19245
|
// src/xcode-json-project.ts
|
|
19093
19246
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
19094
|
-
var
|
|
19247
|
+
var import_node_path24 = __toESM(require("node:path"), 1);
|
|
19095
19248
|
var import_json52 = __toESM(require_lib(), 1);
|
|
19096
19249
|
var isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
19097
19250
|
var text = (value) => typeof value === "string" ? value : void 0;
|
|
@@ -19149,7 +19302,7 @@ var PHASE_ISA = {
|
|
|
19149
19302
|
function readXcodeJsonProject(xcodeproj, source) {
|
|
19150
19303
|
const json = import_json52.default.parse(source);
|
|
19151
19304
|
if (!isJsonObject(json)) throw new Error(`${xcodeproj}/project.xcproj is not an object`);
|
|
19152
|
-
const projectDir =
|
|
19305
|
+
const projectDir = import_node_path24.default.dirname(xcodeproj);
|
|
19153
19306
|
const objects = {};
|
|
19154
19307
|
let next = 0;
|
|
19155
19308
|
const add = (entry, id) => {
|
|
@@ -19162,7 +19315,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
19162
19315
|
const base = /^<([A-Z]+)>\/(.*)$/.exec(raw);
|
|
19163
19316
|
if (base) {
|
|
19164
19317
|
if (base[1] === "PROJECT")
|
|
19165
|
-
return { sourceTree: "<absolute>", path:
|
|
19318
|
+
return { sourceTree: "<absolute>", path: import_node_path24.default.join(projectDir, base[2]) };
|
|
19166
19319
|
if (base[1] === "PRODUCTS")
|
|
19167
19320
|
return { sourceTree: "BUILT_PRODUCTS_DIR", path: base[2] };
|
|
19168
19321
|
return null;
|
|
@@ -19170,7 +19323,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
19170
19323
|
const unescaped = raw.replaceAll("\\<", "<");
|
|
19171
19324
|
if (unescaped.startsWith("/")) return { sourceTree: "<absolute>", path: unescaped };
|
|
19172
19325
|
if (unescaped.startsWith("~")) return null;
|
|
19173
|
-
return groupDir === null ? null : { sourceTree: "<absolute>", path:
|
|
19326
|
+
return groupDir === null ? null : { sourceTree: "<absolute>", path: import_node_path24.default.join(groupDir, unescaped) };
|
|
19174
19327
|
};
|
|
19175
19328
|
const memberships = [];
|
|
19176
19329
|
const folders = [];
|
|
@@ -19181,7 +19334,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
19181
19334
|
const kind = text(entry.kind) ?? "file-reference";
|
|
19182
19335
|
const raw = text(entry.path) ?? "";
|
|
19183
19336
|
const located = raw === "" ? null : locate(raw, parent.dir);
|
|
19184
|
-
const name2 = text(entry.name) ??
|
|
19337
|
+
const name2 = text(entry.name) ?? import_node_path24.default.basename(raw);
|
|
19185
19338
|
const node = { id: "", name: name2, dir: null, parent, children: [] };
|
|
19186
19339
|
if (kind === "group" || kind === "variant-group" || kind === "version-group") {
|
|
19187
19340
|
node.dir = raw === "" ? parent.dir : located?.sourceTree === "<absolute>" ? located.path : null;
|
|
@@ -19234,10 +19387,10 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
19234
19387
|
path: projectDir
|
|
19235
19388
|
});
|
|
19236
19389
|
root.id = mainGroup;
|
|
19237
|
-
const
|
|
19390
|
+
const lookup2 = (reference, from = root) => {
|
|
19238
19391
|
if (isObject(reference)) {
|
|
19239
19392
|
const anchor = lookupNode(reference.anchor, root);
|
|
19240
|
-
return anchor ?
|
|
19393
|
+
return anchor ? lookup2(reference["relative-path"], anchor) : void 0;
|
|
19241
19394
|
}
|
|
19242
19395
|
if (Array.isArray(reference)) {
|
|
19243
19396
|
return lookupNode(
|
|
@@ -19283,7 +19436,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
19283
19436
|
defaultConfigurationName: text(json["default-configuration"]) ?? "Debug",
|
|
19284
19437
|
buildConfigurations: configurations.map(({ name: name2, file }) => {
|
|
19285
19438
|
const reference = specialized.has(name2) ? specialized.get(name2) : file;
|
|
19286
|
-
const base =
|
|
19439
|
+
const base = lookup2(reference);
|
|
19287
19440
|
const anchor = isObject(reference) ? lookupNode(reference.anchor, root)?.id : null;
|
|
19288
19441
|
const relative3 = isObject(reference) ? text(reference["relative-path"]) : null;
|
|
19289
19442
|
return add({
|
|
@@ -19302,7 +19455,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
19302
19455
|
if (!isObject(entry)) continue;
|
|
19303
19456
|
const repository = text(entry.repository);
|
|
19304
19457
|
const local = text(entry.path);
|
|
19305
|
-
const name2 = local !== void 0 ?
|
|
19458
|
+
const name2 = local !== void 0 ? import_node_path24.default.basename(import_node_path24.default.resolve(import_node_path24.default.dirname(xcodeproj), local)) : import_node_path24.default.basename(repository ?? "").replace(/\.git$/, "");
|
|
19306
19459
|
const id = text(entry.kind) === "local" && local !== void 0 ? add({ isa: "XCLocalSwiftPackageReference", relativePath: local }) : add({
|
|
19307
19460
|
isa: "XCRemoteSwiftPackageReference",
|
|
19308
19461
|
repositoryURL: repository ?? "",
|
|
@@ -19318,7 +19471,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
19318
19471
|
});
|
|
19319
19472
|
const proxy = (entry, remote, proxyType) => add({
|
|
19320
19473
|
isa: "PBXContainerItemProxy",
|
|
19321
|
-
containerPortal:
|
|
19474
|
+
containerPortal: lookup2(entry.project) ?? "",
|
|
19322
19475
|
proxyType,
|
|
19323
19476
|
remoteGlobalIDString: remote ?? "",
|
|
19324
19477
|
remoteInfo: text(entry.target) ?? ""
|
|
@@ -19340,7 +19493,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
19340
19493
|
packageProductDependencies: [],
|
|
19341
19494
|
fileSystemSynchronizedGroups: []
|
|
19342
19495
|
};
|
|
19343
|
-
const product =
|
|
19496
|
+
const product = lookup2(entry.product);
|
|
19344
19497
|
if (product) target.productReference = product;
|
|
19345
19498
|
const id = add(target, text(entry.id));
|
|
19346
19499
|
targetIds.set(name2, id);
|
|
@@ -19512,28 +19665,28 @@ var CONDITIONS = {
|
|
|
19512
19665
|
variant: "normal"
|
|
19513
19666
|
};
|
|
19514
19667
|
function walkFiles(dir) {
|
|
19515
|
-
if (!
|
|
19668
|
+
if (!import_node_fs22.default.existsSync(dir)) return [];
|
|
19516
19669
|
const out = [];
|
|
19517
|
-
for (const entry of
|
|
19670
|
+
for (const entry of import_node_fs22.default.readdirSync(dir, { withFileTypes: true }).sort((left, right) => left.name.localeCompare(right.name))) {
|
|
19518
19671
|
if (entry.name.startsWith(".")) continue;
|
|
19519
|
-
const full =
|
|
19672
|
+
const full = import_node_path25.default.join(dir, entry.name);
|
|
19520
19673
|
if (entry.isDirectory()) out.push(...walkFiles(full));
|
|
19521
19674
|
else if (entry.isFile()) out.push(full);
|
|
19522
19675
|
}
|
|
19523
19676
|
return out;
|
|
19524
19677
|
}
|
|
19525
|
-
var isDirectory = (dir) =>
|
|
19678
|
+
var isDirectory = (dir) => import_node_fs22.default.existsSync(dir) && import_node_fs22.default.statSync(dir).isDirectory();
|
|
19526
19679
|
function readXcconfig(file, read) {
|
|
19527
|
-
if (read.includes(file) || !
|
|
19680
|
+
if (read.includes(file) || !import_node_fs22.default.existsSync(file)) return {};
|
|
19528
19681
|
read.push(file);
|
|
19529
19682
|
const settings = {};
|
|
19530
|
-
for (const raw of
|
|
19683
|
+
for (const raw of import_node_fs22.default.readFileSync(file, "utf8").split("\n")) {
|
|
19531
19684
|
const line = raw.replace(/\/\/.*$/, "").trim();
|
|
19532
19685
|
const include = /^#include\??\s+"([^"]+)"/.exec(line);
|
|
19533
19686
|
if (include) {
|
|
19534
19687
|
Object.assign(
|
|
19535
19688
|
settings,
|
|
19536
|
-
readXcconfig(
|
|
19689
|
+
readXcconfig(import_node_path25.default.resolve(import_node_path25.default.dirname(file), include[1]), read)
|
|
19537
19690
|
);
|
|
19538
19691
|
continue;
|
|
19539
19692
|
}
|
|
@@ -19583,22 +19736,22 @@ function decodeXml(text2) {
|
|
|
19583
19736
|
return text2.replaceAll(""", '"').replaceAll("'", "'").replaceAll("<", "<").replaceAll(">", ">").replaceAll("&", "&");
|
|
19584
19737
|
}
|
|
19585
19738
|
function workspaceReferences(workspace) {
|
|
19586
|
-
const data =
|
|
19587
|
-
if (!
|
|
19739
|
+
const data = import_node_path25.default.join(workspace, "contents.xcworkspacedata");
|
|
19740
|
+
if (!import_node_fs22.default.existsSync(data))
|
|
19588
19741
|
throw new Error(`${workspace} has no contents.xcworkspacedata`);
|
|
19589
|
-
const container =
|
|
19742
|
+
const container = import_node_path25.default.dirname(workspace);
|
|
19590
19743
|
const locate = (location, base) => {
|
|
19591
19744
|
const colon = location.indexOf(":");
|
|
19592
19745
|
const kind = location.slice(0, colon);
|
|
19593
19746
|
const rest = location.slice(colon + 1);
|
|
19594
|
-
if (kind === "group") return
|
|
19595
|
-
if (kind === "container" || kind === "self") return
|
|
19596
|
-
if (kind === "absolute") return
|
|
19597
|
-
throw new Error(`${
|
|
19747
|
+
if (kind === "group") return import_node_path25.default.resolve(base, rest);
|
|
19748
|
+
if (kind === "container" || kind === "self") return import_node_path25.default.resolve(container, rest);
|
|
19749
|
+
if (kind === "absolute") return import_node_path25.default.resolve(rest);
|
|
19750
|
+
throw new Error(`${import_node_path25.default.basename(workspace)} has an unsupported location ${location}`);
|
|
19598
19751
|
};
|
|
19599
19752
|
const groups = [container];
|
|
19600
19753
|
const references = [];
|
|
19601
|
-
for (const [, closing, tag, attributes, selfClosing] of
|
|
19754
|
+
for (const [, closing, tag, attributes, selfClosing] of import_node_fs22.default.readFileSync(data, "utf8").matchAll(/<(\/?)(Group|FileRef)\b([^>]*?)(\/?)>/g)) {
|
|
19602
19755
|
if (closing) {
|
|
19603
19756
|
if (tag === "Group") groups.pop();
|
|
19604
19757
|
continue;
|
|
@@ -19649,8 +19802,8 @@ function remotePackageRequirements(projects) {
|
|
|
19649
19802
|
var loaded2 = /* @__PURE__ */ new Map();
|
|
19650
19803
|
function xcodeProjectFile(xcodeproj) {
|
|
19651
19804
|
for (const name2 of ["project.pbxproj", "project.xcproj"]) {
|
|
19652
|
-
const file =
|
|
19653
|
-
if (
|
|
19805
|
+
const file = import_node_path25.default.join(xcodeproj, name2);
|
|
19806
|
+
if (import_node_fs22.default.existsSync(file)) return file;
|
|
19654
19807
|
}
|
|
19655
19808
|
return null;
|
|
19656
19809
|
}
|
|
@@ -19658,7 +19811,7 @@ function loadProject(xcodeproj) {
|
|
|
19658
19811
|
const projectFile = xcodeProjectFile(xcodeproj);
|
|
19659
19812
|
if (!projectFile)
|
|
19660
19813
|
throw new Error(`${xcodeproj} has no project.pbxproj or project.xcproj`);
|
|
19661
|
-
const source =
|
|
19814
|
+
const source = import_node_fs22.default.readFileSync(projectFile, "utf8");
|
|
19662
19815
|
const digest = (0, import_node_crypto10.createHash)("sha256").update(source).digest("hex");
|
|
19663
19816
|
const cached2 = loaded2.get(projectFile);
|
|
19664
19817
|
if (cached2?.digest === digest) return cached2.project;
|
|
@@ -19675,10 +19828,10 @@ function loadProject(xcodeproj) {
|
|
|
19675
19828
|
if (!project || project.isa !== "PBXProject") {
|
|
19676
19829
|
throw new Error(`${projectFile} has no PBXProject root`);
|
|
19677
19830
|
}
|
|
19678
|
-
const projectDir =
|
|
19679
|
-
|
|
19831
|
+
const projectDir = import_node_fs22.default.realpathSync(
|
|
19832
|
+
import_node_path25.default.resolve(import_node_path25.default.dirname(xcodeproj), str(project.projectDirPath) ?? "")
|
|
19680
19833
|
);
|
|
19681
|
-
const resolvePath = xcodePathResolver(objects, projectDir,
|
|
19834
|
+
const resolvePath = xcodePathResolver(objects, projectDir, import_node_path25.default.join);
|
|
19682
19835
|
const result = {
|
|
19683
19836
|
xcodeproj,
|
|
19684
19837
|
projectFile,
|
|
@@ -19713,8 +19866,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
19713
19866
|
const relative3 = str(config.baseConfigurationReferenceRelativePath);
|
|
19714
19867
|
const own = isDict(config.buildSettings) ? config.buildSettings : {};
|
|
19715
19868
|
const directory = anchor ? project.resolvePath(anchor) : null;
|
|
19716
|
-
const baseFile = base ? project.resolvePath(base) : directory && relative3 ?
|
|
19717
|
-
if (options.requireSources !== false && (base || anchor || relative3) && (!baseFile || !
|
|
19869
|
+
const baseFile = base ? project.resolvePath(base) : directory && relative3 ? import_node_path25.default.resolve(directory, relative3) : null;
|
|
19870
|
+
if (options.requireSources !== false && (base || anchor || relative3) && (!baseFile || !import_node_fs22.default.existsSync(baseFile)))
|
|
19718
19871
|
throw new Error(
|
|
19719
19872
|
`Unable to open base configuration reference file '${baseFile ?? base ?? relative3 ?? anchor}'`
|
|
19720
19873
|
);
|
|
@@ -19800,27 +19953,32 @@ function settingList(value) {
|
|
|
19800
19953
|
);
|
|
19801
19954
|
return items2;
|
|
19802
19955
|
}
|
|
19956
|
+
function scriptCommand(shell, script) {
|
|
19957
|
+
const [executable, ...args] = settingList(shell);
|
|
19958
|
+
if (!executable) throw new Error("Xcode Run Script shellPath is empty");
|
|
19959
|
+
return [executable, ...args, "-c", script];
|
|
19960
|
+
}
|
|
19803
19961
|
function expandSearchPath(directory, rules2) {
|
|
19804
|
-
if (
|
|
19962
|
+
if (import_node_path25.default.basename(directory) !== "**") return [directory];
|
|
19805
19963
|
const expanded = [];
|
|
19806
19964
|
const seen = /* @__PURE__ */ new Set();
|
|
19807
|
-
const queue = [
|
|
19965
|
+
const queue = [import_node_path25.default.dirname(directory)];
|
|
19808
19966
|
for (let at = 0; at < queue.length; at++) {
|
|
19809
19967
|
const current = queue[at];
|
|
19810
19968
|
let real;
|
|
19811
19969
|
try {
|
|
19812
|
-
real =
|
|
19970
|
+
real = import_node_fs22.default.realpathSync(current);
|
|
19813
19971
|
} catch {
|
|
19814
19972
|
continue;
|
|
19815
19973
|
}
|
|
19816
|
-
if (!
|
|
19974
|
+
if (!import_node_fs22.default.statSync(real).isDirectory() || seen.has(real)) continue;
|
|
19817
19975
|
seen.add(real);
|
|
19818
19976
|
expanded.push(current);
|
|
19819
|
-
for (const entry of
|
|
19977
|
+
for (const entry of import_node_fs22.default.readdirSync(real, { withFileTypes: true }).sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0)) {
|
|
19820
19978
|
if (entry.isSymbolicLink() ? !rules2.followLinks : !entry.isDirectory()) continue;
|
|
19821
19979
|
if (rules2.excluded.some((pattern) => pattern.test(entry.name)) && !rules2.included.some((pattern) => pattern.test(entry.name)))
|
|
19822
19980
|
continue;
|
|
19823
|
-
queue.push(
|
|
19981
|
+
queue.push(import_node_path25.default.join(current, entry.name));
|
|
19824
19982
|
}
|
|
19825
19983
|
}
|
|
19826
19984
|
return expanded;
|
|
@@ -19851,13 +20009,13 @@ function compilationConditions(settings) {
|
|
|
19851
20009
|
])
|
|
19852
20010
|
];
|
|
19853
20011
|
}
|
|
19854
|
-
function expand(value,
|
|
20012
|
+
function expand(value, lookup2) {
|
|
19855
20013
|
return value.replace(
|
|
19856
20014
|
/\$(?:\(([A-Za-z_][A-Za-z0-9_]*)((?::[^)]*)?)\)|\{([A-Za-z_][A-Za-z0-9_]*)((?::[^}]*)?)\}|([A-Za-z_][A-Za-z0-9_]*))/g,
|
|
19857
20015
|
(_match, paren, parenOps, brace, braceOps, bare) => {
|
|
19858
20016
|
const name2 = paren ?? brace ?? bare;
|
|
19859
20017
|
const operators = parenOps ?? braceOps ?? "";
|
|
19860
|
-
return operators.split(":").slice(1).reduce((current, operator) => applyOperator(current, operator),
|
|
20018
|
+
return operators.split(":").slice(1).reduce((current, operator) => applyOperator(current, operator), lookup2(name2));
|
|
19861
20019
|
}
|
|
19862
20020
|
);
|
|
19863
20021
|
}
|
|
@@ -19867,13 +20025,13 @@ function shellAssetCatalogs(script, settings, projectDir) {
|
|
|
19867
20025
|
const catalogs = [];
|
|
19868
20026
|
const resolve5 = (raw) => {
|
|
19869
20027
|
if (raw.startsWith("'")) return raw.slice(1, -1);
|
|
19870
|
-
const
|
|
20028
|
+
const lookup2 = (key) => assigned.get(key) ?? settings(key);
|
|
19871
20029
|
const shell = (raw.startsWith('"') ? raw.slice(1, -1) : raw).replace(
|
|
19872
20030
|
/\$\{([A-Za-z_][A-Za-z0-9_]*):-([^{}`]*)\}/g,
|
|
19873
|
-
(_match, key, fallback) =>
|
|
20031
|
+
(_match, key, fallback) => lookup2(key) || fallback
|
|
19874
20032
|
);
|
|
19875
20033
|
if (/\$\{[A-Za-z_][A-Za-z0-9_]*(?::?[-+=?]|[#%/^,])/.test(shell)) return null;
|
|
19876
|
-
const value = expand(shell,
|
|
20034
|
+
const value = expand(shell, lookup2);
|
|
19877
20035
|
return /[$`]/.test(value) ? null : value;
|
|
19878
20036
|
};
|
|
19879
20037
|
for (const raw of script.split(/\r?\n/)) {
|
|
@@ -19891,7 +20049,7 @@ function shellAssetCatalogs(script, settings, projectDir) {
|
|
|
19891
20049
|
for (const token of tokens) {
|
|
19892
20050
|
if (token.startsWith("-")) break;
|
|
19893
20051
|
const file = resolve5(token);
|
|
19894
|
-
if (file?.endsWith(".xcassets")) catalogs.push(
|
|
20052
|
+
if (file?.endsWith(".xcassets")) catalogs.push(import_node_path25.default.resolve(projectDir, file));
|
|
19895
20053
|
}
|
|
19896
20054
|
}
|
|
19897
20055
|
return catalogs;
|
|
@@ -19900,7 +20058,7 @@ function shellCopies(script, settings, projectDir) {
|
|
|
19900
20058
|
const assigned = /* @__PURE__ */ new Map();
|
|
19901
20059
|
const copies = [];
|
|
19902
20060
|
let resolved = true;
|
|
19903
|
-
const
|
|
20061
|
+
const lookup2 = (name2) => {
|
|
19904
20062
|
const value = assigned.get(name2) ?? settings(name2);
|
|
19905
20063
|
if (value === "") resolved = false;
|
|
19906
20064
|
return value;
|
|
@@ -19909,7 +20067,7 @@ function shellCopies(script, settings, projectDir) {
|
|
|
19909
20067
|
if (/\$\{[A-Za-z_][A-Za-z0-9_]*(?::?[-+=?]|[#%/^,])/.test(token2)) return null;
|
|
19910
20068
|
resolved = true;
|
|
19911
20069
|
const quote = token2[0];
|
|
19912
|
-
const value = quote === "'" ? token2.slice(1, -1) : expand(quote === '"' ? token2.slice(1, -1) : token2,
|
|
20070
|
+
const value = quote === "'" ? token2.slice(1, -1) : expand(quote === '"' ? token2.slice(1, -1) : token2, lookup2);
|
|
19913
20071
|
return resolved && !value.includes("$") ? value : null;
|
|
19914
20072
|
};
|
|
19915
20073
|
const token = /^(?:"[^"\\`]*"|'[^']*'|[^\s"'`;&|<>()\\]+)$/;
|
|
@@ -19936,14 +20094,14 @@ function shellCopies(script, settings, projectDir) {
|
|
|
19936
20094
|
if (operands.length !== 2 || operands.some((operand) => operand.startsWith("-")))
|
|
19937
20095
|
return [];
|
|
19938
20096
|
copies.push({
|
|
19939
|
-
from:
|
|
19940
|
-
to:
|
|
20097
|
+
from: import_node_path25.default.resolve(projectDir, operands[0]),
|
|
20098
|
+
to: import_node_path25.default.resolve(projectDir, operands[1])
|
|
19941
20099
|
});
|
|
19942
20100
|
}
|
|
19943
20101
|
return copies;
|
|
19944
20102
|
}
|
|
19945
20103
|
function fileListEntries(file, absolute) {
|
|
19946
|
-
return
|
|
20104
|
+
return import_node_fs22.default.readFileSync(file, "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line !== "" && !line.startsWith("#")).map(absolute);
|
|
19947
20105
|
}
|
|
19948
20106
|
function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
19949
20107
|
const { project, target, id: targetId } = ref;
|
|
@@ -19956,7 +20114,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
19956
20114
|
const copiedFiles = [];
|
|
19957
20115
|
let generatedInfoPlist = false;
|
|
19958
20116
|
const declaredInfoPlist = settings("INFOPLIST_FILE");
|
|
19959
|
-
const infoPlistOutput = declaredInfoPlist ?
|
|
20117
|
+
const infoPlistOutput = declaredInfoPlist ? import_node_path25.default.resolve(project.projectDir, declaredInfoPlist) : null;
|
|
19960
20118
|
const isPreparedOutput = (file) => file === infoPlistOutput || options.requireSources !== false && file.endsWith(".swift");
|
|
19961
20119
|
for (const phaseId of list(target.buildPhases)) {
|
|
19962
20120
|
const phase = project.object(phaseId);
|
|
@@ -19971,7 +20129,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
19971
20129
|
copiedFiles.push(
|
|
19972
20130
|
...shellCopies(str(phase.shellScript) ?? "", settings, project.projectDir)
|
|
19973
20131
|
);
|
|
19974
|
-
const absolute = (raw) =>
|
|
20132
|
+
const absolute = (raw) => import_node_path25.default.resolve(project.projectDir, expand(raw, settings));
|
|
19975
20133
|
const inputs = list(phase.inputPaths).map(absolute);
|
|
19976
20134
|
const outputs = list(phase.outputPaths).map(absolute);
|
|
19977
20135
|
const fileLists = /* @__PURE__ */ new Map();
|
|
@@ -19980,7 +20138,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
19980
20138
|
kind === "INPUT" ? phase.inputFileListPaths : phase.outputFileListPaths
|
|
19981
20139
|
).map((raw) => {
|
|
19982
20140
|
const file = absolute(raw);
|
|
19983
|
-
if (!
|
|
20141
|
+
if (!import_node_fs22.default.existsSync(file)) {
|
|
19984
20142
|
return { file, entries: [] };
|
|
19985
20143
|
}
|
|
19986
20144
|
return { file, entries: fileListEntries(file, absolute) };
|
|
@@ -20001,7 +20159,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
20001
20159
|
...fileLists.get("OUTPUT").map((item) => item.file)
|
|
20002
20160
|
];
|
|
20003
20161
|
if (allOutputs.some((file) => file.endsWith(".swift") || file === infoPlistOutput)) {
|
|
20004
|
-
for (const file of inputFiles) if (
|
|
20162
|
+
for (const file of inputFiles) if (import_node_fs22.default.existsSync(file)) projectInputs.add(file);
|
|
20005
20163
|
}
|
|
20006
20164
|
if (options.prepareGeneratedSources === true && allOutputs.some(isPreparedOutput)) {
|
|
20007
20165
|
const configuration = settings("CONFIGURATION");
|
|
@@ -20014,10 +20172,10 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
20014
20172
|
false
|
|
20015
20173
|
))
|
|
20016
20174
|
continue;
|
|
20017
|
-
const phaseDir =
|
|
20175
|
+
const phaseDir = import_node_path25.default.join(settings("TARGET_TEMP_DIR"), `Script-${phaseId}`);
|
|
20018
20176
|
for (const lists of fileLists.values())
|
|
20019
20177
|
for (const { file } of lists)
|
|
20020
|
-
if (!
|
|
20178
|
+
if (!import_node_fs22.default.existsSync(file))
|
|
20021
20179
|
throw new Error(
|
|
20022
20180
|
`${targetName}: Run Script "${script}" missing file list ${file}`
|
|
20023
20181
|
);
|
|
@@ -20036,7 +20194,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
20036
20194
|
const lists = fileLists.get(kind);
|
|
20037
20195
|
env[`SCRIPT_${kind}_FILE_LIST_COUNT`] = String(lists.length);
|
|
20038
20196
|
lists.forEach((_item, index) => {
|
|
20039
|
-
env[`SCRIPT_${kind}_FILE_LIST_${index}`] =
|
|
20197
|
+
env[`SCRIPT_${kind}_FILE_LIST_${index}`] = import_node_path25.default.join(
|
|
20040
20198
|
phaseDir,
|
|
20041
20199
|
`${kind}-${index}.xcfilelist`
|
|
20042
20200
|
);
|
|
@@ -20047,14 +20205,14 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
20047
20205
|
);
|
|
20048
20206
|
for (const file of inputFiles) {
|
|
20049
20207
|
signature.update(file);
|
|
20050
|
-
if (
|
|
20051
|
-
const stat =
|
|
20208
|
+
if (import_node_fs22.default.existsSync(file)) {
|
|
20209
|
+
const stat = import_node_fs22.default.statSync(file);
|
|
20052
20210
|
signature.update(`${stat.mtimeMs}:${stat.ctimeMs}:${stat.size}`);
|
|
20053
20211
|
} else signature.update("missing");
|
|
20054
20212
|
}
|
|
20055
20213
|
const stamp = signature.digest("hex");
|
|
20056
20214
|
const key = `${project.projectFile}:${targetId}:${phaseId}:${settings("CONFIGURATION")}`;
|
|
20057
|
-
if (preparedSourcePhases.get(key) === stamp && allOutputs.every((file) =>
|
|
20215
|
+
if (preparedSourcePhases.get(key) === stamp && allOutputs.every((file) => import_node_fs22.default.existsSync(file))) {
|
|
20058
20216
|
preparedXcodePhase(
|
|
20059
20217
|
project.projectFile,
|
|
20060
20218
|
targetId,
|
|
@@ -20065,31 +20223,31 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
20065
20223
|
);
|
|
20066
20224
|
continue;
|
|
20067
20225
|
}
|
|
20068
|
-
|
|
20069
|
-
|
|
20070
|
-
|
|
20226
|
+
import_node_fs22.default.mkdirSync(phaseDir, { recursive: true });
|
|
20227
|
+
import_node_fs22.default.mkdirSync(settings("BUILT_PRODUCTS_DIR"), { recursive: true });
|
|
20228
|
+
import_node_fs22.default.mkdirSync(settings("DERIVED_FILE_DIR"), { recursive: true });
|
|
20071
20229
|
for (const output2 of allOutputs)
|
|
20072
|
-
|
|
20230
|
+
import_node_fs22.default.mkdirSync(import_node_path25.default.dirname(output2), { recursive: true });
|
|
20073
20231
|
for (const [kind, lists] of fileLists)
|
|
20074
20232
|
lists.forEach((item, index) => {
|
|
20075
|
-
|
|
20233
|
+
import_node_fs22.default.writeFileSync(
|
|
20076
20234
|
env[`SCRIPT_${kind}_FILE_LIST_${index}`],
|
|
20077
20235
|
`${item.entries.join("\n")}
|
|
20078
20236
|
`
|
|
20079
20237
|
);
|
|
20080
20238
|
});
|
|
20081
20239
|
try {
|
|
20082
|
-
|
|
20240
|
+
const [shell, ...args] = scriptCommand(
|
|
20083
20241
|
str(phase.shellPath) ?? "/bin/sh",
|
|
20084
|
-
|
|
20085
|
-
{
|
|
20086
|
-
cwd: project.projectDir,
|
|
20087
|
-
env,
|
|
20088
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
20089
|
-
maxBuffer: Infinity,
|
|
20090
|
-
timeout: runScriptTimeoutMs
|
|
20091
|
-
}
|
|
20242
|
+
str(phase.shellScript) ?? ""
|
|
20092
20243
|
);
|
|
20244
|
+
(0, import_node_child_process7.execFileSync)(shell, args, {
|
|
20245
|
+
cwd: project.projectDir,
|
|
20246
|
+
env,
|
|
20247
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
20248
|
+
maxBuffer: Infinity,
|
|
20249
|
+
timeout: runScriptTimeoutMs
|
|
20250
|
+
});
|
|
20093
20251
|
} catch (error) {
|
|
20094
20252
|
const output2 = error instanceof Error ? `${error.message}
|
|
20095
20253
|
${"stdout" in error ? String(error.stdout) : ""}${"stderr" in error ? String(error.stderr) : ""}` : String(error);
|
|
@@ -20099,7 +20257,7 @@ ${output2}`
|
|
|
20099
20257
|
);
|
|
20100
20258
|
}
|
|
20101
20259
|
const missing2 = allOutputs.filter(
|
|
20102
|
-
(file) => file === infoPlistOutput && !
|
|
20260
|
+
(file) => file === infoPlistOutput && !import_node_fs22.default.existsSync(file)
|
|
20103
20261
|
);
|
|
20104
20262
|
if (missing2.length > 0)
|
|
20105
20263
|
throw new Error(
|
|
@@ -20119,8 +20277,8 @@ ${output2}`
|
|
|
20119
20277
|
project.visitMembers(
|
|
20120
20278
|
targetId,
|
|
20121
20279
|
project.resolvePath,
|
|
20122
|
-
(file) => isDirectory(file) ? walkFiles(file) :
|
|
20123
|
-
|
|
20280
|
+
(file) => isDirectory(file) ? walkFiles(file) : import_node_fs22.default.existsSync(file) ? [file] : [],
|
|
20281
|
+
import_node_path25.default.join,
|
|
20124
20282
|
(file, kind) => {
|
|
20125
20283
|
if (kind === "header") {
|
|
20126
20284
|
headers.add(file);
|
|
@@ -20130,9 +20288,9 @@ ${output2}`
|
|
|
20130
20288
|
resources.add(file);
|
|
20131
20289
|
return;
|
|
20132
20290
|
}
|
|
20133
|
-
if (!
|
|
20291
|
+
if (!import_node_fs22.default.existsSync(file)) {
|
|
20134
20292
|
if (options.requireSources === false) return;
|
|
20135
|
-
const script = scriptForOutput.get(
|
|
20293
|
+
const script = scriptForOutput.get(import_node_path25.default.normalize(file));
|
|
20136
20294
|
throw new Error(
|
|
20137
20295
|
script ? `${targetName}: missing generated source ${file} (Run Script "${script}" declares it in outputPaths; run the script or check in its output)` : `${targetName}: missing source ${file}`
|
|
20138
20296
|
);
|
|
@@ -20153,37 +20311,37 @@ ${output2}`
|
|
|
20153
20311
|
function commonAncestor(dirs) {
|
|
20154
20312
|
let common = dirs[0];
|
|
20155
20313
|
for (const dir of dirs) {
|
|
20156
|
-
while (common !==
|
|
20157
|
-
common =
|
|
20314
|
+
while (common !== import_node_path25.default.dirname(common) && import_node_path25.default.relative(common, dir).startsWith(".."))
|
|
20315
|
+
common = import_node_path25.default.dirname(common);
|
|
20158
20316
|
}
|
|
20159
20317
|
return common;
|
|
20160
20318
|
}
|
|
20161
|
-
var isPodsProject = (xcodeproj) =>
|
|
20319
|
+
var isPodsProject = (xcodeproj) => import_node_path25.default.basename(xcodeproj) === "Pods.xcodeproj" && import_node_path25.default.basename(import_node_path25.default.dirname(xcodeproj)) === "Pods";
|
|
20162
20320
|
function installedPodsSandbox(pods) {
|
|
20163
|
-
const podfileLock =
|
|
20164
|
-
const manifestLock =
|
|
20165
|
-
if (!
|
|
20321
|
+
const podfileLock = import_node_path25.default.join(import_node_path25.default.dirname(pods), "Podfile.lock");
|
|
20322
|
+
const manifestLock = import_node_path25.default.join(pods, "Manifest.lock");
|
|
20323
|
+
if (!import_node_fs22.default.existsSync(podfileLock))
|
|
20166
20324
|
throw new Error(
|
|
20167
|
-
`${pods} has no ${podfileLock}: run \`pod install\` in ${
|
|
20325
|
+
`${pods} has no ${podfileLock}: run \`pod install\` in ${import_node_path25.default.dirname(pods)}`
|
|
20168
20326
|
);
|
|
20169
|
-
if (!
|
|
20327
|
+
if (!import_node_fs22.default.existsSync(manifestLock) || !import_node_fs22.default.readFileSync(manifestLock).equals(import_node_fs22.default.readFileSync(podfileLock)))
|
|
20170
20328
|
throw new Error(
|
|
20171
|
-
`The sandbox is not in sync with the Podfile.lock: ${manifestLock} differs from ${podfileLock}. Run \`pod install\` in ${
|
|
20329
|
+
`The sandbox is not in sync with the Podfile.lock: ${manifestLock} differs from ${podfileLock}. Run \`pod install\` in ${import_node_path25.default.dirname(pods)}`
|
|
20172
20330
|
);
|
|
20173
20331
|
const specChecksums = {};
|
|
20174
|
-
const lines =
|
|
20332
|
+
const lines = import_node_fs22.default.readFileSync(manifestLock, "utf8").split("\n");
|
|
20175
20333
|
const start = lines.indexOf("SPEC CHECKSUMS:");
|
|
20176
20334
|
for (const line of start === -1 ? [] : lines.slice(start + 1)) {
|
|
20177
20335
|
const entry = /^ {2}"?([^":]+)"?: ([0-9a-f]+)$/.exec(line);
|
|
20178
20336
|
if (!entry) break;
|
|
20179
20337
|
specChecksums[entry[1]] = entry[2];
|
|
20180
20338
|
}
|
|
20181
|
-
const specs =
|
|
20339
|
+
const specs = import_node_path25.default.join(pods, "Local Podspecs");
|
|
20182
20340
|
return {
|
|
20183
20341
|
podfileLock,
|
|
20184
20342
|
manifestLock,
|
|
20185
20343
|
specChecksums,
|
|
20186
|
-
localPodspecs: isDirectory(specs) ?
|
|
20344
|
+
localPodspecs: isDirectory(specs) ? import_node_fs22.default.readdirSync(specs).filter((name2) => name2.endsWith(".podspec.json")).sort().map((name2) => import_node_path25.default.join(specs, name2)) : []
|
|
20187
20345
|
};
|
|
20188
20346
|
}
|
|
20189
20347
|
function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
|
|
@@ -20195,14 +20353,14 @@ function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
|
|
|
20195
20353
|
if (!xcodeProjectFile(xcodeproj)) {
|
|
20196
20354
|
if (installedPods && isPodsProject(xcodeproj))
|
|
20197
20355
|
throw new Error(
|
|
20198
|
-
`${
|
|
20356
|
+
`${import_node_path25.default.basename(xcodeprojOrWorkspace)} builds ${xcodeproj}, which is not installed: run \`pod install\` in ${import_node_path25.default.dirname(import_node_path25.default.dirname(xcodeproj))}`
|
|
20199
20357
|
);
|
|
20200
20358
|
return;
|
|
20201
20359
|
}
|
|
20202
|
-
const key =
|
|
20203
|
-
if (projectAt.has(key) || !installedPods && key.split(
|
|
20360
|
+
const key = import_node_fs22.default.realpathSync(xcodeproj);
|
|
20361
|
+
if (projectAt.has(key) || !installedPods && key.split(import_node_path25.default.sep).includes("Pods"))
|
|
20204
20362
|
return;
|
|
20205
|
-
if (isPodsProject(key)) cocoapods = installedPodsSandbox(
|
|
20363
|
+
if (isPodsProject(key)) cocoapods = installedPodsSandbox(import_node_path25.default.dirname(key));
|
|
20206
20364
|
const project = loadProject(key);
|
|
20207
20365
|
projectAt.set(key, project);
|
|
20208
20366
|
projects.push(project);
|
|
@@ -20218,12 +20376,12 @@ function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
|
|
|
20218
20376
|
for (const reference of listed)
|
|
20219
20377
|
if (reference.endsWith(".xcodeproj")) addProject(reference);
|
|
20220
20378
|
if (projects.length === 0) {
|
|
20221
|
-
throw new Error(`${
|
|
20379
|
+
throw new Error(`${import_node_path25.default.basename(xcodeprojOrWorkspace)} lists no Xcode project`);
|
|
20222
20380
|
}
|
|
20223
|
-
const podfile =
|
|
20224
|
-
if (installedPods && !cocoapods &&
|
|
20381
|
+
const podfile = import_node_path25.default.join(import_node_path25.default.dirname(xcodeprojOrWorkspace), "Podfile");
|
|
20382
|
+
if (installedPods && !cocoapods && import_node_fs22.default.existsSync(podfile))
|
|
20225
20383
|
throw new Error(
|
|
20226
|
-
`${podfile} is not installed into ${
|
|
20384
|
+
`${podfile} is not installed into ${import_node_path25.default.basename(xcodeprojOrWorkspace)}: run \`pod install\` in ${import_node_path25.default.dirname(podfile)} and open the workspace it writes`
|
|
20227
20385
|
);
|
|
20228
20386
|
return { listed, projects, projectAt, cocoapods };
|
|
20229
20387
|
}
|
|
@@ -20259,7 +20417,7 @@ function listXcodeAppTargets(xcodeprojOrWorkspace, options = {}) {
|
|
|
20259
20417
|
return workspaceProjects(xcodeprojOrWorkspace).projects.flatMap(projectTargets).filter((ref) => isIosAppTarget(ref, options)).map((ref) => str(ref.target.name) ?? ref.id);
|
|
20260
20418
|
}
|
|
20261
20419
|
function defaultXcodeAppTarget(xcodeproj) {
|
|
20262
|
-
const project = loadProject(
|
|
20420
|
+
const project = loadProject(import_node_fs22.default.realpathSync(xcodeproj));
|
|
20263
20421
|
for (const [id, target] of Object.entries(project.objects)) {
|
|
20264
20422
|
if (!isDict(target) || target.isa !== "PBXNativeTarget") continue;
|
|
20265
20423
|
if (isIosAppTarget({ project, id, target }, { requireSources: false }))
|
|
@@ -20267,30 +20425,30 @@ function defaultXcodeAppTarget(xcodeproj) {
|
|
|
20267
20425
|
}
|
|
20268
20426
|
}
|
|
20269
20427
|
function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
|
|
20270
|
-
const container =
|
|
20428
|
+
const container = import_node_fs22.default.realpathSync(xcodeprojOrWorkspace);
|
|
20271
20429
|
const { projects } = workspaceProjects(container);
|
|
20272
20430
|
const containers = [
|
|
20273
20431
|
.../* @__PURE__ */ new Set([container, ...projects.map((project2) => project2.xcodeproj)])
|
|
20274
20432
|
];
|
|
20275
20433
|
const found = containers.flatMap(
|
|
20276
20434
|
(dir) => [
|
|
20277
|
-
|
|
20278
|
-
...isDirectory(
|
|
20435
|
+
import_node_path25.default.join(dir, "xcshareddata"),
|
|
20436
|
+
...isDirectory(import_node_path25.default.join(dir, "xcuserdata")) ? import_node_fs22.default.readdirSync(import_node_path25.default.join(dir, "xcuserdata")).sort().map((user) => import_node_path25.default.join(dir, "xcuserdata", user)) : []
|
|
20279
20437
|
].map((data) => ({
|
|
20280
20438
|
dir,
|
|
20281
|
-
file:
|
|
20439
|
+
file: import_node_path25.default.join(data, "xcschemes", `${scheme}.xcscheme`)
|
|
20282
20440
|
}))
|
|
20283
|
-
).find((candidate) =>
|
|
20441
|
+
).find((candidate) => import_node_fs22.default.existsSync(candidate.file));
|
|
20284
20442
|
if (!found) {
|
|
20285
20443
|
const known = containers.flatMap(
|
|
20286
|
-
(dir) =>
|
|
20444
|
+
(dir) => import_node_fs22.default.existsSync(import_node_path25.default.join(dir, "xcshareddata", "xcschemes")) ? import_node_fs22.default.readdirSync(import_node_path25.default.join(dir, "xcshareddata", "xcschemes")).filter((name3) => name3.endsWith(".xcscheme")).map((name3) => name3.slice(0, -".xcscheme".length)).sort() : []
|
|
20287
20445
|
);
|
|
20288
20446
|
throw new Error(
|
|
20289
|
-
`${
|
|
20447
|
+
`${import_node_path25.default.basename(container)} has no scheme ${scheme}; it shares ${known.join(", ") || "none"}`
|
|
20290
20448
|
);
|
|
20291
20449
|
}
|
|
20292
20450
|
const launch = /<LaunchAction\b([^>]*)>([\s\S]*?)<\/LaunchAction>/.exec(
|
|
20293
|
-
|
|
20451
|
+
import_node_fs22.default.readFileSync(found.file, "utf8")
|
|
20294
20452
|
);
|
|
20295
20453
|
const attribute = (text2, name3) => {
|
|
20296
20454
|
const value = new RegExp(`\\b${name3}\\s*=\\s*"([^"]*)"`).exec(text2)?.[1];
|
|
@@ -20303,12 +20461,12 @@ function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
|
|
|
20303
20461
|
if (!configuration || !blueprint || !referenced?.startsWith("container:")) {
|
|
20304
20462
|
throw new Error(`scheme ${scheme} runs no application target`);
|
|
20305
20463
|
}
|
|
20306
|
-
const projectPath =
|
|
20307
|
-
|
|
20464
|
+
const projectPath = import_node_path25.default.resolve(
|
|
20465
|
+
import_node_path25.default.dirname(found.dir),
|
|
20308
20466
|
referenced.slice("container:".length)
|
|
20309
20467
|
);
|
|
20310
20468
|
const project = projects.find(
|
|
20311
|
-
(candidate) =>
|
|
20469
|
+
(candidate) => import_node_fs22.default.existsSync(projectPath) && candidate.xcodeproj === import_node_fs22.default.realpathSync(projectPath)
|
|
20312
20470
|
);
|
|
20313
20471
|
const target = project && projectTargets(project).find((ref) => ref.id === blueprint);
|
|
20314
20472
|
const name2 = target && str(target.target.name);
|
|
@@ -20318,9 +20476,9 @@ function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
|
|
|
20318
20476
|
var NativeAppTargetSelectionError = class extends Error {
|
|
20319
20477
|
};
|
|
20320
20478
|
function selectIosAppTarget(projectRoot, iosTarget) {
|
|
20321
|
-
const nested =
|
|
20322
|
-
const iosRoot =
|
|
20323
|
-
const projects =
|
|
20479
|
+
const nested = import_node_path25.default.join(projectRoot, "ios");
|
|
20480
|
+
const iosRoot = import_node_fs22.default.existsSync(nested) ? nested : projectRoot;
|
|
20481
|
+
const projects = import_node_fs22.default.readdirSync(iosRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj"));
|
|
20324
20482
|
if (projects.length === 0) return null;
|
|
20325
20483
|
if (projects.length > 1 && !iosTarget) {
|
|
20326
20484
|
throw new NativeAppTargetSelectionError(
|
|
@@ -20330,7 +20488,7 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
20330
20488
|
let project = projects[0];
|
|
20331
20489
|
if (iosTarget && projects.length > 1) {
|
|
20332
20490
|
const matches = projects.filter(
|
|
20333
|
-
(entry) => listXcodeAppTargets(
|
|
20491
|
+
(entry) => listXcodeAppTargets(import_node_path25.default.join(iosRoot, entry.name), {
|
|
20334
20492
|
requireSources: false
|
|
20335
20493
|
}).includes(iosTarget)
|
|
20336
20494
|
);
|
|
@@ -20342,19 +20500,19 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
20342
20500
|
);
|
|
20343
20501
|
project = matches[0];
|
|
20344
20502
|
}
|
|
20345
|
-
const xcodeproj =
|
|
20503
|
+
const xcodeproj = import_node_path25.default.join(iosRoot, project.name);
|
|
20346
20504
|
const appTargets = listXcodeAppTargets(xcodeproj, { requireSources: false });
|
|
20347
20505
|
let target = iosTarget ?? defaultXcodeAppTarget(xcodeproj);
|
|
20348
20506
|
if (!target) throw new Error("native app identity has no iOS application target");
|
|
20349
20507
|
if (!iosTarget) {
|
|
20350
20508
|
const workspace = xcodeproj.replace(/\.xcodeproj$/, ".xcworkspace");
|
|
20351
|
-
const container =
|
|
20509
|
+
const container = import_node_fs22.default.existsSync(workspace) ? workspace : xcodeproj;
|
|
20352
20510
|
const hasScheme = [container, xcodeproj].some((dir) => {
|
|
20353
|
-
if (
|
|
20511
|
+
if (import_node_fs22.default.existsSync(import_node_path25.default.join(dir, "xcshareddata", "xcschemes", `${target}.xcscheme`)))
|
|
20354
20512
|
return true;
|
|
20355
|
-
const users =
|
|
20356
|
-
return
|
|
20357
|
-
(user) =>
|
|
20513
|
+
const users = import_node_path25.default.join(dir, "xcuserdata");
|
|
20514
|
+
return import_node_fs22.default.existsSync(users) && import_node_fs22.default.readdirSync(users).some(
|
|
20515
|
+
(user) => import_node_fs22.default.existsSync(import_node_path25.default.join(users, user, "xcschemes", `${target}.xcscheme`))
|
|
20358
20516
|
);
|
|
20359
20517
|
});
|
|
20360
20518
|
if (hasScheme) target = readXcodeScheme(container, target).target;
|
|
@@ -20363,8 +20521,8 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
20363
20521
|
throw new Error(`native app identity has no application target ${target}`);
|
|
20364
20522
|
return { xcodeproj, target };
|
|
20365
20523
|
}
|
|
20366
|
-
var workspaceResolvedFile = (xcodeprojOrWorkspace) =>
|
|
20367
|
-
xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace :
|
|
20524
|
+
var workspaceResolvedFile = (xcodeprojOrWorkspace) => import_node_path25.default.join(
|
|
20525
|
+
xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : import_node_path25.default.join(xcodeprojOrWorkspace, "project.xcworkspace"),
|
|
20368
20526
|
"xcshareddata",
|
|
20369
20527
|
"swiftpm",
|
|
20370
20528
|
"Package.resolved"
|
|
@@ -20379,7 +20537,7 @@ var SwiftPackageResolutionRequired = class extends Error {
|
|
|
20379
20537
|
}
|
|
20380
20538
|
};
|
|
20381
20539
|
function readXcodeAppTarget(input, targetName, configurationName, options = {}) {
|
|
20382
|
-
const xcodeprojOrWorkspace =
|
|
20540
|
+
const xcodeprojOrWorkspace = import_node_fs22.default.realpathSync(input);
|
|
20383
20541
|
const workspace = xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : null;
|
|
20384
20542
|
const { listed, projects, projectAt, cocoapods } = workspaceProjects(
|
|
20385
20543
|
xcodeprojOrWorkspace,
|
|
@@ -20388,7 +20546,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20388
20546
|
const allTargets = projects.flatMap(projectTargets);
|
|
20389
20547
|
const appTargets = allTargets.filter((ref) => isIosAppTarget(ref, options));
|
|
20390
20548
|
const appTargetNames = appTargets.map((ref) => str(ref.target.name) ?? ref.id);
|
|
20391
|
-
const container =
|
|
20549
|
+
const container = import_node_path25.default.basename(xcodeprojOrWorkspace);
|
|
20392
20550
|
const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
|
|
20393
20551
|
if (named.length !== 1) {
|
|
20394
20552
|
throw new Error(
|
|
@@ -20401,15 +20559,15 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20401
20559
|
for (const ref of allTargets) {
|
|
20402
20560
|
const product = ref.project.object(str(ref.target.productReference));
|
|
20403
20561
|
const file = str(product?.path);
|
|
20404
|
-
if (file && !byProduct.has(
|
|
20405
|
-
byProduct.set(
|
|
20562
|
+
if (file && !byProduct.has(import_node_path25.default.basename(file)))
|
|
20563
|
+
byProduct.set(import_node_path25.default.basename(file), ref);
|
|
20406
20564
|
}
|
|
20407
20565
|
const proxied = (project, proxyId) => {
|
|
20408
20566
|
const proxy = project.object(proxyId);
|
|
20409
20567
|
if (proxy?.isa !== "PBXContainerItemProxy") return void 0;
|
|
20410
20568
|
const portal = str(proxy.containerPortal);
|
|
20411
20569
|
const portalPath = project.resolvePath(portal ?? "");
|
|
20412
|
-
const owner = project.object(portal)?.isa === "PBXProject" ? project : portalPath &&
|
|
20570
|
+
const owner = project.object(portal)?.isa === "PBXProject" ? project : portalPath && import_node_fs22.default.existsSync(portalPath) ? projectAt.get(import_node_fs22.default.realpathSync(portalPath)) : void 0;
|
|
20413
20571
|
const remote = str(proxy.remoteGlobalIDString);
|
|
20414
20572
|
if (!owner || !remote) return void 0;
|
|
20415
20573
|
return projectTargets(owner).find(
|
|
@@ -20433,7 +20591,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20433
20591
|
const buildFile = project.object(buildFileId);
|
|
20434
20592
|
if (!buildFile || !xcodeBuildFileBuildsForIos(buildFile)) continue;
|
|
20435
20593
|
const file = project.object(str(buildFile.fileRef));
|
|
20436
|
-
const resolved = file?.isa === "PBXReferenceProxy" ? proxied(project, str(file.remoteRef)) : file && str(file.sourceTree) === "BUILT_PRODUCTS_DIR" ? byProduct.get(
|
|
20594
|
+
const resolved = file?.isa === "PBXReferenceProxy" ? proxied(project, str(file.remoteRef)) : file && str(file.sourceTree) === "BUILT_PRODUCTS_DIR" ? byProduct.get(import_node_path25.default.basename(str(file.path) ?? "")) : void 0;
|
|
20437
20595
|
if (resolved) found.push(resolved);
|
|
20438
20596
|
}
|
|
20439
20597
|
}
|
|
@@ -20490,8 +20648,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20490
20648
|
ref.project.visitMembers(
|
|
20491
20649
|
ref.id,
|
|
20492
20650
|
ref.project.resolvePath,
|
|
20493
|
-
(file) => isDirectory(file) ? walkFiles(file) :
|
|
20494
|
-
|
|
20651
|
+
(file) => isDirectory(file) ? walkFiles(file) : import_node_fs22.default.existsSync(file) ? [file] : [],
|
|
20652
|
+
import_node_path25.default.join,
|
|
20495
20653
|
(file, kind) => {
|
|
20496
20654
|
if (kind === "header") found.push(file);
|
|
20497
20655
|
}
|
|
@@ -20507,12 +20665,12 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20507
20665
|
for (const ref of projectTargets(project)) {
|
|
20508
20666
|
const product = productName(ref);
|
|
20509
20667
|
for (const { file, visibility } of headerPhase(ref)) {
|
|
20510
|
-
const name2 =
|
|
20668
|
+
const name2 = import_node_path25.default.basename(file);
|
|
20511
20669
|
if (!entries.has(name2))
|
|
20512
20670
|
entries.set(name2, visibility !== "Project" ? `${product}/${name2}` : file);
|
|
20513
20671
|
}
|
|
20514
20672
|
for (const file of synchronizedHeaders(ref)) {
|
|
20515
|
-
const name2 =
|
|
20673
|
+
const name2 = import_node_path25.default.basename(file);
|
|
20516
20674
|
if (!entries.has(name2)) entries.set(name2, file);
|
|
20517
20675
|
}
|
|
20518
20676
|
}
|
|
@@ -20522,7 +20680,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20522
20680
|
if (folder === null) continue;
|
|
20523
20681
|
for (const file of walkFiles(folder)) {
|
|
20524
20682
|
if (!HEADER_FILE.test(file)) continue;
|
|
20525
|
-
const name2 =
|
|
20683
|
+
const name2 = import_node_path25.default.basename(file);
|
|
20526
20684
|
if (!entries.has(name2)) entries.set(name2, file);
|
|
20527
20685
|
}
|
|
20528
20686
|
}
|
|
@@ -20530,18 +20688,18 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20530
20688
|
for (const id of Object.keys(project.objects)) {
|
|
20531
20689
|
if (project.object(id)?.isa !== "PBXFileReference") continue;
|
|
20532
20690
|
const file = project.resolvePath(id);
|
|
20533
|
-
if (file && HEADER_FILE.test(file) && !entries.has(
|
|
20534
|
-
entries.set(
|
|
20691
|
+
if (file && HEADER_FILE.test(file) && !entries.has(import_node_path25.default.basename(file)))
|
|
20692
|
+
entries.set(import_node_path25.default.basename(file), file);
|
|
20535
20693
|
}
|
|
20536
20694
|
const map2 = [...entries];
|
|
20537
20695
|
projectHeaderMaps.set(project, map2);
|
|
20538
20696
|
return map2;
|
|
20539
20697
|
};
|
|
20540
20698
|
const xcconfigs = /* @__PURE__ */ new Set();
|
|
20541
|
-
const buildDir = (project) =>
|
|
20699
|
+
const buildDir = (project) => import_node_path25.default.join(project.projectDir, ".build/peach-xcode/Build");
|
|
20542
20700
|
const podsBuild = {
|
|
20543
|
-
SYMROOT:
|
|
20544
|
-
OBJROOT:
|
|
20701
|
+
SYMROOT: import_node_path25.default.join(buildDir(app.project), "Products"),
|
|
20702
|
+
OBJROOT: import_node_path25.default.join(buildDir(app.project), "Intermediates.noindex")
|
|
20545
20703
|
};
|
|
20546
20704
|
const moduleTarget = (ref) => {
|
|
20547
20705
|
const name2 = str(ref.target.name) ?? ref.id;
|
|
@@ -20556,19 +20714,21 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20556
20714
|
TARGET_NAME: name2,
|
|
20557
20715
|
TARGETNAME: "$(TARGET_NAME)",
|
|
20558
20716
|
PROJECT: "$(PROJECT_NAME)",
|
|
20559
|
-
PROJECT_NAME:
|
|
20717
|
+
PROJECT_NAME: import_node_path25.default.basename(ref.project.xcodeproj, ".xcodeproj"),
|
|
20560
20718
|
PROJECT_FILE_PATH: ref.project.xcodeproj,
|
|
20561
20719
|
SRCROOT: ref.project.projectDir,
|
|
20562
20720
|
SOURCE_ROOT: ref.project.projectDir,
|
|
20563
20721
|
PROJECT_DIR: ref.project.projectDir,
|
|
20564
|
-
SYMROOT:
|
|
20722
|
+
SYMROOT: import_node_path25.default.join(buildDir(ref.project), "Products"),
|
|
20565
20723
|
BUILD_DIR: "$(SYMROOT)",
|
|
20566
20724
|
BUILD_ROOT: "$(SYMROOT)",
|
|
20567
|
-
OBJROOT:
|
|
20725
|
+
OBJROOT: import_node_path25.default.join(buildDir(ref.project), "Intermediates.noindex"),
|
|
20568
20726
|
CONFIGURATION_BUILD_DIR: "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)",
|
|
20569
20727
|
BUILT_PRODUCTS_DIR: "$(CONFIGURATION_BUILD_DIR)",
|
|
20570
20728
|
TARGET_BUILD_DIR: "$(CONFIGURATION_BUILD_DIR)",
|
|
20571
20729
|
UNLOCALIZED_RESOURCES_FOLDER_PATH: str(ref.project.object(str(ref.target.productReference))?.path) ?? "",
|
|
20730
|
+
CONTENTS_FOLDER_PATH: "$(UNLOCALIZED_RESOURCES_FOLDER_PATH)",
|
|
20731
|
+
FRAMEWORKS_FOLDER_PATH: "$(CONTENTS_FOLDER_PATH)/Frameworks",
|
|
20572
20732
|
PROJECT_TEMP_DIR: "$(OBJROOT)/$(PROJECT_NAME).build",
|
|
20573
20733
|
CONFIGURATION_TEMP_DIR: "$(PROJECT_TEMP_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)",
|
|
20574
20734
|
TARGET_TEMP_DIR: "$(CONFIGURATION_TEMP_DIR)/$(TARGET_NAME).build",
|
|
@@ -20604,7 +20764,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20604
20764
|
xcconfigs
|
|
20605
20765
|
);
|
|
20606
20766
|
const searchRules = recursiveSearchRules(settings2);
|
|
20607
|
-
const absolute = (file) =>
|
|
20767
|
+
const absolute = (file) => import_node_path25.default.resolve(ref.project.projectDir, file);
|
|
20608
20768
|
const framework = FRAMEWORK_PRODUCTS.has(str(ref.target.productType) ?? "");
|
|
20609
20769
|
const product = settings2("PRODUCT_NAME");
|
|
20610
20770
|
const moduleName = applyOperator(settings2("PRODUCT_MODULE_NAME"), "c99extidentifier");
|
|
@@ -20635,7 +20795,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20635
20795
|
`${name2}: Swift compatibility header phase has no Swift producer sources`
|
|
20636
20796
|
);
|
|
20637
20797
|
const building = options.prepareGeneratedSources && options.requireSources !== false;
|
|
20638
|
-
const versioning = building && allSources.length > 0 && settings2("VERSIONING_SYSTEM") === "apple-generic" ?
|
|
20798
|
+
const versioning = building && allSources.length > 0 && settings2("VERSIONING_SYSTEM") === "apple-generic" ? import_node_path25.default.join(settings2("DERIVED_FILE_DIR"), `${product}_vers.c`) : null;
|
|
20639
20799
|
if (versioning) {
|
|
20640
20800
|
const version = settings2("CURRENT_PROJECT_VERSION");
|
|
20641
20801
|
const custom = [
|
|
@@ -20648,7 +20808,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20648
20808
|
].filter((key) => settings2(key));
|
|
20649
20809
|
if (custom.length)
|
|
20650
20810
|
throw new Error(
|
|
20651
|
-
`${name2}: Xcode generates ${
|
|
20811
|
+
`${name2}: Xcode generates ${import_node_path25.default.basename(versioning)} with ${custom.join(", ")}; peach does not model VERSION_INFO_* overrides`
|
|
20652
20812
|
);
|
|
20653
20813
|
const symbol = product.replace(/^[^A-Za-z_]/, "_").replace(/[^A-Za-z0-9_]/g, "_");
|
|
20654
20814
|
const [major, minor] = version.split(".");
|
|
@@ -20661,9 +20821,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20661
20821
|
` const double ${symbol}VersionNumber __attribute__ ((used)) = (double)${number};`,
|
|
20662
20822
|
""
|
|
20663
20823
|
].join("\n");
|
|
20664
|
-
if (!
|
|
20665
|
-
|
|
20666
|
-
|
|
20824
|
+
if (!import_node_fs22.default.existsSync(versioning) || import_node_fs22.default.readFileSync(versioning, "utf8") !== unit) {
|
|
20825
|
+
import_node_fs22.default.mkdirSync(import_node_path25.default.dirname(versioning), { recursive: true });
|
|
20826
|
+
import_node_fs22.default.writeFileSync(versioning, unit);
|
|
20667
20827
|
}
|
|
20668
20828
|
allSources.push(versioning);
|
|
20669
20829
|
}
|
|
@@ -20682,7 +20842,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20682
20842
|
const headerFiles = headerPhase(ref);
|
|
20683
20843
|
const ownHeaders = /* @__PURE__ */ new Map();
|
|
20684
20844
|
for (const { file, visibility } of headerFiles) {
|
|
20685
|
-
const name3 =
|
|
20845
|
+
const name3 = import_node_path25.default.basename(file);
|
|
20686
20846
|
const published = visibility !== "Project";
|
|
20687
20847
|
if (!ownHeaders.has(name3))
|
|
20688
20848
|
ownHeaders.set(name3, published ? `${product}/${name3}` : file);
|
|
@@ -20690,7 +20850,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20690
20850
|
ownHeaders.set(`${product}/${name3}`, file);
|
|
20691
20851
|
}
|
|
20692
20852
|
for (const file of synchronizedHeaders(ref)) {
|
|
20693
|
-
const name3 =
|
|
20853
|
+
const name3 = import_node_path25.default.basename(file);
|
|
20694
20854
|
if (ownHeaders.has(name3)) continue;
|
|
20695
20855
|
ownHeaders.set(name3, file);
|
|
20696
20856
|
const qualified = `${product}/${name3}`;
|
|
@@ -20702,24 +20862,24 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20702
20862
|
const otherProduct = productName(other);
|
|
20703
20863
|
for (const { file, visibility } of headerPhase(other)) {
|
|
20704
20864
|
if (visibility === "Project") continue;
|
|
20705
|
-
const key = `${otherProduct}/${
|
|
20865
|
+
const key = `${otherProduct}/${import_node_path25.default.basename(file)}`;
|
|
20706
20866
|
if (!nonFrameworkHeaders.has(key)) nonFrameworkHeaders.set(key, file);
|
|
20707
20867
|
}
|
|
20708
20868
|
}
|
|
20709
|
-
const wrapper =
|
|
20869
|
+
const wrapper = import_node_path25.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
|
|
20710
20870
|
const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
|
|
20711
|
-
const frameworkUmbrella = !compatibility && framework && members.sources.length > 0 && moduleMap ?
|
|
20712
|
-
const frameworkCompatibility = frameworkUmbrella && moduleMap &&
|
|
20871
|
+
const frameworkUmbrella = !compatibility && framework && members.sources.length > 0 && moduleMap ? import_node_path25.default.join(import_node_path25.default.dirname(moduleMap), `${moduleName}-umbrella.h`) : null;
|
|
20872
|
+
const frameworkCompatibility = frameworkUmbrella && moduleMap && import_node_fs22.default.existsSync(moduleMap) && import_node_fs22.default.existsSync(frameworkUmbrella) ? {
|
|
20713
20873
|
framework: true,
|
|
20714
20874
|
moduleMap,
|
|
20715
20875
|
umbrella: frameworkUmbrella,
|
|
20716
|
-
outputModuleMap:
|
|
20717
|
-
outputUmbrella:
|
|
20876
|
+
outputModuleMap: import_node_path25.default.join(wrapper, "Modules", "module.modulemap"),
|
|
20877
|
+
outputUmbrella: import_node_path25.default.join(
|
|
20718
20878
|
wrapper,
|
|
20719
20879
|
"Headers",
|
|
20720
|
-
|
|
20880
|
+
import_node_path25.default.basename(frameworkUmbrella)
|
|
20721
20881
|
),
|
|
20722
|
-
outputHeader:
|
|
20882
|
+
outputHeader: import_node_path25.default.join(
|
|
20723
20883
|
wrapper,
|
|
20724
20884
|
"Headers",
|
|
20725
20885
|
settings2("SWIFT_OBJC_INTERFACE_HEADER_NAME") || `${moduleName}-Swift.h`
|
|
@@ -20733,10 +20893,10 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20733
20893
|
outputUmbrella: compatibility.outputUmbrella,
|
|
20734
20894
|
outputHeader: compatibility.outputHeader
|
|
20735
20895
|
} : frameworkCompatibility;
|
|
20736
|
-
const podHeaders = !framework && isPodsProject(ref.project.xcodeproj) && moduleMap &&
|
|
20896
|
+
const podHeaders = !framework && isPodsProject(ref.project.xcodeproj) && moduleMap && import_node_path25.default.relative(import_node_path25.default.join(ref.project.projectDir, "Headers", "Public"), moduleMap).split(import_node_path25.default.sep)[0] !== ".." && import_node_fs22.default.existsSync(moduleMap) ? import_node_fs22.default.readdirSync(import_node_path25.default.dirname(moduleMap)).flatMap((entry) => {
|
|
20737
20897
|
if (!/\.(h|hh|hpp|hxx|modulemap)$/.test(entry)) return [];
|
|
20738
|
-
const file =
|
|
20739
|
-
return
|
|
20898
|
+
const file = import_node_path25.default.join(import_node_path25.default.dirname(moduleMap), entry);
|
|
20899
|
+
return import_node_fs22.default.existsSync(file) ? [file] : [];
|
|
20740
20900
|
}) : [];
|
|
20741
20901
|
const fileFlags = {};
|
|
20742
20902
|
for (const phaseId of list(ref.target.buildPhases)) {
|
|
@@ -20761,6 +20921,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20761
20921
|
keys,
|
|
20762
20922
|
module: {
|
|
20763
20923
|
name: name2,
|
|
20924
|
+
targetIdentity: JSON.stringify([ref.project.xcodeproj, ref.id]),
|
|
20925
|
+
targetDependencies: Array(),
|
|
20764
20926
|
moduleName,
|
|
20765
20927
|
...settings2("PODS_TARGET_SRCROOT") ? { podRoot: absolute(settings2("PODS_TARGET_SRCROOT")) } : {},
|
|
20766
20928
|
...members,
|
|
@@ -20804,15 +20966,15 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20804
20966
|
// xcode searches its products' include directory before
|
|
20805
20967
|
// HEADER_SEARCH_PATHS and the target's derived sources after.
|
|
20806
20968
|
headerSearchPaths: [
|
|
20807
|
-
|
|
20969
|
+
import_node_path25.default.join(settings2("BUILT_PRODUCTS_DIR"), "include"),
|
|
20808
20970
|
...settingList(settings2("HEADER_SEARCH_PATHS")).flatMap(
|
|
20809
20971
|
(raw) => expandSearchPath(absolute(raw), searchRules)
|
|
20810
20972
|
),
|
|
20811
|
-
|
|
20973
|
+
import_node_path25.default.join(
|
|
20812
20974
|
`${settings2("DERIVED_FILE_DIR")}-normal`,
|
|
20813
20975
|
settings2("CURRENT_ARCH")
|
|
20814
20976
|
),
|
|
20815
|
-
|
|
20977
|
+
import_node_path25.default.join(settings2("DERIVED_FILE_DIR"), settings2("CURRENT_ARCH")),
|
|
20816
20978
|
settings2("DERIVED_FILE_DIR")
|
|
20817
20979
|
],
|
|
20818
20980
|
userHeaderSearchPaths: settingList(
|
|
@@ -20835,6 +20997,12 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20835
20997
|
),
|
|
20836
20998
|
...settingList(settings2("OTHER_CFLAGS"))
|
|
20837
20999
|
],
|
|
21000
|
+
importerFlags: [
|
|
21001
|
+
...settings2("CLANG_ENABLE_MODULES") === "YES" ? ["-fmodules"] : [],
|
|
21002
|
+
...settingList(settings2("GCC_PREPROCESSOR_DEFINITIONS")).map(
|
|
21003
|
+
(value) => `-D${value}`
|
|
21004
|
+
)
|
|
21005
|
+
],
|
|
20838
21006
|
cxxFlags: [
|
|
20839
21007
|
...cxxStandard && cxxStandard !== "compiler-default" ? [`-std=${CXX_STANDARD_ALIASES[cxxStandard] ?? cxxStandard}`] : [],
|
|
20840
21008
|
// clang.xcspec's hidden CLANG_DISABLE_CXX_MODULES (default
|
|
@@ -20856,10 +21024,10 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20856
21024
|
...headerFiles.flatMap(
|
|
20857
21025
|
({ file, visibility }) => visibility === "Project" ? [] : [
|
|
20858
21026
|
[
|
|
20859
|
-
|
|
21027
|
+
import_node_path25.default.join(
|
|
20860
21028
|
wrapper,
|
|
20861
21029
|
visibility === "Public" ? "Headers" : "PrivateHeaders",
|
|
20862
|
-
|
|
21030
|
+
import_node_path25.default.basename(file)
|
|
20863
21031
|
),
|
|
20864
21032
|
file
|
|
20865
21033
|
]
|
|
@@ -20873,7 +21041,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20873
21041
|
return [];
|
|
20874
21042
|
const destination = expand(
|
|
20875
21043
|
str(phase.dstPath) ?? "",
|
|
20876
|
-
(name3) => name3 === "PUBLIC_HEADERS_FOLDER_PATH" ?
|
|
21044
|
+
(name3) => name3 === "PUBLIC_HEADERS_FOLDER_PATH" ? import_node_path25.default.join(wrapper, "Headers") : name3 === "PRIVATE_HEADERS_FOLDER_PATH" ? import_node_path25.default.join(wrapper, "PrivateHeaders") : settings2(name3)
|
|
20877
21045
|
);
|
|
20878
21046
|
return list(phase.files).flatMap((id) => {
|
|
20879
21047
|
const file = ref.project.resolvePath(
|
|
@@ -20881,17 +21049,17 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20881
21049
|
);
|
|
20882
21050
|
return file && HEADER_FILE.test(file) ? [
|
|
20883
21051
|
[
|
|
20884
|
-
|
|
21052
|
+
import_node_path25.default.resolve(
|
|
20885
21053
|
settings2("BUILT_PRODUCTS_DIR"),
|
|
20886
21054
|
destination,
|
|
20887
|
-
|
|
21055
|
+
import_node_path25.default.basename(file)
|
|
20888
21056
|
),
|
|
20889
21057
|
file
|
|
20890
21058
|
]
|
|
20891
21059
|
] : [];
|
|
20892
21060
|
});
|
|
20893
21061
|
}),
|
|
20894
|
-
...moduleMap ? [[
|
|
21062
|
+
...moduleMap ? [[import_node_path25.default.join(wrapper, "Modules", "module.modulemap"), moduleMap]] : []
|
|
20895
21063
|
]) : Object.fromEntries([
|
|
20896
21064
|
...podHeaders.map((file) => [file, file]),
|
|
20897
21065
|
...moduleMap ? [[moduleMap, moduleMap]] : []
|
|
@@ -20902,6 +21070,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20902
21070
|
};
|
|
20903
21071
|
};
|
|
20904
21072
|
const builtTargets = order.map((ref) => ({ ref, ...moduleTarget(ref) }));
|
|
21073
|
+
for (const { ref, module: module3 } of builtTargets)
|
|
21074
|
+
module3.targetDependencies = dependenciesOf(ref).flatMap((dependency) => {
|
|
21075
|
+
const target = builtTargets.find((candidate) => candidate.ref === dependency);
|
|
21076
|
+
return target ? [target.module.targetIdentity] : [];
|
|
21077
|
+
});
|
|
20905
21078
|
const { settings, keys: settingKeys, module: module2 } = builtTargets.at(-1);
|
|
20906
21079
|
const nativeTargets = /* @__PURE__ */ new Set();
|
|
20907
21080
|
const includeNativeTarget = (ref) => {
|
|
@@ -20910,12 +21083,15 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20910
21083
|
for (const dependency of dependenciesOf(ref)) includeNativeTarget(dependency);
|
|
20911
21084
|
};
|
|
20912
21085
|
for (const { ref, module: module3 } of builtTargets)
|
|
20913
|
-
if (options.nativeModules?.
|
|
21086
|
+
if (options.nativeModules?.some(
|
|
21087
|
+
(name2) => name2 === module3.moduleName || name2 === module3.name
|
|
21088
|
+
))
|
|
21089
|
+
includeNativeTarget(ref);
|
|
20914
21090
|
const selectedTargets = options.nativeModules ? builtTargets.filter((target) => nativeTargets.has(target.ref)) : builtTargets;
|
|
20915
21091
|
const frameworkTargets = selectedTargets.filter((target) => target !== builtTargets.at(-1)).filter(({ ref }) => MODULE_PRODUCTS.has(str(ref.target.productType) ?? "")).map(({ ref, module: module3 }) => ({ ref, framework: module3 }));
|
|
20916
21092
|
const frameworks = frameworkTargets.map(({ framework }) => framework);
|
|
20917
21093
|
const podSourceDirs = builtTargets.slice(0, -1).flatMap(
|
|
20918
|
-
({ ref, module: module3 }) => isPodsProject(ref.project.xcodeproj) ? [...module3.allSources, ...module3.objc?.headers ?? []].map((file) =>
|
|
21094
|
+
({ ref, module: module3 }) => isPodsProject(ref.project.xcodeproj) ? [...module3.allSources, ...module3.objc?.headers ?? []].map((file) => import_node_path25.default.dirname(file)).filter((dir) => import_node_fs22.default.existsSync(dir)) : []
|
|
20919
21095
|
);
|
|
20920
21096
|
const expandValue = (value, settings2) => {
|
|
20921
21097
|
if (typeof value === "string") return expand(value, settings2);
|
|
@@ -20936,7 +21112,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20936
21112
|
const phase = owner.ref.project.object(phaseId);
|
|
20937
21113
|
if (phase?.isa !== "PBXShellScriptBuildPhase" || str(phase.name) !== "[CP] Copy Pods Resources")
|
|
20938
21114
|
continue;
|
|
20939
|
-
const absolute = (raw) =>
|
|
21115
|
+
const absolute = (raw) => import_node_path25.default.resolve(owner.ref.project.projectDir, expand(raw, owner.settings));
|
|
20940
21116
|
const entries = (paths) => paths.flatMap((raw) => {
|
|
20941
21117
|
const file = absolute(raw);
|
|
20942
21118
|
xcconfigs.add(file);
|
|
@@ -20952,7 +21128,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20952
21128
|
].filter((file) => file.endsWith(".bundle"));
|
|
20953
21129
|
if (inputs.length !== outputs.length)
|
|
20954
21130
|
throw new Error(`${owner.module.name}: resource bundle copy lists differ`);
|
|
20955
|
-
const destinationRoot =
|
|
21131
|
+
const destinationRoot = import_node_path25.default.join(
|
|
20956
21132
|
owner.settings("TARGET_BUILD_DIR"),
|
|
20957
21133
|
owner.settings("UNLOCALIZED_RESOURCES_FOLDER_PATH")
|
|
20958
21134
|
);
|
|
@@ -20961,24 +21137,24 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20961
21137
|
const file = str(
|
|
20962
21138
|
target.ref.project.object(str(target.ref.target.productReference))?.path
|
|
20963
21139
|
);
|
|
20964
|
-
return file &&
|
|
21140
|
+
return file && import_node_path25.default.join(target.settings("TARGET_BUILD_DIR"), file) === input2;
|
|
20965
21141
|
});
|
|
20966
21142
|
if (!product && !isDirectory(input2))
|
|
20967
21143
|
throw new Error(
|
|
20968
21144
|
`${owner.module.name}: resource bundle input has no selected producer: ${input2}`
|
|
20969
21145
|
);
|
|
20970
|
-
const destination =
|
|
20971
|
-
if (destination === ".." || destination.startsWith(`..${
|
|
21146
|
+
const destination = import_node_path25.default.relative(destinationRoot, outputs[index]);
|
|
21147
|
+
if (destination === ".." || destination.startsWith(`..${import_node_path25.default.sep}`) || import_node_path25.default.isAbsolute(destination) || import_node_path25.default.basename(input2) !== import_node_path25.default.basename(destination))
|
|
20972
21148
|
throw new Error(
|
|
20973
21149
|
`${owner.module.name}: invalid resource bundle copy destination`
|
|
20974
21150
|
);
|
|
20975
|
-
const infoFile = product ?
|
|
21151
|
+
const infoFile = product ? import_node_path25.default.resolve(
|
|
20976
21152
|
product.ref.project.projectDir,
|
|
20977
21153
|
product.settings("INFOPLIST_FILE")
|
|
20978
21154
|
) : null;
|
|
20979
21155
|
if (infoFile) xcconfigs.add(infoFile);
|
|
20980
21156
|
const prefix2 = owner.ref === app ? "" : `Frameworks/${owner.module.moduleName}.framework/`;
|
|
20981
|
-
const bundlePath = prefix2 + destination.split(
|
|
21157
|
+
const bundlePath = prefix2 + destination.split(import_node_path25.default.sep).join("/");
|
|
20982
21158
|
if (resourceProducts.some((resource) => resource.path === bundlePath))
|
|
20983
21159
|
throw new Error(
|
|
20984
21160
|
`${owner.module.name}: duplicate resource bundle destination ${bundlePath}`
|
|
@@ -20989,21 +21165,21 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
20989
21165
|
resources: product.module.resources,
|
|
20990
21166
|
infoPlist: import_plist3.default.build(
|
|
20991
21167
|
expandValue(
|
|
20992
|
-
import_plist3.default.parse(
|
|
21168
|
+
import_plist3.default.parse(import_node_fs22.default.readFileSync(infoFile, "utf8")),
|
|
20993
21169
|
product.settings
|
|
20994
21170
|
)
|
|
20995
21171
|
)
|
|
20996
21172
|
} : {
|
|
20997
|
-
resources:
|
|
21173
|
+
resources: import_node_fs22.default.readdirSync(input2, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => import_node_path25.default.join(entry.parentPath, entry.name)).sort(),
|
|
20998
21174
|
sourceRoot: input2
|
|
20999
21175
|
}
|
|
21000
21176
|
});
|
|
21001
21177
|
}
|
|
21002
21178
|
}
|
|
21003
21179
|
}
|
|
21004
|
-
const infoPlistFile = settings("INFOPLIST_FILE") ?
|
|
21180
|
+
const infoPlistFile = settings("INFOPLIST_FILE") ? import_node_path25.default.resolve(app.project.projectDir, settings("INFOPLIST_FILE")) : null;
|
|
21005
21181
|
const infoPlistPending = module2.generatedInfoPlist && !options.prepareGeneratedSources;
|
|
21006
|
-
const sourceInfo = infoPlistFile && !infoPlistPending ? import_plist3.default.parse(
|
|
21182
|
+
const sourceInfo = infoPlistFile && !infoPlistPending ? import_plist3.default.parse(import_node_fs22.default.readFileSync(infoPlistFile, "utf8")) : {};
|
|
21007
21183
|
if (!sourceInfo || typeof sourceInfo !== "object" || Array.isArray(sourceInfo) || sourceInfo instanceof Date || Buffer.isBuffer(sourceInfo)) {
|
|
21008
21184
|
throw new Error(`${module2.name} Info.plist must contain a dictionary`);
|
|
21009
21185
|
}
|
|
@@ -21025,6 +21201,23 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21025
21201
|
if (info[key] === void 0 && value) info[key] = value;
|
|
21026
21202
|
}
|
|
21027
21203
|
}
|
|
21204
|
+
const postBundleScripts = [];
|
|
21205
|
+
for (const id of [...list(app.target.buildPhases)].reverse()) {
|
|
21206
|
+
const phase = app.project.object(id);
|
|
21207
|
+
if (phase?.isa !== "PBXShellScriptBuildPhase" || list(phase.inputPaths).length || list(phase.inputFileListPaths).length || list(phase.outputPaths).length || list(phase.outputFileListPaths).length)
|
|
21208
|
+
break;
|
|
21209
|
+
postBundleScripts.unshift({
|
|
21210
|
+
name: str(phase.name) ?? id,
|
|
21211
|
+
command: scriptCommand(
|
|
21212
|
+
str(phase.shellPath) ?? "/bin/sh",
|
|
21213
|
+
str(phase.shellScript) ?? ""
|
|
21214
|
+
),
|
|
21215
|
+
directory: app.project.projectDir,
|
|
21216
|
+
environment: Object.fromEntries(
|
|
21217
|
+
[...settingKeys].filter((key) => /^[A-Za-z_][A-Za-z0-9_]*$/.test(key)).map((key) => [key, settings(key)])
|
|
21218
|
+
)
|
|
21219
|
+
});
|
|
21220
|
+
}
|
|
21028
21221
|
if (settings("INFOPLIST_KEY_UIApplicationSceneManifest_Generation") === "YES" && info.UIApplicationSceneManifest === void 0) {
|
|
21029
21222
|
info.UIApplicationSceneManifest = {
|
|
21030
21223
|
UIApplicationSupportsMultipleScenes: true,
|
|
@@ -21032,7 +21225,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21032
21225
|
};
|
|
21033
21226
|
}
|
|
21034
21227
|
const localPackageDirs = [
|
|
21035
|
-
...listed.filter((reference) =>
|
|
21228
|
+
...listed.filter((reference) => import_node_fs22.default.existsSync(import_node_path25.default.join(reference, "Package.swift"))),
|
|
21036
21229
|
...projects.flatMap(
|
|
21037
21230
|
(project) => Object.entries(project.objects).flatMap(([id, entry]) => {
|
|
21038
21231
|
if (!isDict(entry)) return [];
|
|
@@ -21042,19 +21235,19 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21042
21235
|
const packages = [];
|
|
21043
21236
|
while (pending.length > 0) {
|
|
21044
21237
|
const dir = pending.pop();
|
|
21045
|
-
if (
|
|
21238
|
+
if (import_node_fs22.default.existsSync(import_node_path25.default.join(dir, "Package.swift"))) {
|
|
21046
21239
|
packages.push(dir);
|
|
21047
21240
|
continue;
|
|
21048
21241
|
}
|
|
21049
21242
|
if (!isDirectory(dir)) continue;
|
|
21050
|
-
for (const child of
|
|
21243
|
+
for (const child of import_node_fs22.default.readdirSync(dir, { withFileTypes: true }))
|
|
21051
21244
|
if (child.isDirectory() && !child.name.startsWith("."))
|
|
21052
|
-
pending.push(
|
|
21245
|
+
pending.push(import_node_path25.default.join(dir, child.name));
|
|
21053
21246
|
}
|
|
21054
21247
|
return packages;
|
|
21055
21248
|
}
|
|
21056
|
-
const candidate = entry.isa === "XCLocalSwiftPackageReference" ?
|
|
21057
|
-
return candidate &&
|
|
21249
|
+
const candidate = entry.isa === "XCLocalSwiftPackageReference" ? import_node_path25.default.resolve(project.projectDir, str(entry.relativePath) ?? "") : entry.isa === "PBXFileReference" ? project.resolvePath(id) : null;
|
|
21250
|
+
return candidate && import_node_fs22.default.existsSync(import_node_path25.default.join(candidate, "Package.swift")) ? [candidate] : [];
|
|
21058
21251
|
})
|
|
21059
21252
|
)
|
|
21060
21253
|
];
|
|
@@ -21074,14 +21267,40 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21074
21267
|
const qualifiedProductKeys = /* @__PURE__ */ new Set();
|
|
21075
21268
|
const linkedProductKeys = /* @__PURE__ */ new Set();
|
|
21076
21269
|
const binaryFrameworks = /* @__PURE__ */ new Map();
|
|
21077
|
-
|
|
21078
|
-
|
|
21270
|
+
const searchedFrameworks = /* @__PURE__ */ new Map();
|
|
21271
|
+
const frameworkSearchDirectories = /* @__PURE__ */ new Set();
|
|
21272
|
+
for (const { ref, settings: settings2 } of builtTargets) {
|
|
21273
|
+
const absolute = (raw) => import_node_path25.default.resolve(ref.project.projectDir, expand(raw, settings2));
|
|
21274
|
+
const requested = options.nativeModules;
|
|
21275
|
+
const includeBinary = (name2, dir) => {
|
|
21276
|
+
if (!requested || nativeTargets.has(ref) || requested.includes(name2) || dir.endsWith(".xcframework") && localSwiftBinaryModules(dir).some((module3) => requested.includes(module3)))
|
|
21277
|
+
binaryFrameworks.set(name2, dir);
|
|
21278
|
+
};
|
|
21279
|
+
if (!options.nativeModules || nativeTargets.has(ref)) {
|
|
21280
|
+
const searchRules = recursiveSearchRules(settings2);
|
|
21281
|
+
for (const raw of settingList(settings2("FRAMEWORK_SEARCH_PATHS"))) {
|
|
21282
|
+
for (const directory of expandSearchPath(absolute(raw), searchRules)) {
|
|
21283
|
+
if (frameworkSearchDirectories.has(directory)) continue;
|
|
21284
|
+
frameworkSearchDirectories.add(directory);
|
|
21285
|
+
if (!import_node_fs22.default.statSync(directory, { throwIfNoEntry: false })?.isDirectory() || /\.sdk\/(?:System|Developer)\/Library\/Frameworks\/?$/.test(directory))
|
|
21286
|
+
continue;
|
|
21287
|
+
for (const entry of import_node_fs22.default.readdirSync(directory, { withFileTypes: true })) {
|
|
21288
|
+
const name2 = /^(.+)\.framework$/.exec(entry.name)?.[1];
|
|
21289
|
+
if (!name2 || byProduct.has(entry.name) || searchedFrameworks.has(name2))
|
|
21290
|
+
continue;
|
|
21291
|
+
const file = import_node_path25.default.join(directory, entry.name);
|
|
21292
|
+
if (import_node_fs22.default.statSync(file, { throwIfNoEntry: false })?.isDirectory())
|
|
21293
|
+
searchedFrameworks.set(name2, file);
|
|
21294
|
+
}
|
|
21295
|
+
}
|
|
21296
|
+
}
|
|
21297
|
+
}
|
|
21079
21298
|
for (const raw of settingList(settings2("SWIFT_INCLUDE_PATHS"))) {
|
|
21080
21299
|
const dir = absolute(raw);
|
|
21081
|
-
const modulemap =
|
|
21082
|
-
if (!
|
|
21083
|
-
const name2 = moduleMapName(
|
|
21084
|
-
if (name2 && !binaryFrameworks.has(name2))
|
|
21300
|
+
const modulemap = import_node_path25.default.join(dir, "module.modulemap");
|
|
21301
|
+
if (!import_node_fs22.default.existsSync(modulemap)) continue;
|
|
21302
|
+
const name2 = moduleMapName(import_node_fs22.default.readFileSync(modulemap, "utf8"));
|
|
21303
|
+
if (name2 && !binaryFrameworks.has(name2)) includeBinary(name2, dir);
|
|
21085
21304
|
}
|
|
21086
21305
|
for (const phaseId of list(ref.target.buildPhases)) {
|
|
21087
21306
|
const phase = ref.project.object(phaseId);
|
|
@@ -21089,13 +21308,13 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21089
21308
|
const inputs = list(phase.inputPaths).map(absolute);
|
|
21090
21309
|
for (const raw of list(phase.inputFileListPaths)) {
|
|
21091
21310
|
const file = absolute(raw);
|
|
21092
|
-
if (!
|
|
21311
|
+
if (!import_node_fs22.default.existsSync(file)) continue;
|
|
21093
21312
|
xcconfigs.add(file);
|
|
21094
21313
|
inputs.push(...fileListEntries(file, absolute));
|
|
21095
21314
|
}
|
|
21096
21315
|
for (const file of inputs) {
|
|
21097
21316
|
const name2 = /([^/]+)\.xcframework$/.exec(file)?.[1];
|
|
21098
|
-
if (name2 && !binaryFrameworks.has(name2))
|
|
21317
|
+
if (name2 && !binaryFrameworks.has(name2)) includeBinary(name2, file);
|
|
21099
21318
|
}
|
|
21100
21319
|
}
|
|
21101
21320
|
}
|
|
@@ -21138,13 +21357,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21138
21357
|
product,
|
|
21139
21358
|
source: reference?.isa === "XCRemoteSwiftPackageReference" ? { kind: "remote", url: str(reference.repositoryURL) ?? "" } : reference?.isa === "XCLocalSwiftPackageReference" ? {
|
|
21140
21359
|
kind: "local",
|
|
21141
|
-
dir:
|
|
21360
|
+
dir: import_node_path25.default.resolve(
|
|
21142
21361
|
project.projectDir,
|
|
21143
21362
|
str(reference.relativePath) ?? ""
|
|
21144
21363
|
)
|
|
21145
21364
|
} : { kind: "unnamed", remoteUrls: remotePackageUrls }
|
|
21146
21365
|
};
|
|
21147
|
-
|
|
21366
|
+
if (!options.nativeModules || nativeTargets.has(ref) || options.nativeModules.includes(product))
|
|
21367
|
+
productReferences.push({ project: project.projectFile, linked });
|
|
21148
21368
|
if (linked.source.kind !== "unnamed")
|
|
21149
21369
|
qualifiedProductKeys.add(`${project.projectFile}\0${product}`);
|
|
21150
21370
|
const key = JSON.stringify(linked);
|
|
@@ -21170,10 +21390,10 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21170
21390
|
// however it is rooted: xcode links -framework <name> from the sdk
|
|
21171
21391
|
// and a stale group-relative path to it contributes nothing.
|
|
21172
21392
|
/\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`) || // a target in the workspace builds it, so it exists only after that build
|
|
21173
|
-
byProduct.has(
|
|
21393
|
+
byProduct.has(import_node_path25.default.basename(rawPath)))
|
|
21174
21394
|
continue;
|
|
21175
21395
|
const resolved = fileId ? project.resolvePath(fileId) : null;
|
|
21176
|
-
if (fileId && resolved !== null && !
|
|
21396
|
+
if (fileId && resolved !== null && !import_node_fs22.default.existsSync(resolved))
|
|
21177
21397
|
throw new Error(
|
|
21178
21398
|
`${str(target.name) ?? "target"}: linked framework ${name2} (${fileId}) points at missing ${resolved} in ${project.projectFile}`
|
|
21179
21399
|
);
|
|
@@ -21181,6 +21401,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21181
21401
|
}
|
|
21182
21402
|
}
|
|
21183
21403
|
}
|
|
21404
|
+
for (const [name2, file] of searchedFrameworks)
|
|
21405
|
+
if (!binaryFrameworks.get(name2)) binaryFrameworks.set(name2, file);
|
|
21184
21406
|
for (const { project, linked } of productReferences) {
|
|
21185
21407
|
if (linked.source.kind === "unnamed" && qualifiedProductKeys.has(`${project}\0${linked.product}`))
|
|
21186
21408
|
continue;
|
|
@@ -21190,9 +21412,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21190
21412
|
linkedProducts.push(linked);
|
|
21191
21413
|
}
|
|
21192
21414
|
for (const built of builtTargets)
|
|
21193
|
-
built.module.packageProducts = productsByTarget.get(built.ref) ?? []
|
|
21415
|
+
built.module.packageProducts = (productsByTarget.get(built.ref) ?? []).filter(
|
|
21416
|
+
({ product }) => !options.nativeModules || nativeTargets.has(built.ref) || options.nativeModules.includes(product)
|
|
21417
|
+
);
|
|
21194
21418
|
const resolvedFile = workspaceResolvedFile(xcodeprojOrWorkspace);
|
|
21195
|
-
let packageResolved =
|
|
21419
|
+
let packageResolved = import_node_fs22.default.existsSync(resolvedFile) ? [import_node_fs22.default.realpathSync(resolvedFile)] : [...new Set(localPackageDirs.map((dir) => import_node_path25.default.join(dir, "Package.resolved")))].filter((file) => import_node_fs22.default.existsSync(file)).map((file) => import_node_fs22.default.realpathSync(file)).sort();
|
|
21196
21420
|
if (packageResolved.length === 0) {
|
|
21197
21421
|
const requirements = remotePackageRequirements(projects);
|
|
21198
21422
|
if (requirements.length > 0) {
|
|
@@ -21218,14 +21442,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21218
21442
|
} : {},
|
|
21219
21443
|
rootDir: commonAncestor(
|
|
21220
21444
|
[
|
|
21221
|
-
workspace ?
|
|
21445
|
+
workspace ? import_node_path25.default.dirname(workspace) : app.project.projectDir,
|
|
21222
21446
|
...used.map((project) => project.projectDir),
|
|
21223
21447
|
...localPackageDirs,
|
|
21224
21448
|
...linkedProducts.flatMap(
|
|
21225
|
-
({ source }) => source.kind === "local" &&
|
|
21449
|
+
({ source }) => source.kind === "local" && import_node_fs22.default.existsSync(source.dir) ? [source.dir] : []
|
|
21226
21450
|
),
|
|
21227
21451
|
...new Set(podSourceDirs)
|
|
21228
|
-
].map((dir) =>
|
|
21452
|
+
].map((dir) => import_node_fs22.default.realpathSync(dir))
|
|
21229
21453
|
),
|
|
21230
21454
|
projectFiles: [
|
|
21231
21455
|
.../* @__PURE__ */ new Set([
|
|
@@ -21238,12 +21462,13 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
21238
21462
|
appIconName: settings("ASSETCATALOG_COMPILER_APPICON_NAME"),
|
|
21239
21463
|
infoPlist: infoPlistPending ? null : import_plist3.default.build(info),
|
|
21240
21464
|
infoPlistFile,
|
|
21465
|
+
postBundleScripts,
|
|
21241
21466
|
developmentRegion: str(app.project.project.developmentRegion) ?? "en",
|
|
21242
21467
|
frameworks,
|
|
21243
21468
|
resourceProducts,
|
|
21244
21469
|
linkedProducts,
|
|
21245
21470
|
localPackageDirs: [
|
|
21246
|
-
...new Set(localPackageDirs.map((dir) =>
|
|
21471
|
+
...new Set(localPackageDirs.map((dir) => import_node_fs22.default.realpathSync(dir)))
|
|
21247
21472
|
].sort(),
|
|
21248
21473
|
binaryFrameworks: [...binaryFrameworks].map(([name2, file]) => ({ name: name2, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
|
|
21249
21474
|
packageResolved,
|
|
@@ -21333,7 +21558,7 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
|
|
|
21333
21558
|
const rtcAppGroupIdentifier = nonEmptyString2(dictionary.RTCAppGroupIdentifier);
|
|
21334
21559
|
const screenShareExtensionBundleId = typeof dictionary.ScreenShareExtensionBundleId === "string" ? dictionary.ScreenShareExtensionBundleId : void 0;
|
|
21335
21560
|
const rootModuleName = readRootModuleName(
|
|
21336
|
-
app.allSources.filter((file) => /Delegate\.(?:swift|mm|m)$/.test(file) &&
|
|
21561
|
+
app.allSources.filter((file) => /Delegate\.(?:swift|mm|m)$/.test(file) && import_node_fs23.default.existsSync(file)).map((file) => import_node_fs23.default.readFileSync(file, "utf8"))
|
|
21337
21562
|
);
|
|
21338
21563
|
return stampNativeBuildSdk({
|
|
21339
21564
|
applicationName,
|
|
@@ -21354,7 +21579,7 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
|
|
|
21354
21579
|
googleSignIn: readGoogleSignInConfiguration(
|
|
21355
21580
|
dictionary,
|
|
21356
21581
|
Object.fromEntries(
|
|
21357
|
-
app.resources.filter((file) => file.endsWith(".plist")).map((file) => [file, parseInfoPlist(
|
|
21582
|
+
app.resources.filter((file) => file.endsWith(".plist")).map((file) => [file, parseInfoPlist(import_node_fs23.default.readFileSync(file, "utf8"))])
|
|
21358
21583
|
)
|
|
21359
21584
|
),
|
|
21360
21585
|
supportedInterfaceOrientations,
|
|
@@ -21363,11 +21588,11 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
|
|
|
21363
21588
|
alternateIconNames: [...alternateIconNames],
|
|
21364
21589
|
appIconArtwork: resolveNativeAppIconArtwork(
|
|
21365
21590
|
app.resources,
|
|
21366
|
-
(file) =>
|
|
21591
|
+
(file) => import_node_fs23.default.readFileSync(file, "utf8"),
|
|
21367
21592
|
(file) => {
|
|
21368
|
-
const extension =
|
|
21593
|
+
const extension = import_node_path26.default.extname(file).toLowerCase();
|
|
21369
21594
|
const contentType = extension === ".jpg" || extension === ".jpeg" ? "image/jpeg" : extension === ".webp" ? "image/webp" : "image/png";
|
|
21370
|
-
return `data:${contentType};base64,${
|
|
21595
|
+
return `data:${contentType};base64,${import_node_fs23.default.readFileSync(file).toString("base64")}`;
|
|
21371
21596
|
},
|
|
21372
21597
|
icons,
|
|
21373
21598
|
app.appIconName,
|
|
@@ -21396,23 +21621,23 @@ function readNativeAppIdentityFromSources(projectRoot, platform, parseInfoPlist,
|
|
|
21396
21621
|
const read = selectNativeAppIdentityReader(platform, {
|
|
21397
21622
|
android: () => null,
|
|
21398
21623
|
ios: () => {
|
|
21399
|
-
const nested =
|
|
21400
|
-
const iosRoot =
|
|
21624
|
+
const nested = import_node_path26.default.join(projectRoot, "ios");
|
|
21625
|
+
const iosRoot = import_node_fs23.default.existsSync(nested) ? nested : projectRoot;
|
|
21401
21626
|
const prefix2 = iosRoot === nested ? "ios/" : "";
|
|
21402
21627
|
const files = {};
|
|
21403
|
-
for (const entry of
|
|
21628
|
+
for (const entry of import_node_fs23.default.readdirSync(iosRoot, { withFileTypes: true })) {
|
|
21404
21629
|
if (entry.name === "Pods") continue;
|
|
21405
21630
|
if (entry.isDirectory()) {
|
|
21406
21631
|
const names = entry.name.endsWith(".xcodeproj") ? ["project.pbxproj"] : ["Info.plist", "AppDelegate.swift", "AppDelegate.mm", "AppDelegate.m"];
|
|
21407
21632
|
for (const name2 of names) {
|
|
21408
21633
|
const relative3 = `${prefix2}${entry.name}/${name2}`;
|
|
21409
|
-
const file =
|
|
21410
|
-
if (
|
|
21634
|
+
const file = import_node_path26.default.join(projectRoot, relative3);
|
|
21635
|
+
if (import_node_fs23.default.existsSync(file)) files[relative3] = import_node_fs23.default.readFileSync(file, "utf8");
|
|
21411
21636
|
}
|
|
21412
21637
|
} else if (/AppDelegate\.(?:swift|mm|m)$/.test(entry.name)) {
|
|
21413
21638
|
const relative3 = `${prefix2}${entry.name}`;
|
|
21414
|
-
const file =
|
|
21415
|
-
if (
|
|
21639
|
+
const file = import_node_path26.default.join(projectRoot, relative3);
|
|
21640
|
+
if (import_node_fs23.default.existsSync(file)) files[relative3] = import_node_fs23.default.readFileSync(file, "utf8");
|
|
21416
21641
|
}
|
|
21417
21642
|
}
|
|
21418
21643
|
const identity = extractNativeAppIdentityFromFiles(
|
|
@@ -21429,41 +21654,41 @@ function readNativeAppIdentityFromSources(projectRoot, platform, parseInfoPlist,
|
|
|
21429
21654
|
function readAndroidNativeAppIdentity(projectRoot, androidMergedManifest) {
|
|
21430
21655
|
const files = {};
|
|
21431
21656
|
if (androidMergedManifest) {
|
|
21432
|
-
const file =
|
|
21433
|
-
if (!
|
|
21434
|
-
files[androidMergedManifest] =
|
|
21657
|
+
const file = import_node_path26.default.resolve(projectRoot, androidMergedManifest);
|
|
21658
|
+
if (!import_node_fs23.default.existsSync(file)) return null;
|
|
21659
|
+
files[androidMergedManifest] = import_node_fs23.default.readFileSync(file, "utf8");
|
|
21435
21660
|
} else {
|
|
21436
|
-
const androidRoot =
|
|
21437
|
-
if (!
|
|
21661
|
+
const androidRoot = import_node_path26.default.join(projectRoot, "android");
|
|
21662
|
+
if (!import_node_fs23.default.existsSync(androidRoot)) return null;
|
|
21438
21663
|
const collect = (directory) => {
|
|
21439
|
-
for (const entry of
|
|
21440
|
-
const file =
|
|
21664
|
+
for (const entry of import_node_fs23.default.readdirSync(directory, { withFileTypes: true })) {
|
|
21665
|
+
const file = import_node_path26.default.join(directory, entry.name);
|
|
21441
21666
|
if (entry.isDirectory()) collect(file);
|
|
21442
21667
|
else if (entry.isFile() && entry.name === "AndroidManifest.xml")
|
|
21443
|
-
files[
|
|
21668
|
+
files[import_node_path26.default.relative(projectRoot, file).split(import_node_path26.default.sep).join("/")] = import_node_fs23.default.readFileSync(file, "utf8");
|
|
21444
21669
|
}
|
|
21445
21670
|
};
|
|
21446
|
-
for (const module2 of
|
|
21671
|
+
for (const module2 of import_node_fs23.default.readdirSync(androidRoot, { withFileTypes: true })) {
|
|
21447
21672
|
if (!module2.isDirectory()) continue;
|
|
21448
|
-
const outputs =
|
|
21673
|
+
const outputs = import_node_path26.default.join(
|
|
21449
21674
|
androidRoot,
|
|
21450
21675
|
module2.name,
|
|
21451
21676
|
"build/intermediates/merged_manifests"
|
|
21452
21677
|
);
|
|
21453
|
-
if (
|
|
21678
|
+
if (import_node_fs23.default.existsSync(outputs)) collect(outputs);
|
|
21454
21679
|
}
|
|
21455
21680
|
}
|
|
21456
21681
|
for (const manifest of Object.keys(files)) {
|
|
21457
21682
|
const resourceDirectory = androidMergedResourceValuesDirectory(manifest);
|
|
21458
21683
|
if (!resourceDirectory) continue;
|
|
21459
|
-
const absolute =
|
|
21460
|
-
if (!
|
|
21461
|
-
for (const entry of
|
|
21684
|
+
const absolute = import_node_path26.default.resolve(projectRoot, resourceDirectory);
|
|
21685
|
+
if (!import_node_fs23.default.existsSync(absolute)) continue;
|
|
21686
|
+
for (const entry of import_node_fs23.default.readdirSync(absolute, { withFileTypes: true })) {
|
|
21462
21687
|
if (!entry.isDirectory() || !/^values(?:-|$)/.test(entry.name)) continue;
|
|
21463
|
-
for (const resource of
|
|
21688
|
+
for (const resource of import_node_fs23.default.readdirSync(import_node_path26.default.join(absolute, entry.name))) {
|
|
21464
21689
|
if (!resource.endsWith(".xml")) continue;
|
|
21465
21690
|
const file = `${resourceDirectory}/${entry.name}/${resource}`;
|
|
21466
|
-
files[file] =
|
|
21691
|
+
files[file] = import_node_fs23.default.readFileSync(import_node_path26.default.resolve(projectRoot, file), "utf8");
|
|
21467
21692
|
}
|
|
21468
21693
|
}
|
|
21469
21694
|
}
|
|
@@ -21480,7 +21705,7 @@ function readIosNativeAppIdentity(projectRoot, parseInfoPlist, iosTarget, enviro
|
|
|
21480
21705
|
const app = readIosAppTarget(projectRoot, iosTarget, environment);
|
|
21481
21706
|
if (!app) return null;
|
|
21482
21707
|
const identity = readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist);
|
|
21483
|
-
const projectManifestPath =
|
|
21708
|
+
const projectManifestPath = import_node_path26.default.join(projectRoot, "package.json");
|
|
21484
21709
|
const projectRequire = (0, import_node_module4.createRequire)(projectManifestPath);
|
|
21485
21710
|
let reanimatedManifestPath;
|
|
21486
21711
|
try {
|
|
@@ -21494,22 +21719,22 @@ function readIosNativeAppIdentity(projectRoot, parseInfoPlist, iosTarget, enviro
|
|
|
21494
21719
|
throw error;
|
|
21495
21720
|
}
|
|
21496
21721
|
const installedManifest = JSON.parse(
|
|
21497
|
-
|
|
21722
|
+
import_node_fs23.default.readFileSync(reanimatedManifestPath, "utf8")
|
|
21498
21723
|
);
|
|
21499
21724
|
const installedVersion = isRecord(installedManifest) ? nonEmptyString2(installedManifest.version) : void 0;
|
|
21500
21725
|
if (!installedVersion) throw new Error("Reanimated package version is malformed");
|
|
21501
21726
|
if (Number.parseInt(installedVersion, 10) < 4) return identity;
|
|
21502
21727
|
const defaults = JSON.parse(
|
|
21503
|
-
|
|
21504
|
-
|
|
21505
|
-
|
|
21728
|
+
import_node_fs23.default.readFileSync(
|
|
21729
|
+
import_node_path26.default.join(
|
|
21730
|
+
import_node_path26.default.dirname(reanimatedManifestPath),
|
|
21506
21731
|
"src/featureFlags/staticFlags.json"
|
|
21507
21732
|
),
|
|
21508
21733
|
"utf8"
|
|
21509
21734
|
)
|
|
21510
21735
|
);
|
|
21511
21736
|
if (!isRecord(defaults)) throw new Error("Reanimated static flags are malformed");
|
|
21512
|
-
const manifest = JSON.parse(
|
|
21737
|
+
const manifest = JSON.parse(import_node_fs23.default.readFileSync(projectManifestPath, "utf8"));
|
|
21513
21738
|
const reanimated = isRecord(manifest) ? manifest.reanimated : void 0;
|
|
21514
21739
|
const overrides = isRecord(reanimated) ? reanimated.staticFeatureFlags : void 0;
|
|
21515
21740
|
if (overrides !== void 0 && !isRecord(overrides)) {
|
|
@@ -21544,9 +21769,9 @@ function readIosAppTarget(projectRoot, iosTarget, environment) {
|
|
|
21544
21769
|
// src/native-firebase-config.ts
|
|
21545
21770
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
21546
21771
|
var import_node_child_process8 = require("node:child_process");
|
|
21547
|
-
var
|
|
21772
|
+
var import_node_fs24 = __toESM(require("node:fs"), 1);
|
|
21548
21773
|
var import_node_os5 = __toESM(require("node:os"), 1);
|
|
21549
|
-
var
|
|
21774
|
+
var import_node_path27 = __toESM(require("node:path"), 1);
|
|
21550
21775
|
init_is_record();
|
|
21551
21776
|
var EXPO_CONFIG_SCRIPT = `const { createRequire } = require('node:module');
|
|
21552
21777
|
const { writeFileSync } = require('node:fs');
|
|
@@ -21565,13 +21790,13 @@ const result = JSON.stringify(getConfig(root, { skipSDKVersionRequirement: true
|
|
|
21565
21790
|
if (Buffer.byteLength(result) > 1024 * 1024) throw new Error('Expo native configuration exceeds 1 MiB.');
|
|
21566
21791
|
writeFileSync(process.argv[2], result, { mode: 0o600 });`;
|
|
21567
21792
|
function hasExpoConfig(projectRoot) {
|
|
21568
|
-
const appJsonPath =
|
|
21569
|
-
const appJson =
|
|
21793
|
+
const appJsonPath = import_node_path27.default.join(projectRoot, "app.json");
|
|
21794
|
+
const appJson = import_node_fs24.default.existsSync(appJsonPath) ? JSON.parse(import_node_fs24.default.readFileSync(appJsonPath, "utf8")) : null;
|
|
21570
21795
|
const staticExpo = isRecord(appJson) && (isRecord(appJson.expo) || [appJson.ios, appJson.android].some(
|
|
21571
21796
|
(value) => isRecord(value) && typeof value.googleServicesFile === "string"
|
|
21572
21797
|
));
|
|
21573
21798
|
return staticExpo || ["app.config.js", "app.config.ts", "app.config.cjs", "app.config.mjs"].some(
|
|
21574
|
-
(name2) =>
|
|
21799
|
+
(name2) => import_node_fs24.default.existsSync(import_node_path27.default.join(projectRoot, name2))
|
|
21575
21800
|
);
|
|
21576
21801
|
}
|
|
21577
21802
|
function expoConfigArgs(projectRoot, resultPath) {
|
|
@@ -21579,22 +21804,22 @@ function expoConfigArgs(projectRoot, resultPath) {
|
|
|
21579
21804
|
"--input-type=commonjs",
|
|
21580
21805
|
"-e",
|
|
21581
21806
|
EXPO_CONFIG_SCRIPT,
|
|
21582
|
-
|
|
21807
|
+
import_node_path27.default.resolve(projectRoot),
|
|
21583
21808
|
resultPath
|
|
21584
21809
|
];
|
|
21585
21810
|
}
|
|
21586
21811
|
function readExpoConfigResult(resultPath, status, stderr) {
|
|
21587
21812
|
if (status !== 0)
|
|
21588
21813
|
throw new Error(stderr || "Expo native configuration evaluation failed.");
|
|
21589
|
-
const resolved = JSON.parse(
|
|
21814
|
+
const resolved = JSON.parse(import_node_fs24.default.readFileSync(resultPath, "utf8"));
|
|
21590
21815
|
if (!isRecord(resolved)) throw new Error("Expo native configuration is unavailable.");
|
|
21591
21816
|
return resolved;
|
|
21592
21817
|
}
|
|
21593
|
-
var resultDirectory = () =>
|
|
21818
|
+
var resultDirectory = () => import_node_fs24.default.mkdtempSync(import_node_path27.default.join(import_node_os5.default.tmpdir(), "peach-expo-config-"));
|
|
21594
21819
|
function readExpoConfig(projectRoot) {
|
|
21595
21820
|
if (!hasExpoConfig(projectRoot)) return {};
|
|
21596
21821
|
const directory = resultDirectory();
|
|
21597
|
-
const resultPath =
|
|
21822
|
+
const resultPath = import_node_path27.default.join(directory, "config.json");
|
|
21598
21823
|
try {
|
|
21599
21824
|
const child = (0, import_node_child_process8.spawnSync)("node", expoConfigArgs(projectRoot, resultPath), {
|
|
21600
21825
|
cwd: projectRoot,
|
|
@@ -21606,7 +21831,7 @@ function readExpoConfig(projectRoot) {
|
|
|
21606
21831
|
if (child.error) throw child.error;
|
|
21607
21832
|
return readExpoConfigResult(resultPath, child.status, child.stderr);
|
|
21608
21833
|
} finally {
|
|
21609
|
-
|
|
21834
|
+
import_node_fs24.default.rmSync(directory, { recursive: true, force: true });
|
|
21610
21835
|
}
|
|
21611
21836
|
}
|
|
21612
21837
|
function evaluateFirebaseGuard(header, resources) {
|
|
@@ -21628,7 +21853,7 @@ function evaluateFirebaseGuard(header, resources) {
|
|
|
21628
21853
|
}
|
|
21629
21854
|
clauses.push(condition.slice(start).trim());
|
|
21630
21855
|
const sources = resources.filter(
|
|
21631
|
-
(file) =>
|
|
21856
|
+
(file) => import_node_path27.default.basename(file) === "GoogleService-Info.plist"
|
|
21632
21857
|
);
|
|
21633
21858
|
const bound = /* @__PURE__ */ new Map();
|
|
21634
21859
|
for (const clause of clauses) {
|
|
@@ -21644,7 +21869,7 @@ function evaluateFirebaseGuard(header, resources) {
|
|
|
21644
21869
|
const dictionary = /^let\s+(\w+)\s*=\s*NSDictionary\s*\(\s*contentsOfFile:\s*(\w+)\s*\)$/.exec(clause);
|
|
21645
21870
|
if (dictionary && typeof bound.get(dictionary[2]) === "string") {
|
|
21646
21871
|
const parsed = parsePlistSource(
|
|
21647
|
-
|
|
21872
|
+
import_node_fs24.default.readFileSync(String(bound.get(dictionary[2])), "utf8")
|
|
21648
21873
|
);
|
|
21649
21874
|
if (!isRecord(parsed)) return false;
|
|
21650
21875
|
bound.set(dictionary[1], parsed);
|
|
@@ -21726,7 +21951,7 @@ function findDefaultConfigureCall(body, sources) {
|
|
|
21726
21951
|
const [, type, name2] = call;
|
|
21727
21952
|
for (const file of sources) {
|
|
21728
21953
|
if (!file.endsWith(".swift")) continue;
|
|
21729
|
-
const source = blankSwiftObjcLiterals(
|
|
21954
|
+
const source = blankSwiftObjcLiterals(import_node_fs24.default.readFileSync(file, "utf8"));
|
|
21730
21955
|
const declaration = new RegExp(
|
|
21731
21956
|
`\\b(?:enum|struct|class)\\s+${type}\\b[^{]*\\{`
|
|
21732
21957
|
).exec(source);
|
|
@@ -21748,10 +21973,10 @@ function readTargetGoogleServicesFile(projectRoot, xcodeproj, target, prepareGen
|
|
|
21748
21973
|
prepareGeneratedSources
|
|
21749
21974
|
});
|
|
21750
21975
|
const delegates = app.allSources.filter(
|
|
21751
|
-
(file) => /^AppDelegate\.(swift|mm|m)$/.test(
|
|
21976
|
+
(file) => /^AppDelegate\.(swift|mm|m)$/.test(import_node_path27.default.basename(file))
|
|
21752
21977
|
);
|
|
21753
21978
|
const defaultConfigured = delegates.some((file) => {
|
|
21754
|
-
const raw =
|
|
21979
|
+
const raw = import_node_fs24.default.readFileSync(file, "utf8");
|
|
21755
21980
|
const source = blankSwiftObjcLiterals(raw);
|
|
21756
21981
|
const launch = /(?:\bfunc\s+application\s*\([\s\S]*?didFinishLaunchingWithOptions[\s\S]*?\)\s*->\s*Bool|^-\s*\(BOOL\)\s*application\s*:[\s\S]*?didFinishLaunchingWithOptions[^{]*)\s*\{/m.exec(
|
|
21757
21982
|
source
|
|
@@ -21816,17 +22041,17 @@ function readTargetGoogleServicesFile(projectRoot, xcodeproj, target, prepareGen
|
|
|
21816
22041
|
return guarded;
|
|
21817
22042
|
});
|
|
21818
22043
|
if (!defaultConfigured) return null;
|
|
21819
|
-
const bundle =
|
|
22044
|
+
const bundle = import_node_path27.default.join(
|
|
21820
22045
|
app.settings("BUILT_PRODUCTS_DIR"),
|
|
21821
22046
|
app.settings("WRAPPER_NAME") || `${app.settings("PRODUCT_NAME")}.app`
|
|
21822
22047
|
);
|
|
21823
22048
|
const staged = app.copiedFiles.filter(
|
|
21824
|
-
({ from, to }) => to ===
|
|
21825
|
-
).map(({ from }) =>
|
|
22049
|
+
({ from, to }) => to === import_node_path27.default.join(bundle, "GoogleService-Info.plist") && import_node_fs24.default.existsSync(from)
|
|
22050
|
+
).map(({ from }) => import_node_fs24.default.realpathSync(from));
|
|
21826
22051
|
const resources = [
|
|
21827
22052
|
.../* @__PURE__ */ new Set([
|
|
21828
22053
|
...app.resources.filter(
|
|
21829
|
-
(file) => /^GoogleService-Info\.plist$/.test(
|
|
22054
|
+
(file) => /^GoogleService-Info\.plist$/.test(import_node_path27.default.basename(file))
|
|
21830
22055
|
),
|
|
21831
22056
|
...staged
|
|
21832
22057
|
])
|
|
@@ -21835,7 +22060,7 @@ function readTargetGoogleServicesFile(projectRoot, xcodeproj, target, prepareGen
|
|
|
21835
22060
|
throw new Error(
|
|
21836
22061
|
"native Firebase default initialization requires one GoogleService-Info.plist build resource"
|
|
21837
22062
|
);
|
|
21838
|
-
return
|
|
22063
|
+
return import_node_path27.default.relative(import_node_fs24.default.realpathSync(projectRoot), resources[0]);
|
|
21839
22064
|
}
|
|
21840
22065
|
function readNativeFirebaseConfig(projectRoot, platforms = ["ios", "android"], iosTarget, config = readExpoConfig(projectRoot), prepareGeneratedSources = false) {
|
|
21841
22066
|
const result = {};
|
|
@@ -21856,8 +22081,8 @@ function readNativeFirebaseConfig(projectRoot, platforms = ["ios", "android"], i
|
|
|
21856
22081
|
const native = config[platform];
|
|
21857
22082
|
if (!isRecord(native) || typeof native.googleServicesFile !== "string") continue;
|
|
21858
22083
|
try {
|
|
21859
|
-
const source =
|
|
21860
|
-
|
|
22084
|
+
const source = import_node_fs24.default.readFileSync(
|
|
22085
|
+
import_node_path27.default.resolve(projectRoot, native.googleServicesFile),
|
|
21861
22086
|
"utf8"
|
|
21862
22087
|
);
|
|
21863
22088
|
const parsed = platform === "ios" ? parsePlistSource(source) : JSON.parse(source);
|
|
@@ -22353,13 +22578,13 @@ var metro_plugin_default = withPeach;
|
|
|
22353
22578
|
|
|
22354
22579
|
// src/jump-to-source-babel.ts
|
|
22355
22580
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
22356
|
-
function normalizeSourcePath(
|
|
22357
|
-
const queryStart =
|
|
22358
|
-
const clean = queryStart >= 0 ?
|
|
22581
|
+
function normalizeSourcePath(path30) {
|
|
22582
|
+
const queryStart = path30.indexOf("?");
|
|
22583
|
+
const clean = queryStart >= 0 ? path30.slice(0, queryStart) : path30;
|
|
22359
22584
|
return clean.replace(/\\/g, "/");
|
|
22360
22585
|
}
|
|
22361
|
-
function matchesPath(
|
|
22362
|
-
return typeof matcher === "string" ?
|
|
22586
|
+
function matchesPath(path30, matcher) {
|
|
22587
|
+
return typeof matcher === "string" ? path30.includes(matcher) : matcher.test(path30);
|
|
22363
22588
|
}
|
|
22364
22589
|
function shouldStampFile(filename, options) {
|
|
22365
22590
|
const normalized = normalizeSourcePath(filename);
|
|
@@ -22379,11 +22604,11 @@ function sootsimJumpToSourceBabelPlugin(api, options = {}) {
|
|
|
22379
22604
|
name: "sootsim-jump-to-source",
|
|
22380
22605
|
visitor: {
|
|
22381
22606
|
JSXElement: {
|
|
22382
|
-
exit(
|
|
22607
|
+
exit(path30, state) {
|
|
22383
22608
|
if (options.enabled === false) return;
|
|
22384
22609
|
const filename = state.filename;
|
|
22385
22610
|
if (!filename || !shouldStampFile(filename, options)) return;
|
|
22386
|
-
const node =
|
|
22611
|
+
const node = path30.node;
|
|
22387
22612
|
if (stamped.has(node)) return;
|
|
22388
22613
|
stamped.add(node);
|
|
22389
22614
|
const opening = node.openingElement;
|
|
@@ -22402,12 +22627,12 @@ function sootsimJumpToSourceBabelPlugin(api, options = {}) {
|
|
|
22402
22627
|
);
|
|
22403
22628
|
return;
|
|
22404
22629
|
}
|
|
22405
|
-
const fn =
|
|
22630
|
+
const fn = path30.getFunctionParent();
|
|
22406
22631
|
const parameterDefault = Boolean(
|
|
22407
22632
|
fn && opening.start != null && fn.node.body.start != null && opening.start < fn.node.body.start
|
|
22408
22633
|
);
|
|
22409
|
-
const type =
|
|
22410
|
-
if (!parameterDefault)
|
|
22634
|
+
const type = path30.scope.generateUidIdentifier("PeachSourceType");
|
|
22635
|
+
if (!parameterDefault) path30.scope.push({ id: type });
|
|
22411
22636
|
function expression(tag) {
|
|
22412
22637
|
return t.isJSXIdentifier(tag) ? t.identifier(tag.name) : t.memberExpression(
|
|
22413
22638
|
expression(tag.object),
|
|
@@ -22442,10 +22667,10 @@ function sootsimJumpToSourceBabelPlugin(api, options = {}) {
|
|
|
22442
22667
|
),
|
|
22443
22668
|
node
|
|
22444
22669
|
);
|
|
22445
|
-
if (
|
|
22446
|
-
|
|
22670
|
+
if (path30.parentPath.isJSXElement() || path30.parentPath.isJSXFragment()) {
|
|
22671
|
+
path30.replaceWith(t.jsxExpressionContainer(replacement));
|
|
22447
22672
|
} else {
|
|
22448
|
-
|
|
22673
|
+
path30.replaceWith(replacement);
|
|
22449
22674
|
}
|
|
22450
22675
|
}
|
|
22451
22676
|
}
|