peachsim 0.1.1808 → 0.1.1811

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.
Files changed (229) hide show
  1. package/README.md +4 -2
  2. package/cli/app-bundle-resources.ts +15 -2
  3. package/cli/cloud-box-artifact.ts +115 -0
  4. package/cli/cloud-client.ts +95 -53
  5. package/cli/cloud-dispatch.ts +4 -4
  6. package/cli/cloud-session.ts +60 -22
  7. package/cli/commands/box.ts +8 -2
  8. package/cli/commands/compat.ts +7 -4
  9. package/cli/commands/control.ts +60 -3
  10. package/cli/commands/coverage.ts +14 -4
  11. package/cli/commands/daemon.ts +41 -0
  12. package/cli/commands/no-bridge-hint.ts +9 -0
  13. package/cli/commands/package.ts +31 -56
  14. package/cli/commands/platform.ts +70 -52
  15. package/cli/commands/preview.ts +73 -24
  16. package/cli/commands/record.ts +10 -2
  17. package/cli/commands/screenshot.ts +17 -60
  18. package/cli/commands/setup.ts +3 -1
  19. package/cli/commands/three-mode.ts +22 -12
  20. package/cli/commands/upload.ts +2 -1
  21. package/cli/desktop-companion.ts +6 -1
  22. package/cli/drivers/desktop.ts +4 -1
  23. package/cli/main.ts +12 -2
  24. package/cli/metro-bundle-assets.ts +14 -4
  25. package/cli/outbound-endpoints.ts +7 -3
  26. package/cli/output-redaction.ts +38 -0
  27. package/cli/privacy.ts +2 -2
  28. package/cli/recording-access.ts +5 -0
  29. package/cli/remote-project-bundle.ts +83 -0
  30. package/cli/shell-init.ts +7 -11
  31. package/cli/telemetry.ts +41 -4
  32. package/cli/usage-error.ts +3 -0
  33. package/cli/ws-bridge.ts +42 -6
  34. package/dist-lib/agent-daemon-client.cjs +1 -1
  35. package/dist-lib/agent-events.cjs +1 -1
  36. package/dist-lib/attached-projects.cjs +1 -1
  37. package/dist-lib/auth/shared-session.cjs +1 -1
  38. package/dist-lib/backend-origin.cjs +1 -1
  39. package/dist-lib/beta.cjs +1 -1
  40. package/dist-lib/beta.mjs +1 -1
  41. package/dist-lib/bridge-constants.cjs +1 -1
  42. package/dist-lib/bridge-contract-input.cjs +1 -1
  43. package/dist-lib/bridge-contract-input.mjs +1 -1
  44. package/dist-lib/bridge-contract.cjs +1 -1
  45. package/dist-lib/bridge-contract.mjs +1 -1
  46. package/dist-lib/bundle-channel.cjs +42783 -40717
  47. package/dist-lib/capture-contract.cjs +7 -8
  48. package/dist-lib/capture-contract.mjs +7 -8
  49. package/dist-lib/cloud-contract.cjs +1 -1
  50. package/dist-lib/cloud-contract.mjs +1 -1
  51. package/dist-lib/cloud-test-args.cjs +1 -1
  52. package/dist-lib/cloud-test-args.mjs +1 -1
  53. package/dist-lib/cloud.cjs +1 -1
  54. package/dist-lib/cloud.mjs +1 -1
  55. package/dist-lib/config.cjs +1 -1
  56. package/dist-lib/config.mjs +1 -1
  57. package/dist-lib/detox/index.cjs +13 -7
  58. package/dist-lib/dev-bundle-resolution.cjs +10 -4
  59. package/dist-lib/expo-swift-bundle.cjs +15819 -15559
  60. package/dist-lib/expo-swift-metadata.cjs +2 -1
  61. package/dist-lib/expo-swift-metadata.mjs +2 -1
  62. package/dist-lib/home-paths.cjs +2 -33
  63. package/dist-lib/host/bridge-host.cjs +20857 -18756
  64. package/dist-lib/host/fetch-proxy-handler.cjs +10 -10
  65. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  66. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  67. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  68. package/dist-lib/host/websocket-proxy.cjs +1 -1
  69. package/dist-lib/index.cjs +588 -544
  70. package/dist-lib/jump-to-source-babel.cjs +1 -1
  71. package/dist-lib/jump-to-source-native.cjs +1 -1
  72. package/dist-lib/kotlin-host.cjs +1 -1
  73. package/dist-lib/menu.cjs +1 -1
  74. package/dist-lib/menu.mjs +1 -1
  75. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  76. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  77. package/dist-lib/metro-production-bundle.cjs +1 -1
  78. package/dist-lib/metro-production-bundle.mjs +1 -1
  79. package/dist-lib/metro.cjs +25 -19
  80. package/dist-lib/native-app-identity-project.cjs +15 -6
  81. package/dist-lib/native-app-identity-project.mjs +23 -12
  82. package/dist-lib/native-app-identity.cjs +1 -1
  83. package/dist-lib/native-app-identity.mjs +1 -1
  84. package/dist-lib/native-firebase-metadata.cjs +1 -1
  85. package/dist-lib/native-firebase-metadata.mjs +1 -1
  86. package/dist-lib/pdfium-raster.cjs +1 -1
  87. package/dist-lib/pdfium-raster.mjs +1 -1
  88. package/dist-lib/plist.cjs +1 -1
  89. package/dist-lib/plist.mjs +1 -1
  90. package/dist-lib/profiles.cjs +1 -1
  91. package/dist-lib/public-brand.cjs +1 -1
  92. package/dist-lib/public-origins-lib-esm.json +27 -26
  93. package/dist-lib/public-origins-lib.json +104 -81
  94. package/dist-lib/react-native-host-modules.cjs +1 -1
  95. package/dist-lib/react-native-host-modules.mjs +1 -1
  96. package/dist-lib/reap-browser.cjs +1 -1
  97. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  98. package/dist-lib/sdk.cjs +1 -1
  99. package/dist-lib/sdk.mjs +1 -1
  100. package/dist-lib/skills.cjs +30496 -24309
  101. package/dist-lib/swift-compile.cjs +292 -213
  102. package/dist-lib/swift-compile.mjs +334 -254
  103. package/dist-lib/swift-package.cjs +8 -4
  104. package/dist-lib/swift-package.mjs +8 -4
  105. package/dist-lib/swift-submit.cjs +1 -1
  106. package/dist-lib/swift-submit.mjs +1 -1
  107. package/dist-lib/swift-toolchain.cjs +32 -1
  108. package/dist-lib/swift.cjs +1 -1
  109. package/dist-lib/vite-swift.cjs +19172 -18941
  110. package/dist-lib/vite.cjs +11 -11
  111. package/dist-lib/worklet-executable.cjs +1 -1
  112. package/dist-lib/worklet-executable.mjs +1 -1
  113. package/dist-types/packages/peach-engine/src/engine/animated.d.ts +4 -0
  114. package/dist-types/packages/peach-engine/src/engine/animation-graph.d.ts +1 -0
  115. package/dist-types/packages/peach-engine/src/engine/expo-manifest.d.ts +1 -0
  116. package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +1 -1
  117. package/dist-types/packages/peach-engine/src/preview/upload-protocol.d.ts +1 -0
  118. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +8 -1
  119. package/dist-types/packages/peach-globals/src/electronBridgeContract.d.ts +2 -1
  120. package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
  121. package/kotlin/sdk.tar.gz +0 -0
  122. package/package.json +1 -1
  123. package/runtime-companion.json +1 -1
  124. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCall.h +1 -1
  125. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCallCenter.h +1 -1
  126. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCarrier.h +1 -1
  127. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriber.h +1 -1
  128. package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriberInfo.h +1 -1
  129. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h +1 -1
  130. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h +1 -1
  131. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h +1 -1
  132. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/AVFoundation+MPNowPlayingInfoLanguageOptionAdditions.h +39 -0
  133. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/AVPlayerItem+MediaPlayerAdditions.h +26 -0
  134. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPContentItem.h +67 -0
  135. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPError.h +33 -0
  136. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaEntity.h +53 -0
  137. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaItem.h +346 -0
  138. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaItemCollection.h +42 -0
  139. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaLibrary.h +76 -0
  140. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPickerController.h +64 -0
  141. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPlayback.h +47 -0
  142. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaPlaylist.h +82 -0
  143. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaQuery.h +120 -0
  144. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMediaQuerySection.h +26 -0
  145. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMoviePlayerController.h +444 -0
  146. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMoviePlayerViewController.h +43 -0
  147. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMusicPlayerApplicationController.h +47 -0
  148. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMusicPlayerController.h +147 -0
  149. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPMusicPlayerQueueDescriptor.h +75 -0
  150. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoCenter.h +197 -0
  151. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingInfoLanguageOption.h +107 -0
  152. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPNowPlayingSession.h +89 -0
  153. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPPlayableContentDataSource.h +59 -0
  154. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPPlayableContentDelegate.h +64 -0
  155. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPPlayableContentManager.h +46 -0
  156. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPPlayableContentManagerContext.h +32 -0
  157. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommand.h +143 -0
  158. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommandCenter.h +66 -0
  159. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteCommandEvent.h +128 -0
  160. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPRemoteControlTypes.h +27 -0
  161. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPVolumeSettings.h +20 -0
  162. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MPVolumeView.h +82 -0
  163. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayer.apinotes +74 -0
  164. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayer.h +40 -0
  165. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/MediaPlayerDefines.h +84 -0
  166. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Headers/NSUserActivity+MediaPlayerAdditions.h +20 -0
  167. package/sdk/ios/System/Library/Frameworks/MediaPlayer.framework/Modules/module.modulemap +5 -0
  168. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h +2 -2
  169. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h +1 -1
  170. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBackgroundConfiguration.h +1 -1
  171. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIButtonConfiguration.h +1 -1
  172. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h +1 -1
  173. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h +1 -1
  174. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDeferredMenuElement.h +1 -1
  175. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h +1 -1
  176. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPointerStyle.h +5 -5
  177. package/sdk/ios/usr/include/dispatch.modulemap +22 -0
  178. package/sdk/ios/usr/include/net/if.h +24 -0
  179. package/sdk/ios/usr/include/sys/time.h +1 -1
  180. package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +265 -0
  181. package/sdk/ios/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
  182. package/sdk/ios/wasm/include/fcntl.h +2 -0
  183. package/sdk/ios/wasm/include/pthread.h +3 -0
  184. package/sdk/ios/wasm/include/stdlib.h +2 -0
  185. package/sdk/ios/wasm/include/unistd.h +2 -2
  186. package/skills/contrast/SKILL.md +2 -2
  187. package/src/bundle-channel.mjs +9 -72
  188. package/src/capture-contract.ts +12 -9
  189. package/src/desktop-host-delivery.ts +16 -2
  190. package/src/dev-bundle-resolution.ts +12 -3
  191. package/src/expo-native-workspace.ts +57 -19
  192. package/src/expo-swift-host.ts +17 -12
  193. package/src/expo-swift-ready.ts +4 -1
  194. package/src/expoSwiftContract.ts +1 -0
  195. package/src/home-paths.ts +4 -48
  196. package/src/host/bridge-host.ts +1 -0
  197. package/src/installed-native-libraries.ts +2 -8
  198. package/src/metro-project-root.ts +2 -1
  199. package/src/native-bundles.ts +122 -0
  200. package/src/native-static-libraries.ts +65 -8
  201. package/src/nitro-adapter.lock.json +278 -278
  202. package/src/nitro-bundle.ts +2 -2
  203. package/src/nitro-compile.ts +68 -28
  204. package/src/nitro-source.ts +24 -6
  205. package/src/nitro-superset.lock.json +94 -34
  206. package/src/nitroContract.ts +2 -0
  207. package/src/podspec-sources.ts +1966 -0
  208. package/src/storageSnapshotContract.ts +40 -0
  209. package/src/swift-compile.ts +57 -20
  210. package/src/swift-design-time.ts +18 -1
  211. package/src/swift-distribution.lock.json +11 -11
  212. package/src/swift-distribution.ts +9 -6
  213. package/src/swift-host.ts +1 -2
  214. package/src/swift-objc-standin.ts +316 -112
  215. package/src/swift-package-manifest.ts +4 -3
  216. package/src/swift-package.ts +10 -3
  217. package/src/swift-root-lock.ts +11 -0
  218. package/src/swift-shared-sdk.ts +10 -9
  219. package/src/swift-source-pods.ts +2 -2
  220. package/src/swift-standins.ts +40 -143
  221. package/src/swift-toolchain.ts +42 -0
  222. package/src/swift-wasm-prune.ts +53 -21
  223. package/src/turbo-bundle.ts +2 -2
  224. package/src/turbo-codegen-intake.ts +111 -108
  225. package/src/turbo-compile.ts +63 -33
  226. package/src/turbo-runtime.lock.json +21 -21
  227. package/src/turbo-source.ts +171 -76
  228. package/src/wasm-optimize.ts +31 -2
  229. package/src/xcode-project.ts +36 -3
@@ -13,7 +13,11 @@ import {
13
13
  reapRetiredCacheDirectory,
14
14
  removeRetiredDirectory,
15
15
  } from './retired-cache-directory'
16
- import { withSwiftRootLock, type SwiftRootLease } from './swift-root-lock'
16
+ import {
17
+ withCocoaPodsCacheLock,
18
+ withSwiftRootLock,
19
+ type SwiftRootLease,
20
+ } from './swift-root-lock'
17
21
  import { findWorkspaceRoot } from './workspace-root'
18
22
  import { resolveXcodeSwiftPackages, selectXcodeWorkspace } from './xcode-project'
19
23
 
@@ -191,23 +195,35 @@ async function hashWorkspaceInputs(
191
195
  excluded,
192
196
  }
193
197
  }
194
- let podVersion: string
195
- try {
196
- // runner-toolchain-platform: darwin
197
- podVersion = execFileSync('pod', ['--version'], { encoding: 'utf8', env: utf8Env })
198
- } catch (cause) {
199
- throw new Error('CocoaPods is required to install source dependencies', { cause })
200
- }
198
+ // cocoapods and xcode exist only on a Mac; elsewhere only the prebuild stage runs
199
+ const mac =
200
+ process.platform === 'darwin'
201
+ ? {
202
+ podVersion: (() => {
203
+ try {
204
+ // runner-toolchain-platform: darwin
205
+ return execFileSync('pod', ['--version'], {
206
+ encoding: 'utf8',
207
+ env: utf8Env,
208
+ })
209
+ } catch (cause) {
210
+ throw new Error('CocoaPods is required to install source dependencies', {
211
+ cause,
212
+ })
213
+ }
214
+ })(),
215
+ // runner-toolchain-platform: darwin
216
+ xcode: execFileSync('xcodebuild', ['-version'], {
217
+ encoding: 'utf8',
218
+ env: utf8Env,
219
+ }),
220
+ }
221
+ : {}
201
222
  const toolchain = JSON.stringify({
202
223
  preparation: 6,
203
224
  appRelative,
204
- podVersion,
225
+ ...mac,
205
226
  node: process.version,
206
- // runner-toolchain-platform: darwin
207
- xcode: execFileSync('xcodebuild', ['-version'], {
208
- encoding: 'utf8',
209
- env: utf8Env,
210
- }),
211
227
  packageManager: workspacePackageManager(root, manifest.packageManager, excluded),
212
228
  podsEnvironment,
213
229
  })
@@ -380,6 +396,26 @@ export async function prepareExpoNativeWorkspace(app: string, signal?: AbortSign
380
396
  return { ...prepared, workspace }
381
397
  }
382
398
 
399
+ // cocoapods runs only on a Mac. elsewhere the real pod graph exists only when a
400
+ // prepared workspace is supplied; without one, installed modules compile from
401
+ // their own sources as app-local modules do.
402
+ export function nativeWorkspaceAvailable(): boolean {
403
+ return (
404
+ process.platform === 'darwin' || Boolean(process.env.PEACH_PREPARED_NATIVE_WORKSPACES)
405
+ )
406
+ }
407
+
408
+ /** the app root whose ios directory the native compilers read: with the
409
+ * installed CocoaPods workspace where one can exist, otherwise the prebuilt
410
+ * Xcode project alone, which still declares the app's deployment target. */
411
+ export async function prepareNativeAppRoot(app: string, signal?: AbortSignal) {
412
+ return (
413
+ nativeWorkspaceAvailable()
414
+ ? await prepareExpoNativeWorkspace(app, signal)
415
+ : await prepareExpoNativeProject(app, signal)
416
+ ).app
417
+ }
418
+
383
419
  // resource target membership is generated by prebuild, before CocoaPods runs.
384
420
  export function prepareExpoNativeProject(app: string, signal?: AbortSignal) {
385
421
  return prepare(app, 'project', signal)
@@ -500,7 +536,7 @@ async function prepareWorkspace(
500
536
  key: string,
501
537
  podsEnvironment: ReturnType<typeof reactNativePodsEnvironment>,
502
538
  ) {
503
- if (process.platform !== 'darwin') {
539
+ if (process.platform !== 'darwin' && stage === 'workspace') {
504
540
  const source = await hashExpoSourceWorkspace(app)
505
541
  return portableExpoWorkspace(app, source.hash)
506
542
  }
@@ -707,10 +743,12 @@ async function prepareNativeProject(
707
743
  if (stage === 'project') return
708
744
  // react-native-skia leaves Dawn to react-native-webgpu whenever that package
709
745
  // is installed, but autolinking links it only into apps that declare it.
710
- await run('pod', ['install'], path.join(app, 'ios'), {
711
- ...sourcePodEnv,
712
- ...(declares('react-native-webgpu') ? {} : { RNSKIA_VENDOR_DAWN: '1' }),
713
- })
746
+ await withCocoaPodsCacheLock(() =>
747
+ run('pod', ['install'], path.join(app, 'ios'), {
748
+ ...sourcePodEnv,
749
+ ...(declares('react-native-webgpu') ? {} : { RNSKIA_VENDOR_DAWN: '1' }),
750
+ }),
751
+ )
714
752
  report('pod install done')
715
753
  }
716
754
 
@@ -20,10 +20,13 @@ import {
20
20
  readExpoDiscovery,
21
21
  writeExpoDiscovery,
22
22
  } from './expo-discovery-cache'
23
- import { prepareExpoNativeWorkspace } from './expo-native-workspace'
23
+ import {
24
+ nativeWorkspaceAvailable,
25
+ prepareExpoNativeWorkspace,
26
+ } from './expo-native-workspace'
24
27
  import { COMPILED_EXPO_NATIVE_PACKAGES } from './expoSwiftContract'
25
28
  import { PEACH_FORKED_SCRIPT_ENV } from './forked-script-contract'
26
- import { cacheDir, swiftCacheDir } from './home-paths'
29
+ import { cacheDir } from './home-paths'
27
30
  import { isRecord } from './is-record'
28
31
  import { readExpoConfigAsync } from './native-firebase-config'
29
32
  import { NativePreparationReceipts } from './native-preparation'
@@ -77,6 +80,7 @@ import {
77
80
  SWIFT_STANDINS_DIR,
78
81
  } from './swift-standins'
79
82
  import { MAX_SWIFT_COMPILE_FILES, MAX_SWIFT_COMPILE_SOURCE_BYTES } from './swift-submit'
83
+ import { swiftCacheDir } from './swift-toolchain'
80
84
  import type { PeachConfig } from './config'
81
85
  import type {
82
86
  ExpoSwiftSourceUnit,
@@ -90,14 +94,6 @@ import type { SwiftNativeTarget } from './swiftContract'
90
94
  import type { IncomingMessage, ServerResponse } from 'node:http'
91
95
 
92
96
  const run = promisify(execFile)
93
- // cocoapods runs only on a Mac. elsewhere the real pod graph exists only when a
94
- // prepared workspace is supplied; without one, installed modules compile from
95
- // their own sources as app-local modules do.
96
- function nativeWorkspaceAvailable(): boolean {
97
- return (
98
- process.platform === 'darwin' || Boolean(process.env.PEACH_PREPARED_NATIVE_WORKSPACES)
99
- )
100
- }
101
97
  // the compiled CLI's execPath is peach itself, which runs a forked `.js` as a
102
98
  // script only with this set; node and bun ignore it.
103
99
  const scriptEnv = { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: '1' }
@@ -2173,9 +2169,18 @@ async function compileExpoSwiftModulesTraced(
2173
2169
  // names failing namespaces by build copy or app source: link the rest
2174
2170
  // once and isolate only those, or every namespace when that link fails.
2175
2171
  const errorFiles = combined.match(/^.+?(?=:\d+(?::\d+)?: error:)/gm) ?? []
2172
+ // a native unit compiles from its group copy, which the error or the
2173
+ // include chain above it names; the unit holds it as Sources/<target>/<path>.
2174
+ const nativeCopies = [
2175
+ ...combined.matchAll(
2176
+ /PeachNativeSources\/([^/]+?)(?:Native|Swift)Implementation_[0-9a-f]+\/([^:\s]+)/g,
2177
+ ),
2178
+ ].map(([, target, file]) => `Sources/${target}/${file}`)
2176
2179
  const named = candidates.filter((unit) =>
2177
- [...Object.keys(unit.files), ...expoUnitAppPaths(unit)].some((name) =>
2178
- errorFiles.some((file) => file === name || file.endsWith(`/${name}`)),
2180
+ [...Object.keys(unit.files), ...expoUnitAppPaths(unit)].some(
2181
+ (name) =>
2182
+ nativeCopies.includes(name) ||
2183
+ errorFiles.some((file) => file === name || file.endsWith(`/${name}`)),
2179
2184
  ),
2180
2185
  )
2181
2186
  let checked = candidates
@@ -43,7 +43,10 @@ export async function awaitExpoSwiftReady(
43
43
  res = await nodeHttpFetch(endpointUrl, { signal: options.signal })
44
44
  } catch (error) {
45
45
  if (options.signal?.aborted) throw error
46
- throw new Error(`could not reach ${endpointUrl}`, { cause: error })
46
+ throw new Error(
47
+ `could not reach ${endpointUrl}: ${error instanceof Error ? error.message : String(error)}`,
48
+ { cause: error },
49
+ )
47
50
  }
48
51
  if (!res.ok) {
49
52
  const text = (await res.text()).trim()
@@ -22,6 +22,7 @@ export const COMPILED_EXPO_NATIVE_PACKAGES: Readonly<
22
22
  'expo-hinge',
23
23
  'expo-location',
24
24
  'expo-store-review',
25
+ 'expo-updates',
25
26
  'expo-web-browser',
26
27
  ],
27
28
  android: [],
package/src/home-paths.ts CHANGED
@@ -189,54 +189,6 @@ export function cacheDir(): string {
189
189
  return path.join(rnxHomeDir(), 'cache')
190
190
  }
191
191
 
192
- export const BUILDERS_ROOT_ENV = 'CONTRAST_BUILDERS_ROOT'
193
-
194
- // builder sessions export the resolved native build root (`<heavy>/builders`
195
- // when machine policy configures heavy storage, else `~/builders`).
196
- // remote.sh refuses before source transfer when a configured root is
197
- // unavailable, so a set value is always usable and nothing here falls back to
198
- // the internal disk: a missing directory fails at first write like the other
199
- // heavy-root consumers.
200
- function buildersRootEnv(): string | null {
201
- const root = process.env[BUILDERS_ROOT_ENV]?.trim()
202
- return root ? root : null
203
- }
204
-
205
- // machine-wide swift scratch and package caches, shared across lanes. on a
206
- // builder this is the resolved heavy volume; everywhere else it stays
207
- // ~/.peach/cache, so dev machines, containers and CI keep their layout.
208
- export function swiftCacheDir(): string {
209
- const root = buildersRootEnv()
210
- return root ? path.join(root, 'peach-cache') : cacheDir()
211
- }
212
-
213
- // per-build-key swift project roots. on a builder every lane shares one
214
- // machine-wide directory on the heavy volume (the key is content-derived, so
215
- // lanes agree, and the root lock serializes concurrent builders); elsewhere
216
- // roots stay in the checkout so two checkouts never build each other's
217
- // sources. kept apart from the shared verified artifacts below: the builder
218
- // script prunes idle keys here and must never sweep that cache.
219
- export function swiftProjectBuildsDir(checkoutRoot: string): string {
220
- const root = buildersRootEnv()
221
- return root
222
- ? path.join(swiftCacheDir(), 'swift-project-builds')
223
- : path.join(checkoutRoot, 'scripts', 'tmp', 'swift-projects')
224
- }
225
-
226
- // swiftpm otherwise uses shared caches and configuration outside PEACH_HOME.
227
- // its keychain credential lookup blocks forever in a session that cannot
228
- // answer a keychain prompt, holding the artifact lock; netrc stays available.
229
- export function swiftPackageCacheOptions(): string[] {
230
- const root = path.join(swiftCacheDir(), 'swiftpm')
231
- return [
232
- ...['cache', 'config', 'security'].flatMap((name) => [
233
- `--${name}-path`,
234
- path.join(root, name),
235
- ]),
236
- '--disable-keychain',
237
- ]
238
- }
239
-
240
192
  export function daemonLockfilePath(): string {
241
193
  return path.join(rnxHomeDir(), DAEMON_LOCKFILE)
242
194
  }
@@ -526,6 +478,9 @@ export interface DaemonLockfile {
526
478
  /** epoch-ms of last heartbeat. daemons update this every ~5s; readers
527
479
  * treat the lockfile as stale if now - heartbeatAt > DAEMON_HEARTBEAT_STALE_MS. */
528
480
  heartbeatAt: number
481
+ /** cli version the daemon process runs. absent on daemons older than this
482
+ * field, which a newer cli replaces once the daemon is idle. */
483
+ cliVersion?: string
529
484
  /** true while the daemon has no usable runtime and is fetching one on first
530
485
  * boot. an installed runtime serves while an update downloads. */
531
486
  bootstrapping?: boolean
@@ -578,6 +533,7 @@ export function readDaemonLockfile(): DaemonLockfile | null {
578
533
  typeof parsed.runtimePort === 'number' &&
579
534
  typeof parsed.startedAt === 'number' &&
580
535
  typeof parsed.heartbeatAt === 'number' &&
536
+ (parsed.cliVersion === undefined || typeof parsed.cliVersion === 'string') &&
581
537
  (parsed.servedRuntimes === undefined ||
582
538
  (Array.isArray(parsed.servedRuntimes) &&
583
539
  parsed.servedRuntimes.every((version) => typeof version === 'string')))
@@ -1257,6 +1257,7 @@ export class SootSimBridgeHost {
1257
1257
  servedRuntimes: this.connectedRuntimeVersions(),
1258
1258
  startedAt: this.startedAt,
1259
1259
  heartbeatAt: Date.now(),
1260
+ cliVersion: getCliVersion(),
1260
1261
  bootstrapping: this.bootstrapping,
1261
1262
  }
1262
1263
  }
@@ -11,7 +11,7 @@ import {
11
11
  } from './native-static-libraries'
12
12
  import { readPackageFile, relativeInside } from './swift-source-file'
13
13
  import { simulatorStaticArchive } from './swift-xcframework'
14
- import { readXcodeAppTarget, selectXcodeWorkspace } from './xcode-project'
14
+ import { readXcodeAppTarget, requireInstalledXcodeWorkspace } from './xcode-project'
15
15
  import type { TurboInstalledPod, TurboProvider } from './turbo-source'
16
16
 
17
17
  export function installedNativeLibraries(
@@ -22,13 +22,7 @@ export function installedNativeLibraries(
22
22
  frameworkLinkOwner: 'workspace' | 'provider' = 'workspace',
23
23
  ): Map<string, TurboInstalledPod> {
24
24
  if (providers.length === 0) return new Map()
25
- const ios = path.join(projectRoot, 'ios')
26
- const workspace = selectXcodeWorkspace(
27
- ios,
28
- fs.readdirSync(ios).filter((name) => name.endsWith('.xcworkspace')),
29
- )
30
- if (!workspace)
31
- throw new Error(`${ios}: native providers require the installed CocoaPods workspace`)
25
+ const workspace = requireInstalledXcodeWorkspace(projectRoot, 'native providers')
32
26
  const app = readXcodeAppTarget(workspace, iosTarget, 'Release', {
33
27
  installedPods: true,
34
28
  prepareGeneratedSources: false,
@@ -3,6 +3,7 @@ import { loopbackOriginOf } from './backend-origin'
3
3
  import {
4
4
  fetchDevManifest,
5
5
  MANIFEST_PROBE_TIMEOUT_MS,
6
+ metroRequestFailure,
6
7
  type ManifestWaitOptions,
7
8
  } from './dev-bundle-resolution'
8
9
  import { parseExpoManifestBody } from './expo-manifest-body'
@@ -61,7 +62,7 @@ export async function resolveMetroProjectRoot(
61
62
  }
62
63
  if (typeof root === 'string' && root.length > 0) return root
63
64
  } else if (res.status !== 404 && res.status !== 405) {
64
- throw new Error(`Metro project root request failed: HTTP ${res.status} at ${origin}/`)
65
+ throw await metroRequestFailure('project root', origin, res)
65
66
  }
66
67
 
67
68
  // a server that answered with a manifest has already told us everything it
@@ -0,0 +1,122 @@
1
+ // an app's compiled native modules for one platform, and the bundle footers
2
+ // that attach them. every producer that ships a bundle without the app's dev
3
+ // server (release channels, `peach package`, remote simulators) compiles here
4
+ // and differs only in where each module's files are served from.
5
+ import {
6
+ insertExpoKotlinFooter,
7
+ type ExpoKotlinCompilationResult,
8
+ } from './expoKotlinContract'
9
+ import {
10
+ insertExpoSwiftFooter,
11
+ type ExpoSwiftCompilationResult,
12
+ } from './expoSwiftContract'
13
+ import {
14
+ insertNitroFooter,
15
+ insertTurboFooter,
16
+ type NitroCompiledModule,
17
+ type TurboCompiledModule,
18
+ } from './nitroContract'
19
+ import { getRuntimePlatformAdapter } from './runtimePlatformContract'
20
+ import type { ExpoKotlinBundle } from './expo-kotlin-bundle'
21
+ import type { ExpoSwiftBundle } from './expo-swift-bundle'
22
+ import type { CompiledModuleAsset, NitroBundle } from './nitro-bundle'
23
+
24
+ export interface NativeBundles {
25
+ expoSwift: ExpoSwiftBundle | null
26
+ nitro: NitroBundle | null
27
+ turbo: { metadata: TurboCompiledModule; assets: CompiledModuleAsset[] } | null
28
+ expoKotlin: ExpoKotlinBundle | null
29
+ }
30
+
31
+ export interface NativeBundleMetadata {
32
+ expoSwift?: ExpoSwiftCompilationResult
33
+ expoKotlin?: ExpoKotlinCompilationResult
34
+ nitro?: NitroCompiledModule
35
+ turbo?: TurboCompiledModule
36
+ }
37
+
38
+ // the app's local Expo modules for the platform and, on ios, one executable of
39
+ // its installed Nitro providers, compiled in the Xcode configuration that runs
40
+ // the bundle's mode, and one of its C++ TurboModule providers.
41
+ export async function buildNativeBundles(
42
+ projectRoot: string,
43
+ platform: 'ios' | 'android',
44
+ configuration: 'Debug' | 'Release',
45
+ ): Promise<NativeBundles> {
46
+ return getRuntimePlatformAdapter(platform).select<() => Promise<NativeBundles>>({
47
+ ios: async () => ({
48
+ expoSwift: await (
49
+ await import('./expo-swift-bundle')
50
+ ).buildExpoSwiftBundle(projectRoot),
51
+ nitro: await (
52
+ await import('./nitro-bundle')
53
+ ).buildNitroBundle(projectRoot, configuration),
54
+ turbo: await (await import('./turbo-bundle')).buildTurboBundle(projectRoot),
55
+ expoKotlin: null,
56
+ }),
57
+ android: async () => ({
58
+ expoSwift: null,
59
+ nitro: null,
60
+ turbo: null,
61
+ expoKotlin: await (
62
+ await import('./expo-kotlin-bundle')
63
+ ).buildExpoKotlinBundle(projectRoot),
64
+ }),
65
+ })()
66
+ }
67
+
68
+ // every served file of the compiled modules, once per path
69
+ export function nativeBundleAssets(natives: NativeBundles): CompiledModuleAsset[] {
70
+ const assets = new Map<string, CompiledModuleAsset>()
71
+ for (const native of [
72
+ natives.expoSwift,
73
+ natives.nitro,
74
+ natives.turbo,
75
+ natives.expoKotlin,
76
+ ])
77
+ for (const asset of native?.assets ?? []) assets.set(asset.path, asset)
78
+ return [...assets.values()]
79
+ }
80
+
81
+ // compilers address each file relative to the bundle, as `/__peach/...`;
82
+ // `locate` gives the url a file is served at, from its path without the
83
+ // leading slash. an ICU url that is already absolute is shared and stays.
84
+ export function insertNativeBundleFooters(
85
+ source: string,
86
+ natives: NativeBundles,
87
+ locate: (path: string) => string,
88
+ ): { source: string; metadata: NativeBundleMetadata | null } {
89
+ const served = (url: string) => locate(url.replace(/^\//, ''))
90
+ const icu = (url: string) => (url.startsWith('/') ? served(url) : url)
91
+ const metadata: NativeBundleMetadata = {}
92
+ if (natives.expoSwift) {
93
+ metadata.expoSwift = {
94
+ ...natives.expoSwift.metadata,
95
+ modules: natives.expoSwift.metadata.modules.map((artifact) => ({
96
+ ...artifact,
97
+ url: served(artifact.url),
98
+ icuUrl: icu(artifact.icuUrl),
99
+ })),
100
+ }
101
+ source = insertExpoSwiftFooter(source, metadata.expoSwift)
102
+ }
103
+ if (natives.expoKotlin) {
104
+ const { module } = natives.expoKotlin.metadata
105
+ metadata.expoKotlin = {
106
+ ...natives.expoKotlin.metadata,
107
+ module: module && { ...module, url: served(module.url) },
108
+ }
109
+ source = insertExpoKotlinFooter(source, metadata.expoKotlin)
110
+ }
111
+ if (natives.nitro) {
112
+ const nitro = natives.nitro.metadata
113
+ metadata.nitro = { ...nitro, url: served(nitro.url), icuUrl: icu(nitro.icuUrl) }
114
+ source = insertNitroFooter(source, metadata.nitro)
115
+ }
116
+ if (natives.turbo) {
117
+ const turbo = natives.turbo.metadata
118
+ metadata.turbo = { ...turbo, url: served(turbo.url), icuUrl: icu(turbo.icuUrl) }
119
+ source = insertTurboFooter(source, metadata.turbo)
120
+ }
121
+ return { source, metadata: Object.keys(metadata).length ? metadata : null }
122
+ }
@@ -48,60 +48,117 @@ export const NATIVE_STATIC_LIBRARY_RECIPES = [
48
48
  recipe: '59ee230bd8bfde478605817c852c47e76f0c18d88d615bcc0a496b4accd69adf',
49
49
  archive: 'libratex_ffi.a',
50
50
  },
51
+ // react-native-skia 2.14.0 (apple-ios 154.0.0), then 3.8.0 (157): installed apps pin either.
51
52
  {
52
53
  name: 'skia',
53
54
  nativeSha256: '5312f2b194b1f6b6721388028bf919e56400278245b039f47136aa98f0582333',
54
55
  upstream: '9f9e6beb751091ef69163d2b4fdcd1e711b594ac',
55
- recipe: 'f9074745fc6ef5f10b93e10708c6dd10f835cb4ac66ac888b6eeffc0c564d988',
56
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
56
57
  archive: 'libskia.a',
57
58
  },
58
59
  {
59
60
  name: 'skia_svg',
60
61
  nativeSha256: '77adc498cff85db7850fb713c306681c6337f9b4ec42991b3764c8f3eff9d8d0',
61
62
  upstream: '9f9e6beb751091ef69163d2b4fdcd1e711b594ac',
62
- recipe: 'f9074745fc6ef5f10b93e10708c6dd10f835cb4ac66ac888b6eeffc0c564d988',
63
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
63
64
  archive: 'libsvg.a',
64
65
  },
65
66
  {
66
67
  name: 'skia_skshaper',
67
68
  nativeSha256: '830bcf260bd24fd79ee5d323e26ec667638795e3a0e555f1093371b8342c345c',
68
69
  upstream: '9f9e6beb751091ef69163d2b4fdcd1e711b594ac',
69
- recipe: 'f9074745fc6ef5f10b93e10708c6dd10f835cb4ac66ac888b6eeffc0c564d988',
70
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
70
71
  archive: 'libskshaper.a',
71
72
  },
72
73
  {
73
74
  name: 'skia_skparagraph',
74
75
  nativeSha256: '26afd4e5b11d46b0820a2cd7fd9918eb5a041946e1a1c0d4b91a5d54877e9dda',
75
76
  upstream: '9f9e6beb751091ef69163d2b4fdcd1e711b594ac',
76
- recipe: 'f9074745fc6ef5f10b93e10708c6dd10f835cb4ac66ac888b6eeffc0c564d988',
77
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
77
78
  archive: 'libskparagraph.a',
78
79
  },
79
80
  {
80
81
  name: 'skia_skunicode_core',
81
82
  nativeSha256: '629f58c4e81157d42e353b2b255bebb2fd94d1f31d8f8157e982fa4367710526',
82
83
  upstream: '9f9e6beb751091ef69163d2b4fdcd1e711b594ac',
83
- recipe: 'f9074745fc6ef5f10b93e10708c6dd10f835cb4ac66ac888b6eeffc0c564d988',
84
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
84
85
  archive: 'libskunicode_core.a',
85
86
  },
86
87
  {
87
88
  name: 'skia_skunicode_libgrapheme',
88
89
  nativeSha256: '047bd82306ba688453a3ff9dc02e203cdf16f2084551cca54f5d2b099baf1895',
89
90
  upstream: '9f9e6beb751091ef69163d2b4fdcd1e711b594ac',
90
- recipe: 'f9074745fc6ef5f10b93e10708c6dd10f835cb4ac66ac888b6eeffc0c564d988',
91
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
91
92
  archive: 'libskunicode_libgrapheme.a',
92
93
  },
93
94
  {
94
95
  name: 'skia_skottie',
95
96
  nativeSha256: '75c0dfd82a256e761cddc45475b8109ed8c9a442767cf3a8bf8720eef0dd4af7',
96
97
  upstream: '9f9e6beb751091ef69163d2b4fdcd1e711b594ac',
97
- recipe: 'f9074745fc6ef5f10b93e10708c6dd10f835cb4ac66ac888b6eeffc0c564d988',
98
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
98
99
  archive: 'libskottie.a',
99
100
  },
100
101
  {
101
102
  name: 'skia_sksg',
102
103
  nativeSha256: 'df9652a46505d3c5c74d55b52295ef39218d2b5856e074117461fa2348312c8d',
103
104
  upstream: '9f9e6beb751091ef69163d2b4fdcd1e711b594ac',
104
- recipe: 'f9074745fc6ef5f10b93e10708c6dd10f835cb4ac66ac888b6eeffc0c564d988',
105
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
106
+ archive: 'libsksg.a',
107
+ },
108
+ {
109
+ name: 'skia',
110
+ nativeSha256: 'c9b007c4da16f66d84b2f108af719b424ef91ee0759e58df0b76930bc6f82e31',
111
+ upstream: 'b94213a11b3a2edadfae89f0c57a7f4ab72772c9',
112
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
113
+ archive: 'libskia.a',
114
+ },
115
+ {
116
+ name: 'skia_svg',
117
+ nativeSha256: '159705737769610b60216b114a28ba833840aa1df7833424df99edec4405b86f',
118
+ upstream: 'b94213a11b3a2edadfae89f0c57a7f4ab72772c9',
119
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
120
+ archive: 'libsvg.a',
121
+ },
122
+ {
123
+ name: 'skia_skshaper',
124
+ nativeSha256: '934f3dbf3f38bca87b463b664a17c1588840f86ec89cf6961fb2a89b6336b35b',
125
+ upstream: 'b94213a11b3a2edadfae89f0c57a7f4ab72772c9',
126
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
127
+ archive: 'libskshaper.a',
128
+ },
129
+ {
130
+ name: 'skia_skparagraph',
131
+ nativeSha256: '29a48349fc9b75c252b22fc6ca5ade90636900f82beec58780f03fd66ab345b3',
132
+ upstream: 'b94213a11b3a2edadfae89f0c57a7f4ab72772c9',
133
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
134
+ archive: 'libskparagraph.a',
135
+ },
136
+ {
137
+ name: 'skia_skunicode_core',
138
+ nativeSha256: '096e5139c4de528dbba5a9605895f4c725853e48225503bdfa9c1d70241e5f58',
139
+ upstream: 'b94213a11b3a2edadfae89f0c57a7f4ab72772c9',
140
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
141
+ archive: 'libskunicode_core.a',
142
+ },
143
+ {
144
+ name: 'skia_skunicode_libgrapheme',
145
+ nativeSha256: 'd1ec3c2d5ad6889eb4fbf4a6bab74f39946739501d40de903f7d8cb2181ac37d',
146
+ upstream: 'b94213a11b3a2edadfae89f0c57a7f4ab72772c9',
147
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
148
+ archive: 'libskunicode_libgrapheme.a',
149
+ },
150
+ {
151
+ name: 'skia_skottie',
152
+ nativeSha256: '52ea2e046f45f51df6027d783e923864e8c4ef94a1fe4fc5971e436574d8ae57',
153
+ upstream: 'b94213a11b3a2edadfae89f0c57a7f4ab72772c9',
154
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
155
+ archive: 'libskottie.a',
156
+ },
157
+ {
158
+ name: 'skia_sksg',
159
+ nativeSha256: '541a74d8f83dc411efe8eeac377486a5054fab4c7710afe406a20a27efe8f627',
160
+ upstream: 'b94213a11b3a2edadfae89f0c57a7f4ab72772c9',
161
+ recipe: 'a2642115a5eeb04559c9f1daaa4b4cbe4b1c211533b4cc80cb8339a4477af205',
105
162
  archive: 'libsksg.a',
106
163
  },
107
164
  ]