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/metro.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
|
|
|
@@ -1230,7 +1230,7 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
let resolvedTargetPath;
|
|
1232
1232
|
try {
|
|
1233
|
-
resolvedTargetPath = await
|
|
1233
|
+
resolvedTargetPath = await import_promises5.default.realpath(targetPath);
|
|
1234
1234
|
} catch (error) {
|
|
1235
1235
|
const message = error instanceof Error ? error.message : String(error);
|
|
1236
1236
|
res.writeHead(404, { "Content-Type": "text/plain; charset=utf-8" });
|
|
@@ -1238,7 +1238,7 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
|
|
|
1238
1238
|
return true;
|
|
1239
1239
|
}
|
|
1240
1240
|
if (servedRoots) {
|
|
1241
|
-
const realRoots = (await Promise.all(servedRoots.map((root) =>
|
|
1241
|
+
const realRoots = (await Promise.all(servedRoots.map((root) => import_promises5.default.realpath(root).catch(() => null)))).filter((root) => root !== null);
|
|
1242
1242
|
if (!isInsideAny(realRoots, resolvedTargetPath)) {
|
|
1243
1243
|
res.writeHead(403, { "Content-Type": "text/plain; charset=utf-8" });
|
|
1244
1244
|
res.end("replacement file must be inside a folder the bundler serves");
|
|
@@ -1248,7 +1248,7 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
|
|
|
1248
1248
|
try {
|
|
1249
1249
|
const compiled = compileReplacementModule({
|
|
1250
1250
|
filePath: resolvedTargetPath,
|
|
1251
|
-
source: await
|
|
1251
|
+
source: await import_promises5.default.readFile(resolvedTargetPath, "utf8"),
|
|
1252
1252
|
runtimePackages,
|
|
1253
1253
|
// the imported file's url is this request's with only its path changed,
|
|
1254
1254
|
// so the token, cache key and runtime packages carry over.
|
|
@@ -1274,13 +1274,13 @@ async function handleReplacementModuleRequest(req, res, options = {}) {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
return true;
|
|
1276
1276
|
}
|
|
1277
|
-
var import_node_fs9,
|
|
1277
|
+
var import_node_fs9, import_promises5, import_node_path9, REPLACEMENT_MODULE_ROUTE;
|
|
1278
1278
|
var init_replacement_module_handler = __esm({
|
|
1279
1279
|
"src/host/replacement-module-handler.ts"() {
|
|
1280
1280
|
"use strict";
|
|
1281
1281
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1282
1282
|
import_node_fs9 = require("node:fs");
|
|
1283
|
-
|
|
1283
|
+
import_promises5 = __toESM(require("node:fs/promises"), 1);
|
|
1284
1284
|
import_node_path9 = __toESM(require("node:path"), 1);
|
|
1285
1285
|
init_replacementModule();
|
|
1286
1286
|
init_backend_origin();
|
|
@@ -2457,22 +2457,22 @@ var init_kotlin_toolchain = __esm({
|
|
|
2457
2457
|
|
|
2458
2458
|
// src/swift-source-file.ts
|
|
2459
2459
|
function relativeInside(root, file) {
|
|
2460
|
-
const relative3 =
|
|
2461
|
-
return relative3 === ".." || relative3.startsWith(`..${
|
|
2460
|
+
const relative3 = import_node_path21.default.relative(root, file);
|
|
2461
|
+
return relative3 === ".." || relative3.startsWith(`..${import_node_path21.default.sep}`) || import_node_path21.default.isAbsolute(relative3) ? null : relative3;
|
|
2462
2462
|
}
|
|
2463
2463
|
function packageInputPath(canonicalRoot, file) {
|
|
2464
|
-
const canonicalFile =
|
|
2464
|
+
const canonicalFile = import_node_fs18.default.realpathSync(file);
|
|
2465
2465
|
if (relativeInside(canonicalRoot, canonicalFile) === null) {
|
|
2466
2466
|
throw new Error(`swift input escapes the selected package: ${file}`);
|
|
2467
2467
|
}
|
|
2468
2468
|
return canonicalFile;
|
|
2469
2469
|
}
|
|
2470
2470
|
function readPackageFile(root, file, maxBytes) {
|
|
2471
|
-
const canonicalFile = packageInputPath(
|
|
2472
|
-
const expected =
|
|
2473
|
-
const fd =
|
|
2471
|
+
const canonicalFile = packageInputPath(import_node_fs18.default.realpathSync(root), file);
|
|
2472
|
+
const expected = import_node_fs18.default.statSync(canonicalFile);
|
|
2473
|
+
const fd = import_node_fs18.default.openSync(canonicalFile, import_node_fs18.default.constants.O_RDONLY | import_node_fs18.default.constants.O_NOFOLLOW);
|
|
2474
2474
|
try {
|
|
2475
|
-
const stat =
|
|
2475
|
+
const stat = import_node_fs18.default.fstatSync(fd);
|
|
2476
2476
|
if (stat.dev !== expected.dev || stat.ino !== expected.ino) {
|
|
2477
2477
|
throw new Error(`swift input changed while opening: ${file}`);
|
|
2478
2478
|
}
|
|
@@ -2482,25 +2482,25 @@ function readPackageFile(root, file, maxBytes) {
|
|
|
2482
2482
|
const bytes = Buffer.alloc(stat.size + 1);
|
|
2483
2483
|
let offset = 0;
|
|
2484
2484
|
while (offset < bytes.length) {
|
|
2485
|
-
const count =
|
|
2485
|
+
const count = import_node_fs18.default.readSync(fd, bytes, offset, bytes.length - offset, null);
|
|
2486
2486
|
if (count === 0) break;
|
|
2487
2487
|
offset += count;
|
|
2488
2488
|
}
|
|
2489
|
-
if (offset !== stat.size ||
|
|
2489
|
+
if (offset !== stat.size || import_node_fs18.default.fstatSync(fd).size !== stat.size) {
|
|
2490
2490
|
throw new Error(`swift input changed while reading: ${file}`);
|
|
2491
2491
|
}
|
|
2492
2492
|
return bytes.subarray(0, offset);
|
|
2493
2493
|
} finally {
|
|
2494
|
-
|
|
2494
|
+
import_node_fs18.default.closeSync(fd);
|
|
2495
2495
|
}
|
|
2496
2496
|
}
|
|
2497
|
-
var
|
|
2497
|
+
var import_node_fs18, import_node_path21;
|
|
2498
2498
|
var init_swift_source_file = __esm({
|
|
2499
2499
|
"src/swift-source-file.ts"() {
|
|
2500
2500
|
"use strict";
|
|
2501
2501
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2502
|
-
|
|
2503
|
-
|
|
2502
|
+
import_node_fs18 = __toESM(require("node:fs"), 1);
|
|
2503
|
+
import_node_path21 = __toESM(require("node:path"), 1);
|
|
2504
2504
|
}
|
|
2505
2505
|
});
|
|
2506
2506
|
|
|
@@ -2615,19 +2615,19 @@ function readJson(root, relative3) {
|
|
|
2615
2615
|
return JSON.parse(
|
|
2616
2616
|
readPackageFile(
|
|
2617
2617
|
root,
|
|
2618
|
-
|
|
2618
|
+
import_node_path22.default.join(root, relative3),
|
|
2619
2619
|
MAX_SWIFT_COMPILE_SOURCE_BYTES
|
|
2620
2620
|
).toString("utf8")
|
|
2621
2621
|
);
|
|
2622
2622
|
}
|
|
2623
2623
|
function registrations(root) {
|
|
2624
|
-
const directory =
|
|
2625
|
-
const initializers =
|
|
2624
|
+
const directory = import_node_path22.default.join(root, "nitrogen/generated/ios");
|
|
2625
|
+
const initializers = import_node_fs19.default.readdirSync(directory).filter((file) => file.endsWith("Autolinking.mm"));
|
|
2626
2626
|
if (initializers.length !== 1)
|
|
2627
2627
|
throw new Error(`${root}: expected one generated Nitro iOS initializer`);
|
|
2628
2628
|
const source = readPackageFile(
|
|
2629
2629
|
root,
|
|
2630
|
-
|
|
2630
|
+
import_node_path22.default.join(directory, initializers[0]),
|
|
2631
2631
|
MAX_SWIFT_COMPILE_SOURCE_BYTES
|
|
2632
2632
|
).toString("utf8");
|
|
2633
2633
|
const namespaces = [
|
|
@@ -2690,18 +2690,18 @@ function registrations(root) {
|
|
|
2690
2690
|
if (new Set(classes.map(({ name: name2 }) => name2)).size !== classes.length)
|
|
2691
2691
|
throw new Error(`${root}: duplicate generated Nitro iOS registration`);
|
|
2692
2692
|
classes.sort((a, b) => a.name.localeCompare(b.name));
|
|
2693
|
-
const ios =
|
|
2694
|
-
if (swiftModule === null &&
|
|
2693
|
+
const ios = import_node_path22.default.join(root, "ios");
|
|
2694
|
+
if (swiftModule === null && import_node_fs19.default.existsSync(ios) && import_node_fs19.default.readdirSync(ios, { recursive: true, encoding: "utf8" }).some((file) => file.endsWith(".swift") && !file.startsWith("Tests")))
|
|
2695
2695
|
swiftModule = initializers[0].slice(0, -"Autolinking.mm".length);
|
|
2696
2696
|
return { namespace, swiftModule, classes, views: viewNames(root, classes) };
|
|
2697
2697
|
}
|
|
2698
2698
|
function viewNames(root, classes) {
|
|
2699
|
-
const directory =
|
|
2700
|
-
if (!
|
|
2699
|
+
const directory = import_node_path22.default.join(root, "nitrogen/generated/shared/json");
|
|
2700
|
+
if (!import_node_fs19.default.existsSync(directory)) return /* @__PURE__ */ new Set();
|
|
2701
2701
|
const views = /* @__PURE__ */ new Set();
|
|
2702
|
-
for (const file of
|
|
2702
|
+
for (const file of import_node_fs19.default.readdirSync(directory)) {
|
|
2703
2703
|
if (!file.endsWith("Config.json")) continue;
|
|
2704
|
-
const config = readJson(root,
|
|
2704
|
+
const config = readJson(root, import_node_path22.default.join("nitrogen/generated/shared/json", file));
|
|
2705
2705
|
const name2 = object(config) ? config.uiViewClassName : void 0;
|
|
2706
2706
|
if (typeof name2 === "string" && classes.some((entry) => entry.name === name2))
|
|
2707
2707
|
views.add(name2);
|
|
@@ -2709,22 +2709,22 @@ function viewNames(root, classes) {
|
|
|
2709
2709
|
return views;
|
|
2710
2710
|
}
|
|
2711
2711
|
function hasNitroIosInitializer(root) {
|
|
2712
|
-
const generated =
|
|
2713
|
-
return
|
|
2712
|
+
const generated = import_node_path22.default.join(root, "nitrogen/generated/ios");
|
|
2713
|
+
return import_node_fs19.default.existsSync(generated) && import_node_fs19.default.readdirSync(generated).some((file) => file.endsWith("Autolinking.mm"));
|
|
2714
2714
|
}
|
|
2715
2715
|
function nitroRegisteredNames(root) {
|
|
2716
2716
|
if (!hasNitroIosInitializer(root)) return null;
|
|
2717
2717
|
const { classes, views } = registrations(root);
|
|
2718
2718
|
return { names: classes.map(({ name: name2 }) => name2), views: [...views].sort() };
|
|
2719
2719
|
}
|
|
2720
|
-
var import_node_child_process8,
|
|
2720
|
+
var import_node_child_process8, import_node_fs19, import_node_path22, import_node_util6, run5;
|
|
2721
2721
|
var init_nitro_source = __esm({
|
|
2722
2722
|
"src/nitro-source.ts"() {
|
|
2723
2723
|
"use strict";
|
|
2724
2724
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
2725
2725
|
import_node_child_process8 = require("node:child_process");
|
|
2726
|
-
|
|
2727
|
-
|
|
2726
|
+
import_node_fs19 = __toESM(require("node:fs"), 1);
|
|
2727
|
+
import_node_path22 = __toESM(require("node:path"), 1);
|
|
2728
2728
|
import_node_util6 = require("node:util");
|
|
2729
2729
|
init_forked_script_contract();
|
|
2730
2730
|
init_nitro_dependencies();
|
|
@@ -2814,17 +2814,17 @@ function visit(node, visitor) {
|
|
|
2814
2814
|
} else
|
|
2815
2815
|
visit_(null, node, visitor_, Object.freeze([]));
|
|
2816
2816
|
}
|
|
2817
|
-
function visit_(key, node, visitor,
|
|
2818
|
-
const ctrl = callVisitor(key, node, visitor,
|
|
2817
|
+
function visit_(key, node, visitor, path25) {
|
|
2818
|
+
const ctrl = callVisitor(key, node, visitor, path25);
|
|
2819
2819
|
if (isNode(ctrl) || isPair(ctrl)) {
|
|
2820
|
-
replaceNode(key,
|
|
2821
|
-
return visit_(key, ctrl, visitor,
|
|
2820
|
+
replaceNode(key, path25, ctrl);
|
|
2821
|
+
return visit_(key, ctrl, visitor, path25);
|
|
2822
2822
|
}
|
|
2823
2823
|
if (typeof ctrl !== "symbol") {
|
|
2824
2824
|
if (isCollection(node)) {
|
|
2825
|
-
|
|
2825
|
+
path25 = Object.freeze(path25.concat(node));
|
|
2826
2826
|
for (let i = 0; i < node.items.length; ++i) {
|
|
2827
|
-
const ci = visit_(i, node.items[i], visitor,
|
|
2827
|
+
const ci = visit_(i, node.items[i], visitor, path25);
|
|
2828
2828
|
if (typeof ci === "number")
|
|
2829
2829
|
i = ci - 1;
|
|
2830
2830
|
else if (ci === BREAK)
|
|
@@ -2835,13 +2835,13 @@ function visit_(key, node, visitor, path24) {
|
|
|
2835
2835
|
}
|
|
2836
2836
|
}
|
|
2837
2837
|
} else if (isPair(node)) {
|
|
2838
|
-
|
|
2839
|
-
const ck = visit_("key", node.key, visitor,
|
|
2838
|
+
path25 = Object.freeze(path25.concat(node));
|
|
2839
|
+
const ck = visit_("key", node.key, visitor, path25);
|
|
2840
2840
|
if (ck === BREAK)
|
|
2841
2841
|
return BREAK;
|
|
2842
2842
|
else if (ck === REMOVE)
|
|
2843
2843
|
node.key = null;
|
|
2844
|
-
const cv = visit_("value", node.value, visitor,
|
|
2844
|
+
const cv = visit_("value", node.value, visitor, path25);
|
|
2845
2845
|
if (cv === BREAK)
|
|
2846
2846
|
return BREAK;
|
|
2847
2847
|
else if (cv === REMOVE)
|
|
@@ -2859,17 +2859,17 @@ async function visitAsync(node, visitor) {
|
|
|
2859
2859
|
} else
|
|
2860
2860
|
await visitAsync_(null, node, visitor_, Object.freeze([]));
|
|
2861
2861
|
}
|
|
2862
|
-
async function visitAsync_(key, node, visitor,
|
|
2863
|
-
const ctrl = await callVisitor(key, node, visitor,
|
|
2862
|
+
async function visitAsync_(key, node, visitor, path25) {
|
|
2863
|
+
const ctrl = await callVisitor(key, node, visitor, path25);
|
|
2864
2864
|
if (isNode(ctrl) || isPair(ctrl)) {
|
|
2865
|
-
replaceNode(key,
|
|
2866
|
-
return visitAsync_(key, ctrl, visitor,
|
|
2865
|
+
replaceNode(key, path25, ctrl);
|
|
2866
|
+
return visitAsync_(key, ctrl, visitor, path25);
|
|
2867
2867
|
}
|
|
2868
2868
|
if (typeof ctrl !== "symbol") {
|
|
2869
2869
|
if (isCollection(node)) {
|
|
2870
|
-
|
|
2870
|
+
path25 = Object.freeze(path25.concat(node));
|
|
2871
2871
|
for (let i = 0; i < node.items.length; ++i) {
|
|
2872
|
-
const ci = await visitAsync_(i, node.items[i], visitor,
|
|
2872
|
+
const ci = await visitAsync_(i, node.items[i], visitor, path25);
|
|
2873
2873
|
if (typeof ci === "number")
|
|
2874
2874
|
i = ci - 1;
|
|
2875
2875
|
else if (ci === BREAK)
|
|
@@ -2880,13 +2880,13 @@ async function visitAsync_(key, node, visitor, path24) {
|
|
|
2880
2880
|
}
|
|
2881
2881
|
}
|
|
2882
2882
|
} else if (isPair(node)) {
|
|
2883
|
-
|
|
2884
|
-
const ck = await visitAsync_("key", node.key, visitor,
|
|
2883
|
+
path25 = Object.freeze(path25.concat(node));
|
|
2884
|
+
const ck = await visitAsync_("key", node.key, visitor, path25);
|
|
2885
2885
|
if (ck === BREAK)
|
|
2886
2886
|
return BREAK;
|
|
2887
2887
|
else if (ck === REMOVE)
|
|
2888
2888
|
node.key = null;
|
|
2889
|
-
const cv = await visitAsync_("value", node.value, visitor,
|
|
2889
|
+
const cv = await visitAsync_("value", node.value, visitor, path25);
|
|
2890
2890
|
if (cv === BREAK)
|
|
2891
2891
|
return BREAK;
|
|
2892
2892
|
else if (cv === REMOVE)
|
|
@@ -2913,23 +2913,23 @@ function initVisitor(visitor) {
|
|
|
2913
2913
|
}
|
|
2914
2914
|
return visitor;
|
|
2915
2915
|
}
|
|
2916
|
-
function callVisitor(key, node, visitor,
|
|
2916
|
+
function callVisitor(key, node, visitor, path25) {
|
|
2917
2917
|
if (typeof visitor === "function")
|
|
2918
|
-
return visitor(key, node,
|
|
2918
|
+
return visitor(key, node, path25);
|
|
2919
2919
|
if (isMap(node))
|
|
2920
|
-
return visitor.Map?.(key, node,
|
|
2920
|
+
return visitor.Map?.(key, node, path25);
|
|
2921
2921
|
if (isSeq(node))
|
|
2922
|
-
return visitor.Seq?.(key, node,
|
|
2922
|
+
return visitor.Seq?.(key, node, path25);
|
|
2923
2923
|
if (isPair(node))
|
|
2924
|
-
return visitor.Pair?.(key, node,
|
|
2924
|
+
return visitor.Pair?.(key, node, path25);
|
|
2925
2925
|
if (isScalar(node))
|
|
2926
|
-
return visitor.Scalar?.(key, node,
|
|
2926
|
+
return visitor.Scalar?.(key, node, path25);
|
|
2927
2927
|
if (isAlias(node))
|
|
2928
|
-
return visitor.Alias?.(key, node,
|
|
2928
|
+
return visitor.Alias?.(key, node, path25);
|
|
2929
2929
|
return void 0;
|
|
2930
2930
|
}
|
|
2931
|
-
function replaceNode(key,
|
|
2932
|
-
const parent =
|
|
2931
|
+
function replaceNode(key, path25, node) {
|
|
2932
|
+
const parent = path25[path25.length - 1];
|
|
2933
2933
|
if (isCollection(parent)) {
|
|
2934
2934
|
parent.items[key] = node;
|
|
2935
2935
|
} else if (isPair(parent)) {
|
|
@@ -3489,10 +3489,10 @@ var init_createNode = __esm({
|
|
|
3489
3489
|
});
|
|
3490
3490
|
|
|
3491
3491
|
// ../../node_modules/yaml/browser/dist/nodes/Collection.js
|
|
3492
|
-
function collectionFromPath(schema4,
|
|
3492
|
+
function collectionFromPath(schema4, path25, value) {
|
|
3493
3493
|
let v = value;
|
|
3494
|
-
for (let i =
|
|
3495
|
-
const k =
|
|
3494
|
+
for (let i = path25.length - 1; i >= 0; --i) {
|
|
3495
|
+
const k = path25[i];
|
|
3496
3496
|
if (typeof k === "number" && Number.isInteger(k) && k >= 0) {
|
|
3497
3497
|
const a = [];
|
|
3498
3498
|
a[k] = v;
|
|
@@ -3518,7 +3518,7 @@ var init_Collection = __esm({
|
|
|
3518
3518
|
init_createNode();
|
|
3519
3519
|
init_identity();
|
|
3520
3520
|
init_Node();
|
|
3521
|
-
isEmptyPath = (
|
|
3521
|
+
isEmptyPath = (path25) => path25 == null || typeof path25 === "object" && !!path25[Symbol.iterator]().next().done;
|
|
3522
3522
|
Collection = class extends NodeBase {
|
|
3523
3523
|
constructor(type, schema4) {
|
|
3524
3524
|
super(type);
|
|
@@ -3548,11 +3548,11 @@ var init_Collection = __esm({
|
|
|
3548
3548
|
* be a Pair instance or a `{ key, value }` object, which may not have a key
|
|
3549
3549
|
* that already exists in the map.
|
|
3550
3550
|
*/
|
|
3551
|
-
addIn(
|
|
3552
|
-
if (isEmptyPath(
|
|
3551
|
+
addIn(path25, value) {
|
|
3552
|
+
if (isEmptyPath(path25))
|
|
3553
3553
|
this.add(value);
|
|
3554
3554
|
else {
|
|
3555
|
-
const [key, ...rest] =
|
|
3555
|
+
const [key, ...rest] = path25;
|
|
3556
3556
|
const node = this.get(key, true);
|
|
3557
3557
|
if (isCollection(node))
|
|
3558
3558
|
node.addIn(rest, value);
|
|
@@ -3566,8 +3566,8 @@ var init_Collection = __esm({
|
|
|
3566
3566
|
* Removes a value from the collection.
|
|
3567
3567
|
* @returns `true` if the item was found and removed.
|
|
3568
3568
|
*/
|
|
3569
|
-
deleteIn(
|
|
3570
|
-
const [key, ...rest] =
|
|
3569
|
+
deleteIn(path25) {
|
|
3570
|
+
const [key, ...rest] = path25;
|
|
3571
3571
|
if (rest.length === 0)
|
|
3572
3572
|
return this.delete(key);
|
|
3573
3573
|
const node = this.get(key, true);
|
|
@@ -3581,8 +3581,8 @@ var init_Collection = __esm({
|
|
|
3581
3581
|
* scalar values from their surrounding node; to disable set `keepScalar` to
|
|
3582
3582
|
* `true` (collections are always returned intact).
|
|
3583
3583
|
*/
|
|
3584
|
-
getIn(
|
|
3585
|
-
const [key, ...rest] =
|
|
3584
|
+
getIn(path25, keepScalar) {
|
|
3585
|
+
const [key, ...rest] = path25;
|
|
3586
3586
|
const node = this.get(key, true);
|
|
3587
3587
|
if (rest.length === 0)
|
|
3588
3588
|
return !keepScalar && isScalar(node) ? node.value : node;
|
|
@@ -3600,8 +3600,8 @@ var init_Collection = __esm({
|
|
|
3600
3600
|
/**
|
|
3601
3601
|
* Checks if the collection includes a value with the key `key`.
|
|
3602
3602
|
*/
|
|
3603
|
-
hasIn(
|
|
3604
|
-
const [key, ...rest] =
|
|
3603
|
+
hasIn(path25) {
|
|
3604
|
+
const [key, ...rest] = path25;
|
|
3605
3605
|
if (rest.length === 0)
|
|
3606
3606
|
return this.has(key);
|
|
3607
3607
|
const node = this.get(key, true);
|
|
@@ -3611,8 +3611,8 @@ var init_Collection = __esm({
|
|
|
3611
3611
|
* Sets a value in this collection. For `!!set`, `value` needs to be a
|
|
3612
3612
|
* boolean to add/remove the item from the set.
|
|
3613
3613
|
*/
|
|
3614
|
-
setIn(
|
|
3615
|
-
const [key, ...rest] =
|
|
3614
|
+
setIn(path25, value) {
|
|
3615
|
+
const [key, ...rest] = path25;
|
|
3616
3616
|
if (rest.length === 0) {
|
|
3617
3617
|
this.set(key, value);
|
|
3618
3618
|
} else {
|
|
@@ -5585,15 +5585,15 @@ function visit2(cst, visitor) {
|
|
|
5585
5585
|
cst = { start: cst.start, value: cst.value };
|
|
5586
5586
|
_visit(Object.freeze([]), cst, visitor);
|
|
5587
5587
|
}
|
|
5588
|
-
function _visit(
|
|
5589
|
-
let ctrl = visitor(item,
|
|
5588
|
+
function _visit(path25, item, visitor) {
|
|
5589
|
+
let ctrl = visitor(item, path25);
|
|
5590
5590
|
if (typeof ctrl === "symbol")
|
|
5591
5591
|
return ctrl;
|
|
5592
5592
|
for (const field of ["key", "value"]) {
|
|
5593
5593
|
const token = item[field];
|
|
5594
5594
|
if (token && "items" in token) {
|
|
5595
5595
|
for (let i = 0; i < token.items.length; ++i) {
|
|
5596
|
-
const ci = _visit(Object.freeze(
|
|
5596
|
+
const ci = _visit(Object.freeze(path25.concat([[field, i]])), token.items[i], visitor);
|
|
5597
5597
|
if (typeof ci === "number")
|
|
5598
5598
|
i = ci - 1;
|
|
5599
5599
|
else if (ci === BREAK2)
|
|
@@ -5604,10 +5604,10 @@ function _visit(path24, item, visitor) {
|
|
|
5604
5604
|
}
|
|
5605
5605
|
}
|
|
5606
5606
|
if (typeof ctrl === "function" && field === "key")
|
|
5607
|
-
ctrl = ctrl(item,
|
|
5607
|
+
ctrl = ctrl(item, path25);
|
|
5608
5608
|
}
|
|
5609
5609
|
}
|
|
5610
|
-
return typeof ctrl === "function" ? ctrl(item,
|
|
5610
|
+
return typeof ctrl === "function" ? ctrl(item, path25) : ctrl;
|
|
5611
5611
|
}
|
|
5612
5612
|
var BREAK2, SKIP2, REMOVE2;
|
|
5613
5613
|
var init_cst_visit = __esm({
|
|
@@ -5619,9 +5619,9 @@ var init_cst_visit = __esm({
|
|
|
5619
5619
|
visit2.BREAK = BREAK2;
|
|
5620
5620
|
visit2.SKIP = SKIP2;
|
|
5621
5621
|
visit2.REMOVE = REMOVE2;
|
|
5622
|
-
visit2.itemAtPath = (cst,
|
|
5622
|
+
visit2.itemAtPath = (cst, path25) => {
|
|
5623
5623
|
let item = cst;
|
|
5624
|
-
for (const [field, index] of
|
|
5624
|
+
for (const [field, index] of path25) {
|
|
5625
5625
|
const tok = item?.[field];
|
|
5626
5626
|
if (tok && "items" in tok) {
|
|
5627
5627
|
item = tok.items[index];
|
|
@@ -5630,9 +5630,9 @@ var init_cst_visit = __esm({
|
|
|
5630
5630
|
}
|
|
5631
5631
|
return item;
|
|
5632
5632
|
};
|
|
5633
|
-
visit2.parentCollection = (cst,
|
|
5634
|
-
const parent = visit2.itemAtPath(cst,
|
|
5635
|
-
const field =
|
|
5633
|
+
visit2.parentCollection = (cst, path25) => {
|
|
5634
|
+
const parent = visit2.itemAtPath(cst, path25.slice(0, -1));
|
|
5635
|
+
const field = path25[path25.length - 1][0];
|
|
5636
5636
|
const coll = parent?.[field];
|
|
5637
5637
|
if (coll && "items" in coll)
|
|
5638
5638
|
return coll;
|
|
@@ -5727,25 +5727,25 @@ var init_browser = __esm({
|
|
|
5727
5727
|
});
|
|
5728
5728
|
|
|
5729
5729
|
// cli/commands/nodeRepoFileReader.ts
|
|
5730
|
-
var
|
|
5730
|
+
var import_node_fs20, nodeRepoFileReader;
|
|
5731
5731
|
var init_nodeRepoFileReader = __esm({
|
|
5732
5732
|
"cli/commands/nodeRepoFileReader.ts"() {
|
|
5733
5733
|
"use strict";
|
|
5734
5734
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5735
|
-
|
|
5735
|
+
import_node_fs20 = require("node:fs");
|
|
5736
5736
|
nodeRepoFileReader = {
|
|
5737
|
-
exists:
|
|
5738
|
-
readText: (filePath) => (0,
|
|
5739
|
-
entries: (directory) => (0,
|
|
5737
|
+
exists: import_node_fs20.existsSync,
|
|
5738
|
+
readText: (filePath) => (0, import_node_fs20.readFileSync)(filePath, "utf8"),
|
|
5739
|
+
entries: (directory) => (0, import_node_fs20.readdirSync)(directory, { withFileTypes: true }).map((entry) => ({
|
|
5740
5740
|
name: entry.name,
|
|
5741
5741
|
directory: entry.isDirectory()
|
|
5742
5742
|
})),
|
|
5743
|
-
isDirectory: (filePath) => (0,
|
|
5743
|
+
isDirectory: (filePath) => (0, import_node_fs20.statSync)(filePath).isDirectory(),
|
|
5744
5744
|
readMetadata(filePath) {
|
|
5745
5745
|
try {
|
|
5746
|
-
const info = (0,
|
|
5746
|
+
const info = (0, import_node_fs20.lstatSync)(filePath);
|
|
5747
5747
|
if (!info.isFile() || info.size > 4 * 1024 * 1024) return null;
|
|
5748
|
-
return (0,
|
|
5748
|
+
return (0, import_node_fs20.readFileSync)(filePath, "utf8");
|
|
5749
5749
|
} catch {
|
|
5750
5750
|
return null;
|
|
5751
5751
|
}
|
|
@@ -5768,7 +5768,7 @@ function scanRepository(root) {
|
|
|
5768
5768
|
directories.push(next.dir);
|
|
5769
5769
|
let handle;
|
|
5770
5770
|
try {
|
|
5771
|
-
handle = (0,
|
|
5771
|
+
handle = (0, import_node_fs21.opendirSync)(next.dir);
|
|
5772
5772
|
} catch {
|
|
5773
5773
|
unreadable++;
|
|
5774
5774
|
continue;
|
|
@@ -5783,7 +5783,7 @@ function scanRepository(root) {
|
|
|
5783
5783
|
truncated = true;
|
|
5784
5784
|
continue;
|
|
5785
5785
|
}
|
|
5786
|
-
pending.push({ dir: (0,
|
|
5786
|
+
pending.push({ dir: (0, import_node_path23.join)(next.dir, entry.name), depth: next.depth + 1 });
|
|
5787
5787
|
}
|
|
5788
5788
|
} finally {
|
|
5789
5789
|
handle.closeSync();
|
|
@@ -5802,8 +5802,8 @@ function metadataValue(value, key) {
|
|
|
5802
5802
|
if (!value || typeof value !== "object") return void 0;
|
|
5803
5803
|
return Object.getOwnPropertyDescriptor(value, key)?.value;
|
|
5804
5804
|
}
|
|
5805
|
-
function readProjectJson(
|
|
5806
|
-
const text2 = readProjectMetadata(
|
|
5805
|
+
function readProjectJson(path25, files = nodeRepoFileReader) {
|
|
5806
|
+
const text2 = readProjectMetadata(path25, files);
|
|
5807
5807
|
if (text2 === null) return null;
|
|
5808
5808
|
try {
|
|
5809
5809
|
const value = JSON.parse(text2);
|
|
@@ -5813,7 +5813,7 @@ function readProjectJson(path24, files = nodeRepoFileReader) {
|
|
|
5813
5813
|
}
|
|
5814
5814
|
}
|
|
5815
5815
|
function readProjectManifest(dir, files = nodeRepoFileReader) {
|
|
5816
|
-
const parsed = readProjectJson((0,
|
|
5816
|
+
const parsed = readProjectJson((0, import_node_path23.join)(dir, "package.json"), files);
|
|
5817
5817
|
if (!parsed || typeof parsed !== "object") return null;
|
|
5818
5818
|
const record = (value) => {
|
|
5819
5819
|
if (!value || typeof value !== "object") return {};
|
|
@@ -5830,13 +5830,13 @@ function readProjectManifest(dir, files = nodeRepoFileReader) {
|
|
|
5830
5830
|
devDependencies: record(metadataValue(parsed, "devDependencies"))
|
|
5831
5831
|
};
|
|
5832
5832
|
}
|
|
5833
|
-
var
|
|
5833
|
+
var import_node_fs21, import_node_path23, import_json52, REPORT_SKIP_DIRS, PODFILE_NEW_ARCH_MARK, PODFILE_NEW_ARCH_RUBY;
|
|
5834
5834
|
var init_detect = __esm({
|
|
5835
5835
|
"cli/commands/detect.ts"() {
|
|
5836
5836
|
"use strict";
|
|
5837
5837
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
5838
|
-
|
|
5839
|
-
|
|
5838
|
+
import_node_fs21 = require("node:fs");
|
|
5839
|
+
import_node_path23 = require("node:path");
|
|
5840
5840
|
import_json52 = __toESM(require_lib(), 1);
|
|
5841
5841
|
init_browser();
|
|
5842
5842
|
init_nodeRepoFileReader();
|
|
@@ -5971,7 +5971,7 @@ function resolveAppStubs(appDir, config, configDir) {
|
|
|
5971
5971
|
const { modules, views, hybridObjects } = expandStubs(appDir, source);
|
|
5972
5972
|
assertRegisteredHybridObjects(appDir, source, hybridObjects);
|
|
5973
5973
|
for (const [name2, answer] of Object.entries(hybridObjects))
|
|
5974
|
-
nativeHybridObjects[name2] = answer === "unsupported" ? answer : { file: (0,
|
|
5974
|
+
nativeHybridObjects[name2] = answer === "unsupported" ? answer : { file: (0, import_node_path24.resolve)(source.baseDir, answer) };
|
|
5975
5975
|
for (const [name2, stub] of Object.entries(modules))
|
|
5976
5976
|
nativeModules[name2] = lowerStub(stub, source.baseDir);
|
|
5977
5977
|
for (const [name2, stub] of Object.entries(views))
|
|
@@ -6036,10 +6036,10 @@ function assertRegisteredHybridObjects(appDir, source, hybridObjects) {
|
|
|
6036
6036
|
);
|
|
6037
6037
|
}
|
|
6038
6038
|
function lowerStub(stub, baseDir) {
|
|
6039
|
-
return stub === "noop" ? stub : { file: (0,
|
|
6039
|
+
return stub === "noop" ? stub : { file: (0, import_node_path24.resolve)(baseDir, stub) };
|
|
6040
6040
|
}
|
|
6041
6041
|
function readPackageJson(dir) {
|
|
6042
|
-
const text2 = readSmallFile((0,
|
|
6042
|
+
const text2 = readSmallFile((0, import_node_path24.join)(dir, "package.json"));
|
|
6043
6043
|
if (!text2) return null;
|
|
6044
6044
|
try {
|
|
6045
6045
|
const parsed = JSON.parse(text2);
|
|
@@ -6051,9 +6051,9 @@ function readPackageJson(dir) {
|
|
|
6051
6051
|
function installedPackageDir(appDir, name2) {
|
|
6052
6052
|
let current = appDir;
|
|
6053
6053
|
while (true) {
|
|
6054
|
-
const dir = (0,
|
|
6055
|
-
if ((0,
|
|
6056
|
-
const parent = (0,
|
|
6054
|
+
const dir = (0, import_node_path24.join)(current, "node_modules", name2);
|
|
6055
|
+
if ((0, import_node_fs22.existsSync)((0, import_node_path24.join)(dir, "package.json"))) return (0, import_node_fs22.realpathSync)(dir);
|
|
6056
|
+
const parent = (0, import_node_path24.dirname)(current);
|
|
6057
6057
|
if (parent === current) return null;
|
|
6058
6058
|
current = parent;
|
|
6059
6059
|
}
|
|
@@ -6124,15 +6124,15 @@ function sourceNativeRequests(file, text2, includeLegacy = false) {
|
|
|
6124
6124
|
const first = node.arguments[0];
|
|
6125
6125
|
if (first?.type !== "Literal" || typeof first.value !== "string") return;
|
|
6126
6126
|
const callee = node.callee;
|
|
6127
|
-
const
|
|
6128
|
-
if (callee.type === "MemberExpression" && !callee.computed && nativeLookupName(callee.object) === "TurboModuleRegistry" && (
|
|
6127
|
+
const lookup2 = nativeLookupName(callee);
|
|
6128
|
+
if (callee.type === "MemberExpression" && !callee.computed && nativeLookupName(callee.object) === "TurboModuleRegistry" && (lookup2 === "get" || lookup2 === "getEnforcing")) {
|
|
6129
6129
|
add("module", first.value, node.start, false);
|
|
6130
|
-
} else if (
|
|
6131
|
-
if (["requireNativeModule", "requireOptionalNativeModule"].includes(
|
|
6132
|
-
add("module", first.value, node.start,
|
|
6133
|
-
else if (["requireNativeComponent", "codegenNativeComponent"].includes(
|
|
6130
|
+
} else if (lookup2) {
|
|
6131
|
+
if (["requireNativeModule", "requireOptionalNativeModule"].includes(lookup2))
|
|
6132
|
+
add("module", first.value, node.start, lookup2 === "requireOptionalNativeModule");
|
|
6133
|
+
else if (["requireNativeComponent", "codegenNativeComponent"].includes(lookup2))
|
|
6134
6134
|
add("view", first.value, node.start, false);
|
|
6135
|
-
else if (["requireNativeView", "requireNativeViewManager"].includes(
|
|
6135
|
+
else if (["requireNativeView", "requireNativeViewManager"].includes(lookup2)) {
|
|
6136
6136
|
const second = node.arguments[1];
|
|
6137
6137
|
const name2 = second?.type === "Literal" && typeof second.value === "string" ? `${first.value}_${second.value}` : first.value;
|
|
6138
6138
|
add("view", name2, node.start, false);
|
|
@@ -6157,7 +6157,7 @@ function mergeRequests(previous, next) {
|
|
|
6157
6157
|
function packageNativeRequests(dir) {
|
|
6158
6158
|
const found = /* @__PURE__ */ new Map();
|
|
6159
6159
|
const directories = scanRepository(dir).directories.filter((sub) => {
|
|
6160
|
-
const segments = (0,
|
|
6160
|
+
const segments = (0, import_node_path24.relative)(dir, sub).split("/");
|
|
6161
6161
|
return !NATIVE_SOURCE_DIRS.has(segments[0]) && !segments.some((segment) => PACKAGE_SKIP_DIRS.has(segment));
|
|
6162
6162
|
});
|
|
6163
6163
|
let files = 0;
|
|
@@ -6165,7 +6165,7 @@ function packageNativeRequests(dir) {
|
|
|
6165
6165
|
for (const name2 of listDir(sub)) {
|
|
6166
6166
|
if (!SOURCE_FILE.test(name2) || name2.endsWith(".d.ts") || files >= 2e3) continue;
|
|
6167
6167
|
files++;
|
|
6168
|
-
const file = (0,
|
|
6168
|
+
const file = (0, import_node_path24.join)(sub, name2);
|
|
6169
6169
|
const text2 = readSmallFile(file);
|
|
6170
6170
|
if (!text2) continue;
|
|
6171
6171
|
for (const { line: _line, ...request } of sourceNativeRequests(file, text2, true)) {
|
|
@@ -6283,27 +6283,27 @@ function wireSlotMigration(appDir, configPath, wire, kept = []) {
|
|
|
6283
6283
|
}
|
|
6284
6284
|
function listDir(dir) {
|
|
6285
6285
|
try {
|
|
6286
|
-
return (0,
|
|
6286
|
+
return (0, import_node_fs22.readdirSync)(dir);
|
|
6287
6287
|
} catch {
|
|
6288
6288
|
return [];
|
|
6289
6289
|
}
|
|
6290
6290
|
}
|
|
6291
6291
|
function readSmallFile(file) {
|
|
6292
6292
|
try {
|
|
6293
|
-
return (0,
|
|
6293
|
+
return (0, import_node_fs22.statSync)(file).size <= 1024 * 1024 ? (0, import_node_fs22.readFileSync)(file, "utf8") : null;
|
|
6294
6294
|
} catch {
|
|
6295
6295
|
return null;
|
|
6296
6296
|
}
|
|
6297
6297
|
}
|
|
6298
6298
|
function hasNativeCode(dir, platform) {
|
|
6299
|
-
const expoConfig = (0,
|
|
6299
|
+
const expoConfig = (0, import_node_path24.join)(dir, "expo-module.config.json");
|
|
6300
6300
|
const platforms = metadataValue(readProjectJson(expoConfig), "platforms");
|
|
6301
6301
|
if (Array.isArray(platforms))
|
|
6302
6302
|
return platforms.includes(platform) || platform === "ios" && platforms.includes("apple");
|
|
6303
|
-
if ([platform, "expo-module.config.json"].some((entry) => (0,
|
|
6303
|
+
if ([platform, "expo-module.config.json"].some((entry) => (0, import_node_fs22.existsSync)((0, import_node_path24.join)(dir, entry))))
|
|
6304
6304
|
return true;
|
|
6305
6305
|
if (listDir(dir).some((name2) => name2.endsWith(".podspec"))) return true;
|
|
6306
|
-
const manifest = readSmallFile((0,
|
|
6306
|
+
const manifest = readSmallFile((0, import_node_path24.join)(dir, "package.json"));
|
|
6307
6307
|
return manifest !== null && manifest.includes('"codegenConfig"');
|
|
6308
6308
|
}
|
|
6309
6309
|
function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__PURE__ */ new Set(), includeLegacy = false, providers) {
|
|
@@ -6316,7 +6316,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6316
6316
|
(excluded) => dir === excluded || dir.startsWith(`${excluded}/`)
|
|
6317
6317
|
))
|
|
6318
6318
|
continue;
|
|
6319
|
-
if ((0,
|
|
6319
|
+
if ((0, import_node_fs22.existsSync)((0, import_node_path24.join)(dir, "expo-module.config.json"))) {
|
|
6320
6320
|
if (platform && !hasNativeCode(dir, platform)) {
|
|
6321
6321
|
excludedModuleDirs.push(dir);
|
|
6322
6322
|
continue;
|
|
@@ -6325,7 +6325,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6325
6325
|
}
|
|
6326
6326
|
for (const name2 of listDir(dir)) {
|
|
6327
6327
|
if (SOURCE_FILE.test(name2) && !name2.endsWith(".d.ts"))
|
|
6328
|
-
sourceFiles.push((0,
|
|
6328
|
+
sourceFiles.push((0, import_node_path24.join)(dir, name2));
|
|
6329
6329
|
}
|
|
6330
6330
|
}
|
|
6331
6331
|
}
|
|
@@ -6335,7 +6335,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6335
6335
|
scanRepository(dir).directories.flatMap(
|
|
6336
6336
|
(sub) => listDir(sub).filter(
|
|
6337
6337
|
(name2) => NATIVE_SOURCE_FILE.test(name2) && (!platform || (platform === "ios" ? name2.endsWith(".swift") : name2.endsWith(".kt")))
|
|
6338
|
-
).map((name2) => (0,
|
|
6338
|
+
).map((name2) => (0, import_node_path24.join)(sub, name2))
|
|
6339
6339
|
)
|
|
6340
6340
|
])
|
|
6341
6341
|
);
|
|
@@ -6344,7 +6344,7 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6344
6344
|
const known = owners.get(dir);
|
|
6345
6345
|
if (known) return known;
|
|
6346
6346
|
const name2 = readPackageJson(dir)?.name;
|
|
6347
|
-
const parent = (0,
|
|
6347
|
+
const parent = (0, import_node_path24.dirname)(dir);
|
|
6348
6348
|
const result = typeof name2 === "string" ? name2 : parent === dir ? pkg.name ?? "app" : owner(parent);
|
|
6349
6349
|
owners.set(dir, result);
|
|
6350
6350
|
return result;
|
|
@@ -6358,25 +6358,25 @@ function scanLocalNative(appDir, pkg, answered, platform, knownPackages = /* @__
|
|
|
6358
6358
|
else {
|
|
6359
6359
|
const moduleDir2 = expoModuleDirs.find((dir) => file.startsWith(`${dir}/`));
|
|
6360
6360
|
if (moduleDir2 && (file.endsWith(".swift") || !known.expoModule)) {
|
|
6361
|
-
known.expoModule = (0,
|
|
6361
|
+
known.expoModule = (0, import_node_path24.relative)(appDir, moduleDir2) || ".";
|
|
6362
6362
|
known.swift = file.endsWith(".swift");
|
|
6363
6363
|
}
|
|
6364
6364
|
}
|
|
6365
6365
|
return;
|
|
6366
6366
|
}
|
|
6367
6367
|
providers ??= dependencyNativeOwners(appDir, pkg);
|
|
6368
|
-
const packageName = providers.get(key) ?? owner((0,
|
|
6368
|
+
const packageName = providers.get(key) ?? owner((0, import_node_path24.dirname)(file));
|
|
6369
6369
|
if (knownPackages.has(packageName)) return;
|
|
6370
6370
|
const moduleDir = expoModuleDirs.find((dir) => file.startsWith(`${dir}/`)) ?? null;
|
|
6371
6371
|
found.set(key, {
|
|
6372
6372
|
kind,
|
|
6373
6373
|
name: name2,
|
|
6374
6374
|
package: packageName,
|
|
6375
|
-
path: `${(0,
|
|
6376
|
-
expoModule: moduleDir ? (0,
|
|
6375
|
+
path: `${(0, import_node_path24.relative)(appDir, file)}:${line}`,
|
|
6376
|
+
expoModule: moduleDir ? (0, import_node_path24.relative)(appDir, moduleDir) || "." : null,
|
|
6377
6377
|
optional,
|
|
6378
6378
|
swift: moduleDir ? (nativeFilesByModule.get(moduleDir) ?? []).some(
|
|
6379
|
-
(
|
|
6379
|
+
(path25) => path25.endsWith(".swift") && [...(readSmallFile(path25) ?? "").matchAll(/\bName\(\s*"(\w+)"\s*\)/g)].some(
|
|
6380
6380
|
(match) => match[1] === name2
|
|
6381
6381
|
)
|
|
6382
6382
|
) : false,
|
|
@@ -6424,30 +6424,30 @@ function workspacePackageDirs(appDir, pkg) {
|
|
|
6424
6424
|
for (const name2 of Object.keys({ ...pkg.dependencies, ...pkg.devDependencies })) {
|
|
6425
6425
|
let current = appDir;
|
|
6426
6426
|
while (true) {
|
|
6427
|
-
const link = (0,
|
|
6428
|
-
if ((0,
|
|
6429
|
-
if ((0,
|
|
6430
|
-
const target = (0,
|
|
6427
|
+
const link = (0, import_node_path24.join)(current, "node_modules", name2);
|
|
6428
|
+
if ((0, import_node_fs22.existsSync)(link)) {
|
|
6429
|
+
if ((0, import_node_fs22.lstatSync)(link).isSymbolicLink()) {
|
|
6430
|
+
const target = (0, import_node_fs22.realpathSync)(link);
|
|
6431
6431
|
if (!target.split("/").includes("node_modules") && !target.startsWith(`${appDir}/`)) {
|
|
6432
6432
|
dirs.add(target);
|
|
6433
6433
|
}
|
|
6434
6434
|
}
|
|
6435
6435
|
break;
|
|
6436
6436
|
}
|
|
6437
|
-
const parent = (0,
|
|
6437
|
+
const parent = (0, import_node_path24.dirname)(current);
|
|
6438
6438
|
if (parent === current) break;
|
|
6439
6439
|
current = parent;
|
|
6440
6440
|
}
|
|
6441
6441
|
}
|
|
6442
6442
|
return [...dirs];
|
|
6443
6443
|
}
|
|
6444
|
-
var
|
|
6444
|
+
var import_node_fs22, import_node_path24, import_oxc_parser2, import_sucrase, SOURCE_FILE, NATIVE_LOOKUP, NATIVE_SOURCE_DIRS, PACKAGE_SKIP_DIRS, NATIVE_SOURCE_FILE;
|
|
6445
6445
|
var init_app_stubs = __esm({
|
|
6446
6446
|
"cli/app-stubs.ts"() {
|
|
6447
6447
|
"use strict";
|
|
6448
6448
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
6449
|
-
|
|
6450
|
-
|
|
6449
|
+
import_node_fs22 = require("node:fs");
|
|
6450
|
+
import_node_path24 = require("node:path");
|
|
6451
6451
|
init_version_range();
|
|
6452
6452
|
import_oxc_parser2 = require("oxc-parser");
|
|
6453
6453
|
import_sucrase = require("sucrase");
|
|
@@ -6483,12 +6483,12 @@ function resolveFileEntries(entries, configDir) {
|
|
|
6483
6483
|
return Object.fromEntries(
|
|
6484
6484
|
Object.entries(entries).map(([name2, resolution]) => [
|
|
6485
6485
|
name2,
|
|
6486
|
-
resolution && typeof resolution === "object" && "file" in resolution && typeof resolution.file === "string" ? { ...resolution, file:
|
|
6486
|
+
resolution && typeof resolution === "object" && "file" in resolution && typeof resolution.file === "string" ? { ...resolution, file: import_node_path25.default.resolve(configDir, resolution.file) } : resolution
|
|
6487
6487
|
])
|
|
6488
6488
|
);
|
|
6489
6489
|
}
|
|
6490
6490
|
function resolveConfigReplacementFiles(config, configPath) {
|
|
6491
|
-
const configDir =
|
|
6491
|
+
const configDir = import_node_path25.default.dirname(configPath);
|
|
6492
6492
|
return {
|
|
6493
6493
|
...config,
|
|
6494
6494
|
modules: resolveFileEntries(config.modules, configDir)
|
|
@@ -6504,7 +6504,7 @@ async function loadRNXAppStubs(project) {
|
|
|
6504
6504
|
return resolveAppStubs(
|
|
6505
6505
|
project.appDir,
|
|
6506
6506
|
config,
|
|
6507
|
-
project.configPath ?
|
|
6507
|
+
project.configPath ? import_node_path25.default.dirname(project.configPath) : project.appDir
|
|
6508
6508
|
);
|
|
6509
6509
|
} catch (error) {
|
|
6510
6510
|
const message = error instanceof Error ? error.message : String(error);
|
|
@@ -6523,7 +6523,7 @@ async function loadConfigFile(project) {
|
|
|
6523
6523
|
[`${rnxPublicBrand.packageName}/config`]: config_exports
|
|
6524
6524
|
}
|
|
6525
6525
|
});
|
|
6526
|
-
const loaded3 = project.configPath.endsWith(".json") ? JSON.parse((0,
|
|
6526
|
+
const loaded3 = project.configPath.endsWith(".json") ? JSON.parse((0, import_node_fs23.readFileSync)(project.configPath, "utf8")) : await jiti.import(project.configPath, { default: true });
|
|
6527
6527
|
if (!isPeachConfig(loaded3)) {
|
|
6528
6528
|
throw new Error("the default export must be a peach config object");
|
|
6529
6529
|
}
|
|
@@ -6559,13 +6559,13 @@ async function resolveRNXAppConfig(startDir = process.cwd()) {
|
|
|
6559
6559
|
const project = resolveAppProject(startDir);
|
|
6560
6560
|
return { project, ...await loadRNXAppStubs(project) };
|
|
6561
6561
|
}
|
|
6562
|
-
var
|
|
6562
|
+
var import_node_fs23, import_node_path25, import_jiti, WIRE_SLOTS;
|
|
6563
6563
|
var init_app_config = __esm({
|
|
6564
6564
|
"cli/app-config.ts"() {
|
|
6565
6565
|
"use strict";
|
|
6566
6566
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
6567
|
-
|
|
6568
|
-
|
|
6567
|
+
import_node_fs23 = require("node:fs");
|
|
6568
|
+
import_node_path25 = __toESM(require("node:path"), 1);
|
|
6569
6569
|
import_jiti = require("jiti");
|
|
6570
6570
|
init_config();
|
|
6571
6571
|
init_config();
|
|
@@ -6665,14 +6665,14 @@ async function produceConfiguredBundle(source, config, runtimePackages) {
|
|
|
6665
6665
|
const neededPackages = /* @__PURE__ */ new Set();
|
|
6666
6666
|
const factories = [];
|
|
6667
6667
|
const visit3 = (filePath) => {
|
|
6668
|
-
const real =
|
|
6668
|
+
const real = import_node_fs24.default.realpathSync(filePath);
|
|
6669
6669
|
const previous = files.get(real);
|
|
6670
6670
|
if (previous !== void 0) return previous;
|
|
6671
6671
|
const id = "peach-config-file:" + files.size;
|
|
6672
6672
|
files.set(real, id);
|
|
6673
6673
|
const compiled = compileReplacementModule({
|
|
6674
6674
|
filePath: real,
|
|
6675
|
-
source:
|
|
6675
|
+
source: import_node_fs24.default.readFileSync(real, "utf8"),
|
|
6676
6676
|
runtimePackages,
|
|
6677
6677
|
localModuleUrl: (specifier) => visit3(resolveReplacementModuleFile(real, specifier))
|
|
6678
6678
|
});
|
|
@@ -6696,7 +6696,7 @@ async function produceConfiguredBundle(source, config, runtimePackages) {
|
|
|
6696
6696
|
if (!entries || typeof entries !== "object") continue;
|
|
6697
6697
|
for (const resolution of Object.values(entries)) {
|
|
6698
6698
|
if (resolution && typeof resolution === "object" && "file" in resolution && typeof resolution.file === "string") {
|
|
6699
|
-
resolution.file = visit3(
|
|
6699
|
+
resolution.file = visit3(import_node_path26.default.resolve(resolution.file));
|
|
6700
6700
|
}
|
|
6701
6701
|
}
|
|
6702
6702
|
}
|
|
@@ -6720,13 +6720,13 @@ async function produceConfiguredBundle(source, config, runtimePackages) {
|
|
|
6720
6720
|
const identityStart = findBundleFooter(source, "globalThis.__sootsimModulePaths=");
|
|
6721
6721
|
return prefix2 + (identityStart < 0 ? source + footer : source.slice(0, identityStart) + footer + source.slice(identityStart));
|
|
6722
6722
|
}
|
|
6723
|
-
var
|
|
6723
|
+
var import_node_fs24, import_node_path26, import_sucrase2, import_terser, PREFIX_START, PREFIX_END;
|
|
6724
6724
|
var init_configured_bundle_producer = __esm({
|
|
6725
6725
|
"src/configured-bundle-producer.ts"() {
|
|
6726
6726
|
"use strict";
|
|
6727
6727
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
6728
|
-
|
|
6729
|
-
|
|
6728
|
+
import_node_fs24 = __toESM(require("node:fs"), 1);
|
|
6729
|
+
import_node_path26 = __toESM(require("node:path"), 1);
|
|
6730
6730
|
import_sucrase2 = require("sucrase");
|
|
6731
6731
|
import_terser = require("terser");
|
|
6732
6732
|
init_dependencies();
|
|
@@ -7024,7 +7024,7 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
7024
7024
|
var import_http = __toESM(require("http"), 1);
|
|
7025
7025
|
var import_https = __toESM(require("https"), 1);
|
|
7026
7026
|
var import_node_http2 = require("node:http2");
|
|
7027
|
-
var
|
|
7027
|
+
var import_promises4 = require("stream/promises");
|
|
7028
7028
|
init_backend_origin();
|
|
7029
7029
|
|
|
7030
7030
|
// src/packageVersionsContract.ts
|
|
@@ -11016,33 +11016,9 @@ function nodeRequestHeaderEntries(headers) {
|
|
|
11016
11016
|
return entries;
|
|
11017
11017
|
}
|
|
11018
11018
|
|
|
11019
|
-
// src/host/
|
|
11019
|
+
// src/host/hostname-resolver.ts
|
|
11020
11020
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
11021
|
-
|
|
11022
|
-
var LOOPBACK_PORTS = /* @__PURE__ */ new Map();
|
|
11023
|
-
for (const pair of process.env.PEACH_LOOPBACK_PORTS?.split(",").filter(Boolean) ?? []) {
|
|
11024
|
-
const match = /^\s*([1-9][0-9]{0,4}):([1-9][0-9]{0,4})\s*$/.exec(pair);
|
|
11025
|
-
const from = Number(match?.[1]);
|
|
11026
|
-
const to = Number(match?.[2]);
|
|
11027
|
-
if (!match || from > 65535 || to > 65535 || LOOPBACK_PORTS.has(from)) {
|
|
11028
|
-
throw new Error(`PEACH_LOOPBACK_PORTS has an invalid entry: ${JSON.stringify(pair)}`);
|
|
11029
|
-
}
|
|
11030
|
-
LOOPBACK_PORTS.set(from, to);
|
|
11031
|
-
}
|
|
11032
|
-
function projectLoopbackPort(hostname, port) {
|
|
11033
|
-
return isLoopbackHost(hostname) ? LOOPBACK_PORTS.get(port) ?? port : port;
|
|
11034
|
-
}
|
|
11035
|
-
function projectLoopbackUrl(value) {
|
|
11036
|
-
if (LOOPBACK_PORTS.size === 0) return value;
|
|
11037
|
-
const url = new URL(value);
|
|
11038
|
-
const port = Number(
|
|
11039
|
-
url.port || (url.protocol === "https:" || url.protocol === "wss:" ? 443 : 80)
|
|
11040
|
-
);
|
|
11041
|
-
const projected = projectLoopbackPort(url.hostname, port);
|
|
11042
|
-
if (projected === port) return value;
|
|
11043
|
-
url.port = String(projected);
|
|
11044
|
-
return url.href;
|
|
11045
|
-
}
|
|
11021
|
+
var import_promises2 = require("node:dns/promises");
|
|
11046
11022
|
|
|
11047
11023
|
// src/host/network-policy.ts
|
|
11048
11024
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -11067,6 +11043,8 @@ function describeEvent(event) {
|
|
|
11067
11043
|
return `tcp ${event.host}:${event.port}`;
|
|
11068
11044
|
case "tunnel":
|
|
11069
11045
|
return `tunnel ${event.host}:${event.port}`;
|
|
11046
|
+
case "dns":
|
|
11047
|
+
return `dns ${event.host}`;
|
|
11070
11048
|
}
|
|
11071
11049
|
}
|
|
11072
11050
|
function createNetworkAuthorizer(policy) {
|
|
@@ -11115,10 +11093,75 @@ var authorizeNetwork = createNetworkAuthorizer(
|
|
|
11115
11093
|
policyFile === null ? null : loadNetworkPolicy(policyFile)
|
|
11116
11094
|
);
|
|
11117
11095
|
|
|
11096
|
+
// src/host/hostname-resolver.ts
|
|
11097
|
+
function isHostnameResolutionRequest(rawUrl) {
|
|
11098
|
+
return rawUrl?.startsWith("/__peach-resolve-host?") ?? false;
|
|
11099
|
+
}
|
|
11100
|
+
async function handleHostnameResolutionRequest(req, res) {
|
|
11101
|
+
const host2 = new URL(req.url ?? "", "http://localhost").searchParams.get("name");
|
|
11102
|
+
if (req.method !== "GET" || !host2) {
|
|
11103
|
+
res.statusCode = 400;
|
|
11104
|
+
res.end();
|
|
11105
|
+
return;
|
|
11106
|
+
}
|
|
11107
|
+
if (!await authorizeNetwork({ kind: "dns", host: host2 })) {
|
|
11108
|
+
res.statusCode = 403;
|
|
11109
|
+
res.end();
|
|
11110
|
+
return;
|
|
11111
|
+
}
|
|
11112
|
+
let resolved;
|
|
11113
|
+
try {
|
|
11114
|
+
await (0, import_promises2.lookup)(host2);
|
|
11115
|
+
resolved = true;
|
|
11116
|
+
} catch (error) {
|
|
11117
|
+
const code = error instanceof Error ? Reflect.get(error, "code") : null;
|
|
11118
|
+
if (code !== "ENOTFOUND" && code !== "EINVAL" && code !== "ERR_INVALID_ARG_VALUE") {
|
|
11119
|
+
res.statusCode = 503;
|
|
11120
|
+
res.end();
|
|
11121
|
+
return;
|
|
11122
|
+
}
|
|
11123
|
+
resolved = false;
|
|
11124
|
+
}
|
|
11125
|
+
res.statusCode = 200;
|
|
11126
|
+
res.setHeader("content-type", "application/json");
|
|
11127
|
+
res.setHeader("cache-control", "no-store");
|
|
11128
|
+
res.setHeader("access-control-allow-origin", req.headers.origin || "*");
|
|
11129
|
+
res.setHeader("cross-origin-resource-policy", "cross-origin");
|
|
11130
|
+
res.end(JSON.stringify(resolved));
|
|
11131
|
+
}
|
|
11132
|
+
|
|
11133
|
+
// src/host/loopback-ports.ts
|
|
11134
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
11135
|
+
init_backend_origin();
|
|
11136
|
+
var LOOPBACK_PORTS = /* @__PURE__ */ new Map();
|
|
11137
|
+
for (const pair of process.env.PEACH_LOOPBACK_PORTS?.split(",").filter(Boolean) ?? []) {
|
|
11138
|
+
const match = /^\s*([1-9][0-9]{0,4}):([1-9][0-9]{0,4})\s*$/.exec(pair);
|
|
11139
|
+
const from = Number(match?.[1]);
|
|
11140
|
+
const to = Number(match?.[2]);
|
|
11141
|
+
if (!match || from > 65535 || to > 65535 || LOOPBACK_PORTS.has(from)) {
|
|
11142
|
+
throw new Error(`PEACH_LOOPBACK_PORTS has an invalid entry: ${JSON.stringify(pair)}`);
|
|
11143
|
+
}
|
|
11144
|
+
LOOPBACK_PORTS.set(from, to);
|
|
11145
|
+
}
|
|
11146
|
+
function projectLoopbackPort(hostname, port) {
|
|
11147
|
+
return isLoopbackHost(hostname) ? LOOPBACK_PORTS.get(port) ?? port : port;
|
|
11148
|
+
}
|
|
11149
|
+
function projectLoopbackUrl(value) {
|
|
11150
|
+
if (LOOPBACK_PORTS.size === 0) return value;
|
|
11151
|
+
const url = new URL(value);
|
|
11152
|
+
const port = Number(
|
|
11153
|
+
url.port || (url.protocol === "https:" || url.protocol === "wss:" ? 443 : 80)
|
|
11154
|
+
);
|
|
11155
|
+
const projected = projectLoopbackPort(url.hostname, port);
|
|
11156
|
+
if (projected === port) return value;
|
|
11157
|
+
url.port = String(projected);
|
|
11158
|
+
return url.href;
|
|
11159
|
+
}
|
|
11160
|
+
|
|
11118
11161
|
// src/host/rolldown-bundle-forward.ts
|
|
11119
11162
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
11120
11163
|
var import_stream = require("stream");
|
|
11121
|
-
var
|
|
11164
|
+
var import_promises3 = require("stream/promises");
|
|
11122
11165
|
|
|
11123
11166
|
// src/cli-runtime.ts
|
|
11124
11167
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -11128,7 +11171,7 @@ var import_node_module2 = require("node:module");
|
|
|
11128
11171
|
var import_node_path8 = require("node:path");
|
|
11129
11172
|
|
|
11130
11173
|
// runtime-companion.json
|
|
11131
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
11174
|
+
var runtime_companion_default = { abi: 1, sha256: "b75c5cdfbd95172e0c2434d6acfda5bc5940f1960123f07cdee4ad9a17b274f3", file: "node/cli-b75c5cdfbd95172e0c2434d6acfda5bc5940f1960123f07cdee4ad9a17b274f3.cjs" };
|
|
11132
11175
|
|
|
11133
11176
|
// src/runtime-assets.ts
|
|
11134
11177
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -11401,7 +11444,7 @@ var ROLLDOWN_INVENTORY_HEADER = "x-peach-rolldown-inventory";
|
|
|
11401
11444
|
async function forwardRolldownBundleResponse(upstream, res) {
|
|
11402
11445
|
res.setHeader(ROLLDOWN_INVENTORY_HEADER, "1");
|
|
11403
11446
|
if (upstream.headers[ROLLDOWN_INVENTORY_HEADER] === "1") {
|
|
11404
|
-
await (0,
|
|
11447
|
+
await (0, import_promises3.pipeline)(upstream, res);
|
|
11405
11448
|
return;
|
|
11406
11449
|
}
|
|
11407
11450
|
const contentType = typeof upstream.headers["content-type"] === "string" ? upstream.headers["content-type"] : "";
|
|
@@ -11443,7 +11486,7 @@ async function forwardRolldownBundleResponse(upstream, res) {
|
|
|
11443
11486
|
}
|
|
11444
11487
|
yield Buffer.from(annotated.slice(sent), "utf8");
|
|
11445
11488
|
};
|
|
11446
|
-
await (0,
|
|
11489
|
+
await (0, import_promises3.pipeline)(import_stream.Readable.from(annotate(), { objectMode: false }), res);
|
|
11447
11490
|
}
|
|
11448
11491
|
|
|
11449
11492
|
// src/host/fetch-proxy-handler.ts
|
|
@@ -11645,6 +11688,11 @@ function handleAppApiRequest(req, res) {
|
|
|
11645
11688
|
return true;
|
|
11646
11689
|
}
|
|
11647
11690
|
function serveBrowserProxyRoute(req, res) {
|
|
11691
|
+
if (isHostnameResolutionRequest(req.url)) {
|
|
11692
|
+
if (!rejectUntrustedBridgeOrigin(req, res))
|
|
11693
|
+
void handleHostnameResolutionRequest(req, res);
|
|
11694
|
+
return true;
|
|
11695
|
+
}
|
|
11648
11696
|
if (isBundleProxyRequestUrl(req.url) || isFetchProxyRequestUrl(req.url)) {
|
|
11649
11697
|
if (!rejectUntrustedBridgeOrigin(req, res)) void handleFetchProxyRequest(req, res);
|
|
11650
11698
|
return true;
|
|
@@ -11736,7 +11784,7 @@ async function proxyUpstream(req, res, upstreamUrl, reportFailure, route) {
|
|
|
11736
11784
|
await route.respond(proxyRes, hopCookies);
|
|
11737
11785
|
if (isNativeCookieRedirect(hop)) res.removeHeader("location");
|
|
11738
11786
|
res.statusCode = isNativeCookieRedirect(hop) ? 200 : status;
|
|
11739
|
-
await (0,
|
|
11787
|
+
await (0, import_promises4.pipeline)(proxyRes, res);
|
|
11740
11788
|
return;
|
|
11741
11789
|
}
|
|
11742
11790
|
if (location && (status === 301 || status === 302 || status === 303 || status === 307 || status === 308)) {
|
|
@@ -11747,7 +11795,7 @@ async function proxyUpstream(req, res, upstreamUrl, reportFailure, route) {
|
|
|
11747
11795
|
const switchToGet = (status === 301 || status === 302) && method === "POST" || status === 303 && method !== "GET" && method !== "HEAD";
|
|
11748
11796
|
const redirectUrl = resolveRedirectUrl(location, targetUrl);
|
|
11749
11797
|
proxyRes.resume();
|
|
11750
|
-
await (0,
|
|
11798
|
+
await (0, import_promises4.finished)(proxyRes);
|
|
11751
11799
|
await proxy(
|
|
11752
11800
|
redirectUrl,
|
|
11753
11801
|
switchToGet ? "GET" : method,
|
|
@@ -11764,7 +11812,7 @@ async function proxyUpstream(req, res, upstreamUrl, reportFailure, route) {
|
|
|
11764
11812
|
await forwardRolldownBundleResponse(proxyRes, res);
|
|
11765
11813
|
return;
|
|
11766
11814
|
}
|
|
11767
|
-
await (0,
|
|
11815
|
+
await (0, import_promises4.pipeline)(proxyRes, res);
|
|
11768
11816
|
};
|
|
11769
11817
|
let upstreamAnswered = false;
|
|
11770
11818
|
let body;
|
|
@@ -12417,10 +12465,10 @@ function appTargetReleaseSettings(pbxproj, targetName, infoPlistRelativePath) {
|
|
|
12417
12465
|
var APP_DELEGATE_PATH_RE = /(?:^|\/)(?:ios\/)?([^/]+)\/AppDelegate\.(?:swift|mm|m)$/;
|
|
12418
12466
|
function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri) {
|
|
12419
12467
|
const pbxprojPath = Object.keys(files).find(
|
|
12420
|
-
(
|
|
12468
|
+
(path25) => /(?:^|\/)ios\/[^/]+\.xcodeproj\/project\.pbxproj$/.test(path25)
|
|
12421
12469
|
) ?? Object.keys(files).find(
|
|
12422
|
-
(
|
|
12423
|
-
) ?? Object.keys(files).find((
|
|
12470
|
+
(path25) => /(?:^|\/)[^/]+\.xcodeproj\/project\.pbxproj$/.test(path25)
|
|
12471
|
+
) ?? Object.keys(files).find((path25) => /(?:^|\/)project\.pbxproj$/.test(path25));
|
|
12424
12472
|
if (!pbxprojPath) return null;
|
|
12425
12473
|
const pbxproj = files[pbxprojPath];
|
|
12426
12474
|
let objects = {};
|
|
@@ -12462,7 +12510,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12462
12510
|
} else if (applicationTargetNames.size === 1) {
|
|
12463
12511
|
targetName = [...applicationTargetNames][0];
|
|
12464
12512
|
} else if (applicationTargetNames.size > 1) {
|
|
12465
|
-
const delegateTargets = Object.keys(files).filter((
|
|
12513
|
+
const delegateTargets = Object.keys(files).filter((path25) => !path25.includes("/Pods/")).map((path25) => path25.match(APP_DELEGATE_PATH_RE)?.[1]).filter(
|
|
12466
12514
|
(name2) => typeof name2 === "string" && applicationTargetNames.has(name2)
|
|
12467
12515
|
);
|
|
12468
12516
|
if (delegateTargets.length === 1) {
|
|
@@ -12685,7 +12733,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12685
12733
|
if (Object.hasOwn(files, file)) return [file];
|
|
12686
12734
|
const prefix2 = file === "" ? "" : `${file.replace(/\/$/, "")}/`;
|
|
12687
12735
|
return paths.filter(
|
|
12688
|
-
(
|
|
12736
|
+
(path25) => path25.startsWith(prefix2) && !/(?:^|\/)\./.test(path25.slice(prefix2.length))
|
|
12689
12737
|
);
|
|
12690
12738
|
},
|
|
12691
12739
|
join7,
|
|
@@ -12696,7 +12744,7 @@ function nativeAppIdentityFromIos(files, parseInfoPlist, iosTarget, resourceUri)
|
|
|
12696
12744
|
}
|
|
12697
12745
|
const rootModuleName = readRootModuleName(
|
|
12698
12746
|
Object.entries(files).filter(
|
|
12699
|
-
([
|
|
12747
|
+
([path25]) => !path25.includes("/Pods/") && (/(?:^|\/)(?:ios\/)?AppDelegate\.(?:swift|mm|m)$/.test(path25) || path25.match(APP_DELEGATE_PATH_RE)?.[1] === targetName)
|
|
12700
12748
|
).map(([, source]) => source)
|
|
12701
12749
|
);
|
|
12702
12750
|
return {
|
|
@@ -12782,9 +12830,9 @@ function extractNativeAppIdentityFromFiles(files, platform, parseInfoPlist, iosT
|
|
|
12782
12830
|
|
|
12783
12831
|
// src/native-app-identity-project.ts
|
|
12784
12832
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
12785
|
-
var
|
|
12833
|
+
var import_node_fs16 = __toESM(require("node:fs"), 1);
|
|
12786
12834
|
var import_node_module3 = require("node:module");
|
|
12787
|
-
var
|
|
12835
|
+
var import_node_path19 = __toESM(require("node:path"), 1);
|
|
12788
12836
|
init_is_record();
|
|
12789
12837
|
|
|
12790
12838
|
// src/swift-objc-standin.ts
|
|
@@ -12892,6 +12940,57 @@ var compilerArchives = {
|
|
|
12892
12940
|
}
|
|
12893
12941
|
}
|
|
12894
12942
|
},
|
|
12943
|
+
"swift-6.4.0-RELEASE-custom-bd49e2f77434e7b1": {
|
|
12944
|
+
identity: "bd49e2f77434e7b1",
|
|
12945
|
+
hosts: {
|
|
12946
|
+
"darwin-arm64": {
|
|
12947
|
+
checksum: "e815b06394566e8125475afc8f1807f7f465318c845549c5831043cdc28eca64",
|
|
12948
|
+
manifest: "6e3ae00102c67f2f9761b1462aab63580f2ca010469300a7c4a620765573e4e0"
|
|
12949
|
+
},
|
|
12950
|
+
"linux-x64": {
|
|
12951
|
+
checksum: "9336e0b0aefaa0171799d4b5d4215c711a24c79ac9e91baa362ba100fc22534f",
|
|
12952
|
+
manifest: "3802c631f593eda1d79dc4af55a8667356eece954d2ea59b62b1f8f981fa538e"
|
|
12953
|
+
},
|
|
12954
|
+
"linux-arm64": {
|
|
12955
|
+
checksum: "851b5a756472ad53d833e8f0ab3ae55c05d3e6b49871bb982c977b7582cc117f",
|
|
12956
|
+
manifest: "4162656192a2881e5ccc763e3e66ce46646a84ff42cdf2de50bd6424ebac5e34"
|
|
12957
|
+
}
|
|
12958
|
+
}
|
|
12959
|
+
},
|
|
12960
|
+
"swift-6.4.0-RELEASE-custom-13450179a7e01c81": {
|
|
12961
|
+
identity: "13450179a7e01c81",
|
|
12962
|
+
hosts: {
|
|
12963
|
+
"darwin-arm64": {
|
|
12964
|
+
checksum: "a29be6b722f15c7aafac26ba5703a7392f49ce7ea5e1c56548846b7e458290f7",
|
|
12965
|
+
manifest: "9d89bc39d80d13c8bdb93ad5c306bb87e83bac34090f9bcec57476fd90a6a115"
|
|
12966
|
+
},
|
|
12967
|
+
"linux-x64": {
|
|
12968
|
+
checksum: "b9e9e3ed855f6a8c85f5fe24016b83792a0088e2d0ea632482426c4dc6031b98",
|
|
12969
|
+
manifest: "5de3bb6bf131e68862539195fbb4fce9d4de2b528fa882495b27fd4bdd02e5ab"
|
|
12970
|
+
},
|
|
12971
|
+
"linux-arm64": {
|
|
12972
|
+
checksum: "844f5ead2854d4ac2d1fc9fb13c366450a2ed4b8fa641719822d74f9150575b4",
|
|
12973
|
+
manifest: "1fcfb353679186a3e631b83085e5e8c3dde8cb32d25052b3c8b7896339a4378b"
|
|
12974
|
+
}
|
|
12975
|
+
}
|
|
12976
|
+
},
|
|
12977
|
+
"swift-6.4.0-RELEASE-custom-f6868fa6054e83d6": {
|
|
12978
|
+
identity: "f6868fa6054e83d6",
|
|
12979
|
+
hosts: {
|
|
12980
|
+
"darwin-arm64": {
|
|
12981
|
+
checksum: "bd80c2f35864ec29883dd22001d0165821e80d78002fc12f92406c3c708694a4",
|
|
12982
|
+
manifest: "daad0da2a296084307769b59719dbe83e45755871438fad129b20421b111657b"
|
|
12983
|
+
},
|
|
12984
|
+
"linux-x64": {
|
|
12985
|
+
checksum: "39707ef599835ae2d9ce5aea026b7a96d43e51b4c4dcd2ca62d5fc11c520e871",
|
|
12986
|
+
manifest: "065405edd9b02a84ce01c09e68531834dbe190232e6387b056a481354c44fe81"
|
|
12987
|
+
},
|
|
12988
|
+
"linux-arm64": {
|
|
12989
|
+
checksum: "a91f2947d560b49b56334938d0efdcb22286557da63d65389129030b2a4e146d",
|
|
12990
|
+
manifest: "4dfbc167c96f30c7de19cc280948786fb79a888b666ca200b0788803902361ce"
|
|
12991
|
+
}
|
|
12992
|
+
}
|
|
12993
|
+
},
|
|
12895
12994
|
[SWIFT_HOST_COMPILER_RELEASE]: {
|
|
12896
12995
|
identity: SWIFT_HOST_COMPILER_ID,
|
|
12897
12996
|
hosts: {
|
|
@@ -13031,8 +13130,8 @@ var IOS_SDK_ID = (0, import_node_crypto3.createHash)("sha256").update(JSON.strin
|
|
|
13031
13130
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13032
13131
|
var import_node_child_process4 = require("node:child_process");
|
|
13033
13132
|
var import_node_crypto6 = require("node:crypto");
|
|
13034
|
-
var
|
|
13035
|
-
var
|
|
13133
|
+
var import_node_fs15 = __toESM(require("node:fs"), 1);
|
|
13134
|
+
var import_node_path18 = __toESM(require("node:path"), 1);
|
|
13036
13135
|
var import_plist3 = __toESM(require("plist"), 1);
|
|
13037
13136
|
init_is_record();
|
|
13038
13137
|
|
|
@@ -13106,14 +13205,50 @@ function preparedXcodePhase(project, target, phase, configuration, outputs, reco
|
|
|
13106
13205
|
return true;
|
|
13107
13206
|
}
|
|
13108
13207
|
|
|
13208
|
+
// src/swift-binary-modules.ts
|
|
13209
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13210
|
+
var import_node_fs13 = __toESM(require("node:fs"), 1);
|
|
13211
|
+
var import_node_path14 = __toESM(require("node:path"), 1);
|
|
13212
|
+
init_home_paths();
|
|
13213
|
+
var cacheDir2 = import_node_path14.default.join(cacheDir(), "swift-binary-modules");
|
|
13214
|
+
function frameworkModules(paths) {
|
|
13215
|
+
const modules = /* @__PURE__ */ new Set();
|
|
13216
|
+
for (const file of paths) {
|
|
13217
|
+
const segment = file.split("/").find((part) => part.endsWith(".framework"));
|
|
13218
|
+
if (segment) modules.add(segment.slice(0, -".framework".length));
|
|
13219
|
+
}
|
|
13220
|
+
return [...modules].sort();
|
|
13221
|
+
}
|
|
13222
|
+
function localSwiftBinaryModules(dir) {
|
|
13223
|
+
if (!import_node_fs13.default.existsSync(dir)) return [];
|
|
13224
|
+
const slices = import_node_fs13.default.readdirSync(dir, { withFileTypes: true }).filter((slice) => slice.isDirectory());
|
|
13225
|
+
const frameworks = frameworkModules(
|
|
13226
|
+
slices.flatMap(
|
|
13227
|
+
(slice) => import_node_fs13.default.readdirSync(import_node_path14.default.join(dir, slice.name)).map((entry) => `${slice.name}/${entry}`)
|
|
13228
|
+
)
|
|
13229
|
+
);
|
|
13230
|
+
if (frameworks.length > 0) return frameworks;
|
|
13231
|
+
const modules = /* @__PURE__ */ new Set();
|
|
13232
|
+
for (const slice of slices) {
|
|
13233
|
+
const headers = import_node_path14.default.join(dir, slice.name, "Headers");
|
|
13234
|
+
if (!import_node_fs13.default.existsSync(headers)) continue;
|
|
13235
|
+
for (const file of import_node_fs13.default.readdirSync(headers, { recursive: true, encoding: "utf8" })) {
|
|
13236
|
+
if (import_node_path14.default.basename(file) !== "module.modulemap") continue;
|
|
13237
|
+
const module2 = moduleMapName(import_node_fs13.default.readFileSync(import_node_path14.default.join(headers, file), "utf8"));
|
|
13238
|
+
if (module2) modules.add(module2);
|
|
13239
|
+
}
|
|
13240
|
+
}
|
|
13241
|
+
return [...modules].sort();
|
|
13242
|
+
}
|
|
13243
|
+
|
|
13109
13244
|
// src/swift-coverage/xcode-assets.ts
|
|
13110
13245
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13111
13246
|
|
|
13112
13247
|
// src/swift-coverage/provenance.ts
|
|
13113
13248
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13114
13249
|
var import_node_crypto5 = require("node:crypto");
|
|
13115
|
-
var
|
|
13116
|
-
var
|
|
13250
|
+
var import_node_fs14 = require("node:fs");
|
|
13251
|
+
var import_node_path15 = require("node:path");
|
|
13117
13252
|
var SWIFT_COVERAGE_DIGEST_SOURCES = [
|
|
13118
13253
|
"swift-coverage/indexdump.ts",
|
|
13119
13254
|
"swift-coverage/indexing.ts",
|
|
@@ -13143,11 +13278,11 @@ function swiftCoverageSourceDigests(srcDir) {
|
|
|
13143
13278
|
return Object.fromEntries(
|
|
13144
13279
|
SWIFT_COVERAGE_DIGEST_SOURCES.map((file) => [
|
|
13145
13280
|
file,
|
|
13146
|
-
(0, import_node_crypto5.createHash)("sha256").update((0,
|
|
13281
|
+
(0, import_node_crypto5.createHash)("sha256").update((0, import_node_fs14.readFileSync)((0, import_node_path15.join)(srcDir, file))).digest("hex")
|
|
13147
13282
|
])
|
|
13148
13283
|
);
|
|
13149
13284
|
}
|
|
13150
|
-
var swiftCoverageProvenance = typeof define_SWIFT_COVERAGE_SOURCE_DIGESTS_default === "object" ? define_SWIFT_COVERAGE_SOURCE_DIGESTS_default : swiftCoverageSourceDigests((0,
|
|
13285
|
+
var swiftCoverageProvenance = typeof define_SWIFT_COVERAGE_SOURCE_DIGESTS_default === "object" ? define_SWIFT_COVERAGE_SOURCE_DIGESTS_default : swiftCoverageSourceDigests((0, import_node_path15.join)(__sootsim_import_meta_dirname, ".."));
|
|
13151
13286
|
|
|
13152
13287
|
// src/swift-coverage/xcode-asset-symbols.ts
|
|
13153
13288
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -13276,8 +13411,12 @@ var rules = {
|
|
|
13276
13411
|
}
|
|
13277
13412
|
},
|
|
13278
13413
|
symbolset: {
|
|
13279
|
-
entry: {
|
|
13280
|
-
|
|
13414
|
+
entry: {
|
|
13415
|
+
idiom: "any",
|
|
13416
|
+
filename: "any",
|
|
13417
|
+
"language-direction": ["left-to-right", "right-to-left"]
|
|
13418
|
+
},
|
|
13419
|
+
set: { "symbol-rendering-intent": "any", localizable: "boolean" }
|
|
13281
13420
|
}
|
|
13282
13421
|
};
|
|
13283
13422
|
var swiftKeywords = new Set(
|
|
@@ -13330,7 +13469,7 @@ var assetSymbolSettingKeys = [
|
|
|
13330
13469
|
// src/swift-package-manifest.ts
|
|
13331
13470
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13332
13471
|
var import_node_child_process3 = require("node:child_process");
|
|
13333
|
-
var
|
|
13472
|
+
var import_node_path16 = __toESM(require("node:path"), 1);
|
|
13334
13473
|
var import_node_util3 = require("node:util");
|
|
13335
13474
|
init_home_paths();
|
|
13336
13475
|
|
|
@@ -13402,6 +13541,9 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
13402
13541
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13403
13542
|
init_is_record();
|
|
13404
13543
|
|
|
13544
|
+
// src/swift-foundation.ts
|
|
13545
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13546
|
+
|
|
13405
13547
|
// src/swift-icu.ts
|
|
13406
13548
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13407
13549
|
var import_node_child_process2 = require("node:child_process");
|
|
@@ -13428,6 +13570,9 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
13428
13570
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13429
13571
|
init_home_paths();
|
|
13430
13572
|
|
|
13573
|
+
// src/swift-uniform-type-constants.ts
|
|
13574
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13575
|
+
|
|
13431
13576
|
// src/swift-wasm-prune.ts
|
|
13432
13577
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13433
13578
|
var PRUNED_SDK_ARCHIVES = /* @__PURE__ */ new Set([
|
|
@@ -13469,27 +13614,35 @@ var FEATURES = [
|
|
|
13469
13614
|
];
|
|
13470
13615
|
var WASM_OPTIMIZE_IDENTITY = `wasm-opt ${import_wasm_opt.BINARYEN_VERSION} -Oz ${FEATURES.join(",")}`;
|
|
13471
13616
|
|
|
13617
|
+
// src/write-build-file.ts
|
|
13618
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13619
|
+
|
|
13472
13620
|
// src/xcode-header-search.ts
|
|
13473
13621
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13474
13622
|
|
|
13475
13623
|
// src/swift-compile.ts
|
|
13476
13624
|
var admittedCores = Number(process.env.TM_EXEC_CPU_CORES);
|
|
13477
|
-
var
|
|
13478
|
-
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
|
-
Number.isInteger(admittedCores) && admittedCores > 0 ? admittedCores : 4
|
|
13482
|
-
)
|
|
13625
|
+
var SWIFT_BUILD_JOBS = Math.min(
|
|
13626
|
+
4,
|
|
13627
|
+
Math.max(1, Math.floor(import_node_os3.default.availableParallelism() / 2)),
|
|
13628
|
+
Number.isInteger(admittedCores) && admittedCores > 0 ? admittedCores : 4
|
|
13483
13629
|
);
|
|
13630
|
+
var BUILD_JOBS = String(SWIFT_BUILD_JOBS);
|
|
13484
13631
|
var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
|
|
13632
|
+
PDFKit: [],
|
|
13633
|
+
CFNetwork: ["PeachCFNetwork"],
|
|
13634
|
+
PeachCFNetwork: [],
|
|
13635
|
+
JavaScriptCore: ["PeachJavaScriptCore"],
|
|
13636
|
+
PeachJavaScriptCore: [],
|
|
13485
13637
|
GameplayKit: [],
|
|
13486
13638
|
simd: [],
|
|
13487
13639
|
ModelIO: ["simd"],
|
|
13488
13640
|
GLKit: ["ModelIO"],
|
|
13489
13641
|
Accelerate: [],
|
|
13490
|
-
|
|
13642
|
+
CryptoTokenKit: [],
|
|
13491
13643
|
CommonCrypto: [],
|
|
13492
13644
|
ImagePlayground: [],
|
|
13645
|
+
QuickLook: ["QuickLookThumbnailing"],
|
|
13493
13646
|
QuickLookThumbnailing: [],
|
|
13494
13647
|
libxml2: [],
|
|
13495
13648
|
Compression: [],
|
|
@@ -13546,7 +13699,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
13546
13699
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
13547
13700
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
13548
13701
|
).join("");
|
|
13549
|
-
var compilerSourceDigest = true ? "
|
|
13702
|
+
var compilerSourceDigest = true ? "c30b94c39ef2c57dd0f163385e565e0340acb99365cc16c5091e712d04e7fe68" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13550
13703
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
13551
13704
|
"CFAllocator",
|
|
13552
13705
|
"CFArray",
|
|
@@ -13572,12 +13725,12 @@ var rootLocks = host[ROOT_LOCKS] ??= /* @__PURE__ */ new Map();
|
|
|
13572
13725
|
var SHARED_ARTIFACT_BUDGET_BYTES = 4 * 1024 ** 3;
|
|
13573
13726
|
|
|
13574
13727
|
// src/swift-package-manifest.ts
|
|
13575
|
-
var
|
|
13728
|
+
var cacheDir3 = import_node_path16.default.join(cacheDir(), "swift-manifests");
|
|
13576
13729
|
var execFileAsync = (0, import_node_util3.promisify)(import_node_child_process3.execFile);
|
|
13577
13730
|
|
|
13578
13731
|
// src/xcode-json-project.ts
|
|
13579
13732
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13580
|
-
var
|
|
13733
|
+
var import_node_path17 = __toESM(require("node:path"), 1);
|
|
13581
13734
|
var import_json5 = __toESM(require_lib(), 1);
|
|
13582
13735
|
var isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
13583
13736
|
var text = (value) => typeof value === "string" ? value : void 0;
|
|
@@ -13635,7 +13788,7 @@ var PHASE_ISA = {
|
|
|
13635
13788
|
function readXcodeJsonProject(xcodeproj, source) {
|
|
13636
13789
|
const json = import_json5.default.parse(source);
|
|
13637
13790
|
if (!isJsonObject(json)) throw new Error(`${xcodeproj}/project.xcproj is not an object`);
|
|
13638
|
-
const projectDir =
|
|
13791
|
+
const projectDir = import_node_path17.default.dirname(xcodeproj);
|
|
13639
13792
|
const objects = {};
|
|
13640
13793
|
let next = 0;
|
|
13641
13794
|
const add = (entry, id) => {
|
|
@@ -13648,7 +13801,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
13648
13801
|
const base = /^<([A-Z]+)>\/(.*)$/.exec(raw);
|
|
13649
13802
|
if (base) {
|
|
13650
13803
|
if (base[1] === "PROJECT")
|
|
13651
|
-
return { sourceTree: "<absolute>", path:
|
|
13804
|
+
return { sourceTree: "<absolute>", path: import_node_path17.default.join(projectDir, base[2]) };
|
|
13652
13805
|
if (base[1] === "PRODUCTS")
|
|
13653
13806
|
return { sourceTree: "BUILT_PRODUCTS_DIR", path: base[2] };
|
|
13654
13807
|
return null;
|
|
@@ -13656,7 +13809,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
13656
13809
|
const unescaped = raw.replaceAll("\\<", "<");
|
|
13657
13810
|
if (unescaped.startsWith("/")) return { sourceTree: "<absolute>", path: unescaped };
|
|
13658
13811
|
if (unescaped.startsWith("~")) return null;
|
|
13659
|
-
return groupDir === null ? null : { sourceTree: "<absolute>", path:
|
|
13812
|
+
return groupDir === null ? null : { sourceTree: "<absolute>", path: import_node_path17.default.join(groupDir, unescaped) };
|
|
13660
13813
|
};
|
|
13661
13814
|
const memberships = [];
|
|
13662
13815
|
const folders = [];
|
|
@@ -13667,7 +13820,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
13667
13820
|
const kind = text(entry.kind) ?? "file-reference";
|
|
13668
13821
|
const raw = text(entry.path) ?? "";
|
|
13669
13822
|
const located = raw === "" ? null : locate(raw, parent.dir);
|
|
13670
|
-
const name2 = text(entry.name) ??
|
|
13823
|
+
const name2 = text(entry.name) ?? import_node_path17.default.basename(raw);
|
|
13671
13824
|
const node = { id: "", name: name2, dir: null, parent, children: [] };
|
|
13672
13825
|
if (kind === "group" || kind === "variant-group" || kind === "version-group") {
|
|
13673
13826
|
node.dir = raw === "" ? parent.dir : located?.sourceTree === "<absolute>" ? located.path : null;
|
|
@@ -13720,10 +13873,10 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
13720
13873
|
path: projectDir
|
|
13721
13874
|
});
|
|
13722
13875
|
root.id = mainGroup;
|
|
13723
|
-
const
|
|
13876
|
+
const lookup2 = (reference, from = root) => {
|
|
13724
13877
|
if (isObject(reference)) {
|
|
13725
13878
|
const anchor = lookupNode(reference.anchor, root);
|
|
13726
|
-
return anchor ?
|
|
13879
|
+
return anchor ? lookup2(reference["relative-path"], anchor) : void 0;
|
|
13727
13880
|
}
|
|
13728
13881
|
if (Array.isArray(reference)) {
|
|
13729
13882
|
return lookupNode(
|
|
@@ -13769,7 +13922,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
13769
13922
|
defaultConfigurationName: text(json["default-configuration"]) ?? "Debug",
|
|
13770
13923
|
buildConfigurations: configurations.map(({ name: name2, file }) => {
|
|
13771
13924
|
const reference = specialized.has(name2) ? specialized.get(name2) : file;
|
|
13772
|
-
const base =
|
|
13925
|
+
const base = lookup2(reference);
|
|
13773
13926
|
const anchor = isObject(reference) ? lookupNode(reference.anchor, root)?.id : null;
|
|
13774
13927
|
const relative3 = isObject(reference) ? text(reference["relative-path"]) : null;
|
|
13775
13928
|
return add({
|
|
@@ -13788,7 +13941,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
13788
13941
|
if (!isObject(entry)) continue;
|
|
13789
13942
|
const repository = text(entry.repository);
|
|
13790
13943
|
const local = text(entry.path);
|
|
13791
|
-
const name2 = local !== void 0 ?
|
|
13944
|
+
const name2 = local !== void 0 ? import_node_path17.default.basename(import_node_path17.default.resolve(import_node_path17.default.dirname(xcodeproj), local)) : import_node_path17.default.basename(repository ?? "").replace(/\.git$/, "");
|
|
13792
13945
|
const id = text(entry.kind) === "local" && local !== void 0 ? add({ isa: "XCLocalSwiftPackageReference", relativePath: local }) : add({
|
|
13793
13946
|
isa: "XCRemoteSwiftPackageReference",
|
|
13794
13947
|
repositoryURL: repository ?? "",
|
|
@@ -13804,7 +13957,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
13804
13957
|
});
|
|
13805
13958
|
const proxy = (entry, remote, proxyType) => add({
|
|
13806
13959
|
isa: "PBXContainerItemProxy",
|
|
13807
|
-
containerPortal:
|
|
13960
|
+
containerPortal: lookup2(entry.project) ?? "",
|
|
13808
13961
|
proxyType,
|
|
13809
13962
|
remoteGlobalIDString: remote ?? "",
|
|
13810
13963
|
remoteInfo: text(entry.target) ?? ""
|
|
@@ -13826,7 +13979,7 @@ function readXcodeJsonProject(xcodeproj, source) {
|
|
|
13826
13979
|
packageProductDependencies: [],
|
|
13827
13980
|
fileSystemSynchronizedGroups: []
|
|
13828
13981
|
};
|
|
13829
|
-
const product =
|
|
13982
|
+
const product = lookup2(entry.product);
|
|
13830
13983
|
if (product) target.productReference = product;
|
|
13831
13984
|
const id = add(target, text(entry.id));
|
|
13832
13985
|
targetIds.set(name2, id);
|
|
@@ -13998,28 +14151,28 @@ var CONDITIONS = {
|
|
|
13998
14151
|
variant: "normal"
|
|
13999
14152
|
};
|
|
14000
14153
|
function walkFiles(dir) {
|
|
14001
|
-
if (!
|
|
14154
|
+
if (!import_node_fs15.default.existsSync(dir)) return [];
|
|
14002
14155
|
const out = [];
|
|
14003
|
-
for (const entry of
|
|
14156
|
+
for (const entry of import_node_fs15.default.readdirSync(dir, { withFileTypes: true }).sort((left, right) => left.name.localeCompare(right.name))) {
|
|
14004
14157
|
if (entry.name.startsWith(".")) continue;
|
|
14005
|
-
const full =
|
|
14158
|
+
const full = import_node_path18.default.join(dir, entry.name);
|
|
14006
14159
|
if (entry.isDirectory()) out.push(...walkFiles(full));
|
|
14007
14160
|
else if (entry.isFile()) out.push(full);
|
|
14008
14161
|
}
|
|
14009
14162
|
return out;
|
|
14010
14163
|
}
|
|
14011
|
-
var isDirectory = (dir) =>
|
|
14164
|
+
var isDirectory = (dir) => import_node_fs15.default.existsSync(dir) && import_node_fs15.default.statSync(dir).isDirectory();
|
|
14012
14165
|
function readXcconfig(file, read) {
|
|
14013
|
-
if (read.includes(file) || !
|
|
14166
|
+
if (read.includes(file) || !import_node_fs15.default.existsSync(file)) return {};
|
|
14014
14167
|
read.push(file);
|
|
14015
14168
|
const settings = {};
|
|
14016
|
-
for (const raw of
|
|
14169
|
+
for (const raw of import_node_fs15.default.readFileSync(file, "utf8").split("\n")) {
|
|
14017
14170
|
const line = raw.replace(/\/\/.*$/, "").trim();
|
|
14018
14171
|
const include = /^#include\??\s+"([^"]+)"/.exec(line);
|
|
14019
14172
|
if (include) {
|
|
14020
14173
|
Object.assign(
|
|
14021
14174
|
settings,
|
|
14022
|
-
readXcconfig(
|
|
14175
|
+
readXcconfig(import_node_path18.default.resolve(import_node_path18.default.dirname(file), include[1]), read)
|
|
14023
14176
|
);
|
|
14024
14177
|
continue;
|
|
14025
14178
|
}
|
|
@@ -14069,22 +14222,22 @@ function decodeXml(text2) {
|
|
|
14069
14222
|
return text2.replaceAll(""", '"').replaceAll("'", "'").replaceAll("<", "<").replaceAll(">", ">").replaceAll("&", "&");
|
|
14070
14223
|
}
|
|
14071
14224
|
function workspaceReferences(workspace) {
|
|
14072
|
-
const data =
|
|
14073
|
-
if (!
|
|
14225
|
+
const data = import_node_path18.default.join(workspace, "contents.xcworkspacedata");
|
|
14226
|
+
if (!import_node_fs15.default.existsSync(data))
|
|
14074
14227
|
throw new Error(`${workspace} has no contents.xcworkspacedata`);
|
|
14075
|
-
const container =
|
|
14228
|
+
const container = import_node_path18.default.dirname(workspace);
|
|
14076
14229
|
const locate = (location, base) => {
|
|
14077
14230
|
const colon = location.indexOf(":");
|
|
14078
14231
|
const kind = location.slice(0, colon);
|
|
14079
14232
|
const rest = location.slice(colon + 1);
|
|
14080
|
-
if (kind === "group") return
|
|
14081
|
-
if (kind === "container" || kind === "self") return
|
|
14082
|
-
if (kind === "absolute") return
|
|
14083
|
-
throw new Error(`${
|
|
14233
|
+
if (kind === "group") return import_node_path18.default.resolve(base, rest);
|
|
14234
|
+
if (kind === "container" || kind === "self") return import_node_path18.default.resolve(container, rest);
|
|
14235
|
+
if (kind === "absolute") return import_node_path18.default.resolve(rest);
|
|
14236
|
+
throw new Error(`${import_node_path18.default.basename(workspace)} has an unsupported location ${location}`);
|
|
14084
14237
|
};
|
|
14085
14238
|
const groups = [container];
|
|
14086
14239
|
const references = [];
|
|
14087
|
-
for (const [, closing, tag, attributes, selfClosing] of
|
|
14240
|
+
for (const [, closing, tag, attributes, selfClosing] of import_node_fs15.default.readFileSync(data, "utf8").matchAll(/<(\/?)(Group|FileRef)\b([^>]*?)(\/?)>/g)) {
|
|
14088
14241
|
if (closing) {
|
|
14089
14242
|
if (tag === "Group") groups.pop();
|
|
14090
14243
|
continue;
|
|
@@ -14135,8 +14288,8 @@ function remotePackageRequirements(projects) {
|
|
|
14135
14288
|
var loaded2 = /* @__PURE__ */ new Map();
|
|
14136
14289
|
function xcodeProjectFile(xcodeproj) {
|
|
14137
14290
|
for (const name2 of ["project.pbxproj", "project.xcproj"]) {
|
|
14138
|
-
const file =
|
|
14139
|
-
if (
|
|
14291
|
+
const file = import_node_path18.default.join(xcodeproj, name2);
|
|
14292
|
+
if (import_node_fs15.default.existsSync(file)) return file;
|
|
14140
14293
|
}
|
|
14141
14294
|
return null;
|
|
14142
14295
|
}
|
|
@@ -14144,7 +14297,7 @@ function loadProject(xcodeproj) {
|
|
|
14144
14297
|
const projectFile = xcodeProjectFile(xcodeproj);
|
|
14145
14298
|
if (!projectFile)
|
|
14146
14299
|
throw new Error(`${xcodeproj} has no project.pbxproj or project.xcproj`);
|
|
14147
|
-
const source =
|
|
14300
|
+
const source = import_node_fs15.default.readFileSync(projectFile, "utf8");
|
|
14148
14301
|
const digest = (0, import_node_crypto6.createHash)("sha256").update(source).digest("hex");
|
|
14149
14302
|
const cached = loaded2.get(projectFile);
|
|
14150
14303
|
if (cached?.digest === digest) return cached.project;
|
|
@@ -14161,10 +14314,10 @@ function loadProject(xcodeproj) {
|
|
|
14161
14314
|
if (!project || project.isa !== "PBXProject") {
|
|
14162
14315
|
throw new Error(`${projectFile} has no PBXProject root`);
|
|
14163
14316
|
}
|
|
14164
|
-
const projectDir =
|
|
14165
|
-
|
|
14317
|
+
const projectDir = import_node_fs15.default.realpathSync(
|
|
14318
|
+
import_node_path18.default.resolve(import_node_path18.default.dirname(xcodeproj), str(project.projectDirPath) ?? "")
|
|
14166
14319
|
);
|
|
14167
|
-
const resolvePath = xcodePathResolver(objects, projectDir,
|
|
14320
|
+
const resolvePath = xcodePathResolver(objects, projectDir, import_node_path18.default.join);
|
|
14168
14321
|
const result = {
|
|
14169
14322
|
xcodeproj,
|
|
14170
14323
|
projectFile,
|
|
@@ -14199,8 +14352,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
|
|
|
14199
14352
|
const relative3 = str(config.baseConfigurationReferenceRelativePath);
|
|
14200
14353
|
const own = isDict(config.buildSettings) ? config.buildSettings : {};
|
|
14201
14354
|
const directory = anchor ? project.resolvePath(anchor) : null;
|
|
14202
|
-
const baseFile = base ? project.resolvePath(base) : directory && relative3 ?
|
|
14203
|
-
if (options.requireSources !== false && (base || anchor || relative3) && (!baseFile || !
|
|
14355
|
+
const baseFile = base ? project.resolvePath(base) : directory && relative3 ? import_node_path18.default.resolve(directory, relative3) : null;
|
|
14356
|
+
if (options.requireSources !== false && (base || anchor || relative3) && (!baseFile || !import_node_fs15.default.existsSync(baseFile)))
|
|
14204
14357
|
throw new Error(
|
|
14205
14358
|
`Unable to open base configuration reference file '${baseFile ?? base ?? relative3 ?? anchor}'`
|
|
14206
14359
|
);
|
|
@@ -14286,27 +14439,32 @@ function settingList(value) {
|
|
|
14286
14439
|
);
|
|
14287
14440
|
return items2;
|
|
14288
14441
|
}
|
|
14442
|
+
function scriptCommand(shell, script) {
|
|
14443
|
+
const [executable, ...args] = settingList(shell);
|
|
14444
|
+
if (!executable) throw new Error("Xcode Run Script shellPath is empty");
|
|
14445
|
+
return [executable, ...args, "-c", script];
|
|
14446
|
+
}
|
|
14289
14447
|
function expandSearchPath(directory, rules2) {
|
|
14290
|
-
if (
|
|
14448
|
+
if (import_node_path18.default.basename(directory) !== "**") return [directory];
|
|
14291
14449
|
const expanded = [];
|
|
14292
14450
|
const seen = /* @__PURE__ */ new Set();
|
|
14293
|
-
const queue = [
|
|
14451
|
+
const queue = [import_node_path18.default.dirname(directory)];
|
|
14294
14452
|
for (let at = 0; at < queue.length; at++) {
|
|
14295
14453
|
const current = queue[at];
|
|
14296
14454
|
let real;
|
|
14297
14455
|
try {
|
|
14298
|
-
real =
|
|
14456
|
+
real = import_node_fs15.default.realpathSync(current);
|
|
14299
14457
|
} catch {
|
|
14300
14458
|
continue;
|
|
14301
14459
|
}
|
|
14302
|
-
if (!
|
|
14460
|
+
if (!import_node_fs15.default.statSync(real).isDirectory() || seen.has(real)) continue;
|
|
14303
14461
|
seen.add(real);
|
|
14304
14462
|
expanded.push(current);
|
|
14305
|
-
for (const entry of
|
|
14463
|
+
for (const entry of import_node_fs15.default.readdirSync(real, { withFileTypes: true }).sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0)) {
|
|
14306
14464
|
if (entry.isSymbolicLink() ? !rules2.followLinks : !entry.isDirectory()) continue;
|
|
14307
14465
|
if (rules2.excluded.some((pattern) => pattern.test(entry.name)) && !rules2.included.some((pattern) => pattern.test(entry.name)))
|
|
14308
14466
|
continue;
|
|
14309
|
-
queue.push(
|
|
14467
|
+
queue.push(import_node_path18.default.join(current, entry.name));
|
|
14310
14468
|
}
|
|
14311
14469
|
}
|
|
14312
14470
|
return expanded;
|
|
@@ -14337,13 +14495,13 @@ function compilationConditions(settings) {
|
|
|
14337
14495
|
])
|
|
14338
14496
|
];
|
|
14339
14497
|
}
|
|
14340
|
-
function expand(value,
|
|
14498
|
+
function expand(value, lookup2) {
|
|
14341
14499
|
return value.replace(
|
|
14342
14500
|
/\$(?:\(([A-Za-z_][A-Za-z0-9_]*)((?::[^)]*)?)\)|\{([A-Za-z_][A-Za-z0-9_]*)((?::[^}]*)?)\}|([A-Za-z_][A-Za-z0-9_]*))/g,
|
|
14343
14501
|
(_match, paren, parenOps, brace, braceOps, bare) => {
|
|
14344
14502
|
const name2 = paren ?? brace ?? bare;
|
|
14345
14503
|
const operators = parenOps ?? braceOps ?? "";
|
|
14346
|
-
return operators.split(":").slice(1).reduce((current, operator) => applyOperator(current, operator),
|
|
14504
|
+
return operators.split(":").slice(1).reduce((current, operator) => applyOperator(current, operator), lookup2(name2));
|
|
14347
14505
|
}
|
|
14348
14506
|
);
|
|
14349
14507
|
}
|
|
@@ -14353,13 +14511,13 @@ function shellAssetCatalogs(script, settings, projectDir) {
|
|
|
14353
14511
|
const catalogs = [];
|
|
14354
14512
|
const resolve4 = (raw) => {
|
|
14355
14513
|
if (raw.startsWith("'")) return raw.slice(1, -1);
|
|
14356
|
-
const
|
|
14514
|
+
const lookup2 = (key) => assigned.get(key) ?? settings(key);
|
|
14357
14515
|
const shell = (raw.startsWith('"') ? raw.slice(1, -1) : raw).replace(
|
|
14358
14516
|
/\$\{([A-Za-z_][A-Za-z0-9_]*):-([^{}`]*)\}/g,
|
|
14359
|
-
(_match, key, fallback) =>
|
|
14517
|
+
(_match, key, fallback) => lookup2(key) || fallback
|
|
14360
14518
|
);
|
|
14361
14519
|
if (/\$\{[A-Za-z_][A-Za-z0-9_]*(?::?[-+=?]|[#%/^,])/.test(shell)) return null;
|
|
14362
|
-
const value = expand(shell,
|
|
14520
|
+
const value = expand(shell, lookup2);
|
|
14363
14521
|
return /[$`]/.test(value) ? null : value;
|
|
14364
14522
|
};
|
|
14365
14523
|
for (const raw of script.split(/\r?\n/)) {
|
|
@@ -14377,7 +14535,7 @@ function shellAssetCatalogs(script, settings, projectDir) {
|
|
|
14377
14535
|
for (const token of tokens) {
|
|
14378
14536
|
if (token.startsWith("-")) break;
|
|
14379
14537
|
const file = resolve4(token);
|
|
14380
|
-
if (file?.endsWith(".xcassets")) catalogs.push(
|
|
14538
|
+
if (file?.endsWith(".xcassets")) catalogs.push(import_node_path18.default.resolve(projectDir, file));
|
|
14381
14539
|
}
|
|
14382
14540
|
}
|
|
14383
14541
|
return catalogs;
|
|
@@ -14386,7 +14544,7 @@ function shellCopies(script, settings, projectDir) {
|
|
|
14386
14544
|
const assigned = /* @__PURE__ */ new Map();
|
|
14387
14545
|
const copies = [];
|
|
14388
14546
|
let resolved = true;
|
|
14389
|
-
const
|
|
14547
|
+
const lookup2 = (name2) => {
|
|
14390
14548
|
const value = assigned.get(name2) ?? settings(name2);
|
|
14391
14549
|
if (value === "") resolved = false;
|
|
14392
14550
|
return value;
|
|
@@ -14395,7 +14553,7 @@ function shellCopies(script, settings, projectDir) {
|
|
|
14395
14553
|
if (/\$\{[A-Za-z_][A-Za-z0-9_]*(?::?[-+=?]|[#%/^,])/.test(token2)) return null;
|
|
14396
14554
|
resolved = true;
|
|
14397
14555
|
const quote = token2[0];
|
|
14398
|
-
const value = quote === "'" ? token2.slice(1, -1) : expand(quote === '"' ? token2.slice(1, -1) : token2,
|
|
14556
|
+
const value = quote === "'" ? token2.slice(1, -1) : expand(quote === '"' ? token2.slice(1, -1) : token2, lookup2);
|
|
14399
14557
|
return resolved && !value.includes("$") ? value : null;
|
|
14400
14558
|
};
|
|
14401
14559
|
const token = /^(?:"[^"\\`]*"|'[^']*'|[^\s"'`;&|<>()\\]+)$/;
|
|
@@ -14422,14 +14580,14 @@ function shellCopies(script, settings, projectDir) {
|
|
|
14422
14580
|
if (operands.length !== 2 || operands.some((operand) => operand.startsWith("-")))
|
|
14423
14581
|
return [];
|
|
14424
14582
|
copies.push({
|
|
14425
|
-
from:
|
|
14426
|
-
to:
|
|
14583
|
+
from: import_node_path18.default.resolve(projectDir, operands[0]),
|
|
14584
|
+
to: import_node_path18.default.resolve(projectDir, operands[1])
|
|
14427
14585
|
});
|
|
14428
14586
|
}
|
|
14429
14587
|
return copies;
|
|
14430
14588
|
}
|
|
14431
14589
|
function fileListEntries(file, absolute) {
|
|
14432
|
-
return
|
|
14590
|
+
return import_node_fs15.default.readFileSync(file, "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line !== "" && !line.startsWith("#")).map(absolute);
|
|
14433
14591
|
}
|
|
14434
14592
|
function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
14435
14593
|
const { project, target, id: targetId } = ref;
|
|
@@ -14442,7 +14600,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
14442
14600
|
const copiedFiles = [];
|
|
14443
14601
|
let generatedInfoPlist = false;
|
|
14444
14602
|
const declaredInfoPlist = settings("INFOPLIST_FILE");
|
|
14445
|
-
const infoPlistOutput = declaredInfoPlist ?
|
|
14603
|
+
const infoPlistOutput = declaredInfoPlist ? import_node_path18.default.resolve(project.projectDir, declaredInfoPlist) : null;
|
|
14446
14604
|
const isPreparedOutput = (file) => file === infoPlistOutput || options.requireSources !== false && file.endsWith(".swift");
|
|
14447
14605
|
for (const phaseId of list(target.buildPhases)) {
|
|
14448
14606
|
const phase = project.object(phaseId);
|
|
@@ -14457,7 +14615,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
14457
14615
|
copiedFiles.push(
|
|
14458
14616
|
...shellCopies(str(phase.shellScript) ?? "", settings, project.projectDir)
|
|
14459
14617
|
);
|
|
14460
|
-
const absolute = (raw) =>
|
|
14618
|
+
const absolute = (raw) => import_node_path18.default.resolve(project.projectDir, expand(raw, settings));
|
|
14461
14619
|
const inputs = list(phase.inputPaths).map(absolute);
|
|
14462
14620
|
const outputs = list(phase.outputPaths).map(absolute);
|
|
14463
14621
|
const fileLists = /* @__PURE__ */ new Map();
|
|
@@ -14466,7 +14624,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
14466
14624
|
kind === "INPUT" ? phase.inputFileListPaths : phase.outputFileListPaths
|
|
14467
14625
|
).map((raw) => {
|
|
14468
14626
|
const file = absolute(raw);
|
|
14469
|
-
if (!
|
|
14627
|
+
if (!import_node_fs15.default.existsSync(file)) {
|
|
14470
14628
|
return { file, entries: [] };
|
|
14471
14629
|
}
|
|
14472
14630
|
return { file, entries: fileListEntries(file, absolute) };
|
|
@@ -14487,7 +14645,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
14487
14645
|
...fileLists.get("OUTPUT").map((item) => item.file)
|
|
14488
14646
|
];
|
|
14489
14647
|
if (allOutputs.some((file) => file.endsWith(".swift") || file === infoPlistOutput)) {
|
|
14490
|
-
for (const file of inputFiles) if (
|
|
14648
|
+
for (const file of inputFiles) if (import_node_fs15.default.existsSync(file)) projectInputs.add(file);
|
|
14491
14649
|
}
|
|
14492
14650
|
if (options.prepareGeneratedSources === true && allOutputs.some(isPreparedOutput)) {
|
|
14493
14651
|
const configuration = settings("CONFIGURATION");
|
|
@@ -14500,10 +14658,10 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
14500
14658
|
false
|
|
14501
14659
|
))
|
|
14502
14660
|
continue;
|
|
14503
|
-
const phaseDir =
|
|
14661
|
+
const phaseDir = import_node_path18.default.join(settings("TARGET_TEMP_DIR"), `Script-${phaseId}`);
|
|
14504
14662
|
for (const lists of fileLists.values())
|
|
14505
14663
|
for (const { file } of lists)
|
|
14506
|
-
if (!
|
|
14664
|
+
if (!import_node_fs15.default.existsSync(file))
|
|
14507
14665
|
throw new Error(
|
|
14508
14666
|
`${targetName}: Run Script "${script}" missing file list ${file}`
|
|
14509
14667
|
);
|
|
@@ -14522,7 +14680,7 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
14522
14680
|
const lists = fileLists.get(kind);
|
|
14523
14681
|
env[`SCRIPT_${kind}_FILE_LIST_COUNT`] = String(lists.length);
|
|
14524
14682
|
lists.forEach((_item, index) => {
|
|
14525
|
-
env[`SCRIPT_${kind}_FILE_LIST_${index}`] =
|
|
14683
|
+
env[`SCRIPT_${kind}_FILE_LIST_${index}`] = import_node_path18.default.join(
|
|
14526
14684
|
phaseDir,
|
|
14527
14685
|
`${kind}-${index}.xcfilelist`
|
|
14528
14686
|
);
|
|
@@ -14533,14 +14691,14 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
14533
14691
|
);
|
|
14534
14692
|
for (const file of inputFiles) {
|
|
14535
14693
|
signature.update(file);
|
|
14536
|
-
if (
|
|
14537
|
-
const stat =
|
|
14694
|
+
if (import_node_fs15.default.existsSync(file)) {
|
|
14695
|
+
const stat = import_node_fs15.default.statSync(file);
|
|
14538
14696
|
signature.update(`${stat.mtimeMs}:${stat.ctimeMs}:${stat.size}`);
|
|
14539
14697
|
} else signature.update("missing");
|
|
14540
14698
|
}
|
|
14541
14699
|
const stamp = signature.digest("hex");
|
|
14542
14700
|
const key = `${project.projectFile}:${targetId}:${phaseId}:${settings("CONFIGURATION")}`;
|
|
14543
|
-
if (preparedSourcePhases.get(key) === stamp && allOutputs.every((file) =>
|
|
14701
|
+
if (preparedSourcePhases.get(key) === stamp && allOutputs.every((file) => import_node_fs15.default.existsSync(file))) {
|
|
14544
14702
|
preparedXcodePhase(
|
|
14545
14703
|
project.projectFile,
|
|
14546
14704
|
targetId,
|
|
@@ -14551,31 +14709,31 @@ function targetMembers(ref, settings, options, settingKeys, projectInputs) {
|
|
|
14551
14709
|
);
|
|
14552
14710
|
continue;
|
|
14553
14711
|
}
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
|
|
14712
|
+
import_node_fs15.default.mkdirSync(phaseDir, { recursive: true });
|
|
14713
|
+
import_node_fs15.default.mkdirSync(settings("BUILT_PRODUCTS_DIR"), { recursive: true });
|
|
14714
|
+
import_node_fs15.default.mkdirSync(settings("DERIVED_FILE_DIR"), { recursive: true });
|
|
14557
14715
|
for (const output2 of allOutputs)
|
|
14558
|
-
|
|
14716
|
+
import_node_fs15.default.mkdirSync(import_node_path18.default.dirname(output2), { recursive: true });
|
|
14559
14717
|
for (const [kind, lists] of fileLists)
|
|
14560
14718
|
lists.forEach((item, index) => {
|
|
14561
|
-
|
|
14719
|
+
import_node_fs15.default.writeFileSync(
|
|
14562
14720
|
env[`SCRIPT_${kind}_FILE_LIST_${index}`],
|
|
14563
14721
|
`${item.entries.join("\n")}
|
|
14564
14722
|
`
|
|
14565
14723
|
);
|
|
14566
14724
|
});
|
|
14567
14725
|
try {
|
|
14568
|
-
|
|
14726
|
+
const [shell, ...args] = scriptCommand(
|
|
14569
14727
|
str(phase.shellPath) ?? "/bin/sh",
|
|
14570
|
-
|
|
14571
|
-
{
|
|
14572
|
-
cwd: project.projectDir,
|
|
14573
|
-
env,
|
|
14574
|
-
stdio: ["ignore", "pipe", "pipe"],
|
|
14575
|
-
maxBuffer: Infinity,
|
|
14576
|
-
timeout: runScriptTimeoutMs
|
|
14577
|
-
}
|
|
14728
|
+
str(phase.shellScript) ?? ""
|
|
14578
14729
|
);
|
|
14730
|
+
(0, import_node_child_process4.execFileSync)(shell, args, {
|
|
14731
|
+
cwd: project.projectDir,
|
|
14732
|
+
env,
|
|
14733
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
14734
|
+
maxBuffer: Infinity,
|
|
14735
|
+
timeout: runScriptTimeoutMs
|
|
14736
|
+
});
|
|
14579
14737
|
} catch (error) {
|
|
14580
14738
|
const output2 = error instanceof Error ? `${error.message}
|
|
14581
14739
|
${"stdout" in error ? String(error.stdout) : ""}${"stderr" in error ? String(error.stderr) : ""}` : String(error);
|
|
@@ -14585,7 +14743,7 @@ ${output2}`
|
|
|
14585
14743
|
);
|
|
14586
14744
|
}
|
|
14587
14745
|
const missing2 = allOutputs.filter(
|
|
14588
|
-
(file) => file === infoPlistOutput && !
|
|
14746
|
+
(file) => file === infoPlistOutput && !import_node_fs15.default.existsSync(file)
|
|
14589
14747
|
);
|
|
14590
14748
|
if (missing2.length > 0)
|
|
14591
14749
|
throw new Error(
|
|
@@ -14605,8 +14763,8 @@ ${output2}`
|
|
|
14605
14763
|
project.visitMembers(
|
|
14606
14764
|
targetId,
|
|
14607
14765
|
project.resolvePath,
|
|
14608
|
-
(file) => isDirectory(file) ? walkFiles(file) :
|
|
14609
|
-
|
|
14766
|
+
(file) => isDirectory(file) ? walkFiles(file) : import_node_fs15.default.existsSync(file) ? [file] : [],
|
|
14767
|
+
import_node_path18.default.join,
|
|
14610
14768
|
(file, kind) => {
|
|
14611
14769
|
if (kind === "header") {
|
|
14612
14770
|
headers.add(file);
|
|
@@ -14616,9 +14774,9 @@ ${output2}`
|
|
|
14616
14774
|
resources.add(file);
|
|
14617
14775
|
return;
|
|
14618
14776
|
}
|
|
14619
|
-
if (!
|
|
14777
|
+
if (!import_node_fs15.default.existsSync(file)) {
|
|
14620
14778
|
if (options.requireSources === false) return;
|
|
14621
|
-
const script = scriptForOutput.get(
|
|
14779
|
+
const script = scriptForOutput.get(import_node_path18.default.normalize(file));
|
|
14622
14780
|
throw new Error(
|
|
14623
14781
|
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}`
|
|
14624
14782
|
);
|
|
@@ -14639,37 +14797,37 @@ ${output2}`
|
|
|
14639
14797
|
function commonAncestor(dirs) {
|
|
14640
14798
|
let common = dirs[0];
|
|
14641
14799
|
for (const dir of dirs) {
|
|
14642
|
-
while (common !==
|
|
14643
|
-
common =
|
|
14800
|
+
while (common !== import_node_path18.default.dirname(common) && import_node_path18.default.relative(common, dir).startsWith(".."))
|
|
14801
|
+
common = import_node_path18.default.dirname(common);
|
|
14644
14802
|
}
|
|
14645
14803
|
return common;
|
|
14646
14804
|
}
|
|
14647
|
-
var isPodsProject = (xcodeproj) =>
|
|
14805
|
+
var isPodsProject = (xcodeproj) => import_node_path18.default.basename(xcodeproj) === "Pods.xcodeproj" && import_node_path18.default.basename(import_node_path18.default.dirname(xcodeproj)) === "Pods";
|
|
14648
14806
|
function installedPodsSandbox(pods) {
|
|
14649
|
-
const podfileLock =
|
|
14650
|
-
const manifestLock =
|
|
14651
|
-
if (!
|
|
14807
|
+
const podfileLock = import_node_path18.default.join(import_node_path18.default.dirname(pods), "Podfile.lock");
|
|
14808
|
+
const manifestLock = import_node_path18.default.join(pods, "Manifest.lock");
|
|
14809
|
+
if (!import_node_fs15.default.existsSync(podfileLock))
|
|
14652
14810
|
throw new Error(
|
|
14653
|
-
`${pods} has no ${podfileLock}: run \`pod install\` in ${
|
|
14811
|
+
`${pods} has no ${podfileLock}: run \`pod install\` in ${import_node_path18.default.dirname(pods)}`
|
|
14654
14812
|
);
|
|
14655
|
-
if (!
|
|
14813
|
+
if (!import_node_fs15.default.existsSync(manifestLock) || !import_node_fs15.default.readFileSync(manifestLock).equals(import_node_fs15.default.readFileSync(podfileLock)))
|
|
14656
14814
|
throw new Error(
|
|
14657
|
-
`The sandbox is not in sync with the Podfile.lock: ${manifestLock} differs from ${podfileLock}. Run \`pod install\` in ${
|
|
14815
|
+
`The sandbox is not in sync with the Podfile.lock: ${manifestLock} differs from ${podfileLock}. Run \`pod install\` in ${import_node_path18.default.dirname(pods)}`
|
|
14658
14816
|
);
|
|
14659
14817
|
const specChecksums = {};
|
|
14660
|
-
const lines =
|
|
14818
|
+
const lines = import_node_fs15.default.readFileSync(manifestLock, "utf8").split("\n");
|
|
14661
14819
|
const start = lines.indexOf("SPEC CHECKSUMS:");
|
|
14662
14820
|
for (const line of start === -1 ? [] : lines.slice(start + 1)) {
|
|
14663
14821
|
const entry = /^ {2}"?([^":]+)"?: ([0-9a-f]+)$/.exec(line);
|
|
14664
14822
|
if (!entry) break;
|
|
14665
14823
|
specChecksums[entry[1]] = entry[2];
|
|
14666
14824
|
}
|
|
14667
|
-
const specs =
|
|
14825
|
+
const specs = import_node_path18.default.join(pods, "Local Podspecs");
|
|
14668
14826
|
return {
|
|
14669
14827
|
podfileLock,
|
|
14670
14828
|
manifestLock,
|
|
14671
14829
|
specChecksums,
|
|
14672
|
-
localPodspecs: isDirectory(specs) ?
|
|
14830
|
+
localPodspecs: isDirectory(specs) ? import_node_fs15.default.readdirSync(specs).filter((name2) => name2.endsWith(".podspec.json")).sort().map((name2) => import_node_path18.default.join(specs, name2)) : []
|
|
14673
14831
|
};
|
|
14674
14832
|
}
|
|
14675
14833
|
function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
|
|
@@ -14681,14 +14839,14 @@ function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
|
|
|
14681
14839
|
if (!xcodeProjectFile(xcodeproj)) {
|
|
14682
14840
|
if (installedPods && isPodsProject(xcodeproj))
|
|
14683
14841
|
throw new Error(
|
|
14684
|
-
`${
|
|
14842
|
+
`${import_node_path18.default.basename(xcodeprojOrWorkspace)} builds ${xcodeproj}, which is not installed: run \`pod install\` in ${import_node_path18.default.dirname(import_node_path18.default.dirname(xcodeproj))}`
|
|
14685
14843
|
);
|
|
14686
14844
|
return;
|
|
14687
14845
|
}
|
|
14688
|
-
const key =
|
|
14689
|
-
if (projectAt.has(key) || !installedPods && key.split(
|
|
14846
|
+
const key = import_node_fs15.default.realpathSync(xcodeproj);
|
|
14847
|
+
if (projectAt.has(key) || !installedPods && key.split(import_node_path18.default.sep).includes("Pods"))
|
|
14690
14848
|
return;
|
|
14691
|
-
if (isPodsProject(key)) cocoapods = installedPodsSandbox(
|
|
14849
|
+
if (isPodsProject(key)) cocoapods = installedPodsSandbox(import_node_path18.default.dirname(key));
|
|
14692
14850
|
const project = loadProject(key);
|
|
14693
14851
|
projectAt.set(key, project);
|
|
14694
14852
|
projects.push(project);
|
|
@@ -14704,12 +14862,12 @@ function workspaceProjects(xcodeprojOrWorkspace, installedPods = false) {
|
|
|
14704
14862
|
for (const reference of listed)
|
|
14705
14863
|
if (reference.endsWith(".xcodeproj")) addProject(reference);
|
|
14706
14864
|
if (projects.length === 0) {
|
|
14707
|
-
throw new Error(`${
|
|
14865
|
+
throw new Error(`${import_node_path18.default.basename(xcodeprojOrWorkspace)} lists no Xcode project`);
|
|
14708
14866
|
}
|
|
14709
|
-
const podfile =
|
|
14710
|
-
if (installedPods && !cocoapods &&
|
|
14867
|
+
const podfile = import_node_path18.default.join(import_node_path18.default.dirname(xcodeprojOrWorkspace), "Podfile");
|
|
14868
|
+
if (installedPods && !cocoapods && import_node_fs15.default.existsSync(podfile))
|
|
14711
14869
|
throw new Error(
|
|
14712
|
-
`${podfile} is not installed into ${
|
|
14870
|
+
`${podfile} is not installed into ${import_node_path18.default.basename(xcodeprojOrWorkspace)}: run \`pod install\` in ${import_node_path18.default.dirname(podfile)} and open the workspace it writes`
|
|
14713
14871
|
);
|
|
14714
14872
|
return { listed, projects, projectAt, cocoapods };
|
|
14715
14873
|
}
|
|
@@ -14745,7 +14903,7 @@ function listXcodeAppTargets(xcodeprojOrWorkspace, options = {}) {
|
|
|
14745
14903
|
return workspaceProjects(xcodeprojOrWorkspace).projects.flatMap(projectTargets).filter((ref) => isIosAppTarget(ref, options)).map((ref) => str(ref.target.name) ?? ref.id);
|
|
14746
14904
|
}
|
|
14747
14905
|
function defaultXcodeAppTarget(xcodeproj) {
|
|
14748
|
-
const project = loadProject(
|
|
14906
|
+
const project = loadProject(import_node_fs15.default.realpathSync(xcodeproj));
|
|
14749
14907
|
for (const [id, target] of Object.entries(project.objects)) {
|
|
14750
14908
|
if (!isDict(target) || target.isa !== "PBXNativeTarget") continue;
|
|
14751
14909
|
if (isIosAppTarget({ project, id, target }, { requireSources: false }))
|
|
@@ -14753,30 +14911,30 @@ function defaultXcodeAppTarget(xcodeproj) {
|
|
|
14753
14911
|
}
|
|
14754
14912
|
}
|
|
14755
14913
|
function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
|
|
14756
|
-
const container =
|
|
14914
|
+
const container = import_node_fs15.default.realpathSync(xcodeprojOrWorkspace);
|
|
14757
14915
|
const { projects } = workspaceProjects(container);
|
|
14758
14916
|
const containers = [
|
|
14759
14917
|
.../* @__PURE__ */ new Set([container, ...projects.map((project2) => project2.xcodeproj)])
|
|
14760
14918
|
];
|
|
14761
14919
|
const found = containers.flatMap(
|
|
14762
14920
|
(dir) => [
|
|
14763
|
-
|
|
14764
|
-
...isDirectory(
|
|
14921
|
+
import_node_path18.default.join(dir, "xcshareddata"),
|
|
14922
|
+
...isDirectory(import_node_path18.default.join(dir, "xcuserdata")) ? import_node_fs15.default.readdirSync(import_node_path18.default.join(dir, "xcuserdata")).sort().map((user) => import_node_path18.default.join(dir, "xcuserdata", user)) : []
|
|
14765
14923
|
].map((data) => ({
|
|
14766
14924
|
dir,
|
|
14767
|
-
file:
|
|
14925
|
+
file: import_node_path18.default.join(data, "xcschemes", `${scheme}.xcscheme`)
|
|
14768
14926
|
}))
|
|
14769
|
-
).find((candidate) =>
|
|
14927
|
+
).find((candidate) => import_node_fs15.default.existsSync(candidate.file));
|
|
14770
14928
|
if (!found) {
|
|
14771
14929
|
const known = containers.flatMap(
|
|
14772
|
-
(dir) =>
|
|
14930
|
+
(dir) => import_node_fs15.default.existsSync(import_node_path18.default.join(dir, "xcshareddata", "xcschemes")) ? import_node_fs15.default.readdirSync(import_node_path18.default.join(dir, "xcshareddata", "xcschemes")).filter((name3) => name3.endsWith(".xcscheme")).map((name3) => name3.slice(0, -".xcscheme".length)).sort() : []
|
|
14773
14931
|
);
|
|
14774
14932
|
throw new Error(
|
|
14775
|
-
`${
|
|
14933
|
+
`${import_node_path18.default.basename(container)} has no scheme ${scheme}; it shares ${known.join(", ") || "none"}`
|
|
14776
14934
|
);
|
|
14777
14935
|
}
|
|
14778
14936
|
const launch = /<LaunchAction\b([^>]*)>([\s\S]*?)<\/LaunchAction>/.exec(
|
|
14779
|
-
|
|
14937
|
+
import_node_fs15.default.readFileSync(found.file, "utf8")
|
|
14780
14938
|
);
|
|
14781
14939
|
const attribute = (text2, name3) => {
|
|
14782
14940
|
const value = new RegExp(`\\b${name3}\\s*=\\s*"([^"]*)"`).exec(text2)?.[1];
|
|
@@ -14789,12 +14947,12 @@ function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
|
|
|
14789
14947
|
if (!configuration || !blueprint || !referenced?.startsWith("container:")) {
|
|
14790
14948
|
throw new Error(`scheme ${scheme} runs no application target`);
|
|
14791
14949
|
}
|
|
14792
|
-
const projectPath =
|
|
14793
|
-
|
|
14950
|
+
const projectPath = import_node_path18.default.resolve(
|
|
14951
|
+
import_node_path18.default.dirname(found.dir),
|
|
14794
14952
|
referenced.slice("container:".length)
|
|
14795
14953
|
);
|
|
14796
14954
|
const project = projects.find(
|
|
14797
|
-
(candidate) =>
|
|
14955
|
+
(candidate) => import_node_fs15.default.existsSync(projectPath) && candidate.xcodeproj === import_node_fs15.default.realpathSync(projectPath)
|
|
14798
14956
|
);
|
|
14799
14957
|
const target = project && projectTargets(project).find((ref) => ref.id === blueprint);
|
|
14800
14958
|
const name2 = target && str(target.target.name);
|
|
@@ -14804,9 +14962,9 @@ function readXcodeScheme(xcodeprojOrWorkspace, scheme) {
|
|
|
14804
14962
|
var NativeAppTargetSelectionError = class extends Error {
|
|
14805
14963
|
};
|
|
14806
14964
|
function selectIosAppTarget(projectRoot, iosTarget) {
|
|
14807
|
-
const nested =
|
|
14808
|
-
const iosRoot =
|
|
14809
|
-
const projects =
|
|
14965
|
+
const nested = import_node_path18.default.join(projectRoot, "ios");
|
|
14966
|
+
const iosRoot = import_node_fs15.default.existsSync(nested) ? nested : projectRoot;
|
|
14967
|
+
const projects = import_node_fs15.default.readdirSync(iosRoot, { withFileTypes: true }).filter((entry) => entry.isDirectory() && entry.name.endsWith(".xcodeproj"));
|
|
14810
14968
|
if (projects.length === 0) return null;
|
|
14811
14969
|
if (projects.length > 1 && !iosTarget) {
|
|
14812
14970
|
throw new NativeAppTargetSelectionError(
|
|
@@ -14816,7 +14974,7 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
14816
14974
|
let project = projects[0];
|
|
14817
14975
|
if (iosTarget && projects.length > 1) {
|
|
14818
14976
|
const matches = projects.filter(
|
|
14819
|
-
(entry) => listXcodeAppTargets(
|
|
14977
|
+
(entry) => listXcodeAppTargets(import_node_path18.default.join(iosRoot, entry.name), {
|
|
14820
14978
|
requireSources: false
|
|
14821
14979
|
}).includes(iosTarget)
|
|
14822
14980
|
);
|
|
@@ -14828,19 +14986,19 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
14828
14986
|
);
|
|
14829
14987
|
project = matches[0];
|
|
14830
14988
|
}
|
|
14831
|
-
const xcodeproj =
|
|
14989
|
+
const xcodeproj = import_node_path18.default.join(iosRoot, project.name);
|
|
14832
14990
|
const appTargets = listXcodeAppTargets(xcodeproj, { requireSources: false });
|
|
14833
14991
|
let target = iosTarget ?? defaultXcodeAppTarget(xcodeproj);
|
|
14834
14992
|
if (!target) throw new Error("native app identity has no iOS application target");
|
|
14835
14993
|
if (!iosTarget) {
|
|
14836
14994
|
const workspace = xcodeproj.replace(/\.xcodeproj$/, ".xcworkspace");
|
|
14837
|
-
const container =
|
|
14995
|
+
const container = import_node_fs15.default.existsSync(workspace) ? workspace : xcodeproj;
|
|
14838
14996
|
const hasScheme = [container, xcodeproj].some((dir) => {
|
|
14839
|
-
if (
|
|
14997
|
+
if (import_node_fs15.default.existsSync(import_node_path18.default.join(dir, "xcshareddata", "xcschemes", `${target}.xcscheme`)))
|
|
14840
14998
|
return true;
|
|
14841
|
-
const users =
|
|
14842
|
-
return
|
|
14843
|
-
(user) =>
|
|
14999
|
+
const users = import_node_path18.default.join(dir, "xcuserdata");
|
|
15000
|
+
return import_node_fs15.default.existsSync(users) && import_node_fs15.default.readdirSync(users).some(
|
|
15001
|
+
(user) => import_node_fs15.default.existsSync(import_node_path18.default.join(users, user, "xcschemes", `${target}.xcscheme`))
|
|
14844
15002
|
);
|
|
14845
15003
|
});
|
|
14846
15004
|
if (hasScheme) target = readXcodeScheme(container, target).target;
|
|
@@ -14849,8 +15007,8 @@ function selectIosAppTarget(projectRoot, iosTarget) {
|
|
|
14849
15007
|
throw new Error(`native app identity has no application target ${target}`);
|
|
14850
15008
|
return { xcodeproj, target };
|
|
14851
15009
|
}
|
|
14852
|
-
var workspaceResolvedFile = (xcodeprojOrWorkspace) =>
|
|
14853
|
-
xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace :
|
|
15010
|
+
var workspaceResolvedFile = (xcodeprojOrWorkspace) => import_node_path18.default.join(
|
|
15011
|
+
xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : import_node_path18.default.join(xcodeprojOrWorkspace, "project.xcworkspace"),
|
|
14854
15012
|
"xcshareddata",
|
|
14855
15013
|
"swiftpm",
|
|
14856
15014
|
"Package.resolved"
|
|
@@ -14865,7 +15023,7 @@ var SwiftPackageResolutionRequired = class extends Error {
|
|
|
14865
15023
|
}
|
|
14866
15024
|
};
|
|
14867
15025
|
function readXcodeAppTarget(input, targetName, configurationName, options = {}) {
|
|
14868
|
-
const xcodeprojOrWorkspace =
|
|
15026
|
+
const xcodeprojOrWorkspace = import_node_fs15.default.realpathSync(input);
|
|
14869
15027
|
const workspace = xcodeprojOrWorkspace.endsWith(".xcworkspace") ? xcodeprojOrWorkspace : null;
|
|
14870
15028
|
const { listed, projects, projectAt, cocoapods } = workspaceProjects(
|
|
14871
15029
|
xcodeprojOrWorkspace,
|
|
@@ -14874,7 +15032,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
14874
15032
|
const allTargets = projects.flatMap(projectTargets);
|
|
14875
15033
|
const appTargets = allTargets.filter((ref) => isIosAppTarget(ref, options));
|
|
14876
15034
|
const appTargetNames = appTargets.map((ref) => str(ref.target.name) ?? ref.id);
|
|
14877
|
-
const container =
|
|
15035
|
+
const container = import_node_path18.default.basename(xcodeprojOrWorkspace);
|
|
14878
15036
|
const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
|
|
14879
15037
|
if (named.length !== 1) {
|
|
14880
15038
|
throw new Error(
|
|
@@ -14887,15 +15045,15 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
14887
15045
|
for (const ref of allTargets) {
|
|
14888
15046
|
const product = ref.project.object(str(ref.target.productReference));
|
|
14889
15047
|
const file = str(product?.path);
|
|
14890
|
-
if (file && !byProduct.has(
|
|
14891
|
-
byProduct.set(
|
|
15048
|
+
if (file && !byProduct.has(import_node_path18.default.basename(file)))
|
|
15049
|
+
byProduct.set(import_node_path18.default.basename(file), ref);
|
|
14892
15050
|
}
|
|
14893
15051
|
const proxied = (project, proxyId) => {
|
|
14894
15052
|
const proxy = project.object(proxyId);
|
|
14895
15053
|
if (proxy?.isa !== "PBXContainerItemProxy") return void 0;
|
|
14896
15054
|
const portal = str(proxy.containerPortal);
|
|
14897
15055
|
const portalPath = project.resolvePath(portal ?? "");
|
|
14898
|
-
const owner = project.object(portal)?.isa === "PBXProject" ? project : portalPath &&
|
|
15056
|
+
const owner = project.object(portal)?.isa === "PBXProject" ? project : portalPath && import_node_fs15.default.existsSync(portalPath) ? projectAt.get(import_node_fs15.default.realpathSync(portalPath)) : void 0;
|
|
14899
15057
|
const remote = str(proxy.remoteGlobalIDString);
|
|
14900
15058
|
if (!owner || !remote) return void 0;
|
|
14901
15059
|
return projectTargets(owner).find(
|
|
@@ -14919,7 +15077,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
14919
15077
|
const buildFile = project.object(buildFileId);
|
|
14920
15078
|
if (!buildFile || !xcodeBuildFileBuildsForIos(buildFile)) continue;
|
|
14921
15079
|
const file = project.object(str(buildFile.fileRef));
|
|
14922
|
-
const resolved = file?.isa === "PBXReferenceProxy" ? proxied(project, str(file.remoteRef)) : file && str(file.sourceTree) === "BUILT_PRODUCTS_DIR" ? byProduct.get(
|
|
15080
|
+
const resolved = file?.isa === "PBXReferenceProxy" ? proxied(project, str(file.remoteRef)) : file && str(file.sourceTree) === "BUILT_PRODUCTS_DIR" ? byProduct.get(import_node_path18.default.basename(str(file.path) ?? "")) : void 0;
|
|
14923
15081
|
if (resolved) found.push(resolved);
|
|
14924
15082
|
}
|
|
14925
15083
|
}
|
|
@@ -14976,8 +15134,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
14976
15134
|
ref.project.visitMembers(
|
|
14977
15135
|
ref.id,
|
|
14978
15136
|
ref.project.resolvePath,
|
|
14979
|
-
(file) => isDirectory(file) ? walkFiles(file) :
|
|
14980
|
-
|
|
15137
|
+
(file) => isDirectory(file) ? walkFiles(file) : import_node_fs15.default.existsSync(file) ? [file] : [],
|
|
15138
|
+
import_node_path18.default.join,
|
|
14981
15139
|
(file, kind) => {
|
|
14982
15140
|
if (kind === "header") found.push(file);
|
|
14983
15141
|
}
|
|
@@ -14993,12 +15151,12 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
14993
15151
|
for (const ref of projectTargets(project)) {
|
|
14994
15152
|
const product = productName(ref);
|
|
14995
15153
|
for (const { file, visibility } of headerPhase(ref)) {
|
|
14996
|
-
const name2 =
|
|
15154
|
+
const name2 = import_node_path18.default.basename(file);
|
|
14997
15155
|
if (!entries.has(name2))
|
|
14998
15156
|
entries.set(name2, visibility !== "Project" ? `${product}/${name2}` : file);
|
|
14999
15157
|
}
|
|
15000
15158
|
for (const file of synchronizedHeaders(ref)) {
|
|
15001
|
-
const name2 =
|
|
15159
|
+
const name2 = import_node_path18.default.basename(file);
|
|
15002
15160
|
if (!entries.has(name2)) entries.set(name2, file);
|
|
15003
15161
|
}
|
|
15004
15162
|
}
|
|
@@ -15008,7 +15166,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15008
15166
|
if (folder === null) continue;
|
|
15009
15167
|
for (const file of walkFiles(folder)) {
|
|
15010
15168
|
if (!HEADER_FILE.test(file)) continue;
|
|
15011
|
-
const name2 =
|
|
15169
|
+
const name2 = import_node_path18.default.basename(file);
|
|
15012
15170
|
if (!entries.has(name2)) entries.set(name2, file);
|
|
15013
15171
|
}
|
|
15014
15172
|
}
|
|
@@ -15016,18 +15174,18 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15016
15174
|
for (const id of Object.keys(project.objects)) {
|
|
15017
15175
|
if (project.object(id)?.isa !== "PBXFileReference") continue;
|
|
15018
15176
|
const file = project.resolvePath(id);
|
|
15019
|
-
if (file && HEADER_FILE.test(file) && !entries.has(
|
|
15020
|
-
entries.set(
|
|
15177
|
+
if (file && HEADER_FILE.test(file) && !entries.has(import_node_path18.default.basename(file)))
|
|
15178
|
+
entries.set(import_node_path18.default.basename(file), file);
|
|
15021
15179
|
}
|
|
15022
15180
|
const map2 = [...entries];
|
|
15023
15181
|
projectHeaderMaps.set(project, map2);
|
|
15024
15182
|
return map2;
|
|
15025
15183
|
};
|
|
15026
15184
|
const xcconfigs = /* @__PURE__ */ new Set();
|
|
15027
|
-
const buildDir = (project) =>
|
|
15185
|
+
const buildDir = (project) => import_node_path18.default.join(project.projectDir, ".build/peach-xcode/Build");
|
|
15028
15186
|
const podsBuild = {
|
|
15029
|
-
SYMROOT:
|
|
15030
|
-
OBJROOT:
|
|
15187
|
+
SYMROOT: import_node_path18.default.join(buildDir(app.project), "Products"),
|
|
15188
|
+
OBJROOT: import_node_path18.default.join(buildDir(app.project), "Intermediates.noindex")
|
|
15031
15189
|
};
|
|
15032
15190
|
const moduleTarget = (ref) => {
|
|
15033
15191
|
const name2 = str(ref.target.name) ?? ref.id;
|
|
@@ -15042,19 +15200,21 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15042
15200
|
TARGET_NAME: name2,
|
|
15043
15201
|
TARGETNAME: "$(TARGET_NAME)",
|
|
15044
15202
|
PROJECT: "$(PROJECT_NAME)",
|
|
15045
|
-
PROJECT_NAME:
|
|
15203
|
+
PROJECT_NAME: import_node_path18.default.basename(ref.project.xcodeproj, ".xcodeproj"),
|
|
15046
15204
|
PROJECT_FILE_PATH: ref.project.xcodeproj,
|
|
15047
15205
|
SRCROOT: ref.project.projectDir,
|
|
15048
15206
|
SOURCE_ROOT: ref.project.projectDir,
|
|
15049
15207
|
PROJECT_DIR: ref.project.projectDir,
|
|
15050
|
-
SYMROOT:
|
|
15208
|
+
SYMROOT: import_node_path18.default.join(buildDir(ref.project), "Products"),
|
|
15051
15209
|
BUILD_DIR: "$(SYMROOT)",
|
|
15052
15210
|
BUILD_ROOT: "$(SYMROOT)",
|
|
15053
|
-
OBJROOT:
|
|
15211
|
+
OBJROOT: import_node_path18.default.join(buildDir(ref.project), "Intermediates.noindex"),
|
|
15054
15212
|
CONFIGURATION_BUILD_DIR: "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)",
|
|
15055
15213
|
BUILT_PRODUCTS_DIR: "$(CONFIGURATION_BUILD_DIR)",
|
|
15056
15214
|
TARGET_BUILD_DIR: "$(CONFIGURATION_BUILD_DIR)",
|
|
15057
15215
|
UNLOCALIZED_RESOURCES_FOLDER_PATH: str(ref.project.object(str(ref.target.productReference))?.path) ?? "",
|
|
15216
|
+
CONTENTS_FOLDER_PATH: "$(UNLOCALIZED_RESOURCES_FOLDER_PATH)",
|
|
15217
|
+
FRAMEWORKS_FOLDER_PATH: "$(CONTENTS_FOLDER_PATH)/Frameworks",
|
|
15058
15218
|
PROJECT_TEMP_DIR: "$(OBJROOT)/$(PROJECT_NAME).build",
|
|
15059
15219
|
CONFIGURATION_TEMP_DIR: "$(PROJECT_TEMP_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)",
|
|
15060
15220
|
TARGET_TEMP_DIR: "$(CONFIGURATION_TEMP_DIR)/$(TARGET_NAME).build",
|
|
@@ -15090,7 +15250,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15090
15250
|
xcconfigs
|
|
15091
15251
|
);
|
|
15092
15252
|
const searchRules = recursiveSearchRules(settings2);
|
|
15093
|
-
const absolute = (file) =>
|
|
15253
|
+
const absolute = (file) => import_node_path18.default.resolve(ref.project.projectDir, file);
|
|
15094
15254
|
const framework = FRAMEWORK_PRODUCTS.has(str(ref.target.productType) ?? "");
|
|
15095
15255
|
const product = settings2("PRODUCT_NAME");
|
|
15096
15256
|
const moduleName = applyOperator(settings2("PRODUCT_MODULE_NAME"), "c99extidentifier");
|
|
@@ -15121,7 +15281,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15121
15281
|
`${name2}: Swift compatibility header phase has no Swift producer sources`
|
|
15122
15282
|
);
|
|
15123
15283
|
const building = options.prepareGeneratedSources && options.requireSources !== false;
|
|
15124
|
-
const versioning = building && allSources.length > 0 && settings2("VERSIONING_SYSTEM") === "apple-generic" ?
|
|
15284
|
+
const versioning = building && allSources.length > 0 && settings2("VERSIONING_SYSTEM") === "apple-generic" ? import_node_path18.default.join(settings2("DERIVED_FILE_DIR"), `${product}_vers.c`) : null;
|
|
15125
15285
|
if (versioning) {
|
|
15126
15286
|
const version = settings2("CURRENT_PROJECT_VERSION");
|
|
15127
15287
|
const custom = [
|
|
@@ -15134,7 +15294,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15134
15294
|
].filter((key) => settings2(key));
|
|
15135
15295
|
if (custom.length)
|
|
15136
15296
|
throw new Error(
|
|
15137
|
-
`${name2}: Xcode generates ${
|
|
15297
|
+
`${name2}: Xcode generates ${import_node_path18.default.basename(versioning)} with ${custom.join(", ")}; peach does not model VERSION_INFO_* overrides`
|
|
15138
15298
|
);
|
|
15139
15299
|
const symbol = product.replace(/^[^A-Za-z_]/, "_").replace(/[^A-Za-z0-9_]/g, "_");
|
|
15140
15300
|
const [major, minor] = version.split(".");
|
|
@@ -15147,9 +15307,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15147
15307
|
` const double ${symbol}VersionNumber __attribute__ ((used)) = (double)${number};`,
|
|
15148
15308
|
""
|
|
15149
15309
|
].join("\n");
|
|
15150
|
-
if (!
|
|
15151
|
-
|
|
15152
|
-
|
|
15310
|
+
if (!import_node_fs15.default.existsSync(versioning) || import_node_fs15.default.readFileSync(versioning, "utf8") !== unit) {
|
|
15311
|
+
import_node_fs15.default.mkdirSync(import_node_path18.default.dirname(versioning), { recursive: true });
|
|
15312
|
+
import_node_fs15.default.writeFileSync(versioning, unit);
|
|
15153
15313
|
}
|
|
15154
15314
|
allSources.push(versioning);
|
|
15155
15315
|
}
|
|
@@ -15168,7 +15328,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15168
15328
|
const headerFiles = headerPhase(ref);
|
|
15169
15329
|
const ownHeaders = /* @__PURE__ */ new Map();
|
|
15170
15330
|
for (const { file, visibility } of headerFiles) {
|
|
15171
|
-
const name3 =
|
|
15331
|
+
const name3 = import_node_path18.default.basename(file);
|
|
15172
15332
|
const published = visibility !== "Project";
|
|
15173
15333
|
if (!ownHeaders.has(name3))
|
|
15174
15334
|
ownHeaders.set(name3, published ? `${product}/${name3}` : file);
|
|
@@ -15176,7 +15336,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15176
15336
|
ownHeaders.set(`${product}/${name3}`, file);
|
|
15177
15337
|
}
|
|
15178
15338
|
for (const file of synchronizedHeaders(ref)) {
|
|
15179
|
-
const name3 =
|
|
15339
|
+
const name3 = import_node_path18.default.basename(file);
|
|
15180
15340
|
if (ownHeaders.has(name3)) continue;
|
|
15181
15341
|
ownHeaders.set(name3, file);
|
|
15182
15342
|
const qualified = `${product}/${name3}`;
|
|
@@ -15188,24 +15348,24 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15188
15348
|
const otherProduct = productName(other);
|
|
15189
15349
|
for (const { file, visibility } of headerPhase(other)) {
|
|
15190
15350
|
if (visibility === "Project") continue;
|
|
15191
|
-
const key = `${otherProduct}/${
|
|
15351
|
+
const key = `${otherProduct}/${import_node_path18.default.basename(file)}`;
|
|
15192
15352
|
if (!nonFrameworkHeaders.has(key)) nonFrameworkHeaders.set(key, file);
|
|
15193
15353
|
}
|
|
15194
15354
|
}
|
|
15195
|
-
const wrapper =
|
|
15355
|
+
const wrapper = import_node_path18.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
|
|
15196
15356
|
const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
|
|
15197
|
-
const frameworkUmbrella = !compatibility && framework && members.sources.length > 0 && moduleMap ?
|
|
15198
|
-
const frameworkCompatibility = frameworkUmbrella && moduleMap &&
|
|
15357
|
+
const frameworkUmbrella = !compatibility && framework && members.sources.length > 0 && moduleMap ? import_node_path18.default.join(import_node_path18.default.dirname(moduleMap), `${moduleName}-umbrella.h`) : null;
|
|
15358
|
+
const frameworkCompatibility = frameworkUmbrella && moduleMap && import_node_fs15.default.existsSync(moduleMap) && import_node_fs15.default.existsSync(frameworkUmbrella) ? {
|
|
15199
15359
|
framework: true,
|
|
15200
15360
|
moduleMap,
|
|
15201
15361
|
umbrella: frameworkUmbrella,
|
|
15202
|
-
outputModuleMap:
|
|
15203
|
-
outputUmbrella:
|
|
15362
|
+
outputModuleMap: import_node_path18.default.join(wrapper, "Modules", "module.modulemap"),
|
|
15363
|
+
outputUmbrella: import_node_path18.default.join(
|
|
15204
15364
|
wrapper,
|
|
15205
15365
|
"Headers",
|
|
15206
|
-
|
|
15366
|
+
import_node_path18.default.basename(frameworkUmbrella)
|
|
15207
15367
|
),
|
|
15208
|
-
outputHeader:
|
|
15368
|
+
outputHeader: import_node_path18.default.join(
|
|
15209
15369
|
wrapper,
|
|
15210
15370
|
"Headers",
|
|
15211
15371
|
settings2("SWIFT_OBJC_INTERFACE_HEADER_NAME") || `${moduleName}-Swift.h`
|
|
@@ -15219,10 +15379,10 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15219
15379
|
outputUmbrella: compatibility.outputUmbrella,
|
|
15220
15380
|
outputHeader: compatibility.outputHeader
|
|
15221
15381
|
} : frameworkCompatibility;
|
|
15222
|
-
const podHeaders = !framework && isPodsProject(ref.project.xcodeproj) && moduleMap &&
|
|
15382
|
+
const podHeaders = !framework && isPodsProject(ref.project.xcodeproj) && moduleMap && import_node_path18.default.relative(import_node_path18.default.join(ref.project.projectDir, "Headers", "Public"), moduleMap).split(import_node_path18.default.sep)[0] !== ".." && import_node_fs15.default.existsSync(moduleMap) ? import_node_fs15.default.readdirSync(import_node_path18.default.dirname(moduleMap)).flatMap((entry) => {
|
|
15223
15383
|
if (!/\.(h|hh|hpp|hxx|modulemap)$/.test(entry)) return [];
|
|
15224
|
-
const file =
|
|
15225
|
-
return
|
|
15384
|
+
const file = import_node_path18.default.join(import_node_path18.default.dirname(moduleMap), entry);
|
|
15385
|
+
return import_node_fs15.default.existsSync(file) ? [file] : [];
|
|
15226
15386
|
}) : [];
|
|
15227
15387
|
const fileFlags = {};
|
|
15228
15388
|
for (const phaseId of list(ref.target.buildPhases)) {
|
|
@@ -15247,6 +15407,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15247
15407
|
keys,
|
|
15248
15408
|
module: {
|
|
15249
15409
|
name: name2,
|
|
15410
|
+
targetIdentity: JSON.stringify([ref.project.xcodeproj, ref.id]),
|
|
15411
|
+
targetDependencies: Array(),
|
|
15250
15412
|
moduleName,
|
|
15251
15413
|
...settings2("PODS_TARGET_SRCROOT") ? { podRoot: absolute(settings2("PODS_TARGET_SRCROOT")) } : {},
|
|
15252
15414
|
...members,
|
|
@@ -15290,15 +15452,15 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15290
15452
|
// xcode searches its products' include directory before
|
|
15291
15453
|
// HEADER_SEARCH_PATHS and the target's derived sources after.
|
|
15292
15454
|
headerSearchPaths: [
|
|
15293
|
-
|
|
15455
|
+
import_node_path18.default.join(settings2("BUILT_PRODUCTS_DIR"), "include"),
|
|
15294
15456
|
...settingList(settings2("HEADER_SEARCH_PATHS")).flatMap(
|
|
15295
15457
|
(raw) => expandSearchPath(absolute(raw), searchRules)
|
|
15296
15458
|
),
|
|
15297
|
-
|
|
15459
|
+
import_node_path18.default.join(
|
|
15298
15460
|
`${settings2("DERIVED_FILE_DIR")}-normal`,
|
|
15299
15461
|
settings2("CURRENT_ARCH")
|
|
15300
15462
|
),
|
|
15301
|
-
|
|
15463
|
+
import_node_path18.default.join(settings2("DERIVED_FILE_DIR"), settings2("CURRENT_ARCH")),
|
|
15302
15464
|
settings2("DERIVED_FILE_DIR")
|
|
15303
15465
|
],
|
|
15304
15466
|
userHeaderSearchPaths: settingList(
|
|
@@ -15321,6 +15483,12 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15321
15483
|
),
|
|
15322
15484
|
...settingList(settings2("OTHER_CFLAGS"))
|
|
15323
15485
|
],
|
|
15486
|
+
importerFlags: [
|
|
15487
|
+
...settings2("CLANG_ENABLE_MODULES") === "YES" ? ["-fmodules"] : [],
|
|
15488
|
+
...settingList(settings2("GCC_PREPROCESSOR_DEFINITIONS")).map(
|
|
15489
|
+
(value) => `-D${value}`
|
|
15490
|
+
)
|
|
15491
|
+
],
|
|
15324
15492
|
cxxFlags: [
|
|
15325
15493
|
...cxxStandard && cxxStandard !== "compiler-default" ? [`-std=${CXX_STANDARD_ALIASES[cxxStandard] ?? cxxStandard}`] : [],
|
|
15326
15494
|
// clang.xcspec's hidden CLANG_DISABLE_CXX_MODULES (default
|
|
@@ -15342,10 +15510,10 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15342
15510
|
...headerFiles.flatMap(
|
|
15343
15511
|
({ file, visibility }) => visibility === "Project" ? [] : [
|
|
15344
15512
|
[
|
|
15345
|
-
|
|
15513
|
+
import_node_path18.default.join(
|
|
15346
15514
|
wrapper,
|
|
15347
15515
|
visibility === "Public" ? "Headers" : "PrivateHeaders",
|
|
15348
|
-
|
|
15516
|
+
import_node_path18.default.basename(file)
|
|
15349
15517
|
),
|
|
15350
15518
|
file
|
|
15351
15519
|
]
|
|
@@ -15359,7 +15527,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15359
15527
|
return [];
|
|
15360
15528
|
const destination = expand(
|
|
15361
15529
|
str(phase.dstPath) ?? "",
|
|
15362
|
-
(name3) => name3 === "PUBLIC_HEADERS_FOLDER_PATH" ?
|
|
15530
|
+
(name3) => name3 === "PUBLIC_HEADERS_FOLDER_PATH" ? import_node_path18.default.join(wrapper, "Headers") : name3 === "PRIVATE_HEADERS_FOLDER_PATH" ? import_node_path18.default.join(wrapper, "PrivateHeaders") : settings2(name3)
|
|
15363
15531
|
);
|
|
15364
15532
|
return list(phase.files).flatMap((id) => {
|
|
15365
15533
|
const file = ref.project.resolvePath(
|
|
@@ -15367,17 +15535,17 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15367
15535
|
);
|
|
15368
15536
|
return file && HEADER_FILE.test(file) ? [
|
|
15369
15537
|
[
|
|
15370
|
-
|
|
15538
|
+
import_node_path18.default.resolve(
|
|
15371
15539
|
settings2("BUILT_PRODUCTS_DIR"),
|
|
15372
15540
|
destination,
|
|
15373
|
-
|
|
15541
|
+
import_node_path18.default.basename(file)
|
|
15374
15542
|
),
|
|
15375
15543
|
file
|
|
15376
15544
|
]
|
|
15377
15545
|
] : [];
|
|
15378
15546
|
});
|
|
15379
15547
|
}),
|
|
15380
|
-
...moduleMap ? [[
|
|
15548
|
+
...moduleMap ? [[import_node_path18.default.join(wrapper, "Modules", "module.modulemap"), moduleMap]] : []
|
|
15381
15549
|
]) : Object.fromEntries([
|
|
15382
15550
|
...podHeaders.map((file) => [file, file]),
|
|
15383
15551
|
...moduleMap ? [[moduleMap, moduleMap]] : []
|
|
@@ -15388,6 +15556,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15388
15556
|
};
|
|
15389
15557
|
};
|
|
15390
15558
|
const builtTargets = order.map((ref) => ({ ref, ...moduleTarget(ref) }));
|
|
15559
|
+
for (const { ref, module: module3 } of builtTargets)
|
|
15560
|
+
module3.targetDependencies = dependenciesOf(ref).flatMap((dependency) => {
|
|
15561
|
+
const target = builtTargets.find((candidate) => candidate.ref === dependency);
|
|
15562
|
+
return target ? [target.module.targetIdentity] : [];
|
|
15563
|
+
});
|
|
15391
15564
|
const { settings, keys: settingKeys, module: module2 } = builtTargets.at(-1);
|
|
15392
15565
|
const nativeTargets = /* @__PURE__ */ new Set();
|
|
15393
15566
|
const includeNativeTarget = (ref) => {
|
|
@@ -15396,12 +15569,15 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15396
15569
|
for (const dependency of dependenciesOf(ref)) includeNativeTarget(dependency);
|
|
15397
15570
|
};
|
|
15398
15571
|
for (const { ref, module: module3 } of builtTargets)
|
|
15399
|
-
if (options.nativeModules?.
|
|
15572
|
+
if (options.nativeModules?.some(
|
|
15573
|
+
(name2) => name2 === module3.moduleName || name2 === module3.name
|
|
15574
|
+
))
|
|
15575
|
+
includeNativeTarget(ref);
|
|
15400
15576
|
const selectedTargets = options.nativeModules ? builtTargets.filter((target) => nativeTargets.has(target.ref)) : builtTargets;
|
|
15401
15577
|
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 }));
|
|
15402
15578
|
const frameworks = frameworkTargets.map(({ framework }) => framework);
|
|
15403
15579
|
const podSourceDirs = builtTargets.slice(0, -1).flatMap(
|
|
15404
|
-
({ ref, module: module3 }) => isPodsProject(ref.project.xcodeproj) ? [...module3.allSources, ...module3.objc?.headers ?? []].map((file) =>
|
|
15580
|
+
({ ref, module: module3 }) => isPodsProject(ref.project.xcodeproj) ? [...module3.allSources, ...module3.objc?.headers ?? []].map((file) => import_node_path18.default.dirname(file)).filter((dir) => import_node_fs15.default.existsSync(dir)) : []
|
|
15405
15581
|
);
|
|
15406
15582
|
const expandValue = (value, settings2) => {
|
|
15407
15583
|
if (typeof value === "string") return expand(value, settings2);
|
|
@@ -15422,7 +15598,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15422
15598
|
const phase = owner.ref.project.object(phaseId);
|
|
15423
15599
|
if (phase?.isa !== "PBXShellScriptBuildPhase" || str(phase.name) !== "[CP] Copy Pods Resources")
|
|
15424
15600
|
continue;
|
|
15425
|
-
const absolute = (raw) =>
|
|
15601
|
+
const absolute = (raw) => import_node_path18.default.resolve(owner.ref.project.projectDir, expand(raw, owner.settings));
|
|
15426
15602
|
const entries = (paths) => paths.flatMap((raw) => {
|
|
15427
15603
|
const file = absolute(raw);
|
|
15428
15604
|
xcconfigs.add(file);
|
|
@@ -15438,7 +15614,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15438
15614
|
].filter((file) => file.endsWith(".bundle"));
|
|
15439
15615
|
if (inputs.length !== outputs.length)
|
|
15440
15616
|
throw new Error(`${owner.module.name}: resource bundle copy lists differ`);
|
|
15441
|
-
const destinationRoot =
|
|
15617
|
+
const destinationRoot = import_node_path18.default.join(
|
|
15442
15618
|
owner.settings("TARGET_BUILD_DIR"),
|
|
15443
15619
|
owner.settings("UNLOCALIZED_RESOURCES_FOLDER_PATH")
|
|
15444
15620
|
);
|
|
@@ -15447,24 +15623,24 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15447
15623
|
const file = str(
|
|
15448
15624
|
target.ref.project.object(str(target.ref.target.productReference))?.path
|
|
15449
15625
|
);
|
|
15450
|
-
return file &&
|
|
15626
|
+
return file && import_node_path18.default.join(target.settings("TARGET_BUILD_DIR"), file) === input2;
|
|
15451
15627
|
});
|
|
15452
15628
|
if (!product && !isDirectory(input2))
|
|
15453
15629
|
throw new Error(
|
|
15454
15630
|
`${owner.module.name}: resource bundle input has no selected producer: ${input2}`
|
|
15455
15631
|
);
|
|
15456
|
-
const destination =
|
|
15457
|
-
if (destination === ".." || destination.startsWith(`..${
|
|
15632
|
+
const destination = import_node_path18.default.relative(destinationRoot, outputs[index]);
|
|
15633
|
+
if (destination === ".." || destination.startsWith(`..${import_node_path18.default.sep}`) || import_node_path18.default.isAbsolute(destination) || import_node_path18.default.basename(input2) !== import_node_path18.default.basename(destination))
|
|
15458
15634
|
throw new Error(
|
|
15459
15635
|
`${owner.module.name}: invalid resource bundle copy destination`
|
|
15460
15636
|
);
|
|
15461
|
-
const infoFile = product ?
|
|
15637
|
+
const infoFile = product ? import_node_path18.default.resolve(
|
|
15462
15638
|
product.ref.project.projectDir,
|
|
15463
15639
|
product.settings("INFOPLIST_FILE")
|
|
15464
15640
|
) : null;
|
|
15465
15641
|
if (infoFile) xcconfigs.add(infoFile);
|
|
15466
15642
|
const prefix2 = owner.ref === app ? "" : `Frameworks/${owner.module.moduleName}.framework/`;
|
|
15467
|
-
const bundlePath = prefix2 + destination.split(
|
|
15643
|
+
const bundlePath = prefix2 + destination.split(import_node_path18.default.sep).join("/");
|
|
15468
15644
|
if (resourceProducts.some((resource) => resource.path === bundlePath))
|
|
15469
15645
|
throw new Error(
|
|
15470
15646
|
`${owner.module.name}: duplicate resource bundle destination ${bundlePath}`
|
|
@@ -15475,21 +15651,21 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15475
15651
|
resources: product.module.resources,
|
|
15476
15652
|
infoPlist: import_plist3.default.build(
|
|
15477
15653
|
expandValue(
|
|
15478
|
-
import_plist3.default.parse(
|
|
15654
|
+
import_plist3.default.parse(import_node_fs15.default.readFileSync(infoFile, "utf8")),
|
|
15479
15655
|
product.settings
|
|
15480
15656
|
)
|
|
15481
15657
|
)
|
|
15482
15658
|
} : {
|
|
15483
|
-
resources:
|
|
15659
|
+
resources: import_node_fs15.default.readdirSync(input2, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => import_node_path18.default.join(entry.parentPath, entry.name)).sort(),
|
|
15484
15660
|
sourceRoot: input2
|
|
15485
15661
|
}
|
|
15486
15662
|
});
|
|
15487
15663
|
}
|
|
15488
15664
|
}
|
|
15489
15665
|
}
|
|
15490
|
-
const infoPlistFile = settings("INFOPLIST_FILE") ?
|
|
15666
|
+
const infoPlistFile = settings("INFOPLIST_FILE") ? import_node_path18.default.resolve(app.project.projectDir, settings("INFOPLIST_FILE")) : null;
|
|
15491
15667
|
const infoPlistPending = module2.generatedInfoPlist && !options.prepareGeneratedSources;
|
|
15492
|
-
const sourceInfo = infoPlistFile && !infoPlistPending ? import_plist3.default.parse(
|
|
15668
|
+
const sourceInfo = infoPlistFile && !infoPlistPending ? import_plist3.default.parse(import_node_fs15.default.readFileSync(infoPlistFile, "utf8")) : {};
|
|
15493
15669
|
if (!sourceInfo || typeof sourceInfo !== "object" || Array.isArray(sourceInfo) || sourceInfo instanceof Date || Buffer.isBuffer(sourceInfo)) {
|
|
15494
15670
|
throw new Error(`${module2.name} Info.plist must contain a dictionary`);
|
|
15495
15671
|
}
|
|
@@ -15511,6 +15687,23 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15511
15687
|
if (info[key] === void 0 && value) info[key] = value;
|
|
15512
15688
|
}
|
|
15513
15689
|
}
|
|
15690
|
+
const postBundleScripts = [];
|
|
15691
|
+
for (const id of [...list(app.target.buildPhases)].reverse()) {
|
|
15692
|
+
const phase = app.project.object(id);
|
|
15693
|
+
if (phase?.isa !== "PBXShellScriptBuildPhase" || list(phase.inputPaths).length || list(phase.inputFileListPaths).length || list(phase.outputPaths).length || list(phase.outputFileListPaths).length)
|
|
15694
|
+
break;
|
|
15695
|
+
postBundleScripts.unshift({
|
|
15696
|
+
name: str(phase.name) ?? id,
|
|
15697
|
+
command: scriptCommand(
|
|
15698
|
+
str(phase.shellPath) ?? "/bin/sh",
|
|
15699
|
+
str(phase.shellScript) ?? ""
|
|
15700
|
+
),
|
|
15701
|
+
directory: app.project.projectDir,
|
|
15702
|
+
environment: Object.fromEntries(
|
|
15703
|
+
[...settingKeys].filter((key) => /^[A-Za-z_][A-Za-z0-9_]*$/.test(key)).map((key) => [key, settings(key)])
|
|
15704
|
+
)
|
|
15705
|
+
});
|
|
15706
|
+
}
|
|
15514
15707
|
if (settings("INFOPLIST_KEY_UIApplicationSceneManifest_Generation") === "YES" && info.UIApplicationSceneManifest === void 0) {
|
|
15515
15708
|
info.UIApplicationSceneManifest = {
|
|
15516
15709
|
UIApplicationSupportsMultipleScenes: true,
|
|
@@ -15518,7 +15711,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15518
15711
|
};
|
|
15519
15712
|
}
|
|
15520
15713
|
const localPackageDirs = [
|
|
15521
|
-
...listed.filter((reference) =>
|
|
15714
|
+
...listed.filter((reference) => import_node_fs15.default.existsSync(import_node_path18.default.join(reference, "Package.swift"))),
|
|
15522
15715
|
...projects.flatMap(
|
|
15523
15716
|
(project) => Object.entries(project.objects).flatMap(([id, entry]) => {
|
|
15524
15717
|
if (!isDict(entry)) return [];
|
|
@@ -15528,19 +15721,19 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15528
15721
|
const packages = [];
|
|
15529
15722
|
while (pending.length > 0) {
|
|
15530
15723
|
const dir = pending.pop();
|
|
15531
|
-
if (
|
|
15724
|
+
if (import_node_fs15.default.existsSync(import_node_path18.default.join(dir, "Package.swift"))) {
|
|
15532
15725
|
packages.push(dir);
|
|
15533
15726
|
continue;
|
|
15534
15727
|
}
|
|
15535
15728
|
if (!isDirectory(dir)) continue;
|
|
15536
|
-
for (const child of
|
|
15729
|
+
for (const child of import_node_fs15.default.readdirSync(dir, { withFileTypes: true }))
|
|
15537
15730
|
if (child.isDirectory() && !child.name.startsWith("."))
|
|
15538
|
-
pending.push(
|
|
15731
|
+
pending.push(import_node_path18.default.join(dir, child.name));
|
|
15539
15732
|
}
|
|
15540
15733
|
return packages;
|
|
15541
15734
|
}
|
|
15542
|
-
const candidate = entry.isa === "XCLocalSwiftPackageReference" ?
|
|
15543
|
-
return candidate &&
|
|
15735
|
+
const candidate = entry.isa === "XCLocalSwiftPackageReference" ? import_node_path18.default.resolve(project.projectDir, str(entry.relativePath) ?? "") : entry.isa === "PBXFileReference" ? project.resolvePath(id) : null;
|
|
15736
|
+
return candidate && import_node_fs15.default.existsSync(import_node_path18.default.join(candidate, "Package.swift")) ? [candidate] : [];
|
|
15544
15737
|
})
|
|
15545
15738
|
)
|
|
15546
15739
|
];
|
|
@@ -15560,14 +15753,40 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15560
15753
|
const qualifiedProductKeys = /* @__PURE__ */ new Set();
|
|
15561
15754
|
const linkedProductKeys = /* @__PURE__ */ new Set();
|
|
15562
15755
|
const binaryFrameworks = /* @__PURE__ */ new Map();
|
|
15563
|
-
|
|
15564
|
-
|
|
15756
|
+
const searchedFrameworks = /* @__PURE__ */ new Map();
|
|
15757
|
+
const frameworkSearchDirectories = /* @__PURE__ */ new Set();
|
|
15758
|
+
for (const { ref, settings: settings2 } of builtTargets) {
|
|
15759
|
+
const absolute = (raw) => import_node_path18.default.resolve(ref.project.projectDir, expand(raw, settings2));
|
|
15760
|
+
const requested = options.nativeModules;
|
|
15761
|
+
const includeBinary = (name2, dir) => {
|
|
15762
|
+
if (!requested || nativeTargets.has(ref) || requested.includes(name2) || dir.endsWith(".xcframework") && localSwiftBinaryModules(dir).some((module3) => requested.includes(module3)))
|
|
15763
|
+
binaryFrameworks.set(name2, dir);
|
|
15764
|
+
};
|
|
15765
|
+
if (!options.nativeModules || nativeTargets.has(ref)) {
|
|
15766
|
+
const searchRules = recursiveSearchRules(settings2);
|
|
15767
|
+
for (const raw of settingList(settings2("FRAMEWORK_SEARCH_PATHS"))) {
|
|
15768
|
+
for (const directory of expandSearchPath(absolute(raw), searchRules)) {
|
|
15769
|
+
if (frameworkSearchDirectories.has(directory)) continue;
|
|
15770
|
+
frameworkSearchDirectories.add(directory);
|
|
15771
|
+
if (!import_node_fs15.default.statSync(directory, { throwIfNoEntry: false })?.isDirectory() || /\.sdk\/(?:System|Developer)\/Library\/Frameworks\/?$/.test(directory))
|
|
15772
|
+
continue;
|
|
15773
|
+
for (const entry of import_node_fs15.default.readdirSync(directory, { withFileTypes: true })) {
|
|
15774
|
+
const name2 = /^(.+)\.framework$/.exec(entry.name)?.[1];
|
|
15775
|
+
if (!name2 || byProduct.has(entry.name) || searchedFrameworks.has(name2))
|
|
15776
|
+
continue;
|
|
15777
|
+
const file = import_node_path18.default.join(directory, entry.name);
|
|
15778
|
+
if (import_node_fs15.default.statSync(file, { throwIfNoEntry: false })?.isDirectory())
|
|
15779
|
+
searchedFrameworks.set(name2, file);
|
|
15780
|
+
}
|
|
15781
|
+
}
|
|
15782
|
+
}
|
|
15783
|
+
}
|
|
15565
15784
|
for (const raw of settingList(settings2("SWIFT_INCLUDE_PATHS"))) {
|
|
15566
15785
|
const dir = absolute(raw);
|
|
15567
|
-
const modulemap =
|
|
15568
|
-
if (!
|
|
15569
|
-
const name2 = moduleMapName(
|
|
15570
|
-
if (name2 && !binaryFrameworks.has(name2))
|
|
15786
|
+
const modulemap = import_node_path18.default.join(dir, "module.modulemap");
|
|
15787
|
+
if (!import_node_fs15.default.existsSync(modulemap)) continue;
|
|
15788
|
+
const name2 = moduleMapName(import_node_fs15.default.readFileSync(modulemap, "utf8"));
|
|
15789
|
+
if (name2 && !binaryFrameworks.has(name2)) includeBinary(name2, dir);
|
|
15571
15790
|
}
|
|
15572
15791
|
for (const phaseId of list(ref.target.buildPhases)) {
|
|
15573
15792
|
const phase = ref.project.object(phaseId);
|
|
@@ -15575,13 +15794,13 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15575
15794
|
const inputs = list(phase.inputPaths).map(absolute);
|
|
15576
15795
|
for (const raw of list(phase.inputFileListPaths)) {
|
|
15577
15796
|
const file = absolute(raw);
|
|
15578
|
-
if (!
|
|
15797
|
+
if (!import_node_fs15.default.existsSync(file)) continue;
|
|
15579
15798
|
xcconfigs.add(file);
|
|
15580
15799
|
inputs.push(...fileListEntries(file, absolute));
|
|
15581
15800
|
}
|
|
15582
15801
|
for (const file of inputs) {
|
|
15583
15802
|
const name2 = /([^/]+)\.xcframework$/.exec(file)?.[1];
|
|
15584
|
-
if (name2 && !binaryFrameworks.has(name2))
|
|
15803
|
+
if (name2 && !binaryFrameworks.has(name2)) includeBinary(name2, file);
|
|
15585
15804
|
}
|
|
15586
15805
|
}
|
|
15587
15806
|
}
|
|
@@ -15624,13 +15843,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15624
15843
|
product,
|
|
15625
15844
|
source: reference?.isa === "XCRemoteSwiftPackageReference" ? { kind: "remote", url: str(reference.repositoryURL) ?? "" } : reference?.isa === "XCLocalSwiftPackageReference" ? {
|
|
15626
15845
|
kind: "local",
|
|
15627
|
-
dir:
|
|
15846
|
+
dir: import_node_path18.default.resolve(
|
|
15628
15847
|
project.projectDir,
|
|
15629
15848
|
str(reference.relativePath) ?? ""
|
|
15630
15849
|
)
|
|
15631
15850
|
} : { kind: "unnamed", remoteUrls: remotePackageUrls }
|
|
15632
15851
|
};
|
|
15633
|
-
|
|
15852
|
+
if (!options.nativeModules || nativeTargets.has(ref) || options.nativeModules.includes(product))
|
|
15853
|
+
productReferences.push({ project: project.projectFile, linked });
|
|
15634
15854
|
if (linked.source.kind !== "unnamed")
|
|
15635
15855
|
qualifiedProductKeys.add(`${project.projectFile}\0${product}`);
|
|
15636
15856
|
const key = JSON.stringify(linked);
|
|
@@ -15656,10 +15876,10 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15656
15876
|
// however it is rooted: xcode links -framework <name> from the sdk
|
|
15657
15877
|
// and a stale group-relative path to it contributes nothing.
|
|
15658
15878
|
/\/System\/Library\/Frameworks\/[^/]+$/.test(`/${rawPath}`) || // a target in the workspace builds it, so it exists only after that build
|
|
15659
|
-
byProduct.has(
|
|
15879
|
+
byProduct.has(import_node_path18.default.basename(rawPath)))
|
|
15660
15880
|
continue;
|
|
15661
15881
|
const resolved = fileId ? project.resolvePath(fileId) : null;
|
|
15662
|
-
if (fileId && resolved !== null && !
|
|
15882
|
+
if (fileId && resolved !== null && !import_node_fs15.default.existsSync(resolved))
|
|
15663
15883
|
throw new Error(
|
|
15664
15884
|
`${str(target.name) ?? "target"}: linked framework ${name2} (${fileId}) points at missing ${resolved} in ${project.projectFile}`
|
|
15665
15885
|
);
|
|
@@ -15667,6 +15887,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15667
15887
|
}
|
|
15668
15888
|
}
|
|
15669
15889
|
}
|
|
15890
|
+
for (const [name2, file] of searchedFrameworks)
|
|
15891
|
+
if (!binaryFrameworks.get(name2)) binaryFrameworks.set(name2, file);
|
|
15670
15892
|
for (const { project, linked } of productReferences) {
|
|
15671
15893
|
if (linked.source.kind === "unnamed" && qualifiedProductKeys.has(`${project}\0${linked.product}`))
|
|
15672
15894
|
continue;
|
|
@@ -15676,9 +15898,11 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15676
15898
|
linkedProducts.push(linked);
|
|
15677
15899
|
}
|
|
15678
15900
|
for (const built of builtTargets)
|
|
15679
|
-
built.module.packageProducts = productsByTarget.get(built.ref) ?? []
|
|
15901
|
+
built.module.packageProducts = (productsByTarget.get(built.ref) ?? []).filter(
|
|
15902
|
+
({ product }) => !options.nativeModules || nativeTargets.has(built.ref) || options.nativeModules.includes(product)
|
|
15903
|
+
);
|
|
15680
15904
|
const resolvedFile = workspaceResolvedFile(xcodeprojOrWorkspace);
|
|
15681
|
-
let packageResolved =
|
|
15905
|
+
let packageResolved = import_node_fs15.default.existsSync(resolvedFile) ? [import_node_fs15.default.realpathSync(resolvedFile)] : [...new Set(localPackageDirs.map((dir) => import_node_path18.default.join(dir, "Package.resolved")))].filter((file) => import_node_fs15.default.existsSync(file)).map((file) => import_node_fs15.default.realpathSync(file)).sort();
|
|
15682
15906
|
if (packageResolved.length === 0) {
|
|
15683
15907
|
const requirements = remotePackageRequirements(projects);
|
|
15684
15908
|
if (requirements.length > 0) {
|
|
@@ -15704,14 +15928,14 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15704
15928
|
} : {},
|
|
15705
15929
|
rootDir: commonAncestor(
|
|
15706
15930
|
[
|
|
15707
|
-
workspace ?
|
|
15931
|
+
workspace ? import_node_path18.default.dirname(workspace) : app.project.projectDir,
|
|
15708
15932
|
...used.map((project) => project.projectDir),
|
|
15709
15933
|
...localPackageDirs,
|
|
15710
15934
|
...linkedProducts.flatMap(
|
|
15711
|
-
({ source }) => source.kind === "local" &&
|
|
15935
|
+
({ source }) => source.kind === "local" && import_node_fs15.default.existsSync(source.dir) ? [source.dir] : []
|
|
15712
15936
|
),
|
|
15713
15937
|
...new Set(podSourceDirs)
|
|
15714
|
-
].map((dir) =>
|
|
15938
|
+
].map((dir) => import_node_fs15.default.realpathSync(dir))
|
|
15715
15939
|
),
|
|
15716
15940
|
projectFiles: [
|
|
15717
15941
|
.../* @__PURE__ */ new Set([
|
|
@@ -15724,12 +15948,13 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
15724
15948
|
appIconName: settings("ASSETCATALOG_COMPILER_APPICON_NAME"),
|
|
15725
15949
|
infoPlist: infoPlistPending ? null : import_plist3.default.build(info),
|
|
15726
15950
|
infoPlistFile,
|
|
15951
|
+
postBundleScripts,
|
|
15727
15952
|
developmentRegion: str(app.project.project.developmentRegion) ?? "en",
|
|
15728
15953
|
frameworks,
|
|
15729
15954
|
resourceProducts,
|
|
15730
15955
|
linkedProducts,
|
|
15731
15956
|
localPackageDirs: [
|
|
15732
|
-
...new Set(localPackageDirs.map((dir) =>
|
|
15957
|
+
...new Set(localPackageDirs.map((dir) => import_node_fs15.default.realpathSync(dir)))
|
|
15733
15958
|
].sort(),
|
|
15734
15959
|
binaryFrameworks: [...binaryFrameworks].map(([name2, file]) => ({ name: name2, path: file })).sort((left, right) => left.name.localeCompare(right.name)),
|
|
15735
15960
|
packageResolved,
|
|
@@ -15819,7 +16044,7 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
|
|
|
15819
16044
|
const rtcAppGroupIdentifier = nonEmptyString2(dictionary.RTCAppGroupIdentifier);
|
|
15820
16045
|
const screenShareExtensionBundleId = typeof dictionary.ScreenShareExtensionBundleId === "string" ? dictionary.ScreenShareExtensionBundleId : void 0;
|
|
15821
16046
|
const rootModuleName = readRootModuleName(
|
|
15822
|
-
app.allSources.filter((file) => /Delegate\.(?:swift|mm|m)$/.test(file) &&
|
|
16047
|
+
app.allSources.filter((file) => /Delegate\.(?:swift|mm|m)$/.test(file) && import_node_fs16.default.existsSync(file)).map((file) => import_node_fs16.default.readFileSync(file, "utf8"))
|
|
15823
16048
|
);
|
|
15824
16049
|
return stampNativeBuildSdk({
|
|
15825
16050
|
applicationName,
|
|
@@ -15840,7 +16065,7 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
|
|
|
15840
16065
|
googleSignIn: readGoogleSignInConfiguration(
|
|
15841
16066
|
dictionary,
|
|
15842
16067
|
Object.fromEntries(
|
|
15843
|
-
app.resources.filter((file) => file.endsWith(".plist")).map((file) => [file, parseInfoPlist(
|
|
16068
|
+
app.resources.filter((file) => file.endsWith(".plist")).map((file) => [file, parseInfoPlist(import_node_fs16.default.readFileSync(file, "utf8"))])
|
|
15844
16069
|
)
|
|
15845
16070
|
),
|
|
15846
16071
|
supportedInterfaceOrientations,
|
|
@@ -15849,11 +16074,11 @@ function readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist = parsePlistSo
|
|
|
15849
16074
|
alternateIconNames: [...alternateIconNames],
|
|
15850
16075
|
appIconArtwork: resolveNativeAppIconArtwork(
|
|
15851
16076
|
app.resources,
|
|
15852
|
-
(file) =>
|
|
16077
|
+
(file) => import_node_fs16.default.readFileSync(file, "utf8"),
|
|
15853
16078
|
(file) => {
|
|
15854
|
-
const extension =
|
|
16079
|
+
const extension = import_node_path19.default.extname(file).toLowerCase();
|
|
15855
16080
|
const contentType = extension === ".jpg" || extension === ".jpeg" ? "image/jpeg" : extension === ".webp" ? "image/webp" : "image/png";
|
|
15856
|
-
return `data:${contentType};base64,${
|
|
16081
|
+
return `data:${contentType};base64,${import_node_fs16.default.readFileSync(file).toString("base64")}`;
|
|
15857
16082
|
},
|
|
15858
16083
|
icons,
|
|
15859
16084
|
app.appIconName,
|
|
@@ -15882,23 +16107,23 @@ function readNativeAppIdentityFromSources(projectRoot, platform, parseInfoPlist,
|
|
|
15882
16107
|
const read = selectNativeAppIdentityReader(platform, {
|
|
15883
16108
|
android: () => null,
|
|
15884
16109
|
ios: () => {
|
|
15885
|
-
const nested =
|
|
15886
|
-
const iosRoot =
|
|
16110
|
+
const nested = import_node_path19.default.join(projectRoot, "ios");
|
|
16111
|
+
const iosRoot = import_node_fs16.default.existsSync(nested) ? nested : projectRoot;
|
|
15887
16112
|
const prefix2 = iosRoot === nested ? "ios/" : "";
|
|
15888
16113
|
const files = {};
|
|
15889
|
-
for (const entry of
|
|
16114
|
+
for (const entry of import_node_fs16.default.readdirSync(iosRoot, { withFileTypes: true })) {
|
|
15890
16115
|
if (entry.name === "Pods") continue;
|
|
15891
16116
|
if (entry.isDirectory()) {
|
|
15892
16117
|
const names = entry.name.endsWith(".xcodeproj") ? ["project.pbxproj"] : ["Info.plist", "AppDelegate.swift", "AppDelegate.mm", "AppDelegate.m"];
|
|
15893
16118
|
for (const name2 of names) {
|
|
15894
16119
|
const relative3 = `${prefix2}${entry.name}/${name2}`;
|
|
15895
|
-
const file =
|
|
15896
|
-
if (
|
|
16120
|
+
const file = import_node_path19.default.join(projectRoot, relative3);
|
|
16121
|
+
if (import_node_fs16.default.existsSync(file)) files[relative3] = import_node_fs16.default.readFileSync(file, "utf8");
|
|
15897
16122
|
}
|
|
15898
16123
|
} else if (/AppDelegate\.(?:swift|mm|m)$/.test(entry.name)) {
|
|
15899
16124
|
const relative3 = `${prefix2}${entry.name}`;
|
|
15900
|
-
const file =
|
|
15901
|
-
if (
|
|
16125
|
+
const file = import_node_path19.default.join(projectRoot, relative3);
|
|
16126
|
+
if (import_node_fs16.default.existsSync(file)) files[relative3] = import_node_fs16.default.readFileSync(file, "utf8");
|
|
15902
16127
|
}
|
|
15903
16128
|
}
|
|
15904
16129
|
const identity = extractNativeAppIdentityFromFiles(
|
|
@@ -15915,41 +16140,41 @@ function readNativeAppIdentityFromSources(projectRoot, platform, parseInfoPlist,
|
|
|
15915
16140
|
function readAndroidNativeAppIdentity(projectRoot, androidMergedManifest) {
|
|
15916
16141
|
const files = {};
|
|
15917
16142
|
if (androidMergedManifest) {
|
|
15918
|
-
const file =
|
|
15919
|
-
if (!
|
|
15920
|
-
files[androidMergedManifest] =
|
|
16143
|
+
const file = import_node_path19.default.resolve(projectRoot, androidMergedManifest);
|
|
16144
|
+
if (!import_node_fs16.default.existsSync(file)) return null;
|
|
16145
|
+
files[androidMergedManifest] = import_node_fs16.default.readFileSync(file, "utf8");
|
|
15921
16146
|
} else {
|
|
15922
|
-
const androidRoot =
|
|
15923
|
-
if (!
|
|
16147
|
+
const androidRoot = import_node_path19.default.join(projectRoot, "android");
|
|
16148
|
+
if (!import_node_fs16.default.existsSync(androidRoot)) return null;
|
|
15924
16149
|
const collect = (directory) => {
|
|
15925
|
-
for (const entry of
|
|
15926
|
-
const file =
|
|
16150
|
+
for (const entry of import_node_fs16.default.readdirSync(directory, { withFileTypes: true })) {
|
|
16151
|
+
const file = import_node_path19.default.join(directory, entry.name);
|
|
15927
16152
|
if (entry.isDirectory()) collect(file);
|
|
15928
16153
|
else if (entry.isFile() && entry.name === "AndroidManifest.xml")
|
|
15929
|
-
files[
|
|
16154
|
+
files[import_node_path19.default.relative(projectRoot, file).split(import_node_path19.default.sep).join("/")] = import_node_fs16.default.readFileSync(file, "utf8");
|
|
15930
16155
|
}
|
|
15931
16156
|
};
|
|
15932
|
-
for (const module2 of
|
|
16157
|
+
for (const module2 of import_node_fs16.default.readdirSync(androidRoot, { withFileTypes: true })) {
|
|
15933
16158
|
if (!module2.isDirectory()) continue;
|
|
15934
|
-
const outputs =
|
|
16159
|
+
const outputs = import_node_path19.default.join(
|
|
15935
16160
|
androidRoot,
|
|
15936
16161
|
module2.name,
|
|
15937
16162
|
"build/intermediates/merged_manifests"
|
|
15938
16163
|
);
|
|
15939
|
-
if (
|
|
16164
|
+
if (import_node_fs16.default.existsSync(outputs)) collect(outputs);
|
|
15940
16165
|
}
|
|
15941
16166
|
}
|
|
15942
16167
|
for (const manifest of Object.keys(files)) {
|
|
15943
16168
|
const resourceDirectory = androidMergedResourceValuesDirectory(manifest);
|
|
15944
16169
|
if (!resourceDirectory) continue;
|
|
15945
|
-
const absolute =
|
|
15946
|
-
if (!
|
|
15947
|
-
for (const entry of
|
|
16170
|
+
const absolute = import_node_path19.default.resolve(projectRoot, resourceDirectory);
|
|
16171
|
+
if (!import_node_fs16.default.existsSync(absolute)) continue;
|
|
16172
|
+
for (const entry of import_node_fs16.default.readdirSync(absolute, { withFileTypes: true })) {
|
|
15948
16173
|
if (!entry.isDirectory() || !/^values(?:-|$)/.test(entry.name)) continue;
|
|
15949
|
-
for (const resource of
|
|
16174
|
+
for (const resource of import_node_fs16.default.readdirSync(import_node_path19.default.join(absolute, entry.name))) {
|
|
15950
16175
|
if (!resource.endsWith(".xml")) continue;
|
|
15951
16176
|
const file = `${resourceDirectory}/${entry.name}/${resource}`;
|
|
15952
|
-
files[file] =
|
|
16177
|
+
files[file] = import_node_fs16.default.readFileSync(import_node_path19.default.resolve(projectRoot, file), "utf8");
|
|
15953
16178
|
}
|
|
15954
16179
|
}
|
|
15955
16180
|
}
|
|
@@ -15966,7 +16191,7 @@ function readIosNativeAppIdentity(projectRoot, parseInfoPlist, iosTarget, enviro
|
|
|
15966
16191
|
const app = readIosAppTarget(projectRoot, iosTarget, environment);
|
|
15967
16192
|
if (!app) return null;
|
|
15968
16193
|
const identity = readNativeAppIdentityFromXcodeTarget(app, parseInfoPlist);
|
|
15969
|
-
const projectManifestPath =
|
|
16194
|
+
const projectManifestPath = import_node_path19.default.join(projectRoot, "package.json");
|
|
15970
16195
|
const projectRequire = (0, import_node_module3.createRequire)(projectManifestPath);
|
|
15971
16196
|
let reanimatedManifestPath;
|
|
15972
16197
|
try {
|
|
@@ -15980,22 +16205,22 @@ function readIosNativeAppIdentity(projectRoot, parseInfoPlist, iosTarget, enviro
|
|
|
15980
16205
|
throw error;
|
|
15981
16206
|
}
|
|
15982
16207
|
const installedManifest = JSON.parse(
|
|
15983
|
-
|
|
16208
|
+
import_node_fs16.default.readFileSync(reanimatedManifestPath, "utf8")
|
|
15984
16209
|
);
|
|
15985
16210
|
const installedVersion = isRecord(installedManifest) ? nonEmptyString2(installedManifest.version) : void 0;
|
|
15986
16211
|
if (!installedVersion) throw new Error("Reanimated package version is malformed");
|
|
15987
16212
|
if (Number.parseInt(installedVersion, 10) < 4) return identity;
|
|
15988
16213
|
const defaults = JSON.parse(
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
|
|
16214
|
+
import_node_fs16.default.readFileSync(
|
|
16215
|
+
import_node_path19.default.join(
|
|
16216
|
+
import_node_path19.default.dirname(reanimatedManifestPath),
|
|
15992
16217
|
"src/featureFlags/staticFlags.json"
|
|
15993
16218
|
),
|
|
15994
16219
|
"utf8"
|
|
15995
16220
|
)
|
|
15996
16221
|
);
|
|
15997
16222
|
if (!isRecord(defaults)) throw new Error("Reanimated static flags are malformed");
|
|
15998
|
-
const manifest = JSON.parse(
|
|
16223
|
+
const manifest = JSON.parse(import_node_fs16.default.readFileSync(projectManifestPath, "utf8"));
|
|
15999
16224
|
const reanimated = isRecord(manifest) ? manifest.reanimated : void 0;
|
|
16000
16225
|
const overrides = isRecord(reanimated) ? reanimated.staticFeatureFlags : void 0;
|
|
16001
16226
|
if (overrides !== void 0 && !isRecord(overrides)) {
|
|
@@ -16030,9 +16255,9 @@ function readIosAppTarget(projectRoot, iosTarget, environment) {
|
|
|
16030
16255
|
// src/native-firebase-config.ts
|
|
16031
16256
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
16032
16257
|
var import_node_child_process5 = require("node:child_process");
|
|
16033
|
-
var
|
|
16258
|
+
var import_node_fs17 = __toESM(require("node:fs"), 1);
|
|
16034
16259
|
var import_node_os4 = __toESM(require("node:os"), 1);
|
|
16035
|
-
var
|
|
16260
|
+
var import_node_path20 = __toESM(require("node:path"), 1);
|
|
16036
16261
|
init_is_record();
|
|
16037
16262
|
var EXPO_CONFIG_SCRIPT = `const { createRequire } = require('node:module');
|
|
16038
16263
|
const { writeFileSync } = require('node:fs');
|
|
@@ -16051,13 +16276,13 @@ const result = JSON.stringify(getConfig(root, { skipSDKVersionRequirement: true
|
|
|
16051
16276
|
if (Buffer.byteLength(result) > 1024 * 1024) throw new Error('Expo native configuration exceeds 1 MiB.');
|
|
16052
16277
|
writeFileSync(process.argv[2], result, { mode: 0o600 });`;
|
|
16053
16278
|
function hasExpoConfig(projectRoot) {
|
|
16054
|
-
const appJsonPath =
|
|
16055
|
-
const appJson =
|
|
16279
|
+
const appJsonPath = import_node_path20.default.join(projectRoot, "app.json");
|
|
16280
|
+
const appJson = import_node_fs17.default.existsSync(appJsonPath) ? JSON.parse(import_node_fs17.default.readFileSync(appJsonPath, "utf8")) : null;
|
|
16056
16281
|
const staticExpo = isRecord(appJson) && (isRecord(appJson.expo) || [appJson.ios, appJson.android].some(
|
|
16057
16282
|
(value) => isRecord(value) && typeof value.googleServicesFile === "string"
|
|
16058
16283
|
));
|
|
16059
16284
|
return staticExpo || ["app.config.js", "app.config.ts", "app.config.cjs", "app.config.mjs"].some(
|
|
16060
|
-
(name2) =>
|
|
16285
|
+
(name2) => import_node_fs17.default.existsSync(import_node_path20.default.join(projectRoot, name2))
|
|
16061
16286
|
);
|
|
16062
16287
|
}
|
|
16063
16288
|
function expoConfigArgs(projectRoot, resultPath) {
|
|
@@ -16065,22 +16290,22 @@ function expoConfigArgs(projectRoot, resultPath) {
|
|
|
16065
16290
|
"--input-type=commonjs",
|
|
16066
16291
|
"-e",
|
|
16067
16292
|
EXPO_CONFIG_SCRIPT,
|
|
16068
|
-
|
|
16293
|
+
import_node_path20.default.resolve(projectRoot),
|
|
16069
16294
|
resultPath
|
|
16070
16295
|
];
|
|
16071
16296
|
}
|
|
16072
16297
|
function readExpoConfigResult(resultPath, status, stderr) {
|
|
16073
16298
|
if (status !== 0)
|
|
16074
16299
|
throw new Error(stderr || "Expo native configuration evaluation failed.");
|
|
16075
|
-
const resolved = JSON.parse(
|
|
16300
|
+
const resolved = JSON.parse(import_node_fs17.default.readFileSync(resultPath, "utf8"));
|
|
16076
16301
|
if (!isRecord(resolved)) throw new Error("Expo native configuration is unavailable.");
|
|
16077
16302
|
return resolved;
|
|
16078
16303
|
}
|
|
16079
|
-
var resultDirectory = () =>
|
|
16304
|
+
var resultDirectory = () => import_node_fs17.default.mkdtempSync(import_node_path20.default.join(import_node_os4.default.tmpdir(), "peach-expo-config-"));
|
|
16080
16305
|
function readExpoConfig(projectRoot) {
|
|
16081
16306
|
if (!hasExpoConfig(projectRoot)) return {};
|
|
16082
16307
|
const directory = resultDirectory();
|
|
16083
|
-
const resultPath =
|
|
16308
|
+
const resultPath = import_node_path20.default.join(directory, "config.json");
|
|
16084
16309
|
try {
|
|
16085
16310
|
const child = (0, import_node_child_process5.spawnSync)("node", expoConfigArgs(projectRoot, resultPath), {
|
|
16086
16311
|
cwd: projectRoot,
|
|
@@ -16092,7 +16317,7 @@ function readExpoConfig(projectRoot) {
|
|
|
16092
16317
|
if (child.error) throw child.error;
|
|
16093
16318
|
return readExpoConfigResult(resultPath, child.status, child.stderr);
|
|
16094
16319
|
} finally {
|
|
16095
|
-
|
|
16320
|
+
import_node_fs17.default.rmSync(directory, { recursive: true, force: true });
|
|
16096
16321
|
}
|
|
16097
16322
|
}
|
|
16098
16323
|
function evaluateFirebaseGuard(header, resources) {
|
|
@@ -16114,7 +16339,7 @@ function evaluateFirebaseGuard(header, resources) {
|
|
|
16114
16339
|
}
|
|
16115
16340
|
clauses.push(condition.slice(start).trim());
|
|
16116
16341
|
const sources = resources.filter(
|
|
16117
|
-
(file) =>
|
|
16342
|
+
(file) => import_node_path20.default.basename(file) === "GoogleService-Info.plist"
|
|
16118
16343
|
);
|
|
16119
16344
|
const bound = /* @__PURE__ */ new Map();
|
|
16120
16345
|
for (const clause of clauses) {
|
|
@@ -16130,7 +16355,7 @@ function evaluateFirebaseGuard(header, resources) {
|
|
|
16130
16355
|
const dictionary = /^let\s+(\w+)\s*=\s*NSDictionary\s*\(\s*contentsOfFile:\s*(\w+)\s*\)$/.exec(clause);
|
|
16131
16356
|
if (dictionary && typeof bound.get(dictionary[2]) === "string") {
|
|
16132
16357
|
const parsed = parsePlistSource(
|
|
16133
|
-
|
|
16358
|
+
import_node_fs17.default.readFileSync(String(bound.get(dictionary[2])), "utf8")
|
|
16134
16359
|
);
|
|
16135
16360
|
if (!isRecord(parsed)) return false;
|
|
16136
16361
|
bound.set(dictionary[1], parsed);
|
|
@@ -16212,7 +16437,7 @@ function findDefaultConfigureCall(body, sources) {
|
|
|
16212
16437
|
const [, type, name2] = call;
|
|
16213
16438
|
for (const file of sources) {
|
|
16214
16439
|
if (!file.endsWith(".swift")) continue;
|
|
16215
|
-
const source = blankSwiftObjcLiterals(
|
|
16440
|
+
const source = blankSwiftObjcLiterals(import_node_fs17.default.readFileSync(file, "utf8"));
|
|
16216
16441
|
const declaration = new RegExp(
|
|
16217
16442
|
`\\b(?:enum|struct|class)\\s+${type}\\b[^{]*\\{`
|
|
16218
16443
|
).exec(source);
|
|
@@ -16234,10 +16459,10 @@ function readTargetGoogleServicesFile(projectRoot, xcodeproj, target, prepareGen
|
|
|
16234
16459
|
prepareGeneratedSources
|
|
16235
16460
|
});
|
|
16236
16461
|
const delegates = app.allSources.filter(
|
|
16237
|
-
(file) => /^AppDelegate\.(swift|mm|m)$/.test(
|
|
16462
|
+
(file) => /^AppDelegate\.(swift|mm|m)$/.test(import_node_path20.default.basename(file))
|
|
16238
16463
|
);
|
|
16239
16464
|
const defaultConfigured = delegates.some((file) => {
|
|
16240
|
-
const raw =
|
|
16465
|
+
const raw = import_node_fs17.default.readFileSync(file, "utf8");
|
|
16241
16466
|
const source = blankSwiftObjcLiterals(raw);
|
|
16242
16467
|
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(
|
|
16243
16468
|
source
|
|
@@ -16302,17 +16527,17 @@ function readTargetGoogleServicesFile(projectRoot, xcodeproj, target, prepareGen
|
|
|
16302
16527
|
return guarded;
|
|
16303
16528
|
});
|
|
16304
16529
|
if (!defaultConfigured) return null;
|
|
16305
|
-
const bundle =
|
|
16530
|
+
const bundle = import_node_path20.default.join(
|
|
16306
16531
|
app.settings("BUILT_PRODUCTS_DIR"),
|
|
16307
16532
|
app.settings("WRAPPER_NAME") || `${app.settings("PRODUCT_NAME")}.app`
|
|
16308
16533
|
);
|
|
16309
16534
|
const staged = app.copiedFiles.filter(
|
|
16310
|
-
({ from, to }) => to ===
|
|
16311
|
-
).map(({ from }) =>
|
|
16535
|
+
({ from, to }) => to === import_node_path20.default.join(bundle, "GoogleService-Info.plist") && import_node_fs17.default.existsSync(from)
|
|
16536
|
+
).map(({ from }) => import_node_fs17.default.realpathSync(from));
|
|
16312
16537
|
const resources = [
|
|
16313
16538
|
.../* @__PURE__ */ new Set([
|
|
16314
16539
|
...app.resources.filter(
|
|
16315
|
-
(file) => /^GoogleService-Info\.plist$/.test(
|
|
16540
|
+
(file) => /^GoogleService-Info\.plist$/.test(import_node_path20.default.basename(file))
|
|
16316
16541
|
),
|
|
16317
16542
|
...staged
|
|
16318
16543
|
])
|
|
@@ -16321,7 +16546,7 @@ function readTargetGoogleServicesFile(projectRoot, xcodeproj, target, prepareGen
|
|
|
16321
16546
|
throw new Error(
|
|
16322
16547
|
"native Firebase default initialization requires one GoogleService-Info.plist build resource"
|
|
16323
16548
|
);
|
|
16324
|
-
return
|
|
16549
|
+
return import_node_path20.default.relative(import_node_fs17.default.realpathSync(projectRoot), resources[0]);
|
|
16325
16550
|
}
|
|
16326
16551
|
function readNativeFirebaseConfig(projectRoot, platforms = ["ios", "android"], iosTarget, config = readExpoConfig(projectRoot), prepareGeneratedSources = false) {
|
|
16327
16552
|
const result = {};
|
|
@@ -16342,8 +16567,8 @@ function readNativeFirebaseConfig(projectRoot, platforms = ["ios", "android"], i
|
|
|
16342
16567
|
const native = config[platform];
|
|
16343
16568
|
if (!isRecord(native) || typeof native.googleServicesFile !== "string") continue;
|
|
16344
16569
|
try {
|
|
16345
|
-
const source =
|
|
16346
|
-
|
|
16570
|
+
const source = import_node_fs17.default.readFileSync(
|
|
16571
|
+
import_node_path20.default.resolve(projectRoot, native.googleServicesFile),
|
|
16347
16572
|
"utf8"
|
|
16348
16573
|
);
|
|
16349
16574
|
const parsed = platform === "ios" ? parsePlistSource(source) : JSON.parse(source);
|