expo-targets 2.2.1 → 2.2.2

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 (615) hide show
  1. package/android/src/main/java/expo/modules/targets/ExpoTargetsWidgetUpdateReceiver.kt +7 -1
  2. package/android/src/main/java/expo/modules/targets/liveActivity/ExpoTargetsLiveActivityModule.kt +22 -0
  3. package/android/src/main/java/expo/modules/targets/storage/ExpoTargetsStorageModule.kt +46 -42
  4. package/build/plugin/src/domain/uiMode.d.ts +6 -0
  5. package/build/plugin/src/domain/uiMode.d.ts.map +1 -1
  6. package/build/plugin/src/domain/uiMode.js +6 -0
  7. package/build/plugin/src/domain/uiMode.js.map +1 -1
  8. package/build/src/Target.d.ts.map +1 -1
  9. package/build/src/Target.js +19 -28
  10. package/build/src/Target.js.map +1 -1
  11. package/build/src/modules/extensionBundle/enableExtensionUpdates.d.ts.map +1 -1
  12. package/build/src/modules/extensionBundle/enableExtensionUpdates.js +16 -1
  13. package/build/src/modules/extensionBundle/enableExtensionUpdates.js.map +1 -1
  14. package/build/src/modules/messages/index.d.ts.map +1 -1
  15. package/build/src/modules/messages/index.js +22 -60
  16. package/build/src/modules/messages/index.js.map +1 -1
  17. package/build/src/modules/storage/codec.d.ts +15 -0
  18. package/build/src/modules/storage/codec.d.ts.map +1 -0
  19. package/build/src/modules/storage/codec.js +58 -0
  20. package/build/src/modules/storage/codec.js.map +1 -0
  21. package/build/src/modules/storage/index.d.ts +1 -0
  22. package/build/src/modules/storage/index.d.ts.map +1 -1
  23. package/build/src/modules/storage/index.js +52 -55
  24. package/build/src/modules/storage/index.js.map +1 -1
  25. package/cli/build/checks/heavyExclusions.d.ts +1 -3
  26. package/cli/build/checks/heavyExclusions.d.ts.map +1 -1
  27. package/cli/build/checks/heavyExclusions.js +0 -5
  28. package/cli/build/checks/heavyExclusions.js.map +1 -1
  29. package/cli/build/doctor.d.ts.map +1 -1
  30. package/cli/build/doctor.js +26 -32
  31. package/cli/build/doctor.js.map +1 -1
  32. package/cli/build/exportExtensionBundles.d.ts.map +1 -1
  33. package/cli/build/exportExtensionBundles.js +2 -1
  34. package/cli/build/exportExtensionBundles.js.map +1 -1
  35. package/expo-module.config.json +0 -1
  36. package/ios/ExpoTargetsExtensionBundleModule.swift +43 -6
  37. package/ios/ExpoTargetsExtensionModule.swift +48 -42
  38. package/ios/ExpoTargetsMessagesModule.swift +20 -35
  39. package/ios/ExpoTargetsStorageModule.swift +55 -20
  40. package/package.json +2 -2
  41. package/plugin/build/android/manifest.d.ts +12 -0
  42. package/plugin/build/android/manifest.d.ts.map +1 -0
  43. package/plugin/build/android/manifest.js +44 -0
  44. package/plugin/build/android/manifest.js.map +1 -0
  45. package/plugin/build/android/resolveAndroidWidgetProviders.d.ts +3 -1
  46. package/plugin/build/android/resolveAndroidWidgetProviders.d.ts.map +1 -1
  47. package/plugin/build/android/resolveAndroidWidgetProviders.js +5 -6
  48. package/plugin/build/android/resolveAndroidWidgetProviders.js.map +1 -1
  49. package/plugin/build/android/targetSourceSets.d.ts +19 -2
  50. package/plugin/build/android/targetSourceSets.d.ts.map +1 -1
  51. package/plugin/build/android/targetSourceSets.js +49 -35
  52. package/plugin/build/android/targetSourceSets.js.map +1 -1
  53. package/plugin/build/android/withAndroidNotification.d.ts.map +1 -1
  54. package/plugin/build/android/withAndroidNotification.js +5 -34
  55. package/plugin/build/android/withAndroidNotification.js.map +1 -1
  56. package/plugin/build/android/withAndroidShareAction.d.ts.map +1 -1
  57. package/plugin/build/android/withAndroidShareAction.js +2 -7
  58. package/plugin/build/android/withAndroidShareAction.js.map +1 -1
  59. package/plugin/build/android/withAndroidSystemService.d.ts.map +1 -1
  60. package/plugin/build/android/withAndroidSystemService.js +9 -50
  61. package/plugin/build/android/withAndroidSystemService.js.map +1 -1
  62. package/plugin/build/android/withAndroidTarget.d.ts.map +1 -1
  63. package/plugin/build/android/withAndroidTarget.js +2 -0
  64. package/plugin/build/android/withAndroidTarget.js.map +1 -1
  65. package/plugin/build/android/withAndroidTargetsConfig.d.ts.map +1 -1
  66. package/plugin/build/android/withAndroidTargetsConfig.js +2 -1
  67. package/plugin/build/android/withAndroidTargetsConfig.js.map +1 -1
  68. package/plugin/build/android/withAndroidWidget.d.ts.map +1 -1
  69. package/plugin/build/android/withAndroidWidget.js +28 -46
  70. package/plugin/build/android/withAndroidWidget.js.map +1 -1
  71. package/plugin/build/autolinkedPackages.d.ts.map +1 -1
  72. package/plugin/build/autolinkedPackages.js +27 -0
  73. package/plugin/build/autolinkedPackages.js.map +1 -1
  74. package/plugin/build/codegen/typedTargets.d.ts +2 -0
  75. package/plugin/build/codegen/typedTargets.d.ts.map +1 -1
  76. package/plugin/build/codegen/typedTargets.js +26 -3
  77. package/plugin/build/codegen/typedTargets.js.map +1 -1
  78. package/plugin/build/domain/index.d.ts +1 -1
  79. package/plugin/build/domain/index.d.ts.map +1 -1
  80. package/plugin/build/domain/index.js +2 -1
  81. package/plugin/build/domain/index.js.map +1 -1
  82. package/plugin/build/domain/uiMode.d.ts +6 -0
  83. package/plugin/build/domain/uiMode.d.ts.map +1 -1
  84. package/plugin/build/domain/uiMode.js +6 -0
  85. package/plugin/build/domain/uiMode.js.map +1 -1
  86. package/plugin/build/entryGraph.d.ts +11 -2
  87. package/plugin/build/entryGraph.d.ts.map +1 -1
  88. package/plugin/build/entryGraph.js +65 -20
  89. package/plugin/build/entryGraph.js.map +1 -1
  90. package/plugin/build/ios/apply/pbx/bundleReactNative.d.ts.map +1 -1
  91. package/plugin/build/ios/apply/pbx/bundleReactNative.js +6 -56
  92. package/plugin/build/ios/apply/pbx/bundleReactNative.js.map +1 -1
  93. package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts +0 -5
  94. package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts.map +1 -1
  95. package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.js +7 -112
  96. package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.js.map +1 -1
  97. package/plugin/build/ios/apply/pbx/deterministicUuids.d.ts +9 -0
  98. package/plugin/build/ios/apply/pbx/deterministicUuids.d.ts.map +1 -0
  99. package/plugin/build/ios/apply/pbx/deterministicUuids.js +36 -0
  100. package/plugin/build/ios/apply/pbx/deterministicUuids.js.map +1 -0
  101. package/plugin/build/ios/apply/pbx/fileRefs.d.ts +0 -10
  102. package/plugin/build/ios/apply/pbx/fileRefs.d.ts.map +1 -1
  103. package/plugin/build/ios/apply/pbx/fileRefs.js +0 -78
  104. package/plugin/build/ios/apply/pbx/fileRefs.js.map +1 -1
  105. package/plugin/build/ios/apply/pbx/index.d.ts +1 -1
  106. package/plugin/build/ios/apply/pbx/index.d.ts.map +1 -1
  107. package/plugin/build/ios/apply/pbx/index.js +1 -2
  108. package/plugin/build/ios/apply/pbx/index.js.map +1 -1
  109. package/plugin/build/ios/apply/pbx/safariWebBundle.d.ts.map +1 -1
  110. package/plugin/build/ios/apply/pbx/safariWebBundle.js +11 -55
  111. package/plugin/build/ios/apply/pbx/safariWebBundle.js.map +1 -1
  112. package/plugin/build/ios/apply/pbx/shellScriptPhase.d.ts +18 -0
  113. package/plugin/build/ios/apply/pbx/shellScriptPhase.d.ts.map +1 -0
  114. package/plugin/build/ios/apply/pbx/shellScriptPhase.js +69 -0
  115. package/plugin/build/ios/apply/pbx/shellScriptPhase.js.map +1 -0
  116. package/plugin/build/ios/apply/pbx/targetLifecycle.d.ts.map +1 -1
  117. package/plugin/build/ios/apply/pbx/targetLifecycle.js +41 -9
  118. package/plugin/build/ios/apply/pbx/targetLifecycle.js.map +1 -1
  119. package/plugin/build/ios/apply/podfile/podfile.d.ts +3 -2
  120. package/plugin/build/ios/apply/podfile/podfile.d.ts.map +1 -1
  121. package/plugin/build/ios/apply/podfile/podfile.js +122 -181
  122. package/plugin/build/ios/apply/podfile/podfile.js.map +1 -1
  123. package/plugin/build/ios/apply/podfile/rubyBlocks.d.ts +46 -0
  124. package/plugin/build/ios/apply/podfile/rubyBlocks.d.ts.map +1 -0
  125. package/plugin/build/ios/apply/podfile/rubyBlocks.js +169 -0
  126. package/plugin/build/ios/apply/podfile/rubyBlocks.js.map +1 -0
  127. package/plugin/build/ios/apply/podfile/scan.d.ts +2 -2
  128. package/plugin/build/ios/apply/podfile/scan.d.ts.map +1 -1
  129. package/plugin/build/ios/apply/podfile/scan.js +24 -63
  130. package/plugin/build/ios/apply/podfile/scan.js.map +1 -1
  131. package/plugin/build/ios/cng/withExpoTargetsGenerated.d.ts +2 -1
  132. package/plugin/build/ios/cng/withExpoTargetsGenerated.d.ts.map +1 -1
  133. package/plugin/build/ios/cng/withExpoTargetsGenerated.js +30 -20
  134. package/plugin/build/ios/cng/withExpoTargetsGenerated.js.map +1 -1
  135. package/plugin/build/ios/config-plugins/withIOSTarget.d.ts.map +1 -1
  136. package/plugin/build/ios/config-plugins/withIOSTarget.js +6 -27
  137. package/plugin/build/ios/config-plugins/withIOSTarget.js.map +1 -1
  138. package/plugin/build/ios/config-plugins/withXcodeChanges.d.ts.map +1 -1
  139. package/plugin/build/ios/config-plugins/withXcodeChanges.js +3 -1
  140. package/plugin/build/ios/config-plugins/withXcodeChanges.js.map +1 -1
  141. package/plugin/build/ios/plan/swiftSources.d.ts.map +1 -1
  142. package/plugin/build/ios/plan/swiftSources.js +5 -12
  143. package/plugin/build/ios/plan/swiftSources.js.map +1 -1
  144. package/plugin/build/ios/plan/types.d.ts +2 -0
  145. package/plugin/build/ios/plan/types.d.ts.map +1 -1
  146. package/plugin/build/ios/templates/ReactNativeClipApp.swift +37 -12
  147. package/plugin/build/ios/templates/ReactNativeViewController.swift +31 -19
  148. package/plugin/build/ios/templates/clip-extension-data.swift +2 -10
  149. package/plugin/build/ios/templates/share-extension-data.swift +48 -32
  150. package/plugin/build/ios/utils/asset.d.ts.map +1 -1
  151. package/plugin/build/ios/utils/asset.js +73 -48
  152. package/plugin/build/ios/utils/asset.js.map +1 -1
  153. package/plugin/build/ios/utils/file.d.ts +2 -1
  154. package/plugin/build/ios/utils/file.d.ts.map +1 -1
  155. package/plugin/build/ios/utils/file.js +4 -3
  156. package/plugin/build/ios/utils/file.js.map +1 -1
  157. package/plugin/build/ios/utils/paths.d.ts +0 -60
  158. package/plugin/build/ios/utils/paths.d.ts.map +1 -1
  159. package/plugin/build/ios/utils/paths.js +0 -64
  160. package/plugin/build/ios/utils/paths.js.map +1 -1
  161. package/plugin/build/ios/utils/plist.d.ts +0 -4
  162. package/plugin/build/ios/utils/plist.d.ts.map +1 -1
  163. package/plugin/build/ios/utils/plist.js +0 -11
  164. package/plugin/build/ios/utils/plist.js.map +1 -1
  165. package/plugin/build/ios/utils/reactNativeSwift.d.ts +2 -0
  166. package/plugin/build/ios/utils/reactNativeSwift.d.ts.map +1 -1
  167. package/plugin/build/ios/utils/reactNativeSwift.js +10 -10
  168. package/plugin/build/ios/utils/reactNativeSwift.js.map +1 -1
  169. package/plugin/build/ios/utils/safari.d.ts +0 -8
  170. package/plugin/build/ios/utils/safari.d.ts.map +1 -1
  171. package/plugin/build/ios/utils/safari.js +0 -17
  172. package/plugin/build/ios/utils/safari.js.map +1 -1
  173. package/plugin/build/logger.d.ts +5 -3
  174. package/plugin/build/logger.d.ts.map +1 -1
  175. package/plugin/build/logger.js +13 -19
  176. package/plugin/build/logger.js.map +1 -1
  177. package/plugin/build/writeFileIfChanged.d.ts +8 -0
  178. package/plugin/build/writeFileIfChanged.d.ts.map +1 -0
  179. package/plugin/build/writeFileIfChanged.js +29 -0
  180. package/plugin/build/writeFileIfChanged.js.map +1 -0
  181. package/android/src/main/java/expo/modules/targets/ExpoTargetsWidgetProvider.kt +0 -47
  182. package/android/src/main/java/expo/modules/targets/messages/ExpoTargetsMessagesModule.kt +0 -40
  183. package/build/metro/src/index.d.ts +0 -2
  184. package/build/metro/src/index.d.ts.map +0 -1
  185. package/build/metro/src/index.js +0 -8
  186. package/build/metro/src/index.js.map +0 -1
  187. package/build/metro/src/parseScriptConfig.d.ts +0 -6
  188. package/build/metro/src/parseScriptConfig.d.ts.map +0 -1
  189. package/build/metro/src/parseScriptConfig.js +0 -163
  190. package/build/metro/src/parseScriptConfig.js.map +0 -1
  191. package/build/metro/src/withTargets.d.ts +0 -24
  192. package/build/metro/src/withTargets.d.ts.map +0 -1
  193. package/build/metro/src/withTargets.js +0 -205
  194. package/build/metro/src/withTargets.js.map +0 -1
  195. package/build/plugin/src/android/activationMime.d.ts +0 -12
  196. package/build/plugin/src/android/activationMime.d.ts.map +0 -1
  197. package/build/plugin/src/android/activationMime.js +0 -46
  198. package/build/plugin/src/android/activationMime.js.map +0 -1
  199. package/build/plugin/src/android/extraImplementations.d.ts +0 -6
  200. package/build/plugin/src/android/extraImplementations.d.ts.map +0 -1
  201. package/build/plugin/src/android/extraImplementations.js +0 -33
  202. package/build/plugin/src/android/extraImplementations.js.map +0 -1
  203. package/build/plugin/src/android/generateImageResources.d.ts +0 -7
  204. package/build/plugin/src/android/generateImageResources.d.ts.map +0 -1
  205. package/build/plugin/src/android/generateImageResources.js +0 -77
  206. package/build/plugin/src/android/generateImageResources.js.map +0 -1
  207. package/build/plugin/src/android/resolveAndroidWidgetProviders.d.ts +0 -49
  208. package/build/plugin/src/android/resolveAndroidWidgetProviders.d.ts.map +0 -1
  209. package/build/plugin/src/android/resolveAndroidWidgetProviders.js +0 -182
  210. package/build/plugin/src/android/resolveAndroidWidgetProviders.js.map +0 -1
  211. package/build/plugin/src/android/resolveUserClass.d.ts +0 -14
  212. package/build/plugin/src/android/resolveUserClass.d.ts.map +0 -1
  213. package/build/plugin/src/android/resolveUserClass.js +0 -57
  214. package/build/plugin/src/android/resolveUserClass.js.map +0 -1
  215. package/build/plugin/src/android/targetSourceSets.d.ts +0 -9
  216. package/build/plugin/src/android/targetSourceSets.d.ts.map +0 -1
  217. package/build/plugin/src/android/targetSourceSets.js +0 -100
  218. package/build/plugin/src/android/targetSourceSets.js.map +0 -1
  219. package/build/plugin/src/android/widgetSourceSets.d.ts +0 -10
  220. package/build/plugin/src/android/widgetSourceSets.d.ts.map +0 -1
  221. package/build/plugin/src/android/widgetSourceSets.js +0 -176
  222. package/build/plugin/src/android/widgetSourceSets.js.map +0 -1
  223. package/build/plugin/src/android/withAndroidAppBuildGradle.d.ts +0 -7
  224. package/build/plugin/src/android/withAndroidAppBuildGradle.d.ts.map +0 -1
  225. package/build/plugin/src/android/withAndroidAppBuildGradle.js +0 -30
  226. package/build/plugin/src/android/withAndroidAppBuildGradle.js.map +0 -1
  227. package/build/plugin/src/android/withAndroidNotification.d.ts +0 -13
  228. package/build/plugin/src/android/withAndroidNotification.d.ts.map +0 -1
  229. package/build/plugin/src/android/withAndroidNotification.js +0 -237
  230. package/build/plugin/src/android/withAndroidNotification.js.map +0 -1
  231. package/build/plugin/src/android/withAndroidShareAction.d.ts +0 -11
  232. package/build/plugin/src/android/withAndroidShareAction.d.ts.map +0 -1
  233. package/build/plugin/src/android/withAndroidShareAction.js +0 -199
  234. package/build/plugin/src/android/withAndroidShareAction.js.map +0 -1
  235. package/build/plugin/src/android/withAndroidSystemService.d.ts +0 -12
  236. package/build/plugin/src/android/withAndroidSystemService.d.ts.map +0 -1
  237. package/build/plugin/src/android/withAndroidSystemService.js +0 -334
  238. package/build/plugin/src/android/withAndroidSystemService.js.map +0 -1
  239. package/build/plugin/src/android/withAndroidTarget.d.ts +0 -11
  240. package/build/plugin/src/android/withAndroidTarget.d.ts.map +0 -1
  241. package/build/plugin/src/android/withAndroidTarget.js +0 -70
  242. package/build/plugin/src/android/withAndroidTarget.js.map +0 -1
  243. package/build/plugin/src/android/withAndroidTargetsConfig.d.ts +0 -9
  244. package/build/plugin/src/android/withAndroidTargetsConfig.d.ts.map +0 -1
  245. package/build/plugin/src/android/withAndroidTargetsConfig.js +0 -62
  246. package/build/plugin/src/android/withAndroidTargetsConfig.js.map +0 -1
  247. package/build/plugin/src/android/withAndroidWidget.d.ts +0 -13
  248. package/build/plugin/src/android/withAndroidWidget.d.ts.map +0 -1
  249. package/build/plugin/src/android/withAndroidWidget.js +0 -499
  250. package/build/plugin/src/android/withAndroidWidget.js.map +0 -1
  251. package/build/plugin/src/android/withExpoUiAndroidWidgets.d.ts +0 -34
  252. package/build/plugin/src/android/withExpoUiAndroidWidgets.d.ts.map +0 -1
  253. package/build/plugin/src/android/withExpoUiAndroidWidgets.js +0 -120
  254. package/build/plugin/src/android/withExpoUiAndroidWidgets.js.map +0 -1
  255. package/build/plugin/src/autolinkedPackages.d.ts +0 -19
  256. package/build/plugin/src/autolinkedPackages.d.ts.map +0 -1
  257. package/build/plugin/src/autolinkedPackages.js +0 -262
  258. package/build/plugin/src/autolinkedPackages.js.map +0 -1
  259. package/build/plugin/src/codegen/collectRuntimeConfigs.d.ts +0 -45
  260. package/build/plugin/src/codegen/collectRuntimeConfigs.d.ts.map +0 -1
  261. package/build/plugin/src/codegen/collectRuntimeConfigs.js +0 -69
  262. package/build/plugin/src/codegen/collectRuntimeConfigs.js.map +0 -1
  263. package/build/plugin/src/codegen/index.d.ts +0 -8
  264. package/build/plugin/src/codegen/index.d.ts.map +0 -1
  265. package/build/plugin/src/codegen/index.js +0 -17
  266. package/build/plugin/src/codegen/index.js.map +0 -1
  267. package/build/plugin/src/codegen/typedTargets.d.ts +0 -36
  268. package/build/plugin/src/codegen/typedTargets.d.ts.map +0 -1
  269. package/build/plugin/src/codegen/typedTargets.js +0 -185
  270. package/build/plugin/src/codegen/typedTargets.js.map +0 -1
  271. package/build/plugin/src/codegen/warnIfSealedHandEdited.d.ts +0 -12
  272. package/build/plugin/src/codegen/warnIfSealedHandEdited.d.ts.map +0 -1
  273. package/build/plugin/src/codegen/warnIfSealedHandEdited.js +0 -31
  274. package/build/plugin/src/codegen/warnIfSealedHandEdited.js.map +0 -1
  275. package/build/plugin/src/codegen/widgetKindNames.d.ts +0 -6
  276. package/build/plugin/src/codegen/widgetKindNames.d.ts.map +0 -1
  277. package/build/plugin/src/codegen/widgetKindNames.js +0 -40
  278. package/build/plugin/src/codegen/widgetKindNames.js.map +0 -1
  279. package/build/plugin/src/domain/appGroups.d.ts +0 -31
  280. package/build/plugin/src/domain/appGroups.d.ts.map +0 -1
  281. package/build/plugin/src/domain/appGroups.js +0 -71
  282. package/build/plugin/src/domain/appGroups.js.map +0 -1
  283. package/build/plugin/src/domain/bundleIds.d.ts +0 -9
  284. package/build/plugin/src/domain/bundleIds.d.ts.map +0 -1
  285. package/build/plugin/src/domain/bundleIds.js +0 -10
  286. package/build/plugin/src/domain/bundleIds.js.map +0 -1
  287. package/build/plugin/src/domain/characteristics.d.ts +0 -52
  288. package/build/plugin/src/domain/characteristics.d.ts.map +0 -1
  289. package/build/plugin/src/domain/characteristics.js +0 -852
  290. package/build/plugin/src/domain/characteristics.js.map +0 -1
  291. package/build/plugin/src/domain/deployment.d.ts +0 -14
  292. package/build/plugin/src/domain/deployment.d.ts.map +0 -1
  293. package/build/plugin/src/domain/deployment.js +0 -14
  294. package/build/plugin/src/domain/deployment.js.map +0 -1
  295. package/build/plugin/src/domain/index.d.ts +0 -16
  296. package/build/plugin/src/domain/index.d.ts.map +0 -1
  297. package/build/plugin/src/domain/index.js +0 -42
  298. package/build/plugin/src/domain/index.js.map +0 -1
  299. package/build/plugin/src/domain/rnCompat.d.ts +0 -16
  300. package/build/plugin/src/domain/rnCompat.d.ts.map +0 -1
  301. package/build/plugin/src/domain/rnCompat.js +0 -37
  302. package/build/plugin/src/domain/rnCompat.js.map +0 -1
  303. package/build/plugin/src/domain/types.d.ts +0 -9
  304. package/build/plugin/src/domain/types.d.ts.map +0 -1
  305. package/build/plugin/src/domain/types.js +0 -10
  306. package/build/plugin/src/domain/types.js.map +0 -1
  307. package/build/plugin/src/ensureHostAppGroups.d.ts +0 -21
  308. package/build/plugin/src/ensureHostAppGroups.d.ts.map +0 -1
  309. package/build/plugin/src/ensureHostAppGroups.js +0 -173
  310. package/build/plugin/src/ensureHostAppGroups.js.map +0 -1
  311. package/build/plugin/src/ensureHostLiveActivities.d.ts +0 -14
  312. package/build/plugin/src/ensureHostLiveActivities.d.ts.map +0 -1
  313. package/build/plugin/src/ensureHostLiveActivities.js +0 -39
  314. package/build/plugin/src/ensureHostLiveActivities.js.map +0 -1
  315. package/build/plugin/src/entryGraph.d.ts +0 -16
  316. package/build/plugin/src/entryGraph.d.ts.map +0 -1
  317. package/build/plugin/src/entryGraph.js +0 -155
  318. package/build/plugin/src/entryGraph.js.map +0 -1
  319. package/build/plugin/src/index.d.ts +0 -9
  320. package/build/plugin/src/index.d.ts.map +0 -1
  321. package/build/plugin/src/index.js +0 -16
  322. package/build/plugin/src/index.js.map +0 -1
  323. package/build/plugin/src/ios/apply/fs/applyTargetPlan.d.ts +0 -11
  324. package/build/plugin/src/ios/apply/fs/applyTargetPlan.d.ts.map +0 -1
  325. package/build/plugin/src/ios/apply/fs/applyTargetPlan.js +0 -88
  326. package/build/plugin/src/ios/apply/fs/applyTargetPlan.js.map +0 -1
  327. package/build/plugin/src/ios/apply/fs/assets.d.ts +0 -9
  328. package/build/plugin/src/ios/apply/fs/assets.d.ts.map +0 -1
  329. package/build/plugin/src/ios/apply/fs/assets.js +0 -125
  330. package/build/plugin/src/ios/apply/fs/assets.js.map +0 -1
  331. package/build/plugin/src/ios/apply/fs/entitlements.d.ts +0 -11
  332. package/build/plugin/src/ios/apply/fs/entitlements.d.ts.map +0 -1
  333. package/build/plugin/src/ios/apply/fs/entitlements.js +0 -61
  334. package/build/plugin/src/ios/apply/fs/entitlements.js.map +0 -1
  335. package/build/plugin/src/ios/apply/fs/index.d.ts +0 -14
  336. package/build/plugin/src/ios/apply/fs/index.d.ts.map +0 -1
  337. package/build/plugin/src/ios/apply/fs/index.js +0 -24
  338. package/build/plugin/src/ios/apply/fs/index.js.map +0 -1
  339. package/build/plugin/src/ios/apply/fs/infoPlist.d.ts +0 -6
  340. package/build/plugin/src/ios/apply/fs/infoPlist.d.ts.map +0 -1
  341. package/build/plugin/src/ios/apply/fs/infoPlist.js +0 -44
  342. package/build/plugin/src/ios/apply/fs/infoPlist.js.map +0 -1
  343. package/build/plugin/src/ios/apply/fs/safari.d.ts +0 -10
  344. package/build/plugin/src/ios/apply/fs/safari.d.ts.map +0 -1
  345. package/build/plugin/src/ios/apply/fs/safari.js +0 -72
  346. package/build/plugin/src/ios/apply/fs/safari.js.map +0 -1
  347. package/build/plugin/src/ios/apply/fs/stickers.d.ts +0 -8
  348. package/build/plugin/src/ios/apply/fs/stickers.d.ts.map +0 -1
  349. package/build/plugin/src/ios/apply/fs/stickers.js +0 -81
  350. package/build/plugin/src/ios/apply/fs/stickers.js.map +0 -1
  351. package/build/plugin/src/ios/apply/fs/swift.d.ts +0 -12
  352. package/build/plugin/src/ios/apply/fs/swift.d.ts.map +0 -1
  353. package/build/plugin/src/ios/apply/fs/swift.js +0 -88
  354. package/build/plugin/src/ios/apply/fs/swift.js.map +0 -1
  355. package/build/plugin/src/ios/apply/pbx/applyTargetPlan.d.ts +0 -18
  356. package/build/plugin/src/ios/apply/pbx/applyTargetPlan.d.ts.map +0 -1
  357. package/build/plugin/src/ios/apply/pbx/applyTargetPlan.js +0 -338
  358. package/build/plugin/src/ios/apply/pbx/applyTargetPlan.js.map +0 -1
  359. package/build/plugin/src/ios/apply/pbx/buildPhases.d.ts +0 -30
  360. package/build/plugin/src/ios/apply/pbx/buildPhases.d.ts.map +0 -1
  361. package/build/plugin/src/ios/apply/pbx/buildPhases.js +0 -100
  362. package/build/plugin/src/ios/apply/pbx/buildPhases.js.map +0 -1
  363. package/build/plugin/src/ios/apply/pbx/buildSettings.d.ts +0 -37
  364. package/build/plugin/src/ios/apply/pbx/buildSettings.d.ts.map +0 -1
  365. package/build/plugin/src/ios/apply/pbx/buildSettings.js +0 -79
  366. package/build/plugin/src/ios/apply/pbx/buildSettings.js.map +0 -1
  367. package/build/plugin/src/ios/apply/pbx/bundleReactNative.d.ts +0 -19
  368. package/build/plugin/src/ios/apply/pbx/bundleReactNative.d.ts.map +0 -1
  369. package/build/plugin/src/ios/apply/pbx/bundleReactNative.js +0 -135
  370. package/build/plugin/src/ios/apply/pbx/bundleReactNative.js.map +0 -1
  371. package/build/plugin/src/ios/apply/pbx/clipBuildNumber.d.ts +0 -8
  372. package/build/plugin/src/ios/apply/pbx/clipBuildNumber.d.ts.map +0 -1
  373. package/build/plugin/src/ios/apply/pbx/clipBuildNumber.js +0 -32
  374. package/build/plugin/src/ios/apply/pbx/clipBuildNumber.js.map +0 -1
  375. package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts +0 -25
  376. package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts.map +0 -1
  377. package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.js +0 -195
  378. package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.js.map +0 -1
  379. package/build/plugin/src/ios/apply/pbx/embed.d.ts +0 -63
  380. package/build/plugin/src/ios/apply/pbx/embed.d.ts.map +0 -1
  381. package/build/plugin/src/ios/apply/pbx/embed.js +0 -571
  382. package/build/plugin/src/ios/apply/pbx/embed.js.map +0 -1
  383. package/build/plugin/src/ios/apply/pbx/fileRefs.d.ts +0 -26
  384. package/build/plugin/src/ios/apply/pbx/fileRefs.d.ts.map +0 -1
  385. package/build/plugin/src/ios/apply/pbx/fileRefs.js +0 -131
  386. package/build/plugin/src/ios/apply/pbx/fileRefs.js.map +0 -1
  387. package/build/plugin/src/ios/apply/pbx/groups.d.ts +0 -25
  388. package/build/plugin/src/ios/apply/pbx/groups.d.ts.map +0 -1
  389. package/build/plugin/src/ios/apply/pbx/groups.js +0 -83
  390. package/build/plugin/src/ios/apply/pbx/groups.js.map +0 -1
  391. package/build/plugin/src/ios/apply/pbx/index.d.ts +0 -18
  392. package/build/plugin/src/ios/apply/pbx/index.d.ts.map +0 -1
  393. package/build/plugin/src/ios/apply/pbx/index.js +0 -53
  394. package/build/plugin/src/ios/apply/pbx/index.js.map +0 -1
  395. package/build/plugin/src/ios/apply/pbx/safariWebBundle.d.ts +0 -15
  396. package/build/plugin/src/ios/apply/pbx/safariWebBundle.d.ts.map +0 -1
  397. package/build/plugin/src/ios/apply/pbx/safariWebBundle.js +0 -98
  398. package/build/plugin/src/ios/apply/pbx/safariWebBundle.js.map +0 -1
  399. package/build/plugin/src/ios/apply/pbx/targetLifecycle.d.ts +0 -59
  400. package/build/plugin/src/ios/apply/pbx/targetLifecycle.d.ts.map +0 -1
  401. package/build/plugin/src/ios/apply/pbx/targetLifecycle.js +0 -184
  402. package/build/plugin/src/ios/apply/pbx/targetLifecycle.js.map +0 -1
  403. package/build/plugin/src/ios/apply/pbx/types.d.ts +0 -12
  404. package/build/plugin/src/ios/apply/pbx/types.d.ts.map +0 -1
  405. package/build/plugin/src/ios/apply/pbx/types.js +0 -6
  406. package/build/plugin/src/ios/apply/pbx/types.js.map +0 -1
  407. package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.d.ts +0 -12
  408. package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.d.ts.map +0 -1
  409. package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.js +0 -87
  410. package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.js.map +0 -1
  411. package/build/plugin/src/ios/apply/podfile/index.d.ts +0 -11
  412. package/build/plugin/src/ios/apply/podfile/index.d.ts.map +0 -1
  413. package/build/plugin/src/ios/apply/podfile/index.js +0 -32
  414. package/build/plugin/src/ios/apply/podfile/index.js.map +0 -1
  415. package/build/plugin/src/ios/apply/podfile/podfile.d.ts +0 -143
  416. package/build/plugin/src/ios/apply/podfile/podfile.d.ts.map +0 -1
  417. package/build/plugin/src/ios/apply/podfile/podfile.js +0 -749
  418. package/build/plugin/src/ios/apply/podfile/podfile.js.map +0 -1
  419. package/build/plugin/src/ios/apply/podfile/scan.d.ts +0 -41
  420. package/build/plugin/src/ios/apply/podfile/scan.d.ts.map +0 -1
  421. package/build/plugin/src/ios/apply/podfile/scan.js +0 -134
  422. package/build/plugin/src/ios/apply/podfile/scan.js.map +0 -1
  423. package/build/plugin/src/ios/cng/appShortcutsCodegen.d.ts +0 -6
  424. package/build/plugin/src/ios/cng/appShortcutsCodegen.d.ts.map +0 -1
  425. package/build/plugin/src/ios/cng/appShortcutsCodegen.js +0 -78
  426. package/build/plugin/src/ios/cng/appShortcutsCodegen.js.map +0 -1
  427. package/build/plugin/src/ios/cng/controlCodegen.d.ts +0 -16
  428. package/build/plugin/src/ios/cng/controlCodegen.d.ts.map +0 -1
  429. package/build/plugin/src/ios/cng/controlCodegen.js +0 -107
  430. package/build/plugin/src/ios/cng/controlCodegen.js.map +0 -1
  431. package/build/plugin/src/ios/cng/liveActivityCodegen.d.ts +0 -6
  432. package/build/plugin/src/ios/cng/liveActivityCodegen.d.ts.map +0 -1
  433. package/build/plugin/src/ios/cng/liveActivityCodegen.js +0 -314
  434. package/build/plugin/src/ios/cng/liveActivityCodegen.js.map +0 -1
  435. package/build/plugin/src/ios/cng/swiftTypes.d.ts +0 -4
  436. package/build/plugin/src/ios/cng/swiftTypes.d.ts.map +0 -1
  437. package/build/plugin/src/ios/cng/swiftTypes.js +0 -33
  438. package/build/plugin/src/ios/cng/swiftTypes.js.map +0 -1
  439. package/build/plugin/src/ios/cng/withExpoTargetsGenerated.d.ts +0 -28
  440. package/build/plugin/src/ios/cng/withExpoTargetsGenerated.d.ts.map +0 -1
  441. package/build/plugin/src/ios/cng/withExpoTargetsGenerated.js +0 -358
  442. package/build/plugin/src/ios/cng/withExpoTargetsGenerated.js.map +0 -1
  443. package/build/plugin/src/ios/config-plugins/withEASCredentials.d.ts +0 -23
  444. package/build/plugin/src/ios/config-plugins/withEASCredentials.d.ts.map +0 -1
  445. package/build/plugin/src/ios/config-plugins/withEASCredentials.js +0 -58
  446. package/build/plugin/src/ios/config-plugins/withEASCredentials.js.map +0 -1
  447. package/build/plugin/src/ios/config-plugins/withEntitlements.d.ts +0 -15
  448. package/build/plugin/src/ios/config-plugins/withEntitlements.d.ts.map +0 -1
  449. package/build/plugin/src/ios/config-plugins/withEntitlements.js +0 -82
  450. package/build/plugin/src/ios/config-plugins/withEntitlements.js.map +0 -1
  451. package/build/plugin/src/ios/config-plugins/withIOSTarget.d.ts +0 -24
  452. package/build/plugin/src/ios/config-plugins/withIOSTarget.d.ts.map +0 -1
  453. package/build/plugin/src/ios/config-plugins/withIOSTarget.js +0 -348
  454. package/build/plugin/src/ios/config-plugins/withIOSTarget.js.map +0 -1
  455. package/build/plugin/src/ios/config-plugins/withPodfile.d.ts +0 -19
  456. package/build/plugin/src/ios/config-plugins/withPodfile.d.ts.map +0 -1
  457. package/build/plugin/src/ios/config-plugins/withPodfile.js +0 -51
  458. package/build/plugin/src/ios/config-plugins/withPodfile.js.map +0 -1
  459. package/build/plugin/src/ios/config-plugins/withXcodeChanges.d.ts +0 -11
  460. package/build/plugin/src/ios/config-plugins/withXcodeChanges.d.ts.map +0 -1
  461. package/build/plugin/src/ios/config-plugins/withXcodeChanges.js +0 -80
  462. package/build/plugin/src/ios/config-plugins/withXcodeChanges.js.map +0 -1
  463. package/build/plugin/src/ios/observe/index.d.ts +0 -7
  464. package/build/plugin/src/ios/observe/index.d.ts.map +0 -1
  465. package/build/plugin/src/ios/observe/index.js +0 -11
  466. package/build/plugin/src/ios/observe/index.js.map +0 -1
  467. package/build/plugin/src/ios/observe/podsRb.d.ts +0 -10
  468. package/build/plugin/src/ios/observe/podsRb.d.ts.map +0 -1
  469. package/build/plugin/src/ios/observe/podsRb.js +0 -53
  470. package/build/plugin/src/ios/observe/podsRb.js.map +0 -1
  471. package/build/plugin/src/ios/observe/workspace.d.ts +0 -53
  472. package/build/plugin/src/ios/observe/workspace.d.ts.map +0 -1
  473. package/build/plugin/src/ios/observe/workspace.js +0 -117
  474. package/build/plugin/src/ios/observe/workspace.js.map +0 -1
  475. package/build/plugin/src/ios/plan/assets.d.ts +0 -14
  476. package/build/plugin/src/ios/plan/assets.d.ts.map +0 -1
  477. package/build/plugin/src/ios/plan/assets.js +0 -148
  478. package/build/plugin/src/ios/plan/assets.js.map +0 -1
  479. package/build/plugin/src/ios/plan/buildInfoPlist.d.ts +0 -43
  480. package/build/plugin/src/ios/plan/buildInfoPlist.d.ts.map +0 -1
  481. package/build/plugin/src/ios/plan/buildInfoPlist.js +0 -352
  482. package/build/plugin/src/ios/plan/buildInfoPlist.js.map +0 -1
  483. package/build/plugin/src/ios/plan/buildSettings.d.ts +0 -11
  484. package/build/plugin/src/ios/plan/buildSettings.d.ts.map +0 -1
  485. package/build/plugin/src/ios/plan/buildSettings.js +0 -262
  486. package/build/plugin/src/ios/plan/buildSettings.js.map +0 -1
  487. package/build/plugin/src/ios/plan/bundleReactNative.d.ts +0 -7
  488. package/build/plugin/src/ios/plan/bundleReactNative.d.ts.map +0 -1
  489. package/build/plugin/src/ios/plan/bundleReactNative.js +0 -20
  490. package/build/plugin/src/ios/plan/bundleReactNative.js.map +0 -1
  491. package/build/plugin/src/ios/plan/bundleResources.d.ts +0 -11
  492. package/build/plugin/src/ios/plan/bundleResources.d.ts.map +0 -1
  493. package/build/plugin/src/ios/plan/bundleResources.js +0 -22
  494. package/build/plugin/src/ios/plan/bundleResources.js.map +0 -1
  495. package/build/plugin/src/ios/plan/compose.d.ts +0 -7
  496. package/build/plugin/src/ios/plan/compose.d.ts.map +0 -1
  497. package/build/plugin/src/ios/plan/compose.js +0 -61
  498. package/build/plugin/src/ios/plan/compose.js.map +0 -1
  499. package/build/plugin/src/ios/plan/embed.d.ts +0 -8
  500. package/build/plugin/src/ios/plan/embed.d.ts.map +0 -1
  501. package/build/plugin/src/ios/plan/embed.js +0 -12
  502. package/build/plugin/src/ios/plan/embed.js.map +0 -1
  503. package/build/plugin/src/ios/plan/entitlements.d.ts +0 -19
  504. package/build/plugin/src/ios/plan/entitlements.d.ts.map +0 -1
  505. package/build/plugin/src/ios/plan/entitlements.js +0 -82
  506. package/build/plugin/src/ios/plan/entitlements.js.map +0 -1
  507. package/build/plugin/src/ios/plan/identity.d.ts +0 -9
  508. package/build/plugin/src/ios/plan/identity.d.ts.map +0 -1
  509. package/build/plugin/src/ios/plan/identity.js +0 -70
  510. package/build/plugin/src/ios/plan/identity.js.map +0 -1
  511. package/build/plugin/src/ios/plan/index.d.ts +0 -22
  512. package/build/plugin/src/ios/plan/index.d.ts.map +0 -1
  513. package/build/plugin/src/ios/plan/index.js +0 -38
  514. package/build/plugin/src/ios/plan/index.js.map +0 -1
  515. package/build/plugin/src/ios/plan/infoPlist.d.ts +0 -9
  516. package/build/plugin/src/ios/plan/infoPlist.d.ts.map +0 -1
  517. package/build/plugin/src/ios/plan/infoPlist.js +0 -107
  518. package/build/plugin/src/ios/plan/infoPlist.js.map +0 -1
  519. package/build/plugin/src/ios/plan/podfile.d.ts +0 -20
  520. package/build/plugin/src/ios/plan/podfile.d.ts.map +0 -1
  521. package/build/plugin/src/ios/plan/podfile.js +0 -23
  522. package/build/plugin/src/ios/plan/podfile.js.map +0 -1
  523. package/build/plugin/src/ios/plan/safari.d.ts +0 -14
  524. package/build/plugin/src/ios/plan/safari.d.ts.map +0 -1
  525. package/build/plugin/src/ios/plan/safari.js +0 -32
  526. package/build/plugin/src/ios/plan/safari.js.map +0 -1
  527. package/build/plugin/src/ios/plan/safariWebBundle.d.ts +0 -7
  528. package/build/plugin/src/ios/plan/safariWebBundle.d.ts.map +0 -1
  529. package/build/plugin/src/ios/plan/safariWebBundle.js +0 -62
  530. package/build/plugin/src/ios/plan/safariWebBundle.js.map +0 -1
  531. package/build/plugin/src/ios/plan/swiftSources.d.ts +0 -13
  532. package/build/plugin/src/ios/plan/swiftSources.d.ts.map +0 -1
  533. package/build/plugin/src/ios/plan/swiftSources.js +0 -330
  534. package/build/plugin/src/ios/plan/swiftSources.js.map +0 -1
  535. package/build/plugin/src/ios/plan/types.d.ts +0 -257
  536. package/build/plugin/src/ios/plan/types.d.ts.map +0 -1
  537. package/build/plugin/src/ios/plan/types.js +0 -3
  538. package/build/plugin/src/ios/plan/types.js.map +0 -1
  539. package/build/plugin/src/ios/safari/exportSafariWebBundle.d.ts +0 -20
  540. package/build/plugin/src/ios/safari/exportSafariWebBundle.d.ts.map +0 -1
  541. package/build/plugin/src/ios/safari/exportSafariWebBundle.js +0 -128
  542. package/build/plugin/src/ios/safari/exportSafariWebBundle.js.map +0 -1
  543. package/build/plugin/src/ios/safari/exportSafariWebBundleCli.d.ts +0 -2
  544. package/build/plugin/src/ios/safari/exportSafariWebBundleCli.d.ts.map +0 -1
  545. package/build/plugin/src/ios/safari/exportSafariWebBundleCli.js +0 -75
  546. package/build/plugin/src/ios/safari/exportSafariWebBundleCli.js.map +0 -1
  547. package/build/plugin/src/ios/utils/asset.d.ts +0 -73
  548. package/build/plugin/src/ios/utils/asset.d.ts.map +0 -1
  549. package/build/plugin/src/ios/utils/asset.js +0 -389
  550. package/build/plugin/src/ios/utils/asset.js.map +0 -1
  551. package/build/plugin/src/ios/utils/expoUiWidgetSwift.d.ts +0 -36
  552. package/build/plugin/src/ios/utils/expoUiWidgetSwift.d.ts.map +0 -1
  553. package/build/plugin/src/ios/utils/expoUiWidgetSwift.js +0 -318
  554. package/build/plugin/src/ios/utils/expoUiWidgetSwift.js.map +0 -1
  555. package/build/plugin/src/ios/utils/file.d.ts +0 -33
  556. package/build/plugin/src/ios/utils/file.d.ts.map +0 -1
  557. package/build/plugin/src/ios/utils/file.js +0 -86
  558. package/build/plugin/src/ios/utils/file.js.map +0 -1
  559. package/build/plugin/src/ios/utils/index.d.ts +0 -16
  560. package/build/plugin/src/ios/utils/index.d.ts.map +0 -1
  561. package/build/plugin/src/ios/utils/index.js +0 -52
  562. package/build/plugin/src/ios/utils/index.js.map +0 -1
  563. package/build/plugin/src/ios/utils/paths.d.ts +0 -130
  564. package/build/plugin/src/ios/utils/paths.d.ts.map +0 -1
  565. package/build/plugin/src/ios/utils/paths.js +0 -156
  566. package/build/plugin/src/ios/utils/paths.js.map +0 -1
  567. package/build/plugin/src/ios/utils/plist.d.ts +0 -30
  568. package/build/plugin/src/ios/utils/plist.d.ts.map +0 -1
  569. package/build/plugin/src/ios/utils/plist.js +0 -105
  570. package/build/plugin/src/ios/utils/plist.js.map +0 -1
  571. package/build/plugin/src/ios/utils/reactNativeSwift.d.ts +0 -15
  572. package/build/plugin/src/ios/utils/reactNativeSwift.d.ts.map +0 -1
  573. package/build/plugin/src/ios/utils/reactNativeSwift.js +0 -210
  574. package/build/plugin/src/ios/utils/reactNativeSwift.js.map +0 -1
  575. package/build/plugin/src/ios/utils/safari.d.ts +0 -76
  576. package/build/plugin/src/ios/utils/safari.d.ts.map +0 -1
  577. package/build/plugin/src/ios/utils/safari.js +0 -462
  578. package/build/plugin/src/ios/utils/safari.js.map +0 -1
  579. package/build/plugin/src/linkerCompanions.d.ts +0 -21
  580. package/build/plugin/src/linkerCompanions.d.ts.map +0 -1
  581. package/build/plugin/src/linkerCompanions.js +0 -59
  582. package/build/plugin/src/linkerCompanions.js.map +0 -1
  583. package/build/plugin/src/loadTargetConfigModule.d.ts +0 -3
  584. package/build/plugin/src/loadTargetConfigModule.d.ts.map +0 -1
  585. package/build/plugin/src/loadTargetConfigModule.js +0 -54
  586. package/build/plugin/src/loadTargetConfigModule.js.map +0 -1
  587. package/build/plugin/src/logger.d.ts +0 -10
  588. package/build/plugin/src/logger.d.ts.map +0 -1
  589. package/build/plugin/src/logger.js +0 -55
  590. package/build/plugin/src/logger.js.map +0 -1
  591. package/build/plugin/src/resolveExcludedPackages.d.ts +0 -39
  592. package/build/plugin/src/resolveExcludedPackages.d.ts.map +0 -1
  593. package/build/plugin/src/resolveExcludedPackages.js +0 -76
  594. package/build/plugin/src/resolveExcludedPackages.js.map +0 -1
  595. package/build/plugin/src/targetConfigFile.d.ts +0 -12
  596. package/build/plugin/src/targetConfigFile.d.ts.map +0 -1
  597. package/build/plugin/src/targetConfigFile.js +0 -66
  598. package/build/plugin/src/targetConfigFile.js.map +0 -1
  599. package/build/plugin/src/withTargetsDir.d.ts +0 -11
  600. package/build/plugin/src/withTargetsDir.d.ts.map +0 -1
  601. package/build/plugin/src/withTargetsDir.js +0 -353
  602. package/build/plugin/src/withTargetsDir.js.map +0 -1
  603. package/build/src/modules/extensionBundle/constants.d.ts +0 -21
  604. package/build/src/modules/extensionBundle/constants.d.ts.map +0 -1
  605. package/build/src/modules/extensionBundle/constants.js +0 -30
  606. package/build/src/modules/extensionBundle/constants.js.map +0 -1
  607. package/build/src/modules/extensionBundle/fsInstall.d.ts +0 -48
  608. package/build/src/modules/extensionBundle/fsInstall.d.ts.map +0 -1
  609. package/build/src/modules/extensionBundle/fsInstall.js +0 -189
  610. package/build/src/modules/extensionBundle/fsInstall.js.map +0 -1
  611. package/plugin/build/android/widgetSourceSets.d.ts +0 -10
  612. package/plugin/build/android/widgetSourceSets.d.ts.map +0 -1
  613. package/plugin/build/android/widgetSourceSets.js +0 -176
  614. package/plugin/build/android/widgetSourceSets.js.map +0 -1
  615. package/plugin/build/ios/templates/action-extension-data.swift +0 -106
@@ -1,571 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.configureAppExtensionEmbed = configureAppExtensionEmbed;
4
- exports.configureExtensionKitEmbed = configureExtensionKitEmbed;
5
- exports.configureAppClipEmbed = configureAppClipEmbed;
6
- exports.configureWatchContentEmbed = configureWatchContentEmbed;
7
- exports.configureWatchAppExtensionEmbed = configureWatchAppExtensionEmbed;
8
- exports.removeAppExtensionFromHostEmbed = removeAppExtensionFromHostEmbed;
9
- /**
10
- * "Embed App Extensions" / "Embed App Clips" copy-files phases on the host app.
11
- * Both entry points are idempotent: re-running a prebuild must not add a second
12
- * embed phase or a duplicate build file for the same product.
13
- */
14
- const APP_EXTENSION_DST_SUBFOLDER_SPEC = 13;
15
- const EMBED_PHASE_NAME = 'Embed App Extensions';
16
- const EMBED_ATTRIBUTES = ['RemoveHeadersOnCopy', 'CodeSignOnCopy'];
17
- function ensureEmbedAttributes(buildFile) {
18
- if (!Array.isArray(buildFile.settings?.ATTRIBUTES)) {
19
- buildFile.settings = { ATTRIBUTES: [...EMBED_ATTRIBUTES] };
20
- return;
21
- }
22
- const attrs = buildFile.settings.ATTRIBUTES;
23
- for (const attr of EMBED_ATTRIBUTES) {
24
- if (!attrs.includes(attr)) {
25
- attrs.push(attr);
26
- }
27
- }
28
- }
29
- /**
30
- * A product is identified by either the `path` or the `name` of its file
31
- * reference, both of which may be quoted in the pbxproj.
32
- */
33
- function productNamesForBuildFile({ fileRefSection }, buildFile) {
34
- const fileRef = fileRefSection?.[buildFile.fileRef];
35
- return [fileRef?.path, fileRef?.name]
36
- .filter((value) => typeof value === 'string')
37
- .map((value) => value.replace(/"/g, ''));
38
- }
39
- /**
40
- * Give the extension's own build file the copy attributes it needs, wherever
41
- * in the project it happens to live.
42
- */
43
- function configureExtensionBuildFile(sections, targetFileName) {
44
- for (const buildFileKey in sections.buildFileSection) {
45
- if (buildFileKey.endsWith('_comment')) {
46
- continue;
47
- }
48
- const buildFile = sections.buildFileSection[buildFileKey];
49
- if (!buildFile?.fileRef) {
50
- continue;
51
- }
52
- const names = productNamesForBuildFile(sections, buildFile);
53
- if (names.includes(targetFileName)) {
54
- ensureEmbedAttributes(buildFile);
55
- return;
56
- }
57
- }
58
- }
59
- function findNamedEmbedPhase(copyFilesPhases) {
60
- for (const phaseKey in copyFilesPhases) {
61
- if (phaseKey.endsWith('_comment')) {
62
- continue;
63
- }
64
- const phase = copyFilesPhases[phaseKey];
65
- if (phase?.dstSubfolderSpec === APP_EXTENSION_DST_SUBFOLDER_SPEC &&
66
- (phase.name === `"${EMBED_PHASE_NAME}"` ||
67
- copyFilesPhases[`${phaseKey}_comment`] === EMBED_PHASE_NAME)) {
68
- return phaseKey;
69
- }
70
- }
71
- }
72
- /**
73
- * Attributes every `.appex` build file in a phase and records its UUID.
74
- * Returns whether the phase embeds an app extension at all.
75
- */
76
- function registerAppExtensionFiles(sections, phase, extensionBuildFiles) {
77
- let found = false;
78
- for (const file of phase.files) {
79
- const buildFile = sections.buildFileSection?.[file.value];
80
- if (!buildFile?.fileRef) {
81
- continue;
82
- }
83
- const isAppExtension = productNamesForBuildFile(sections, buildFile).some((name) => name.endsWith('.appex'));
84
- if (isAppExtension) {
85
- found = true;
86
- extensionBuildFiles.add(file.value);
87
- ensureEmbedAttributes(buildFile);
88
- }
89
- }
90
- return found;
91
- }
92
- function isExtensionEmbedPhase(copyFilesPhases, phaseKey, primaryPhaseKey) {
93
- if (phaseKey.endsWith('_comment') || phaseKey === primaryPhaseKey) {
94
- return false;
95
- }
96
- const phase = copyFilesPhases[phaseKey];
97
- return (phase?.dstSubfolderSpec === APP_EXTENSION_DST_SUBFOLDER_SPEC &&
98
- Boolean(phase.files));
99
- }
100
- /**
101
- * Locate every phase that embeds app extensions. The first one either already
102
- * carries the standard name or is promoted to primary; the rest get merged.
103
- */
104
- function collectEmbedPhases({ sections, copyFilesPhases, }) {
105
- let primaryPhaseKey = findNamedEmbedPhase(copyFilesPhases);
106
- const phasesToMerge = [];
107
- const extensionBuildFiles = new Set();
108
- for (const phaseKey in copyFilesPhases) {
109
- if (!isExtensionEmbedPhase(copyFilesPhases, phaseKey, primaryPhaseKey)) {
110
- continue;
111
- }
112
- const embedsExtensions = registerAppExtensionFiles(sections, copyFilesPhases[phaseKey], extensionBuildFiles);
113
- if (!embedsExtensions) {
114
- continue;
115
- }
116
- if (primaryPhaseKey) {
117
- phasesToMerge.push(phaseKey);
118
- }
119
- else {
120
- primaryPhaseKey = phaseKey;
121
- }
122
- }
123
- return { primaryPhaseKey, phasesToMerge, extensionBuildFiles };
124
- }
125
- function mergeEmbedPhases({ copyFilesPhases, primaryPhaseKey, phasesToMerge, extensionBuildFiles, }) {
126
- const primaryPhase = copyFilesPhases[primaryPhaseKey];
127
- primaryPhase.name = `"${EMBED_PHASE_NAME}"`;
128
- copyFilesPhases[`${primaryPhaseKey}_comment`] = EMBED_PHASE_NAME;
129
- if (!primaryPhase.files) {
130
- primaryPhase.files = [];
131
- }
132
- const existingFiles = new Set(primaryPhase.files.map((f) => f.value));
133
- for (const phaseKey of phasesToMerge) {
134
- for (const file of copyFilesPhases[phaseKey]?.files || []) {
135
- if (extensionBuildFiles.has(file.value) &&
136
- !existingFiles.has(file.value)) {
137
- primaryPhase.files.push(file);
138
- existingFiles.add(file.value);
139
- }
140
- }
141
- }
142
- }
143
- function findMainAppTarget(nativeTargets) {
144
- for (const targetKey in nativeTargets) {
145
- if (targetKey.endsWith('_comment')) {
146
- continue;
147
- }
148
- const target = nativeTargets[targetKey];
149
- if (target?.productType === '"com.apple.product-type.application"') {
150
- return target;
151
- }
152
- }
153
- }
154
- /**
155
- * The merged-away phases are dropped by detaching them from the host app.
156
- */
157
- function detachMergedPhases(project, phasesToMerge) {
158
- if (phasesToMerge.length === 0) {
159
- return;
160
- }
161
- const objects = project.hash.project.objects;
162
- const mainAppTarget = findMainAppTarget(objects.PBXNativeTarget);
163
- if (mainAppTarget?.buildPhases) {
164
- mainAppTarget.buildPhases = mainAppTarget.buildPhases.filter((phase) => !phasesToMerge.includes(phase.value));
165
- }
166
- }
167
- /**
168
- * Configure embed settings for app extension.
169
- * Consolidates all app extensions into a SINGLE "Embed App Extensions" phase.
170
- */
171
- function configureAppExtensionEmbed({ project, targetProductName, }) {
172
- const objects = project.hash.project.objects;
173
- const sections = {
174
- buildFileSection: objects.PBXBuildFile,
175
- fileRefSection: objects.PBXFileReference,
176
- };
177
- configureExtensionBuildFile(sections, `${targetProductName}.appex`);
178
- const copyFilesPhases = objects.PBXCopyFilesBuildPhase;
179
- const { primaryPhaseKey, phasesToMerge, extensionBuildFiles } = collectEmbedPhases({ sections, copyFilesPhases });
180
- if (!(primaryPhaseKey && copyFilesPhases[primaryPhaseKey])) {
181
- return;
182
- }
183
- mergeEmbedPhases({
184
- copyFilesPhases,
185
- primaryPhaseKey,
186
- phasesToMerge,
187
- extensionBuildFiles,
188
- });
189
- detachMergedPhases(project, phasesToMerge);
190
- }
191
- const APP_CLIP_DST_SUBFOLDER_SPEC = 16;
192
- /** Products Directory — same as App Clips / XcodeGen ExtensionKit embed. */
193
- const EXTENSIONKIT_DST_SUBFOLDER_SPEC = 16;
194
- const EXTENSIONKIT_EMBED_PHASE_NAME = 'Embed ExtensionKit Extensions';
195
- /**
196
- * Find the "Embed ExtensionKit Extensions" copy-files phase on the host app.
197
- */
198
- function findExtensionKitEmbedPhase({ project, mainTargetUuid, }) {
199
- const xcodeProject = project;
200
- const copyFilesPhases = xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase;
201
- const mainTarget = xcodeProject.hash.project.objects.PBXNativeTarget?.[mainTargetUuid];
202
- if (!(mainTarget?.buildPhases && copyFilesPhases)) {
203
- return;
204
- }
205
- for (const entry of mainTarget.buildPhases) {
206
- const phase = copyFilesPhases[entry.value];
207
- if (!phase)
208
- continue;
209
- const isKit = phase.name === `"${EXTENSIONKIT_EMBED_PHASE_NAME}"` ||
210
- copyFilesPhases[`${entry.value}_comment`] ===
211
- EXTENSIONKIT_EMBED_PHASE_NAME ||
212
- (phase.dstSubfolderSpec === EXTENSIONKIT_DST_SUBFOLDER_SPEC &&
213
- typeof phase.dstPath === 'string' &&
214
- (phase.dstPath.includes('EXTENSIONS_FOLDER_PATH') ||
215
- phase.dstPath.includes('/Extensions')));
216
- if (isKit) {
217
- return { uuid: entry.value, phase };
218
- }
219
- }
220
- }
221
- function ensureExtensionKitEmbedPhase({ project, mainTargetUuid, }) {
222
- const existing = findExtensionKitEmbedPhase({ project, mainTargetUuid });
223
- if (existing) {
224
- return existing.phase;
225
- }
226
- const xcodeProject = project;
227
- const embedPhaseResult = xcodeProject.addBuildPhase([], 'PBXCopyFilesBuildPhase', EXTENSIONKIT_EMBED_PHASE_NAME, mainTargetUuid);
228
- const embedPhaseUuid = embedPhaseResult?.uuid || embedPhaseResult;
229
- if (!embedPhaseUuid) {
230
- return;
231
- }
232
- return xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase?.[embedPhaseUuid];
233
- }
234
- /**
235
- * Embed an ExtensionKit appex into Extensions/ (not PlugIns/).
236
- * iOS rejects EXAppExtensionAttributes appexes under PlugIns with
237
- * "Invalid placeholder attributes".
238
- */
239
- function configureExtensionKitEmbed({ project, mainTargetUuid, target, targetProductName, }) {
240
- const xcodeProject = project;
241
- const productFileRef = target.pbxNativeTarget?.productReference || target.target?.productReference;
242
- if (!productFileRef) {
243
- return;
244
- }
245
- // addTarget(app_extension) auto-embeds into PlugIns — strip that copy.
246
- removeAppExtensionFromHostEmbed({
247
- project,
248
- mainTargetUuid,
249
- targetProductName,
250
- });
251
- const phase = ensureExtensionKitEmbedPhase({ project, mainTargetUuid });
252
- if (!phase) {
253
- return;
254
- }
255
- // Match XcodeGen: productsDirectory + $(EXTENSIONS_FOLDER_PATH).
256
- phase.dstPath = '"$(EXTENSIONS_FOLDER_PATH)"';
257
- phase.dstSubfolderSpec = EXTENSIONKIT_DST_SUBFOLDER_SPEC;
258
- phase.name = `"${EXTENSIONKIT_EMBED_PHASE_NAME}"`;
259
- if (!phase.files) {
260
- phase.files = [];
261
- }
262
- const buildFileSection = xcodeProject.hash.project.objects.PBXBuildFile;
263
- const alreadyEmbedded = phase.files.some((file) => buildFileSection?.[file.value]?.fileRef === productFileRef);
264
- if (alreadyEmbedded) {
265
- return;
266
- }
267
- const buildFileUuid = xcodeProject.generateUuid();
268
- buildFileSection[buildFileUuid] = {
269
- isa: 'PBXBuildFile',
270
- fileRef: productFileRef,
271
- settings: {
272
- ATTRIBUTES: [...EMBED_ATTRIBUTES],
273
- },
274
- };
275
- buildFileSection[`${buildFileUuid}_comment`] =
276
- `${targetProductName}.appex in ${EXTENSIONKIT_EMBED_PHASE_NAME}`;
277
- phase.files.push({
278
- value: buildFileUuid,
279
- comment: `${targetProductName}.appex in ${EXTENSIONKIT_EMBED_PHASE_NAME}`,
280
- });
281
- }
282
- /**
283
- * Find the "Embed App Clips" copy-files phase already attached to the host app.
284
- */
285
- function findAppClipEmbedPhase({ project, mainTargetUuid, }) {
286
- const xcodeProject = project;
287
- const copyFilesPhases = xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase || {};
288
- const mainTarget = xcodeProject.hash.project.objects.PBXNativeTarget?.[mainTargetUuid];
289
- for (const entry of mainTarget?.buildPhases || []) {
290
- const phase = copyFilesPhases[entry.value];
291
- if (!phase) {
292
- continue;
293
- }
294
- const isAppClipPhase = phase.dstSubfolderSpec === APP_CLIP_DST_SUBFOLDER_SPEC ||
295
- phase.name === '"Embed App Clips"' ||
296
- copyFilesPhases[`${entry.value}_comment`] === 'Embed App Clips';
297
- if (isAppClipPhase) {
298
- return { uuid: entry.value, phase };
299
- }
300
- }
301
- }
302
- /**
303
- * Get (or create) the "Embed App Clips" phase on the host app.
304
- */
305
- function ensureAppClipEmbedPhase({ project, mainTargetUuid, }) {
306
- const existing = findAppClipEmbedPhase({ project, mainTargetUuid });
307
- if (existing) {
308
- return existing.phase;
309
- }
310
- const xcodeProject = project;
311
- const embedPhaseResult = xcodeProject.addBuildPhase([], 'PBXCopyFilesBuildPhase', 'Embed App Clips', mainTargetUuid);
312
- const embedPhaseUuid = embedPhaseResult?.uuid || embedPhaseResult;
313
- if (!embedPhaseUuid) {
314
- return;
315
- }
316
- return xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase?.[embedPhaseUuid];
317
- }
318
- /**
319
- * Configure embed settings for App Clip.
320
- * Reuses an existing "Embed App Clips" phase (and its build file for this
321
- * product) so repeated prebuilds stay idempotent.
322
- */
323
- function configureAppClipEmbed({ project, mainTargetUuid, target, targetProductName, }) {
324
- const xcodeProject = project;
325
- // Get the App Clip product reference
326
- const appClipFileRef = target.pbxNativeTarget?.productReference || target.target?.productReference;
327
- if (!appClipFileRef) {
328
- return;
329
- }
330
- const phase = ensureAppClipEmbedPhase({ project, mainTargetUuid });
331
- if (!phase) {
332
- return;
333
- }
334
- // Configure phase for App Clips
335
- phase.dstPath = '"$(CONTENTS_FOLDER_PATH)/AppClips"';
336
- phase.dstSubfolderSpec = APP_CLIP_DST_SUBFOLDER_SPEC;
337
- phase.name = '"Embed App Clips"';
338
- if (!phase.files) {
339
- phase.files = [];
340
- }
341
- const buildFileSection = xcodeProject.hash.project.objects.PBXBuildFile;
342
- const alreadyEmbedded = phase.files.some((file) => buildFileSection?.[file.value]?.fileRef === appClipFileRef);
343
- if (alreadyEmbedded) {
344
- return;
345
- }
346
- // Create a PBXBuildFile for the App Clip
347
- const buildFileUuid = xcodeProject.generateUuid();
348
- buildFileSection[buildFileUuid] = {
349
- isa: 'PBXBuildFile',
350
- fileRef: appClipFileRef,
351
- settings: {
352
- ATTRIBUTES: ['RemoveHeadersOnCopy'],
353
- },
354
- };
355
- buildFileSection[`${buildFileUuid}_comment`] =
356
- `${targetProductName}.app in Embed App Clips`;
357
- phase.files.push({
358
- value: buildFileUuid,
359
- comment: `${targetProductName}.app in Embed App Clips`,
360
- });
361
- }
362
- /** Same Products-directory spec as App Clips; destination path differs. */
363
- const WATCH_CONTENT_DST_SUBFOLDER_SPEC = 16;
364
- function findWatchContentEmbedPhase({ project, mainTargetUuid, }) {
365
- const xcodeProject = project;
366
- const copyFilesPhases = xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase || {};
367
- const mainTarget = xcodeProject.hash.project.objects.PBXNativeTarget?.[mainTargetUuid];
368
- for (const entry of mainTarget?.buildPhases || []) {
369
- const phase = copyFilesPhases[entry.value];
370
- if (!phase) {
371
- continue;
372
- }
373
- const isWatchPhase = phase.name === '"Embed Watch Content"' ||
374
- copyFilesPhases[`${entry.value}_comment`] === 'Embed Watch Content' ||
375
- (phase.dstSubfolderSpec === WATCH_CONTENT_DST_SUBFOLDER_SPEC &&
376
- typeof phase.dstPath === 'string' &&
377
- phase.dstPath.includes('/Watch'));
378
- if (isWatchPhase) {
379
- return { uuid: entry.value, phase };
380
- }
381
- }
382
- }
383
- function ensureWatchContentEmbedPhase({ project, mainTargetUuid, }) {
384
- const existing = findWatchContentEmbedPhase({ project, mainTargetUuid });
385
- if (existing) {
386
- return existing.phase;
387
- }
388
- const xcodeProject = project;
389
- const embedPhaseResult = xcodeProject.addBuildPhase([], 'PBXCopyFilesBuildPhase', 'Embed Watch Content', mainTargetUuid);
390
- const embedPhaseUuid = embedPhaseResult?.uuid || embedPhaseResult;
391
- if (!embedPhaseUuid) {
392
- return;
393
- }
394
- return xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase?.[embedPhaseUuid];
395
- }
396
- /**
397
- * Configure embed settings for a watchOS companion app.
398
- * Reuses an existing "Embed Watch Content" phase so repeated prebuilds stay
399
- * idempotent.
400
- */
401
- function configureWatchContentEmbed({ project, mainTargetUuid, target, targetProductName, }) {
402
- const xcodeProject = project;
403
- const watchFileRef = target.pbxNativeTarget?.productReference || target.target?.productReference;
404
- if (!watchFileRef) {
405
- return;
406
- }
407
- const phase = ensureWatchContentEmbedPhase({ project, mainTargetUuid });
408
- if (!phase) {
409
- return;
410
- }
411
- phase.dstPath = '"$(CONTENTS_FOLDER_PATH)/Watch"';
412
- phase.dstSubfolderSpec = WATCH_CONTENT_DST_SUBFOLDER_SPEC;
413
- phase.name = '"Embed Watch Content"';
414
- if (!phase.files) {
415
- phase.files = [];
416
- }
417
- const buildFileSection = xcodeProject.hash.project.objects.PBXBuildFile;
418
- const alreadyEmbedded = phase.files.some((file) => buildFileSection?.[file.value]?.fileRef === watchFileRef);
419
- if (alreadyEmbedded) {
420
- return;
421
- }
422
- const buildFileUuid = xcodeProject.generateUuid();
423
- buildFileSection[buildFileUuid] = {
424
- isa: 'PBXBuildFile',
425
- fileRef: watchFileRef,
426
- settings: {
427
- ATTRIBUTES: ['RemoveHeadersOnCopy', 'CodeSignOnCopy'],
428
- },
429
- // Device iOS only — Simulator hosts cannot embed watchOS binaries.
430
- platformFilter: 'ios',
431
- };
432
- buildFileSection[`${buildFileUuid}_comment`] =
433
- `${targetProductName}.app in Embed Watch Content`;
434
- phase.files.push({
435
- value: buildFileUuid,
436
- comment: `${targetProductName}.app in Embed Watch Content`,
437
- });
438
- }
439
- /**
440
- * Embed a watchOS WidgetKit appex into the Watch companion (PlugIns), not the
441
- * phone host. Reuses that watch target's "Embed App Extensions" phase.
442
- */
443
- function configureWatchAppExtensionEmbed({ project, watchTargetUuid, target, targetProductName, }) {
444
- const xcodeProject = project;
445
- const appexFileRef = target.pbxNativeTarget?.productReference || target.target?.productReference;
446
- if (!appexFileRef) {
447
- return;
448
- }
449
- const phase = ensureWatchAppExtensionEmbedPhase({
450
- project,
451
- watchTargetUuid,
452
- });
453
- if (!phase) {
454
- return;
455
- }
456
- phase.dstPath = '""';
457
- phase.dstSubfolderSpec = APP_EXTENSION_DST_SUBFOLDER_SPEC;
458
- phase.name = `"${EMBED_PHASE_NAME}"`;
459
- if (!phase.files) {
460
- phase.files = [];
461
- }
462
- const buildFileSection = xcodeProject.hash.project.objects.PBXBuildFile;
463
- const alreadyEmbedded = phase.files.some((file) => buildFileSection?.[file.value]?.fileRef === appexFileRef);
464
- if (alreadyEmbedded) {
465
- return;
466
- }
467
- const buildFileUuid = xcodeProject.generateUuid();
468
- buildFileSection[buildFileUuid] = {
469
- isa: 'PBXBuildFile',
470
- fileRef: appexFileRef,
471
- settings: {
472
- ATTRIBUTES: ['RemoveHeadersOnCopy', 'CodeSignOnCopy'],
473
- },
474
- };
475
- buildFileSection[`${buildFileUuid}_comment`] =
476
- `${targetProductName}.appex in Embed App Extensions`;
477
- phase.files.push({
478
- value: buildFileUuid,
479
- comment: `${targetProductName}.appex in Embed App Extensions`,
480
- });
481
- }
482
- function buildFileMatchesTarget(buildFile, fileRefSection, targetFileName) {
483
- if (!buildFile?.fileRef) {
484
- return false;
485
- }
486
- const names = [
487
- fileRefSection?.[buildFile.fileRef]?.path,
488
- fileRefSection?.[buildFile.fileRef]?.name,
489
- ]
490
- .filter((value) => typeof value === 'string')
491
- .map((value) => value.replace(/"/g, ''));
492
- return names.includes(targetFileName);
493
- }
494
- function pruneHostEmbedPhase({ objects, mainTarget, entry, targetFileName, }) {
495
- const copyFilesPhases = objects.PBXCopyFilesBuildPhase || {};
496
- const buildFileSection = objects.PBXBuildFile || {};
497
- const fileRefSection = objects.PBXFileReference || {};
498
- const phase = copyFilesPhases[entry.value];
499
- if (!phase || phase.dstSubfolderSpec !== APP_EXTENSION_DST_SUBFOLDER_SPEC) {
500
- return;
501
- }
502
- if (!Array.isArray(phase.files)) {
503
- return;
504
- }
505
- const kept = phase.files.filter((file) => {
506
- const buildFile = buildFileSection[file.value];
507
- if (!buildFileMatchesTarget(buildFile, fileRefSection, targetFileName)) {
508
- return true;
509
- }
510
- delete buildFileSection[file.value];
511
- delete buildFileSection[`${file.value}_comment`];
512
- return false;
513
- });
514
- phase.files = kept;
515
- if (kept.length === 0) {
516
- mainTarget.buildPhases = mainTarget.buildPhases.filter((phaseEntry) => phaseEntry.value !== entry.value);
517
- delete copyFilesPhases[entry.value];
518
- delete copyFilesPhases[`${entry.value}_comment`];
519
- }
520
- }
521
- /**
522
- * `xcode.addTarget(..., 'app_extension')` auto-embeds into the iOS host.
523
- * Watch widgets must nest under the Watch companion instead — strip the host copy.
524
- */
525
- function removeAppExtensionFromHostEmbed({ project, mainTargetUuid, targetProductName, }) {
526
- const xcodeProject = project;
527
- const objects = xcodeProject.hash.project.objects;
528
- const mainTarget = objects.PBXNativeTarget?.[mainTargetUuid];
529
- if (!mainTarget?.buildPhases) {
530
- return;
531
- }
532
- const targetFileName = `${targetProductName}.appex`;
533
- for (const entry of [...mainTarget.buildPhases]) {
534
- pruneHostEmbedPhase({ objects, mainTarget, entry, targetFileName });
535
- }
536
- }
537
- function findWatchAppExtensionEmbedPhase({ project, watchTargetUuid, }) {
538
- const xcodeProject = project;
539
- const copyFilesPhases = xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase || {};
540
- const watchTarget = xcodeProject.hash.project.objects.PBXNativeTarget?.[watchTargetUuid];
541
- for (const entry of watchTarget?.buildPhases || []) {
542
- const phase = copyFilesPhases[entry.value];
543
- if (!phase) {
544
- continue;
545
- }
546
- const isEmbedPhase = phase.name === `"${EMBED_PHASE_NAME}"` ||
547
- copyFilesPhases[`${entry.value}_comment`] === EMBED_PHASE_NAME ||
548
- (phase.dstSubfolderSpec === APP_EXTENSION_DST_SUBFOLDER_SPEC &&
549
- Array.isArray(phase.files));
550
- if (isEmbedPhase) {
551
- return { uuid: entry.value, phase };
552
- }
553
- }
554
- }
555
- function ensureWatchAppExtensionEmbedPhase({ project, watchTargetUuid, }) {
556
- const existing = findWatchAppExtensionEmbedPhase({
557
- project,
558
- watchTargetUuid,
559
- });
560
- if (existing) {
561
- return existing.phase;
562
- }
563
- const xcodeProject = project;
564
- const embedPhaseResult = xcodeProject.addBuildPhase([], 'PBXCopyFilesBuildPhase', EMBED_PHASE_NAME, watchTargetUuid);
565
- const embedPhaseUuid = embedPhaseResult?.uuid || embedPhaseResult;
566
- if (!embedPhaseUuid) {
567
- return;
568
- }
569
- return xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase?.[embedPhaseUuid];
570
- }
571
- //# sourceMappingURL=embed.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"embed.js","sourceRoot":"","sources":["../../../../../../plugin/src/ios/apply/pbx/embed.ts"],"names":[],"mappings":";;;;;;;;AAIA;;;;GAIG;AAEH,MAAM,gCAAgC,GAAG,EAAE,CAAC;AAC5C,MAAM,gBAAgB,GAAG,sBAAsB,CAAC;AAChD,MAAM,gBAAgB,GAAG,CAAC,qBAAqB,EAAE,gBAAgB,CAAC,CAAC;AAOnE,SAAS,qBAAqB,CAAC,SAAc;IAC3C,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,EAAE,UAAU,CAAC,EAAE,CAAC;QACnD,SAAS,CAAC,QAAQ,GAAG,EAAE,UAAU,EAAE,CAAC,GAAG,gBAAgB,CAAC,EAAE,CAAC;QAC3D,OAAO;IACT,CAAC;IAED,MAAM,KAAK,GAAa,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC;IACtD,KAAK,MAAM,IAAI,IAAI,gBAAgB,EAAE,CAAC;QACpC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;YAC1B,KAAK,CAAC,IAAI,CAA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,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC;QACtC,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAS,iCAAiC,CAAC,EACzC,OAAO,EACP,eAAe,GAIhB;IACC,MAAM,QAAQ,GAAG,+BAA+B,CAAC;QAC/C,OAAO;QACP,eAAe;KAChB,CAAC,CAAC;IACH,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO,QAAQ,CAAC,KAAK,CAAC;IACxB,CAAC;IAED,MAAM,YAAY,GAAG,OAAc,CAAC;IACpC,MAAM,gBAAgB,GAAG,YAAY,CAAC,aAAa,CACjD,EAAE,EACF,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,CAChB,CAAC;IACF,MAAM,cAAc,GAAG,gBAAgB,EAAE,IAAI,IAAI,gBAAgB,CAAC;IAElE,IAAI,CAAC,cAAc,EAAE,CAAC;QACpB,OAAO;IACT,CAAC;IAED,OAAO,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAC/D,cAAc,CACf,CAAC;AACJ,CAAC"}
@@ -1,26 +0,0 @@
1
- import type { XcodeProject } from '@expo/config-plugins';
2
- /**
3
- * Add file reference to group, pointing to external path.
4
- * Returns the file reference UUID.
5
- *
6
- * Reuses the reference a previous run left in the group: creating a second one
7
- * would give the file two PBXBuildFile entries in the same build phase.
8
- */
9
- export declare function addExternalFileReference({ project, groupUuid, filePath, fileName, fileType, }: {
10
- project: XcodeProject;
11
- groupUuid: string;
12
- filePath: string;
13
- fileName: string;
14
- fileType?: string;
15
- }): string;
16
- /**
17
- * Add Assets.xcassets to a target's Resources build phase if it exists.
18
- */
19
- export declare function addTargetAssets({ platformProjectRoot, targetName, targetUuid, xcodeProject, isStickers, }: {
20
- platformProjectRoot: string;
21
- targetName: string;
22
- targetUuid: string;
23
- xcodeProject: any;
24
- isStickers?: boolean;
25
- }): void;
26
- //# sourceMappingURL=fileRefs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fileRefs.d.ts","sourceRoot":"","sources":["../../../../../../plugin/src/ios/apply/pbx/fileRefs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AA+BzD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,OAAO,EACP,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,MAAM,CA8BT;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAC9B,mBAAmB,EACnB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,UAAU,GACX,EAAE;IACD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,GAAG,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,IAAI,CAmCP"}