expo-targets 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -192
- package/build/metro/src/index.d.ts +1 -1
- package/build/metro/src/index.d.ts.map +1 -1
- package/build/metro/src/index.js +2 -1
- package/build/metro/src/index.js.map +1 -1
- package/build/metro/src/withTargetsMetro.d.ts +14 -0
- package/build/metro/src/withTargetsMetro.d.ts.map +1 -1
- package/build/metro/src/withTargetsMetro.js +75 -23
- package/build/metro/src/withTargetsMetro.js.map +1 -1
- package/build/plugin/src/android/widgetSourceSets.d.ts +10 -0
- package/build/plugin/src/android/widgetSourceSets.d.ts.map +1 -0
- package/build/plugin/src/android/widgetSourceSets.js +167 -0
- package/build/plugin/src/android/widgetSourceSets.js.map +1 -0
- package/build/plugin/src/android/withAndroidAppBuildGradle.d.ts +1 -1
- package/build/plugin/src/android/withAndroidAppBuildGradle.d.ts.map +1 -1
- package/build/plugin/src/android/withAndroidAppBuildGradle.js +0 -1
- package/build/plugin/src/android/withAndroidAppBuildGradle.js.map +1 -1
- package/build/plugin/src/android/withAndroidTarget.d.ts +1 -1
- package/build/plugin/src/android/withAndroidTarget.d.ts.map +1 -1
- package/build/plugin/src/android/withAndroidTarget.js +0 -1
- package/build/plugin/src/android/withAndroidTarget.js.map +1 -1
- package/build/plugin/src/android/withAndroidWidget.d.ts +1 -1
- package/build/plugin/src/android/withAndroidWidget.d.ts.map +1 -1
- package/build/plugin/src/android/withAndroidWidget.js +174 -249
- package/build/plugin/src/android/withAndroidWidget.js.map +1 -1
- package/build/plugin/src/config.d.ts +52 -10
- package/build/plugin/src/config.d.ts.map +1 -1
- package/build/plugin/src/config.js +49 -1
- package/build/plugin/src/config.js.map +1 -1
- package/build/plugin/src/domain/appGroups.d.ts +19 -0
- package/build/plugin/src/domain/appGroups.d.ts.map +1 -0
- package/build/plugin/src/domain/appGroups.js +44 -0
- package/build/plugin/src/domain/appGroups.js.map +1 -0
- package/build/plugin/src/domain/bundleIds.d.ts +9 -0
- package/build/plugin/src/domain/bundleIds.d.ts.map +1 -0
- package/build/plugin/src/domain/bundleIds.js +10 -0
- package/build/plugin/src/domain/bundleIds.js.map +1 -0
- package/build/plugin/src/domain/characteristics.d.ts +44 -0
- package/build/plugin/src/domain/characteristics.d.ts.map +1 -0
- package/build/plugin/src/domain/characteristics.js +781 -0
- package/build/plugin/src/domain/characteristics.js.map +1 -0
- package/build/plugin/src/domain/deployment.d.ts +14 -0
- package/build/plugin/src/domain/deployment.d.ts.map +1 -0
- package/build/plugin/src/domain/deployment.js +14 -0
- package/build/plugin/src/domain/deployment.js.map +1 -0
- package/build/plugin/src/domain/index.d.ts +14 -0
- package/build/plugin/src/domain/index.d.ts.map +1 -0
- package/build/plugin/src/domain/index.js +37 -0
- package/build/plugin/src/domain/index.js.map +1 -0
- package/build/plugin/src/domain/rnCompat.d.ts +16 -0
- package/build/plugin/src/domain/rnCompat.d.ts.map +1 -0
- package/build/plugin/src/domain/rnCompat.js +37 -0
- package/build/plugin/src/domain/rnCompat.js.map +1 -0
- package/build/plugin/src/domain/types.d.ts +9 -0
- package/build/plugin/src/domain/types.d.ts.map +1 -0
- package/build/plugin/src/domain/types.js +10 -0
- package/build/plugin/src/domain/types.js.map +1 -0
- package/build/plugin/src/index.d.ts +2 -2
- package/build/plugin/src/index.d.ts.map +1 -1
- package/build/plugin/src/index.js +5 -0
- package/build/plugin/src/index.js.map +1 -1
- package/build/plugin/src/ios/apply/fs/applyTargetPlan.d.ts +11 -0
- package/build/plugin/src/ios/apply/fs/applyTargetPlan.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/applyTargetPlan.js +77 -0
- package/build/plugin/src/ios/apply/fs/applyTargetPlan.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/assets.d.ts +7 -0
- package/build/plugin/src/ios/apply/fs/assets.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/assets.js +50 -0
- package/build/plugin/src/ios/apply/fs/assets.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/entitlements.d.ts +7 -0
- package/build/plugin/src/ios/apply/fs/entitlements.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/entitlements.js +40 -0
- package/build/plugin/src/ios/apply/fs/entitlements.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/index.d.ts +14 -0
- package/build/plugin/src/ios/apply/fs/index.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/index.js +24 -0
- package/build/plugin/src/ios/apply/fs/index.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/infoPlist.d.ts +6 -0
- package/build/plugin/src/ios/apply/fs/infoPlist.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/infoPlist.js +35 -0
- package/build/plugin/src/ios/apply/fs/infoPlist.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/safari.d.ts +7 -0
- package/build/plugin/src/ios/apply/fs/safari.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/safari.js +45 -0
- package/build/plugin/src/ios/apply/fs/safari.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/stickers.d.ts +8 -0
- package/build/plugin/src/ios/apply/fs/stickers.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/stickers.js +72 -0
- package/build/plugin/src/ios/apply/fs/stickers.js.map +1 -0
- package/build/plugin/src/ios/apply/fs/swift.d.ts +9 -0
- package/build/plugin/src/ios/apply/fs/swift.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/fs/swift.js +63 -0
- package/build/plugin/src/ios/apply/fs/swift.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/applyTargetPlan.d.ts +18 -0
- package/build/plugin/src/ios/apply/pbx/applyTargetPlan.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/applyTargetPlan.js +308 -0
- package/build/plugin/src/ios/apply/pbx/applyTargetPlan.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/buildPhases.d.ts +30 -0
- package/build/plugin/src/ios/apply/pbx/buildPhases.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/buildPhases.js +101 -0
- package/build/plugin/src/ios/apply/pbx/buildPhases.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/buildSettings.d.ts +37 -0
- package/build/plugin/src/ios/apply/pbx/buildSettings.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/buildSettings.js +80 -0
- package/build/plugin/src/ios/apply/pbx/buildSettings.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/bundleReactNative.d.ts +19 -0
- package/build/plugin/src/ios/apply/pbx/bundleReactNative.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/bundleReactNative.js +136 -0
- package/build/plugin/src/ios/apply/pbx/bundleReactNative.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts +25 -0
- package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.js +196 -0
- package/build/plugin/src/ios/apply/pbx/copyFrameworksIntoAppClip.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/embed.d.ts +63 -0
- package/build/plugin/src/ios/apply/pbx/embed.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/embed.js +572 -0
- package/build/plugin/src/ios/apply/pbx/embed.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/fileRefs.d.ts +26 -0
- package/build/plugin/src/ios/apply/pbx/fileRefs.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/fileRefs.js +122 -0
- package/build/plugin/src/ios/apply/pbx/fileRefs.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/groups.d.ts +25 -0
- package/build/plugin/src/ios/apply/pbx/groups.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/groups.js +84 -0
- package/build/plugin/src/ios/apply/pbx/groups.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/index.d.ts +17 -0
- package/build/plugin/src/ios/apply/pbx/index.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/index.js +50 -0
- package/build/plugin/src/ios/apply/pbx/index.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/targetLifecycle.d.ts +59 -0
- package/build/plugin/src/ios/apply/pbx/targetLifecycle.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/targetLifecycle.js +185 -0
- package/build/plugin/src/ios/apply/pbx/targetLifecycle.js.map +1 -0
- package/build/plugin/src/ios/apply/pbx/types.d.ts +12 -0
- package/build/plugin/src/ios/apply/pbx/types.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/pbx/types.js +6 -0
- package/build/plugin/src/ios/apply/pbx/types.js.map +1 -0
- package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.d.ts +12 -0
- package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.js +76 -0
- package/build/plugin/src/ios/apply/podfile/applyPodfilePlan.js.map +1 -0
- package/build/plugin/src/ios/apply/podfile/index.d.ts +11 -0
- package/build/plugin/src/ios/apply/podfile/index.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/podfile/index.js +32 -0
- package/build/plugin/src/ios/apply/podfile/index.js.map +1 -0
- package/build/plugin/src/ios/{utils → apply/podfile}/podfile.d.ts +21 -5
- package/build/plugin/src/ios/apply/podfile/podfile.d.ts.map +1 -0
- package/{plugin/build/ios/utils → build/plugin/src/ios/apply/podfile}/podfile.js +310 -251
- package/build/plugin/src/ios/apply/podfile/podfile.js.map +1 -0
- package/build/plugin/src/ios/apply/podfile/scan.d.ts +40 -0
- package/build/plugin/src/ios/apply/podfile/scan.d.ts.map +1 -0
- package/build/plugin/src/ios/apply/podfile/scan.js +129 -0
- package/build/plugin/src/ios/apply/podfile/scan.js.map +1 -0
- package/build/plugin/src/ios/cng/appShortcutsCodegen.d.ts +6 -0
- package/build/plugin/src/ios/cng/appShortcutsCodegen.d.ts.map +1 -0
- package/build/plugin/src/ios/cng/appShortcutsCodegen.js +79 -0
- package/build/plugin/src/ios/cng/appShortcutsCodegen.js.map +1 -0
- package/build/plugin/src/ios/cng/liveActivityCodegen.d.ts +6 -0
- package/build/plugin/src/ios/cng/liveActivityCodegen.d.ts.map +1 -0
- package/build/plugin/src/ios/cng/liveActivityCodegen.js +150 -0
- package/build/plugin/src/ios/cng/liveActivityCodegen.js.map +1 -0
- package/build/plugin/src/ios/cng/swiftTypes.d.ts +4 -0
- package/build/plugin/src/ios/cng/swiftTypes.d.ts.map +1 -0
- package/build/plugin/src/ios/cng/swiftTypes.js +34 -0
- package/build/plugin/src/ios/cng/swiftTypes.js.map +1 -0
- package/build/plugin/src/ios/cng/withExpoTargetsGenerated.d.ts +16 -0
- package/build/plugin/src/ios/cng/withExpoTargetsGenerated.d.ts.map +1 -0
- package/build/plugin/src/ios/cng/withExpoTargetsGenerated.js +311 -0
- package/build/plugin/src/ios/cng/withExpoTargetsGenerated.js.map +1 -0
- package/build/plugin/src/ios/config-plugins/withEASCredentials.d.ts +5 -5
- package/build/plugin/src/ios/config-plugins/withEASCredentials.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withEASCredentials.js +9 -9
- package/build/plugin/src/ios/config-plugins/withEASCredentials.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withEntitlements.d.ts +5 -2
- package/build/plugin/src/ios/config-plugins/withEntitlements.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withEntitlements.js +59 -44
- package/build/plugin/src/ios/config-plugins/withEntitlements.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withIOSTarget.d.ts +4 -4
- package/build/plugin/src/ios/config-plugins/withIOSTarget.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withIOSTarget.js +210 -165
- package/build/plugin/src/ios/config-plugins/withIOSTarget.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withPodfile.d.ts +7 -3
- package/build/plugin/src/ios/config-plugins/withPodfile.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withPodfile.js +39 -167
- package/build/plugin/src/ios/config-plugins/withPodfile.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withXcodeChanges.d.ts +9 -18
- package/build/plugin/src/ios/config-plugins/withXcodeChanges.d.ts.map +1 -1
- package/build/plugin/src/ios/config-plugins/withXcodeChanges.js +62 -730
- package/build/plugin/src/ios/config-plugins/withXcodeChanges.js.map +1 -1
- package/build/plugin/src/ios/observe/index.d.ts +7 -0
- package/build/plugin/src/ios/observe/index.d.ts.map +1 -0
- package/build/plugin/src/ios/observe/index.js +11 -0
- package/build/plugin/src/ios/observe/index.js.map +1 -0
- package/build/plugin/src/ios/observe/podsRb.d.ts +9 -0
- package/build/plugin/src/ios/observe/podsRb.d.ts.map +1 -0
- package/build/plugin/src/ios/observe/podsRb.js +43 -0
- package/build/plugin/src/ios/observe/podsRb.js.map +1 -0
- package/build/plugin/src/ios/observe/workspace.d.ts +48 -0
- package/build/plugin/src/ios/observe/workspace.d.ts.map +1 -0
- package/build/plugin/src/ios/observe/workspace.js +107 -0
- package/build/plugin/src/ios/observe/workspace.js.map +1 -0
- package/build/plugin/src/ios/plan/assets.d.ts +13 -0
- package/build/plugin/src/ios/plan/assets.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/assets.js +112 -0
- package/build/plugin/src/ios/plan/assets.js.map +1 -0
- package/build/plugin/src/ios/plan/buildInfoPlist.d.ts +38 -0
- package/build/plugin/src/ios/plan/buildInfoPlist.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/buildInfoPlist.js +331 -0
- package/build/plugin/src/ios/plan/buildInfoPlist.js.map +1 -0
- package/build/plugin/src/ios/plan/buildSettings.d.ts +9 -0
- package/build/plugin/src/ios/plan/buildSettings.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/buildSettings.js +218 -0
- package/build/plugin/src/ios/plan/buildSettings.js.map +1 -0
- package/build/plugin/src/ios/plan/bundleReactNative.d.ts +7 -0
- package/build/plugin/src/ios/plan/bundleReactNative.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/bundleReactNative.js +21 -0
- package/build/plugin/src/ios/plan/bundleReactNative.js.map +1 -0
- package/build/plugin/src/ios/plan/bundleResources.d.ts +11 -0
- package/build/plugin/src/ios/plan/bundleResources.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/bundleResources.js +23 -0
- package/build/plugin/src/ios/plan/bundleResources.js.map +1 -0
- package/build/plugin/src/ios/plan/compose.d.ts +7 -0
- package/build/plugin/src/ios/plan/compose.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/compose.js +53 -0
- package/build/plugin/src/ios/plan/compose.js.map +1 -0
- package/build/plugin/src/ios/plan/embed.d.ts +8 -0
- package/build/plugin/src/ios/plan/embed.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/embed.js +13 -0
- package/build/plugin/src/ios/plan/embed.js.map +1 -0
- package/build/plugin/src/ios/plan/entitlements.d.ts +19 -0
- package/build/plugin/src/ios/plan/entitlements.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/entitlements.js +72 -0
- package/build/plugin/src/ios/plan/entitlements.js.map +1 -0
- package/build/plugin/src/ios/plan/identity.d.ts +9 -0
- package/build/plugin/src/ios/plan/identity.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/identity.js +61 -0
- package/build/plugin/src/ios/plan/identity.js.map +1 -0
- package/build/plugin/src/ios/plan/index.d.ts +21 -0
- package/build/plugin/src/ios/plan/index.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/index.js +36 -0
- package/build/plugin/src/ios/plan/index.js.map +1 -0
- package/build/plugin/src/ios/plan/infoPlist.d.ts +8 -0
- package/build/plugin/src/ios/plan/infoPlist.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/infoPlist.js +96 -0
- package/build/plugin/src/ios/plan/infoPlist.js.map +1 -0
- package/build/plugin/src/ios/plan/podfile.d.ts +18 -0
- package/build/plugin/src/ios/plan/podfile.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/podfile.js +22 -0
- package/build/plugin/src/ios/plan/podfile.js.map +1 -0
- package/build/plugin/src/ios/plan/safari.d.ts +14 -0
- package/build/plugin/src/ios/plan/safari.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/safari.js +32 -0
- package/build/plugin/src/ios/plan/safari.js.map +1 -0
- package/build/plugin/src/ios/plan/swiftSources.d.ts +13 -0
- package/build/plugin/src/ios/plan/swiftSources.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/swiftSources.js +167 -0
- package/build/plugin/src/ios/plan/swiftSources.js.map +1 -0
- package/build/plugin/src/ios/plan/types.d.ts +191 -0
- package/build/plugin/src/ios/plan/types.d.ts.map +1 -0
- package/build/plugin/src/ios/plan/types.js +3 -0
- package/build/plugin/src/ios/plan/types.js.map +1 -0
- package/build/plugin/src/ios/utils/asset.d.ts +4 -0
- package/build/plugin/src/ios/utils/asset.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/asset.js +150 -161
- package/build/plugin/src/ios/utils/asset.js.map +1 -1
- package/build/plugin/src/ios/utils/file.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/file.js +16 -17
- package/build/plugin/src/ios/utils/file.js.map +1 -1
- package/build/plugin/src/ios/utils/index.d.ts +9 -6
- package/build/plugin/src/ios/utils/index.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/index.js +10 -7
- package/build/plugin/src/ios/utils/index.js.map +1 -1
- package/build/plugin/src/ios/utils/paths.d.ts +23 -35
- package/build/plugin/src/ios/utils/paths.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/paths.js +38 -37
- package/build/plugin/src/ios/utils/paths.js.map +1 -1
- package/build/plugin/src/ios/utils/plist.d.ts +1 -0
- package/build/plugin/src/ios/utils/plist.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/plist.js +6 -29
- package/build/plugin/src/ios/utils/plist.js.map +1 -1
- package/build/plugin/src/ios/utils/reactNativeSwift.d.ts +1 -0
- package/build/plugin/src/ios/utils/reactNativeSwift.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/reactNativeSwift.js +101 -166
- package/build/plugin/src/ios/utils/reactNativeSwift.js.map +1 -1
- package/build/plugin/src/ios/utils/safari.d.ts.map +1 -1
- package/build/plugin/src/ios/utils/safari.js +155 -97
- package/build/plugin/src/ios/utils/safari.js.map +1 -1
- package/build/plugin/src/logger.d.ts +4 -4
- package/build/plugin/src/logger.d.ts.map +1 -1
- package/build/plugin/src/logger.js +8 -15
- package/build/plugin/src/logger.js.map +1 -1
- package/build/plugin/src/withTargetsDir.d.ts +1 -1
- package/build/plugin/src/withTargetsDir.d.ts.map +1 -1
- package/build/plugin/src/withTargetsDir.js +216 -157
- package/build/plugin/src/withTargetsDir.js.map +1 -1
- package/build/src/Target.d.ts +15 -11
- package/build/src/Target.d.ts.map +1 -1
- package/build/src/Target.js +127 -132
- package/build/src/Target.js.map +1 -1
- package/build/src/index.d.ts +15 -9
- package/build/src/index.d.ts.map +1 -1
- package/build/src/index.js +46 -34
- package/build/src/index.js.map +1 -1
- package/build/src/modules/contentBlocker/index.d.ts +9 -0
- package/build/src/modules/contentBlocker/index.d.ts.map +1 -0
- package/build/src/modules/contentBlocker/index.js +29 -0
- package/build/src/modules/contentBlocker/index.js.map +1 -0
- package/build/src/modules/extension/index.d.ts +22 -0
- package/build/src/modules/extension/index.d.ts.map +1 -1
- package/build/src/modules/extension/index.js +54 -21
- package/build/src/modules/extension/index.js.map +1 -1
- package/build/src/modules/fileProvider/index.d.ts +12 -0
- package/build/src/modules/fileProvider/index.d.ts.map +1 -0
- package/build/src/modules/fileProvider/index.js +38 -0
- package/build/src/modules/fileProvider/index.js.map +1 -0
- package/build/src/modules/liveActivity/index.d.ts +21 -0
- package/build/src/modules/liveActivity/index.d.ts.map +1 -0
- package/build/src/modules/liveActivity/index.js +60 -0
- package/build/src/modules/liveActivity/index.js.map +1 -0
- package/build/src/modules/messages/index.d.ts +8 -0
- package/build/src/modules/messages/index.d.ts.map +1 -1
- package/build/src/modules/messages/index.js +38 -13
- package/build/src/modules/messages/index.js.map +1 -1
- package/build/src/modules/safari/bootstrapWeb.d.ts +7 -0
- package/build/src/modules/safari/bootstrapWeb.d.ts.map +1 -0
- package/build/src/modules/safari/bootstrapWeb.js +12 -0
- package/build/src/modules/safari/bootstrapWeb.js.map +1 -0
- package/build/src/modules/safari/bootstrapWeb.web.d.ts +9 -0
- package/build/src/modules/safari/bootstrapWeb.web.d.ts.map +1 -0
- package/build/src/modules/safari/bootstrapWeb.web.js +24 -0
- package/build/src/modules/safari/bootstrapWeb.web.js.map +1 -0
- package/build/src/modules/safari/index.d.ts +5 -5
- package/build/src/modules/safari/index.d.ts.map +1 -1
- package/build/src/modules/safari/index.js +19 -66
- package/build/src/modules/safari/index.js.map +1 -1
- package/build/src/modules/storage/index.d.ts.map +1 -1
- package/build/src/modules/storage/index.js +8 -12
- package/build/src/modules/storage/index.js.map +1 -1
- package/build/src/modules/targetsConfig.d.ts +6 -0
- package/build/src/modules/targetsConfig.d.ts.map +1 -0
- package/build/src/modules/targetsConfig.js +56 -0
- package/build/src/modules/targetsConfig.js.map +1 -0
- package/expo-module.config.json +4 -1
- package/ios/ExpoTargetsContentBlockerModule.swift +20 -0
- package/ios/ExpoTargetsExtension.podspec +1 -3
- package/ios/ExpoTargetsFileProviderModule.swift +45 -0
- package/ios/ExpoTargetsLiveActivityBridge.swift +51 -0
- package/ios/ExpoTargetsLiveActivityModule.swift +101 -0
- package/ios/ExpoTargetsMessagesModule.swift +31 -0
- package/ios/ExpoTargetsStorage.podspec +10 -4
- package/metro/build/index.d.ts +1 -1
- package/metro/build/index.d.ts.map +1 -1
- package/metro/build/index.js +2 -1
- package/metro/build/index.js.map +1 -1
- package/metro/build/withTargetsMetro.d.ts +14 -0
- package/metro/build/withTargetsMetro.d.ts.map +1 -1
- package/metro/build/withTargetsMetro.js +75 -23
- package/metro/build/withTargetsMetro.js.map +1 -1
- package/package.json +10 -8
- package/plugin/build/android/widgetSourceSets.d.ts +10 -0
- package/plugin/build/android/widgetSourceSets.d.ts.map +1 -0
- package/plugin/build/android/widgetSourceSets.js +167 -0
- package/plugin/build/android/widgetSourceSets.js.map +1 -0
- package/plugin/build/android/withAndroidAppBuildGradle.d.ts +1 -1
- package/plugin/build/android/withAndroidAppBuildGradle.d.ts.map +1 -1
- package/plugin/build/android/withAndroidAppBuildGradle.js +0 -1
- package/plugin/build/android/withAndroidAppBuildGradle.js.map +1 -1
- package/plugin/build/android/withAndroidTarget.d.ts +1 -1
- package/plugin/build/android/withAndroidTarget.d.ts.map +1 -1
- package/plugin/build/android/withAndroidTarget.js +0 -1
- package/plugin/build/android/withAndroidTarget.js.map +1 -1
- package/plugin/build/android/withAndroidWidget.d.ts +1 -1
- package/plugin/build/android/withAndroidWidget.d.ts.map +1 -1
- package/plugin/build/android/withAndroidWidget.js +174 -249
- package/plugin/build/android/withAndroidWidget.js.map +1 -1
- package/plugin/build/config.d.ts +52 -10
- package/plugin/build/config.d.ts.map +1 -1
- package/plugin/build/config.js +49 -1
- package/plugin/build/config.js.map +1 -1
- package/plugin/build/domain/appGroups.d.ts +19 -0
- package/plugin/build/domain/appGroups.d.ts.map +1 -0
- package/plugin/build/domain/appGroups.js +44 -0
- package/plugin/build/domain/appGroups.js.map +1 -0
- package/plugin/build/domain/bundleIds.d.ts +9 -0
- package/plugin/build/domain/bundleIds.d.ts.map +1 -0
- package/plugin/build/domain/bundleIds.js +10 -0
- package/plugin/build/domain/bundleIds.js.map +1 -0
- package/plugin/build/domain/characteristics.d.ts +44 -0
- package/plugin/build/domain/characteristics.d.ts.map +1 -0
- package/plugin/build/domain/characteristics.js +781 -0
- package/plugin/build/domain/characteristics.js.map +1 -0
- package/plugin/build/domain/deployment.d.ts +14 -0
- package/plugin/build/domain/deployment.d.ts.map +1 -0
- package/plugin/build/domain/deployment.js +14 -0
- package/plugin/build/domain/deployment.js.map +1 -0
- package/plugin/build/domain/index.d.ts +14 -0
- package/plugin/build/domain/index.d.ts.map +1 -0
- package/plugin/build/domain/index.js +37 -0
- package/plugin/build/domain/index.js.map +1 -0
- package/plugin/build/domain/rnCompat.d.ts +16 -0
- package/plugin/build/domain/rnCompat.d.ts.map +1 -0
- package/plugin/build/domain/rnCompat.js +37 -0
- package/plugin/build/domain/rnCompat.js.map +1 -0
- package/plugin/build/domain/types.d.ts +9 -0
- package/plugin/build/domain/types.d.ts.map +1 -0
- package/plugin/build/domain/types.js +10 -0
- package/plugin/build/domain/types.js.map +1 -0
- package/plugin/build/index.d.ts +2 -2
- package/plugin/build/index.d.ts.map +1 -1
- package/plugin/build/index.js +5 -0
- package/plugin/build/index.js.map +1 -1
- package/plugin/build/ios/apply/fs/applyTargetPlan.d.ts +11 -0
- package/plugin/build/ios/apply/fs/applyTargetPlan.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/applyTargetPlan.js +77 -0
- package/plugin/build/ios/apply/fs/applyTargetPlan.js.map +1 -0
- package/plugin/build/ios/apply/fs/assets.d.ts +7 -0
- package/plugin/build/ios/apply/fs/assets.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/assets.js +50 -0
- package/plugin/build/ios/apply/fs/assets.js.map +1 -0
- package/plugin/build/ios/apply/fs/entitlements.d.ts +7 -0
- package/plugin/build/ios/apply/fs/entitlements.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/entitlements.js +40 -0
- package/plugin/build/ios/apply/fs/entitlements.js.map +1 -0
- package/plugin/build/ios/apply/fs/index.d.ts +14 -0
- package/plugin/build/ios/apply/fs/index.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/index.js +24 -0
- package/plugin/build/ios/apply/fs/index.js.map +1 -0
- package/plugin/build/ios/apply/fs/infoPlist.d.ts +6 -0
- package/plugin/build/ios/apply/fs/infoPlist.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/infoPlist.js +35 -0
- package/plugin/build/ios/apply/fs/infoPlist.js.map +1 -0
- package/plugin/build/ios/apply/fs/safari.d.ts +7 -0
- package/plugin/build/ios/apply/fs/safari.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/safari.js +45 -0
- package/plugin/build/ios/apply/fs/safari.js.map +1 -0
- package/plugin/build/ios/apply/fs/stickers.d.ts +8 -0
- package/plugin/build/ios/apply/fs/stickers.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/stickers.js +72 -0
- package/plugin/build/ios/apply/fs/stickers.js.map +1 -0
- package/plugin/build/ios/apply/fs/swift.d.ts +9 -0
- package/plugin/build/ios/apply/fs/swift.d.ts.map +1 -0
- package/plugin/build/ios/apply/fs/swift.js +63 -0
- package/plugin/build/ios/apply/fs/swift.js.map +1 -0
- package/plugin/build/ios/apply/pbx/applyTargetPlan.d.ts +18 -0
- package/plugin/build/ios/apply/pbx/applyTargetPlan.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/applyTargetPlan.js +308 -0
- package/plugin/build/ios/apply/pbx/applyTargetPlan.js.map +1 -0
- package/plugin/build/ios/apply/pbx/buildPhases.d.ts +30 -0
- package/plugin/build/ios/apply/pbx/buildPhases.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/buildPhases.js +101 -0
- package/plugin/build/ios/apply/pbx/buildPhases.js.map +1 -0
- package/plugin/build/ios/apply/pbx/buildSettings.d.ts +37 -0
- package/plugin/build/ios/apply/pbx/buildSettings.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/buildSettings.js +80 -0
- package/plugin/build/ios/apply/pbx/buildSettings.js.map +1 -0
- package/plugin/build/ios/apply/pbx/bundleReactNative.d.ts +19 -0
- package/plugin/build/ios/apply/pbx/bundleReactNative.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/bundleReactNative.js +136 -0
- package/plugin/build/ios/apply/pbx/bundleReactNative.js.map +1 -0
- package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts +25 -0
- package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.js +196 -0
- package/plugin/build/ios/apply/pbx/copyFrameworksIntoAppClip.js.map +1 -0
- package/plugin/build/ios/apply/pbx/embed.d.ts +63 -0
- package/plugin/build/ios/apply/pbx/embed.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/embed.js +572 -0
- package/plugin/build/ios/apply/pbx/embed.js.map +1 -0
- package/plugin/build/ios/apply/pbx/fileRefs.d.ts +26 -0
- package/plugin/build/ios/apply/pbx/fileRefs.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/fileRefs.js +122 -0
- package/plugin/build/ios/apply/pbx/fileRefs.js.map +1 -0
- package/plugin/build/ios/apply/pbx/groups.d.ts +25 -0
- package/plugin/build/ios/apply/pbx/groups.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/groups.js +84 -0
- package/plugin/build/ios/apply/pbx/groups.js.map +1 -0
- package/plugin/build/ios/apply/pbx/index.d.ts +17 -0
- package/plugin/build/ios/apply/pbx/index.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/index.js +50 -0
- package/plugin/build/ios/apply/pbx/index.js.map +1 -0
- package/plugin/build/ios/apply/pbx/targetLifecycle.d.ts +59 -0
- package/plugin/build/ios/apply/pbx/targetLifecycle.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/targetLifecycle.js +185 -0
- package/plugin/build/ios/apply/pbx/targetLifecycle.js.map +1 -0
- package/plugin/build/ios/apply/pbx/types.d.ts +12 -0
- package/plugin/build/ios/apply/pbx/types.d.ts.map +1 -0
- package/plugin/build/ios/apply/pbx/types.js +6 -0
- package/plugin/build/ios/apply/pbx/types.js.map +1 -0
- package/plugin/build/ios/apply/podfile/applyPodfilePlan.d.ts +12 -0
- package/plugin/build/ios/apply/podfile/applyPodfilePlan.d.ts.map +1 -0
- package/plugin/build/ios/apply/podfile/applyPodfilePlan.js +76 -0
- package/plugin/build/ios/apply/podfile/applyPodfilePlan.js.map +1 -0
- package/plugin/build/ios/apply/podfile/index.d.ts +11 -0
- package/plugin/build/ios/apply/podfile/index.d.ts.map +1 -0
- package/plugin/build/ios/apply/podfile/index.js +32 -0
- package/plugin/build/ios/apply/podfile/index.js.map +1 -0
- package/plugin/build/ios/{utils → apply/podfile}/podfile.d.ts +21 -5
- package/plugin/build/ios/apply/podfile/podfile.d.ts.map +1 -0
- package/{build/plugin/src/ios/utils → plugin/build/ios/apply/podfile}/podfile.js +310 -251
- package/plugin/build/ios/apply/podfile/podfile.js.map +1 -0
- package/plugin/build/ios/apply/podfile/scan.d.ts +40 -0
- package/plugin/build/ios/apply/podfile/scan.d.ts.map +1 -0
- package/plugin/build/ios/apply/podfile/scan.js +129 -0
- package/plugin/build/ios/apply/podfile/scan.js.map +1 -0
- package/plugin/build/ios/cng/appShortcutsCodegen.d.ts +6 -0
- package/plugin/build/ios/cng/appShortcutsCodegen.d.ts.map +1 -0
- package/plugin/build/ios/cng/appShortcutsCodegen.js +79 -0
- package/plugin/build/ios/cng/appShortcutsCodegen.js.map +1 -0
- package/plugin/build/ios/cng/liveActivityCodegen.d.ts +6 -0
- package/plugin/build/ios/cng/liveActivityCodegen.d.ts.map +1 -0
- package/plugin/build/ios/cng/liveActivityCodegen.js +150 -0
- package/plugin/build/ios/cng/liveActivityCodegen.js.map +1 -0
- package/plugin/build/ios/cng/swiftTypes.d.ts +4 -0
- package/plugin/build/ios/cng/swiftTypes.d.ts.map +1 -0
- package/plugin/build/ios/cng/swiftTypes.js +34 -0
- package/plugin/build/ios/cng/swiftTypes.js.map +1 -0
- package/plugin/build/ios/cng/withExpoTargetsGenerated.d.ts +16 -0
- package/plugin/build/ios/cng/withExpoTargetsGenerated.d.ts.map +1 -0
- package/plugin/build/ios/cng/withExpoTargetsGenerated.js +311 -0
- package/plugin/build/ios/cng/withExpoTargetsGenerated.js.map +1 -0
- package/plugin/build/ios/config-plugins/withEASCredentials.d.ts +5 -5
- package/plugin/build/ios/config-plugins/withEASCredentials.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withEASCredentials.js +9 -9
- package/plugin/build/ios/config-plugins/withEASCredentials.js.map +1 -1
- package/plugin/build/ios/config-plugins/withEntitlements.d.ts +5 -2
- package/plugin/build/ios/config-plugins/withEntitlements.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withEntitlements.js +59 -44
- package/plugin/build/ios/config-plugins/withEntitlements.js.map +1 -1
- package/plugin/build/ios/config-plugins/withIOSTarget.d.ts +4 -4
- package/plugin/build/ios/config-plugins/withIOSTarget.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withIOSTarget.js +210 -165
- package/plugin/build/ios/config-plugins/withIOSTarget.js.map +1 -1
- package/plugin/build/ios/config-plugins/withPodfile.d.ts +7 -3
- package/plugin/build/ios/config-plugins/withPodfile.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withPodfile.js +39 -167
- package/plugin/build/ios/config-plugins/withPodfile.js.map +1 -1
- package/plugin/build/ios/config-plugins/withXcodeChanges.d.ts +9 -18
- package/plugin/build/ios/config-plugins/withXcodeChanges.d.ts.map +1 -1
- package/plugin/build/ios/config-plugins/withXcodeChanges.js +62 -730
- package/plugin/build/ios/config-plugins/withXcodeChanges.js.map +1 -1
- package/plugin/build/ios/observe/index.d.ts +7 -0
- package/plugin/build/ios/observe/index.d.ts.map +1 -0
- package/plugin/build/ios/observe/index.js +11 -0
- package/plugin/build/ios/observe/index.js.map +1 -0
- package/plugin/build/ios/observe/podsRb.d.ts +9 -0
- package/plugin/build/ios/observe/podsRb.d.ts.map +1 -0
- package/plugin/build/ios/observe/podsRb.js +43 -0
- package/plugin/build/ios/observe/podsRb.js.map +1 -0
- package/plugin/build/ios/observe/workspace.d.ts +48 -0
- package/plugin/build/ios/observe/workspace.d.ts.map +1 -0
- package/plugin/build/ios/observe/workspace.js +107 -0
- package/plugin/build/ios/observe/workspace.js.map +1 -0
- package/plugin/build/ios/plan/assets.d.ts +13 -0
- package/plugin/build/ios/plan/assets.d.ts.map +1 -0
- package/plugin/build/ios/plan/assets.js +112 -0
- package/plugin/build/ios/plan/assets.js.map +1 -0
- package/plugin/build/ios/plan/buildInfoPlist.d.ts +38 -0
- package/plugin/build/ios/plan/buildInfoPlist.d.ts.map +1 -0
- package/plugin/build/ios/plan/buildInfoPlist.js +331 -0
- package/plugin/build/ios/plan/buildInfoPlist.js.map +1 -0
- package/plugin/build/ios/plan/buildSettings.d.ts +9 -0
- package/plugin/build/ios/plan/buildSettings.d.ts.map +1 -0
- package/plugin/build/ios/plan/buildSettings.js +218 -0
- package/plugin/build/ios/plan/buildSettings.js.map +1 -0
- package/plugin/build/ios/plan/bundleReactNative.d.ts +7 -0
- package/plugin/build/ios/plan/bundleReactNative.d.ts.map +1 -0
- package/plugin/build/ios/plan/bundleReactNative.js +21 -0
- package/plugin/build/ios/plan/bundleReactNative.js.map +1 -0
- package/plugin/build/ios/plan/bundleResources.d.ts +11 -0
- package/plugin/build/ios/plan/bundleResources.d.ts.map +1 -0
- package/plugin/build/ios/plan/bundleResources.js +23 -0
- package/plugin/build/ios/plan/bundleResources.js.map +1 -0
- package/plugin/build/ios/plan/compose.d.ts +7 -0
- package/plugin/build/ios/plan/compose.d.ts.map +1 -0
- package/plugin/build/ios/plan/compose.js +53 -0
- package/plugin/build/ios/plan/compose.js.map +1 -0
- package/plugin/build/ios/plan/embed.d.ts +8 -0
- package/plugin/build/ios/plan/embed.d.ts.map +1 -0
- package/plugin/build/ios/plan/embed.js +13 -0
- package/plugin/build/ios/plan/embed.js.map +1 -0
- package/plugin/build/ios/plan/entitlements.d.ts +19 -0
- package/plugin/build/ios/plan/entitlements.d.ts.map +1 -0
- package/plugin/build/ios/plan/entitlements.js +72 -0
- package/plugin/build/ios/plan/entitlements.js.map +1 -0
- package/plugin/build/ios/plan/identity.d.ts +9 -0
- package/plugin/build/ios/plan/identity.d.ts.map +1 -0
- package/plugin/build/ios/plan/identity.js +61 -0
- package/plugin/build/ios/plan/identity.js.map +1 -0
- package/plugin/build/ios/plan/index.d.ts +21 -0
- package/plugin/build/ios/plan/index.d.ts.map +1 -0
- package/plugin/build/ios/plan/index.js +36 -0
- package/plugin/build/ios/plan/index.js.map +1 -0
- package/plugin/build/ios/plan/infoPlist.d.ts +8 -0
- package/plugin/build/ios/plan/infoPlist.d.ts.map +1 -0
- package/plugin/build/ios/plan/infoPlist.js +96 -0
- package/plugin/build/ios/plan/infoPlist.js.map +1 -0
- package/plugin/build/ios/plan/podfile.d.ts +18 -0
- package/plugin/build/ios/plan/podfile.d.ts.map +1 -0
- package/plugin/build/ios/plan/podfile.js +22 -0
- package/plugin/build/ios/plan/podfile.js.map +1 -0
- package/plugin/build/ios/plan/safari.d.ts +14 -0
- package/plugin/build/ios/plan/safari.d.ts.map +1 -0
- package/plugin/build/ios/plan/safari.js +32 -0
- package/plugin/build/ios/plan/safari.js.map +1 -0
- package/plugin/build/ios/plan/swiftSources.d.ts +13 -0
- package/plugin/build/ios/plan/swiftSources.d.ts.map +1 -0
- package/plugin/build/ios/plan/swiftSources.js +167 -0
- package/plugin/build/ios/plan/swiftSources.js.map +1 -0
- package/plugin/build/ios/plan/types.d.ts +191 -0
- package/plugin/build/ios/plan/types.d.ts.map +1 -0
- package/plugin/build/ios/plan/types.js +3 -0
- package/plugin/build/ios/plan/types.js.map +1 -0
- package/plugin/build/ios/templates/ReactNativeClipApp.swift +48 -0
- package/plugin/build/ios/templates/ReactNativeViewController.swift +9 -7
- package/plugin/build/ios/templates/clip-extension-data.swift +4 -6
- package/plugin/build/ios/utils/asset.d.ts +4 -0
- package/plugin/build/ios/utils/asset.d.ts.map +1 -1
- package/plugin/build/ios/utils/asset.js +150 -161
- package/plugin/build/ios/utils/asset.js.map +1 -1
- package/plugin/build/ios/utils/file.d.ts.map +1 -1
- package/plugin/build/ios/utils/file.js +16 -17
- package/plugin/build/ios/utils/file.js.map +1 -1
- package/plugin/build/ios/utils/index.d.ts +9 -6
- package/plugin/build/ios/utils/index.d.ts.map +1 -1
- package/plugin/build/ios/utils/index.js +10 -7
- package/plugin/build/ios/utils/index.js.map +1 -1
- package/plugin/build/ios/utils/paths.d.ts +23 -35
- package/plugin/build/ios/utils/paths.d.ts.map +1 -1
- package/plugin/build/ios/utils/paths.js +38 -37
- package/plugin/build/ios/utils/paths.js.map +1 -1
- package/plugin/build/ios/utils/plist.d.ts +1 -0
- package/plugin/build/ios/utils/plist.d.ts.map +1 -1
- package/plugin/build/ios/utils/plist.js +6 -29
- package/plugin/build/ios/utils/plist.js.map +1 -1
- package/plugin/build/ios/utils/reactNativeSwift.d.ts +1 -0
- package/plugin/build/ios/utils/reactNativeSwift.d.ts.map +1 -1
- package/plugin/build/ios/utils/reactNativeSwift.js +101 -166
- package/plugin/build/ios/utils/reactNativeSwift.js.map +1 -1
- package/plugin/build/ios/utils/safari.d.ts.map +1 -1
- package/plugin/build/ios/utils/safari.js +155 -97
- package/plugin/build/ios/utils/safari.js.map +1 -1
- package/plugin/build/logger.d.ts +4 -4
- package/plugin/build/logger.d.ts.map +1 -1
- package/plugin/build/logger.js +8 -15
- package/plugin/build/logger.js.map +1 -1
- package/plugin/build/withTargetsDir.d.ts +1 -1
- package/plugin/build/withTargetsDir.d.ts.map +1 -1
- package/plugin/build/withTargetsDir.js +216 -157
- package/plugin/build/withTargetsDir.js.map +1 -1
- package/build/plugin/src/ios/config-plugins/withIosColorset.d.ts +0 -8
- package/build/plugin/src/ios/config-plugins/withIosColorset.d.ts.map +0 -1
- package/build/plugin/src/ios/config-plugins/withIosColorset.js +0 -25
- package/build/plugin/src/ios/config-plugins/withIosColorset.js.map +0 -1
- package/build/plugin/src/ios/config-plugins/withIosStickerPack.d.ts +0 -8
- package/build/plugin/src/ios/config-plugins/withIosStickerPack.d.ts.map +0 -1
- package/build/plugin/src/ios/config-plugins/withIosStickerPack.js +0 -52
- package/build/plugin/src/ios/config-plugins/withIosStickerPack.js.map +0 -1
- package/build/plugin/src/ios/target.d.ts +0 -44
- package/build/plugin/src/ios/target.d.ts.map +0 -1
- package/build/plugin/src/ios/target.js +0 -670
- package/build/plugin/src/ios/target.js.map +0 -1
- package/build/plugin/src/ios/utils/podfile.d.ts.map +0 -1
- package/build/plugin/src/ios/utils/podfile.js.map +0 -1
- package/build/plugin/src/ios/utils/xcode.d.ts +0 -185
- package/build/plugin/src/ios/utils/xcode.d.ts.map +0 -1
- package/build/plugin/src/ios/utils/xcode.js +0 -706
- package/build/plugin/src/ios/utils/xcode.js.map +0 -1
- package/build/plugin/src/parseTargetConfig.d.ts +0 -3
- package/build/plugin/src/parseTargetConfig.d.ts.map +0 -1
- package/build/plugin/src/parseTargetConfig.js +0 -113
- package/build/plugin/src/parseTargetConfig.js.map +0 -1
- package/ios/Tests/.swiftlint.yml +0 -52
- package/ios/Tests/Helpers/MockExtensionContext.swift +0 -58
- package/ios/Tests/Helpers/MockUserDefaults.swift +0 -70
- package/ios/Tests/Helpers/MockWidgetCenter.swift +0 -71
- package/ios/Tests/Helpers/TestHelpers.swift +0 -90
- package/ios/Tests/Integration/TargetIntegrationTests.swift +0 -478
- package/ios/Tests/Main/AllTests.swift +0 -80
- package/ios/Tests/Package.swift +0 -66
- package/ios/Tests/Performance/StoragePerformanceTests.swift +0 -461
- package/ios/Tests/Unit/Extension/ExpoTargetsExtensionModuleTests.swift +0 -501
- package/ios/Tests/Unit/Storage/ExpoTargetsStorageModuleTests.swift +0 -578
- package/ios/Tests/Unit/Template/ShareExtensionTemplateTests.swift +0 -421
- package/ios/Tests/XCTestPlan.xctestplan +0 -87
- package/plugin/build/ios/config-plugins/withIosColorset.d.ts +0 -8
- package/plugin/build/ios/config-plugins/withIosColorset.d.ts.map +0 -1
- package/plugin/build/ios/config-plugins/withIosColorset.js +0 -25
- package/plugin/build/ios/config-plugins/withIosColorset.js.map +0 -1
- package/plugin/build/ios/config-plugins/withIosStickerPack.d.ts +0 -8
- package/plugin/build/ios/config-plugins/withIosStickerPack.d.ts.map +0 -1
- package/plugin/build/ios/config-plugins/withIosStickerPack.js +0 -52
- package/plugin/build/ios/config-plugins/withIosStickerPack.js.map +0 -1
- package/plugin/build/ios/target.d.ts +0 -44
- package/plugin/build/ios/target.d.ts.map +0 -1
- package/plugin/build/ios/target.js +0 -670
- package/plugin/build/ios/target.js.map +0 -1
- package/plugin/build/ios/utils/podfile.d.ts.map +0 -1
- package/plugin/build/ios/utils/podfile.js.map +0 -1
- package/plugin/build/ios/utils/xcode.d.ts +0 -185
- package/plugin/build/ios/utils/xcode.d.ts.map +0 -1
- package/plugin/build/ios/utils/xcode.js +0 -706
- package/plugin/build/ios/utils/xcode.js.map +0 -1
- package/plugin/build/parseTargetConfig.d.ts +0 -3
- package/plugin/build/parseTargetConfig.d.ts.map +0 -1
- package/plugin/build/parseTargetConfig.js +0 -113
- package/plugin/build/parseTargetConfig.js.map +0 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { XcodeProject } from '@expo/config-plugins';
|
|
2
|
+
import type { XcodeTarget } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Configure embed settings for app extension.
|
|
5
|
+
* Consolidates all app extensions into a SINGLE "Embed App Extensions" phase.
|
|
6
|
+
*/
|
|
7
|
+
export declare function configureAppExtensionEmbed({ project, targetProductName, }: {
|
|
8
|
+
project: XcodeProject;
|
|
9
|
+
targetProductName: string;
|
|
10
|
+
}): void;
|
|
11
|
+
/**
|
|
12
|
+
* Embed an ExtensionKit appex into Extensions/ (not PlugIns/).
|
|
13
|
+
* iOS rejects EXAppExtensionAttributes appexes under PlugIns with
|
|
14
|
+
* "Invalid placeholder attributes".
|
|
15
|
+
*/
|
|
16
|
+
export declare function configureExtensionKitEmbed({ project, mainTargetUuid, target, targetProductName, }: {
|
|
17
|
+
project: XcodeProject;
|
|
18
|
+
mainTargetUuid: string;
|
|
19
|
+
target: XcodeTarget;
|
|
20
|
+
targetProductName: string;
|
|
21
|
+
}): void;
|
|
22
|
+
/**
|
|
23
|
+
* Configure embed settings for App Clip.
|
|
24
|
+
* Reuses an existing "Embed App Clips" phase (and its build file for this
|
|
25
|
+
* product) so repeated prebuilds stay idempotent.
|
|
26
|
+
*/
|
|
27
|
+
export declare function configureAppClipEmbed({ project, mainTargetUuid, target, targetProductName, }: {
|
|
28
|
+
project: XcodeProject;
|
|
29
|
+
mainTargetUuid: string;
|
|
30
|
+
target: XcodeTarget;
|
|
31
|
+
targetProductName: string;
|
|
32
|
+
}): void;
|
|
33
|
+
/**
|
|
34
|
+
* Configure embed settings for a watchOS companion app.
|
|
35
|
+
* Reuses an existing "Embed Watch Content" phase so repeated prebuilds stay
|
|
36
|
+
* idempotent.
|
|
37
|
+
*/
|
|
38
|
+
export declare function configureWatchContentEmbed({ project, mainTargetUuid, target, targetProductName, }: {
|
|
39
|
+
project: XcodeProject;
|
|
40
|
+
mainTargetUuid: string;
|
|
41
|
+
target: XcodeTarget;
|
|
42
|
+
targetProductName: string;
|
|
43
|
+
}): void;
|
|
44
|
+
/**
|
|
45
|
+
* Embed a watchOS WidgetKit appex into the Watch companion (PlugIns), not the
|
|
46
|
+
* phone host. Reuses that watch target's "Embed App Extensions" phase.
|
|
47
|
+
*/
|
|
48
|
+
export declare function configureWatchAppExtensionEmbed({ project, watchTargetUuid, target, targetProductName, }: {
|
|
49
|
+
project: XcodeProject;
|
|
50
|
+
watchTargetUuid: string;
|
|
51
|
+
target: XcodeTarget;
|
|
52
|
+
targetProductName: string;
|
|
53
|
+
}): void;
|
|
54
|
+
/**
|
|
55
|
+
* `xcode.addTarget(..., 'app_extension')` auto-embeds into the iOS host.
|
|
56
|
+
* Watch widgets must nest under the Watch companion instead — strip the host copy.
|
|
57
|
+
*/
|
|
58
|
+
export declare function removeAppExtensionFromHostEmbed({ project, mainTargetUuid, targetProductName, }: {
|
|
59
|
+
project: XcodeProject;
|
|
60
|
+
mainTargetUuid: string;
|
|
61
|
+
targetProductName: string;
|
|
62
|
+
}): void;
|
|
63
|
+
//# sourceMappingURL=embed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../../../../src/ios/apply/pbx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,WAAW,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GAAG,IAAI,CAmDP;AA8DD;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,EAC9C,OAAO,EACP,cAAc,EACd,iBAAiB,GAClB,EAAE;IACD,OAAO,EAAE,YAAY,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GAAG,IAAI,CAYP"}
|
|
@@ -0,0 +1,572 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.removeAppExtensionFromHostEmbed = exports.configureWatchAppExtensionEmbed = exports.configureWatchContentEmbed = exports.configureAppClipEmbed = exports.configureExtensionKitEmbed = exports.configureAppExtensionEmbed = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* "Embed App Extensions" / "Embed App Clips" copy-files phases on the host app.
|
|
6
|
+
* Both entry points are idempotent: re-running a prebuild must not add a second
|
|
7
|
+
* embed phase or a duplicate build file for the same product.
|
|
8
|
+
*/
|
|
9
|
+
const APP_EXTENSION_DST_SUBFOLDER_SPEC = 13;
|
|
10
|
+
const EMBED_PHASE_NAME = 'Embed App Extensions';
|
|
11
|
+
const EMBED_ATTRIBUTES = ['RemoveHeadersOnCopy', 'CodeSignOnCopy'];
|
|
12
|
+
function ensureEmbedAttributes(buildFile) {
|
|
13
|
+
if (!Array.isArray(buildFile.settings?.ATTRIBUTES)) {
|
|
14
|
+
buildFile.settings = { ATTRIBUTES: [...EMBED_ATTRIBUTES] };
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const attrs = buildFile.settings.ATTRIBUTES;
|
|
18
|
+
for (const attr of EMBED_ATTRIBUTES) {
|
|
19
|
+
if (!attrs.includes(attr)) {
|
|
20
|
+
attrs.push(attr);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* A product is identified by either the `path` or the `name` of its file
|
|
26
|
+
* reference, both of which may be quoted in the pbxproj.
|
|
27
|
+
*/
|
|
28
|
+
function productNamesForBuildFile({ fileRefSection }, buildFile) {
|
|
29
|
+
const fileRef = fileRefSection?.[buildFile.fileRef];
|
|
30
|
+
return [fileRef?.path, fileRef?.name]
|
|
31
|
+
.filter((value) => typeof value === 'string')
|
|
32
|
+
.map((value) => value.replace(/"/g, ''));
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Give the extension's own build file the copy attributes it needs, wherever
|
|
36
|
+
* in the project it happens to live.
|
|
37
|
+
*/
|
|
38
|
+
function configureExtensionBuildFile(sections, targetFileName) {
|
|
39
|
+
for (const buildFileKey in sections.buildFileSection) {
|
|
40
|
+
if (buildFileKey.endsWith('_comment')) {
|
|
41
|
+
continue;
|
|
42
|
+
}
|
|
43
|
+
const buildFile = sections.buildFileSection[buildFileKey];
|
|
44
|
+
if (!buildFile?.fileRef) {
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
47
|
+
const names = productNamesForBuildFile(sections, buildFile);
|
|
48
|
+
if (names.includes(targetFileName)) {
|
|
49
|
+
ensureEmbedAttributes(buildFile);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function findNamedEmbedPhase(copyFilesPhases) {
|
|
55
|
+
for (const phaseKey in copyFilesPhases) {
|
|
56
|
+
if (phaseKey.endsWith('_comment')) {
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
const phase = copyFilesPhases[phaseKey];
|
|
60
|
+
if (phase?.dstSubfolderSpec === APP_EXTENSION_DST_SUBFOLDER_SPEC &&
|
|
61
|
+
(phase.name === `"${EMBED_PHASE_NAME}"` ||
|
|
62
|
+
copyFilesPhases[`${phaseKey}_comment`] === EMBED_PHASE_NAME)) {
|
|
63
|
+
return phaseKey;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Attributes every `.appex` build file in a phase and records its UUID.
|
|
69
|
+
* Returns whether the phase embeds an app extension at all.
|
|
70
|
+
*/
|
|
71
|
+
function registerAppExtensionFiles(sections, phase, extensionBuildFiles) {
|
|
72
|
+
let found = false;
|
|
73
|
+
for (const file of phase.files) {
|
|
74
|
+
const buildFile = sections.buildFileSection?.[file.value];
|
|
75
|
+
if (!buildFile?.fileRef) {
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
const isAppExtension = productNamesForBuildFile(sections, buildFile).some((name) => name.endsWith('.appex'));
|
|
79
|
+
if (isAppExtension) {
|
|
80
|
+
found = true;
|
|
81
|
+
extensionBuildFiles.add(file.value);
|
|
82
|
+
ensureEmbedAttributes(buildFile);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return found;
|
|
86
|
+
}
|
|
87
|
+
function isExtensionEmbedPhase(copyFilesPhases, phaseKey, primaryPhaseKey) {
|
|
88
|
+
if (phaseKey.endsWith('_comment') || phaseKey === primaryPhaseKey) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
const phase = copyFilesPhases[phaseKey];
|
|
92
|
+
return (phase?.dstSubfolderSpec === APP_EXTENSION_DST_SUBFOLDER_SPEC &&
|
|
93
|
+
Boolean(phase.files));
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Locate every phase that embeds app extensions. The first one either already
|
|
97
|
+
* carries the standard name or is promoted to primary; the rest get merged.
|
|
98
|
+
*/
|
|
99
|
+
function collectEmbedPhases({ sections, copyFilesPhases, }) {
|
|
100
|
+
let primaryPhaseKey = findNamedEmbedPhase(copyFilesPhases);
|
|
101
|
+
const phasesToMerge = [];
|
|
102
|
+
const extensionBuildFiles = new Set();
|
|
103
|
+
for (const phaseKey in copyFilesPhases) {
|
|
104
|
+
if (!isExtensionEmbedPhase(copyFilesPhases, phaseKey, primaryPhaseKey)) {
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
const embedsExtensions = registerAppExtensionFiles(sections, copyFilesPhases[phaseKey], extensionBuildFiles);
|
|
108
|
+
if (!embedsExtensions) {
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
if (primaryPhaseKey) {
|
|
112
|
+
phasesToMerge.push(phaseKey);
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
primaryPhaseKey = phaseKey;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
return { primaryPhaseKey, phasesToMerge, extensionBuildFiles };
|
|
119
|
+
}
|
|
120
|
+
function mergeEmbedPhases({ copyFilesPhases, primaryPhaseKey, phasesToMerge, extensionBuildFiles, }) {
|
|
121
|
+
const primaryPhase = copyFilesPhases[primaryPhaseKey];
|
|
122
|
+
primaryPhase.name = `"${EMBED_PHASE_NAME}"`;
|
|
123
|
+
copyFilesPhases[`${primaryPhaseKey}_comment`] = EMBED_PHASE_NAME;
|
|
124
|
+
if (!primaryPhase.files) {
|
|
125
|
+
primaryPhase.files = [];
|
|
126
|
+
}
|
|
127
|
+
const existingFiles = new Set(primaryPhase.files.map((f) => f.value));
|
|
128
|
+
for (const phaseKey of phasesToMerge) {
|
|
129
|
+
for (const file of copyFilesPhases[phaseKey]?.files || []) {
|
|
130
|
+
if (extensionBuildFiles.has(file.value) &&
|
|
131
|
+
!existingFiles.has(file.value)) {
|
|
132
|
+
primaryPhase.files.push(file);
|
|
133
|
+
existingFiles.add(file.value);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function findMainAppTarget(nativeTargets) {
|
|
139
|
+
for (const targetKey in nativeTargets) {
|
|
140
|
+
if (targetKey.endsWith('_comment')) {
|
|
141
|
+
continue;
|
|
142
|
+
}
|
|
143
|
+
const target = nativeTargets[targetKey];
|
|
144
|
+
if (target?.productType === '"com.apple.product-type.application"') {
|
|
145
|
+
return target;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* The merged-away phases are dropped by detaching them from the host app.
|
|
151
|
+
*/
|
|
152
|
+
function detachMergedPhases(project, phasesToMerge) {
|
|
153
|
+
if (phasesToMerge.length === 0) {
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
const objects = project.hash.project.objects;
|
|
157
|
+
const mainAppTarget = findMainAppTarget(objects.PBXNativeTarget);
|
|
158
|
+
if (mainAppTarget?.buildPhases) {
|
|
159
|
+
mainAppTarget.buildPhases = mainAppTarget.buildPhases.filter((phase) => !phasesToMerge.includes(phase.value));
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Configure embed settings for app extension.
|
|
164
|
+
* Consolidates all app extensions into a SINGLE "Embed App Extensions" phase.
|
|
165
|
+
*/
|
|
166
|
+
function configureAppExtensionEmbed({ project, targetProductName, }) {
|
|
167
|
+
const objects = project.hash.project.objects;
|
|
168
|
+
const sections = {
|
|
169
|
+
buildFileSection: objects.PBXBuildFile,
|
|
170
|
+
fileRefSection: objects.PBXFileReference,
|
|
171
|
+
};
|
|
172
|
+
configureExtensionBuildFile(sections, `${targetProductName}.appex`);
|
|
173
|
+
const copyFilesPhases = objects.PBXCopyFilesBuildPhase;
|
|
174
|
+
const { primaryPhaseKey, phasesToMerge, extensionBuildFiles } = collectEmbedPhases({ sections, copyFilesPhases });
|
|
175
|
+
if (!(primaryPhaseKey && copyFilesPhases[primaryPhaseKey])) {
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
mergeEmbedPhases({
|
|
179
|
+
copyFilesPhases,
|
|
180
|
+
primaryPhaseKey,
|
|
181
|
+
phasesToMerge,
|
|
182
|
+
extensionBuildFiles,
|
|
183
|
+
});
|
|
184
|
+
detachMergedPhases(project, phasesToMerge);
|
|
185
|
+
}
|
|
186
|
+
exports.configureAppExtensionEmbed = configureAppExtensionEmbed;
|
|
187
|
+
const APP_CLIP_DST_SUBFOLDER_SPEC = 16;
|
|
188
|
+
/** Products Directory — same as App Clips / XcodeGen ExtensionKit embed. */
|
|
189
|
+
const EXTENSIONKIT_DST_SUBFOLDER_SPEC = 16;
|
|
190
|
+
const EXTENSIONKIT_EMBED_PHASE_NAME = 'Embed ExtensionKit Extensions';
|
|
191
|
+
/**
|
|
192
|
+
* Find the "Embed ExtensionKit Extensions" copy-files phase on the host app.
|
|
193
|
+
*/
|
|
194
|
+
function findExtensionKitEmbedPhase({ project, mainTargetUuid, }) {
|
|
195
|
+
const xcodeProject = project;
|
|
196
|
+
const copyFilesPhases = xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase;
|
|
197
|
+
const mainTarget = xcodeProject.hash.project.objects.PBXNativeTarget?.[mainTargetUuid];
|
|
198
|
+
if (!(mainTarget?.buildPhases && copyFilesPhases)) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
for (const entry of mainTarget.buildPhases) {
|
|
202
|
+
const phase = copyFilesPhases[entry.value];
|
|
203
|
+
if (!phase)
|
|
204
|
+
continue;
|
|
205
|
+
const isKit = phase.name === `"${EXTENSIONKIT_EMBED_PHASE_NAME}"` ||
|
|
206
|
+
copyFilesPhases[`${entry.value}_comment`] ===
|
|
207
|
+
EXTENSIONKIT_EMBED_PHASE_NAME ||
|
|
208
|
+
(phase.dstSubfolderSpec === EXTENSIONKIT_DST_SUBFOLDER_SPEC &&
|
|
209
|
+
typeof phase.dstPath === 'string' &&
|
|
210
|
+
(phase.dstPath.includes('EXTENSIONS_FOLDER_PATH') ||
|
|
211
|
+
phase.dstPath.includes('/Extensions')));
|
|
212
|
+
if (isKit) {
|
|
213
|
+
return { uuid: entry.value, phase };
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
function ensureExtensionKitEmbedPhase({ project, mainTargetUuid, }) {
|
|
218
|
+
const existing = findExtensionKitEmbedPhase({ project, mainTargetUuid });
|
|
219
|
+
if (existing) {
|
|
220
|
+
return existing.phase;
|
|
221
|
+
}
|
|
222
|
+
const xcodeProject = project;
|
|
223
|
+
const embedPhaseResult = xcodeProject.addBuildPhase([], 'PBXCopyFilesBuildPhase', EXTENSIONKIT_EMBED_PHASE_NAME, mainTargetUuid);
|
|
224
|
+
const embedPhaseUuid = embedPhaseResult?.uuid || embedPhaseResult;
|
|
225
|
+
if (!embedPhaseUuid) {
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
return xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase?.[embedPhaseUuid];
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Embed an ExtensionKit appex into Extensions/ (not PlugIns/).
|
|
232
|
+
* iOS rejects EXAppExtensionAttributes appexes under PlugIns with
|
|
233
|
+
* "Invalid placeholder attributes".
|
|
234
|
+
*/
|
|
235
|
+
function configureExtensionKitEmbed({ project, mainTargetUuid, target, targetProductName, }) {
|
|
236
|
+
const xcodeProject = project;
|
|
237
|
+
const productFileRef = target.pbxNativeTarget?.productReference || target.target?.productReference;
|
|
238
|
+
if (!productFileRef) {
|
|
239
|
+
return;
|
|
240
|
+
}
|
|
241
|
+
// addTarget(app_extension) auto-embeds into PlugIns — strip that copy.
|
|
242
|
+
removeAppExtensionFromHostEmbed({
|
|
243
|
+
project,
|
|
244
|
+
mainTargetUuid,
|
|
245
|
+
targetProductName,
|
|
246
|
+
});
|
|
247
|
+
const phase = ensureExtensionKitEmbedPhase({ project, mainTargetUuid });
|
|
248
|
+
if (!phase) {
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
// Match XcodeGen: productsDirectory + $(EXTENSIONS_FOLDER_PATH).
|
|
252
|
+
phase.dstPath = '"$(EXTENSIONS_FOLDER_PATH)"';
|
|
253
|
+
phase.dstSubfolderSpec = EXTENSIONKIT_DST_SUBFOLDER_SPEC;
|
|
254
|
+
phase.name = `"${EXTENSIONKIT_EMBED_PHASE_NAME}"`;
|
|
255
|
+
if (!phase.files) {
|
|
256
|
+
phase.files = [];
|
|
257
|
+
}
|
|
258
|
+
const buildFileSection = xcodeProject.hash.project.objects.PBXBuildFile;
|
|
259
|
+
const alreadyEmbedded = phase.files.some((file) => buildFileSection?.[file.value]?.fileRef === productFileRef);
|
|
260
|
+
if (alreadyEmbedded) {
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
263
|
+
const buildFileUuid = xcodeProject.generateUuid();
|
|
264
|
+
buildFileSection[buildFileUuid] = {
|
|
265
|
+
isa: 'PBXBuildFile',
|
|
266
|
+
fileRef: productFileRef,
|
|
267
|
+
settings: {
|
|
268
|
+
ATTRIBUTES: [...EMBED_ATTRIBUTES],
|
|
269
|
+
},
|
|
270
|
+
};
|
|
271
|
+
buildFileSection[`${buildFileUuid}_comment`] =
|
|
272
|
+
`${targetProductName}.appex in ${EXTENSIONKIT_EMBED_PHASE_NAME}`;
|
|
273
|
+
phase.files.push({
|
|
274
|
+
value: buildFileUuid,
|
|
275
|
+
comment: `${targetProductName}.appex in ${EXTENSIONKIT_EMBED_PHASE_NAME}`,
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
exports.configureExtensionKitEmbed = configureExtensionKitEmbed;
|
|
279
|
+
/**
|
|
280
|
+
* Find the "Embed App Clips" copy-files phase already attached to the host app.
|
|
281
|
+
*/
|
|
282
|
+
function findAppClipEmbedPhase({ project, mainTargetUuid, }) {
|
|
283
|
+
const xcodeProject = project;
|
|
284
|
+
const copyFilesPhases = xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase || {};
|
|
285
|
+
const mainTarget = xcodeProject.hash.project.objects.PBXNativeTarget?.[mainTargetUuid];
|
|
286
|
+
for (const entry of mainTarget?.buildPhases || []) {
|
|
287
|
+
const phase = copyFilesPhases[entry.value];
|
|
288
|
+
if (!phase) {
|
|
289
|
+
continue;
|
|
290
|
+
}
|
|
291
|
+
const isAppClipPhase = phase.dstSubfolderSpec === APP_CLIP_DST_SUBFOLDER_SPEC ||
|
|
292
|
+
phase.name === '"Embed App Clips"' ||
|
|
293
|
+
copyFilesPhases[`${entry.value}_comment`] === 'Embed App Clips';
|
|
294
|
+
if (isAppClipPhase) {
|
|
295
|
+
return { uuid: entry.value, phase };
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Get (or create) the "Embed App Clips" phase on the host app.
|
|
301
|
+
*/
|
|
302
|
+
function ensureAppClipEmbedPhase({ project, mainTargetUuid, }) {
|
|
303
|
+
const existing = findAppClipEmbedPhase({ project, mainTargetUuid });
|
|
304
|
+
if (existing) {
|
|
305
|
+
return existing.phase;
|
|
306
|
+
}
|
|
307
|
+
const xcodeProject = project;
|
|
308
|
+
const embedPhaseResult = xcodeProject.addBuildPhase([], 'PBXCopyFilesBuildPhase', 'Embed App Clips', mainTargetUuid);
|
|
309
|
+
const embedPhaseUuid = embedPhaseResult?.uuid || embedPhaseResult;
|
|
310
|
+
if (!embedPhaseUuid) {
|
|
311
|
+
return;
|
|
312
|
+
}
|
|
313
|
+
return xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase?.[embedPhaseUuid];
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* Configure embed settings for App Clip.
|
|
317
|
+
* Reuses an existing "Embed App Clips" phase (and its build file for this
|
|
318
|
+
* product) so repeated prebuilds stay idempotent.
|
|
319
|
+
*/
|
|
320
|
+
function configureAppClipEmbed({ project, mainTargetUuid, target, targetProductName, }) {
|
|
321
|
+
const xcodeProject = project;
|
|
322
|
+
// Get the App Clip product reference
|
|
323
|
+
const appClipFileRef = target.pbxNativeTarget?.productReference || target.target?.productReference;
|
|
324
|
+
if (!appClipFileRef) {
|
|
325
|
+
return;
|
|
326
|
+
}
|
|
327
|
+
const phase = ensureAppClipEmbedPhase({ project, mainTargetUuid });
|
|
328
|
+
if (!phase) {
|
|
329
|
+
return;
|
|
330
|
+
}
|
|
331
|
+
// Configure phase for App Clips
|
|
332
|
+
phase.dstPath = '"$(CONTENTS_FOLDER_PATH)/AppClips"';
|
|
333
|
+
phase.dstSubfolderSpec = APP_CLIP_DST_SUBFOLDER_SPEC;
|
|
334
|
+
phase.name = '"Embed App Clips"';
|
|
335
|
+
if (!phase.files) {
|
|
336
|
+
phase.files = [];
|
|
337
|
+
}
|
|
338
|
+
const buildFileSection = xcodeProject.hash.project.objects.PBXBuildFile;
|
|
339
|
+
const alreadyEmbedded = phase.files.some((file) => buildFileSection?.[file.value]?.fileRef === appClipFileRef);
|
|
340
|
+
if (alreadyEmbedded) {
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
// Create a PBXBuildFile for the App Clip
|
|
344
|
+
const buildFileUuid = xcodeProject.generateUuid();
|
|
345
|
+
buildFileSection[buildFileUuid] = {
|
|
346
|
+
isa: 'PBXBuildFile',
|
|
347
|
+
fileRef: appClipFileRef,
|
|
348
|
+
settings: {
|
|
349
|
+
ATTRIBUTES: ['RemoveHeadersOnCopy'],
|
|
350
|
+
},
|
|
351
|
+
};
|
|
352
|
+
buildFileSection[`${buildFileUuid}_comment`] =
|
|
353
|
+
`${targetProductName}.app in Embed App Clips`;
|
|
354
|
+
phase.files.push({
|
|
355
|
+
value: buildFileUuid,
|
|
356
|
+
comment: `${targetProductName}.app in Embed App Clips`,
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
exports.configureAppClipEmbed = configureAppClipEmbed;
|
|
360
|
+
/** Same Products-directory spec as App Clips; destination path differs. */
|
|
361
|
+
const WATCH_CONTENT_DST_SUBFOLDER_SPEC = 16;
|
|
362
|
+
function findWatchContentEmbedPhase({ project, mainTargetUuid, }) {
|
|
363
|
+
const xcodeProject = project;
|
|
364
|
+
const copyFilesPhases = xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase || {};
|
|
365
|
+
const mainTarget = xcodeProject.hash.project.objects.PBXNativeTarget?.[mainTargetUuid];
|
|
366
|
+
for (const entry of mainTarget?.buildPhases || []) {
|
|
367
|
+
const phase = copyFilesPhases[entry.value];
|
|
368
|
+
if (!phase) {
|
|
369
|
+
continue;
|
|
370
|
+
}
|
|
371
|
+
const isWatchPhase = phase.name === '"Embed Watch Content"' ||
|
|
372
|
+
copyFilesPhases[`${entry.value}_comment`] === 'Embed Watch Content' ||
|
|
373
|
+
(phase.dstSubfolderSpec === WATCH_CONTENT_DST_SUBFOLDER_SPEC &&
|
|
374
|
+
typeof phase.dstPath === 'string' &&
|
|
375
|
+
phase.dstPath.includes('/Watch'));
|
|
376
|
+
if (isWatchPhase) {
|
|
377
|
+
return { uuid: entry.value, phase };
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
function ensureWatchContentEmbedPhase({ project, mainTargetUuid, }) {
|
|
382
|
+
const existing = findWatchContentEmbedPhase({ project, mainTargetUuid });
|
|
383
|
+
if (existing) {
|
|
384
|
+
return existing.phase;
|
|
385
|
+
}
|
|
386
|
+
const xcodeProject = project;
|
|
387
|
+
const embedPhaseResult = xcodeProject.addBuildPhase([], 'PBXCopyFilesBuildPhase', 'Embed Watch Content', mainTargetUuid);
|
|
388
|
+
const embedPhaseUuid = embedPhaseResult?.uuid || embedPhaseResult;
|
|
389
|
+
if (!embedPhaseUuid) {
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
return xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase?.[embedPhaseUuid];
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Configure embed settings for a watchOS companion app.
|
|
396
|
+
* Reuses an existing "Embed Watch Content" phase so repeated prebuilds stay
|
|
397
|
+
* idempotent.
|
|
398
|
+
*/
|
|
399
|
+
function configureWatchContentEmbed({ project, mainTargetUuid, target, targetProductName, }) {
|
|
400
|
+
const xcodeProject = project;
|
|
401
|
+
const watchFileRef = target.pbxNativeTarget?.productReference || target.target?.productReference;
|
|
402
|
+
if (!watchFileRef) {
|
|
403
|
+
return;
|
|
404
|
+
}
|
|
405
|
+
const phase = ensureWatchContentEmbedPhase({ project, mainTargetUuid });
|
|
406
|
+
if (!phase) {
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
409
|
+
phase.dstPath = '"$(CONTENTS_FOLDER_PATH)/Watch"';
|
|
410
|
+
phase.dstSubfolderSpec = WATCH_CONTENT_DST_SUBFOLDER_SPEC;
|
|
411
|
+
phase.name = '"Embed Watch Content"';
|
|
412
|
+
if (!phase.files) {
|
|
413
|
+
phase.files = [];
|
|
414
|
+
}
|
|
415
|
+
const buildFileSection = xcodeProject.hash.project.objects.PBXBuildFile;
|
|
416
|
+
const alreadyEmbedded = phase.files.some((file) => buildFileSection?.[file.value]?.fileRef === watchFileRef);
|
|
417
|
+
if (alreadyEmbedded) {
|
|
418
|
+
return;
|
|
419
|
+
}
|
|
420
|
+
const buildFileUuid = xcodeProject.generateUuid();
|
|
421
|
+
buildFileSection[buildFileUuid] = {
|
|
422
|
+
isa: 'PBXBuildFile',
|
|
423
|
+
fileRef: watchFileRef,
|
|
424
|
+
settings: {
|
|
425
|
+
ATTRIBUTES: ['RemoveHeadersOnCopy', 'CodeSignOnCopy'],
|
|
426
|
+
},
|
|
427
|
+
// Device iOS only — Simulator hosts cannot embed watchOS binaries.
|
|
428
|
+
platformFilter: 'ios',
|
|
429
|
+
};
|
|
430
|
+
buildFileSection[`${buildFileUuid}_comment`] =
|
|
431
|
+
`${targetProductName}.app in Embed Watch Content`;
|
|
432
|
+
phase.files.push({
|
|
433
|
+
value: buildFileUuid,
|
|
434
|
+
comment: `${targetProductName}.app in Embed Watch Content`,
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
exports.configureWatchContentEmbed = configureWatchContentEmbed;
|
|
438
|
+
/**
|
|
439
|
+
* Embed a watchOS WidgetKit appex into the Watch companion (PlugIns), not the
|
|
440
|
+
* phone host. Reuses that watch target's "Embed App Extensions" phase.
|
|
441
|
+
*/
|
|
442
|
+
function configureWatchAppExtensionEmbed({ project, watchTargetUuid, target, targetProductName, }) {
|
|
443
|
+
const xcodeProject = project;
|
|
444
|
+
const appexFileRef = target.pbxNativeTarget?.productReference || target.target?.productReference;
|
|
445
|
+
if (!appexFileRef) {
|
|
446
|
+
return;
|
|
447
|
+
}
|
|
448
|
+
const phase = ensureWatchAppExtensionEmbedPhase({
|
|
449
|
+
project,
|
|
450
|
+
watchTargetUuid,
|
|
451
|
+
});
|
|
452
|
+
if (!phase) {
|
|
453
|
+
return;
|
|
454
|
+
}
|
|
455
|
+
phase.dstPath = '""';
|
|
456
|
+
phase.dstSubfolderSpec = APP_EXTENSION_DST_SUBFOLDER_SPEC;
|
|
457
|
+
phase.name = `"${EMBED_PHASE_NAME}"`;
|
|
458
|
+
if (!phase.files) {
|
|
459
|
+
phase.files = [];
|
|
460
|
+
}
|
|
461
|
+
const buildFileSection = xcodeProject.hash.project.objects.PBXBuildFile;
|
|
462
|
+
const alreadyEmbedded = phase.files.some((file) => buildFileSection?.[file.value]?.fileRef === appexFileRef);
|
|
463
|
+
if (alreadyEmbedded) {
|
|
464
|
+
return;
|
|
465
|
+
}
|
|
466
|
+
const buildFileUuid = xcodeProject.generateUuid();
|
|
467
|
+
buildFileSection[buildFileUuid] = {
|
|
468
|
+
isa: 'PBXBuildFile',
|
|
469
|
+
fileRef: appexFileRef,
|
|
470
|
+
settings: {
|
|
471
|
+
ATTRIBUTES: ['RemoveHeadersOnCopy', 'CodeSignOnCopy'],
|
|
472
|
+
},
|
|
473
|
+
};
|
|
474
|
+
buildFileSection[`${buildFileUuid}_comment`] =
|
|
475
|
+
`${targetProductName}.appex in Embed App Extensions`;
|
|
476
|
+
phase.files.push({
|
|
477
|
+
value: buildFileUuid,
|
|
478
|
+
comment: `${targetProductName}.appex in Embed App Extensions`,
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
exports.configureWatchAppExtensionEmbed = configureWatchAppExtensionEmbed;
|
|
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
|
+
exports.removeAppExtensionFromHostEmbed = removeAppExtensionFromHostEmbed;
|
|
538
|
+
function findWatchAppExtensionEmbedPhase({ project, watchTargetUuid, }) {
|
|
539
|
+
const xcodeProject = project;
|
|
540
|
+
const copyFilesPhases = xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase || {};
|
|
541
|
+
const watchTarget = xcodeProject.hash.project.objects.PBXNativeTarget?.[watchTargetUuid];
|
|
542
|
+
for (const entry of watchTarget?.buildPhases || []) {
|
|
543
|
+
const phase = copyFilesPhases[entry.value];
|
|
544
|
+
if (!phase) {
|
|
545
|
+
continue;
|
|
546
|
+
}
|
|
547
|
+
const isEmbedPhase = phase.name === `"${EMBED_PHASE_NAME}"` ||
|
|
548
|
+
copyFilesPhases[`${entry.value}_comment`] === EMBED_PHASE_NAME ||
|
|
549
|
+
(phase.dstSubfolderSpec === APP_EXTENSION_DST_SUBFOLDER_SPEC &&
|
|
550
|
+
Array.isArray(phase.files));
|
|
551
|
+
if (isEmbedPhase) {
|
|
552
|
+
return { uuid: entry.value, phase };
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
function ensureWatchAppExtensionEmbedPhase({ project, watchTargetUuid, }) {
|
|
557
|
+
const existing = findWatchAppExtensionEmbedPhase({
|
|
558
|
+
project,
|
|
559
|
+
watchTargetUuid,
|
|
560
|
+
});
|
|
561
|
+
if (existing) {
|
|
562
|
+
return existing.phase;
|
|
563
|
+
}
|
|
564
|
+
const xcodeProject = project;
|
|
565
|
+
const embedPhaseResult = xcodeProject.addBuildPhase([], 'PBXCopyFilesBuildPhase', EMBED_PHASE_NAME, watchTargetUuid);
|
|
566
|
+
const embedPhaseUuid = embedPhaseResult?.uuid || embedPhaseResult;
|
|
567
|
+
if (!embedPhaseUuid) {
|
|
568
|
+
return;
|
|
569
|
+
}
|
|
570
|
+
return xcodeProject.hash.project.objects.PBXCopyFilesBuildPhase?.[embedPhaseUuid];
|
|
571
|
+
}
|
|
572
|
+
//# sourceMappingURL=embed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed.js","sourceRoot":"","sources":["../../../../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,CAAC,IAAI,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,SAAS,wBAAwB,CAC/B,EAAE,cAAc,EAAe,EAC/B,SAAc;IAEd,MAAM,OAAO,GAAG,cAAc,EAAE,CAAC,SAAS,CAAC,OAAO,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