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,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.addFileToBuildPhase = exports.removeBuildPhases = exports.hasBuildPhase = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Build phase inspection and mutation for native targets.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Check if target already has a specific build phase type
|
|
9
|
+
*/
|
|
10
|
+
function hasBuildPhase({ project, targetUuid, phaseType, }) {
|
|
11
|
+
const xcodeProject = project;
|
|
12
|
+
const target = xcodeProject.hash.project.objects.PBXNativeTarget[targetUuid];
|
|
13
|
+
if (!target?.buildPhases) {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
const phaseSection = xcodeProject.hash.project.objects[phaseType];
|
|
17
|
+
if (!phaseSection) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
return target.buildPhases.some((phase) => {
|
|
21
|
+
const phaseUuid = phase.value;
|
|
22
|
+
return phaseSection[phaseUuid] !== undefined;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
exports.hasBuildPhase = hasBuildPhase;
|
|
26
|
+
/**
|
|
27
|
+
* Remove build phases of a specific type from target
|
|
28
|
+
*/
|
|
29
|
+
function removeBuildPhases({ project, targetUuid, phaseType, }) {
|
|
30
|
+
const xcodeProject = project;
|
|
31
|
+
const target = xcodeProject.hash.project.objects.PBXNativeTarget[targetUuid];
|
|
32
|
+
if (!target?.buildPhases) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const phaseSection = xcodeProject.hash.project.objects[phaseType];
|
|
36
|
+
if (!phaseSection) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
// Find matching phase UUIDs
|
|
40
|
+
const phasesToRemove = [];
|
|
41
|
+
for (const phase of target.buildPhases) {
|
|
42
|
+
if (phaseSection[phase.value]) {
|
|
43
|
+
phasesToRemove.push(phase.value);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
// Remove phases from target's buildPhases array
|
|
47
|
+
target.buildPhases = target.buildPhases.filter((phase) => !phasesToRemove.includes(phase.value));
|
|
48
|
+
// Remove phase objects and comments from section
|
|
49
|
+
for (const phaseUuid of phasesToRemove) {
|
|
50
|
+
delete phaseSection[phaseUuid];
|
|
51
|
+
delete phaseSection[`${phaseUuid}_comment`];
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.removeBuildPhases = removeBuildPhases;
|
|
55
|
+
/**
|
|
56
|
+
* Add file to specific build phase by file reference UUID.
|
|
57
|
+
*/
|
|
58
|
+
function addFileToBuildPhase({ project, targetUuid, fileRefUuid, phaseType, }) {
|
|
59
|
+
const xcodeProject = project;
|
|
60
|
+
const target = xcodeProject.hash.project.objects.PBXNativeTarget[targetUuid];
|
|
61
|
+
if (!target?.buildPhases) {
|
|
62
|
+
throw new Error(`Target ${targetUuid} not found or has no build phases`);
|
|
63
|
+
}
|
|
64
|
+
// Find the build phase
|
|
65
|
+
const phaseUuid = target.buildPhases.find((phase) => {
|
|
66
|
+
const phaseObj = xcodeProject.hash.project.objects[phaseType][phase.value];
|
|
67
|
+
return phaseObj !== undefined;
|
|
68
|
+
})?.value;
|
|
69
|
+
if (!phaseUuid) {
|
|
70
|
+
throw new Error(`Build phase ${phaseType} not found for target ${targetUuid}`);
|
|
71
|
+
}
|
|
72
|
+
const phase = xcodeProject.hash.project.objects[phaseType][phaseUuid];
|
|
73
|
+
// Check if file already exists in build phase
|
|
74
|
+
if (phase.files) {
|
|
75
|
+
const existingFile = phase.files.find((file) => {
|
|
76
|
+
const buildFile = xcodeProject.hash.project.objects.PBXBuildFile[file.value];
|
|
77
|
+
return buildFile && buildFile.fileRef === fileRefUuid;
|
|
78
|
+
});
|
|
79
|
+
if (existingFile) {
|
|
80
|
+
return; // Already added
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// Create PBXBuildFile
|
|
84
|
+
const buildFileUuid = xcodeProject.generateUuid();
|
|
85
|
+
xcodeProject.hash.project.objects.PBXBuildFile[buildFileUuid] = {
|
|
86
|
+
isa: 'PBXBuildFile',
|
|
87
|
+
fileRef: fileRefUuid,
|
|
88
|
+
};
|
|
89
|
+
xcodeProject.hash.project.objects.PBXBuildFile[`${buildFileUuid}_comment`] =
|
|
90
|
+
`Referenced file in ${phaseType}`;
|
|
91
|
+
// Add to phase
|
|
92
|
+
if (!phase.files) {
|
|
93
|
+
phase.files = [];
|
|
94
|
+
}
|
|
95
|
+
phase.files.push({
|
|
96
|
+
value: buildFileUuid,
|
|
97
|
+
comment: 'Referenced file',
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
exports.addFileToBuildPhase = addFileToBuildPhase;
|
|
101
|
+
//# sourceMappingURL=buildPhases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildPhases.js","sourceRoot":"","sources":["../../../../src/ios/apply/pbx/buildPhases.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AAEH;;GAEG;AACH,SAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,UAAU,EACV,SAAS,GAKV;IACC,MAAM,YAAY,GAAG,OAAc,CAAC;IACpC,MAAM,MAAM,GAAG,YAAY,CAAC,I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,CAAC,CAAC;IAEtE,8CAA8C;IAC9C,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;QAChB,MAAM,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAS,EAAE,EAAE;YAClD,MAAM,SAAS,GACb,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC7D,OAAO,SAAS,IAAI,SAAS,CAAC,OAAO,KAAK,WAAW,CAAC;QACxD,CAAC,CAAC,CAAC;QACH,IAAI,YAAY,EAAE,CAAC;YACjB,OAAO,CAAC,gBAAgB;QAC1B,CAAC;IACH,CAAC;IAED,sBAAsB;IACtB,MAAM,aAAa,GAAG,YAAY,CAAC,YAAY,EAAE,CAAC;IAClD,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,aAAa,CAAC,GAAG;QAC9D,GAAG,EAAE,cAAc;QACnB,OAAO,EAAE,WAAW;KACrB,CAAC;IACF,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,aAAa,UAAU,CAAC;QACxE,sBAAsB,SAAS,EAAE,CAAC;IAEpC,eAAe;IACf,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;QACjB,KAAK,CAAC,KAAK,GAAG,EAAE,CAAC;IACnB,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC;QACf,KAAK,EAAE,aAAa;QACpB,OAAO,EAAE,iBAAiB;KAC3B,CAAC,CAAC;AACL,CAAC;AAhED,kDAgEC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { XcodeProject } from '@expo/config-plugins';
|
|
2
|
+
import type { XcodeTarget } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Apply build settings to all configurations of a target.
|
|
5
|
+
*/
|
|
6
|
+
export declare function applyBuildSettings({ project, target, buildSettings, verbose, logger, }: {
|
|
7
|
+
project: XcodeProject;
|
|
8
|
+
target: XcodeTarget;
|
|
9
|
+
buildSettings: Record<string, string | string[]>;
|
|
10
|
+
verbose?: boolean;
|
|
11
|
+
logger?: {
|
|
12
|
+
log: (message: string) => void;
|
|
13
|
+
};
|
|
14
|
+
}): void;
|
|
15
|
+
/**
|
|
16
|
+
* Remove a build setting from all configurations of a target.
|
|
17
|
+
*/
|
|
18
|
+
export declare function removeBuildSetting({ project, target, settingKey, verbose, logger, }: {
|
|
19
|
+
project: XcodeProject;
|
|
20
|
+
target: XcodeTarget;
|
|
21
|
+
settingKey: string;
|
|
22
|
+
verbose?: boolean;
|
|
23
|
+
logger?: {
|
|
24
|
+
log: (message: string) => void;
|
|
25
|
+
};
|
|
26
|
+
}): void;
|
|
27
|
+
/**
|
|
28
|
+
* Get build settings from the main app target.
|
|
29
|
+
*/
|
|
30
|
+
export declare function getMainAppBuildSettings({ project, mainTarget, }: {
|
|
31
|
+
project: XcodeProject;
|
|
32
|
+
mainTarget: {
|
|
33
|
+
uuid: string;
|
|
34
|
+
target: any;
|
|
35
|
+
};
|
|
36
|
+
}): Record<string, any>;
|
|
37
|
+
//# sourceMappingURL=buildSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildSettings.d.ts","sourceRoot":"","sources":["../../../../src/ios/apply/pbx/buildSettings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAgC3C;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,MAAM,EACN,aAAa,EACb,OAAe,EACf,MAAM,GACP,EAAE;IACD,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,WAAW,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAC;CAC7C,GAAG,IAAI,CA2BP;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,MAAM,EACN,UAAU,EACV,OAAe,EACf,MAAM,GACP,EAAE;IACD,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,WAAW,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAC;CAC7C,GAAG,IAAI,CA2BP;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,UAAU,GACX,EAAE;IACD,OAAO,EAAE,YAAY,CAAC;IACtB,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,GAAG,CAAA;KAAE,CAAC;CAC3C,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAYtB"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMainAppBuildSettings = exports.removeBuildSetting = exports.applyBuildSettings = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Reading and writing XCBuildConfiguration build settings.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Settings worth naming individually in verbose output — they are the two that
|
|
9
|
+
* commonly break an extension build when they drift from the host app.
|
|
10
|
+
*/
|
|
11
|
+
const VERBOSE_LOGGED_SETTINGS = new Set([
|
|
12
|
+
'SWIFT_VERSION',
|
|
13
|
+
'IPHONEOS_DEPLOYMENT_TARGET',
|
|
14
|
+
]);
|
|
15
|
+
function writeBuildSettings({ configSection, buildSettings, verboseLogger, }) {
|
|
16
|
+
for (const [key, value] of Object.entries(buildSettings)) {
|
|
17
|
+
configSection.buildSettings[key] = value;
|
|
18
|
+
if (VERBOSE_LOGGED_SETTINGS.has(key)) {
|
|
19
|
+
verboseLogger?.log(` Set ${key}=${value} to ${configSection.name}`);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Apply build settings to all configurations of a target.
|
|
25
|
+
*/
|
|
26
|
+
function applyBuildSettings({ project, target, buildSettings, verbose = false, logger, }) {
|
|
27
|
+
const xcodeProject = project;
|
|
28
|
+
const targetBuildConfigId = target.pbxNativeTarget?.buildConfigurationList ||
|
|
29
|
+
target.target?.buildConfigurationList;
|
|
30
|
+
const buildConfigList = xcodeProject.pbxXCConfigurationList()[targetBuildConfigId];
|
|
31
|
+
if (!buildConfigList?.buildConfigurations) {
|
|
32
|
+
logger?.log('No build configurations found for target');
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const verboseLogger = verbose ? logger : undefined;
|
|
36
|
+
for (const config of buildConfigList.buildConfigurations) {
|
|
37
|
+
const configSection = xcodeProject.pbxXCBuildConfigurationSection()[config.value];
|
|
38
|
+
verboseLogger?.log(` Configuring ${configSection?.name} build settings`);
|
|
39
|
+
if (configSection?.buildSettings) {
|
|
40
|
+
writeBuildSettings({ configSection, buildSettings, verboseLogger });
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.applyBuildSettings = applyBuildSettings;
|
|
45
|
+
/**
|
|
46
|
+
* Remove a build setting from all configurations of a target.
|
|
47
|
+
*/
|
|
48
|
+
function removeBuildSetting({ project, target, settingKey, verbose = false, logger, }) {
|
|
49
|
+
const xcodeProject = project;
|
|
50
|
+
const targetBuildConfigId = target.pbxNativeTarget?.buildConfigurationList ||
|
|
51
|
+
target.target?.buildConfigurationList;
|
|
52
|
+
const buildConfigList = xcodeProject.pbxXCConfigurationList()[targetBuildConfigId];
|
|
53
|
+
if (!buildConfigList?.buildConfigurations) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const verboseLogger = verbose ? logger : undefined;
|
|
57
|
+
for (const config of buildConfigList.buildConfigurations) {
|
|
58
|
+
const configSection = xcodeProject.pbxXCBuildConfigurationSection()[config.value];
|
|
59
|
+
if (configSection?.buildSettings?.[settingKey]) {
|
|
60
|
+
delete configSection.buildSettings[settingKey];
|
|
61
|
+
verboseLogger?.log(` Removed ${settingKey} from ${configSection.name}`);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.removeBuildSetting = removeBuildSetting;
|
|
66
|
+
/**
|
|
67
|
+
* Get build settings from the main app target.
|
|
68
|
+
*/
|
|
69
|
+
function getMainAppBuildSettings({ project, mainTarget, }) {
|
|
70
|
+
const xcodeProject = project;
|
|
71
|
+
const mainTargetBuildConfigId = mainTarget.target?.buildConfigurationList;
|
|
72
|
+
const mainBuildConfigList = xcodeProject.pbxXCConfigurationList()[mainTargetBuildConfigId];
|
|
73
|
+
const mainBuildConfig = mainBuildConfigList?.buildConfigurations?.[0]?.value;
|
|
74
|
+
return mainBuildConfig
|
|
75
|
+
? xcodeProject.pbxXCBuildConfigurationSection()[mainBuildConfig]
|
|
76
|
+
?.buildSettings || {}
|
|
77
|
+
: {};
|
|
78
|
+
}
|
|
79
|
+
exports.getMainAppBuildSettings = getMainAppBuildSettings;
|
|
80
|
+
//# sourceMappingURL=buildSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildSettings.js","sourceRoot":"","sources":["../../../../src/ios/apply/pbx/buildSettings.ts"],"names":[],"mappings":";;;AAIA;;GAEG;AAEH;;;GAGG;AACH,MAAM,uBAAuB,GAAG,IAAI,GAAG,CAAC;IACtC,eAAe;IACf,4BAA4B;CAC7B,CAAC,CAAC;AAEH,SAAS,kBAAkB,CAAC,EAC1B,aAAa,EACb,aAAa,E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Ae,GAAG,mBAAmB,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC;IAE7E,OAAO,eAAe;QACpB,CAAC,CAAC,YAAY,CAAC,8BAA8B,EAAE,CAAC,eAAe,CAAC;YAC5D,EAAE,aAAa,IAAI,EAAE;QACzB,CAAC,CAAC,EAAE,CAAC;AACT,CAAC;AAlBD,0DAkBC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { XcodeProject } from '@expo/config-plugins';
|
|
2
|
+
import type { Logger } from '../../../logger';
|
|
3
|
+
import type { BundleReactNativePlan } from '../../plan/types';
|
|
4
|
+
/**
|
|
5
|
+
* Shell phase for RN extension/clip targets. Mirrors the Expo host script, but
|
|
6
|
+
* pins `ENTRY_FILE` to this target's entry so Release embeds the correct
|
|
7
|
+
* `main.jsbundle` into the appex (not the host app entry).
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildExtensionBundleShellScript(entryFile: string): string;
|
|
10
|
+
/**
|
|
11
|
+
* Ensure the target has an idempotent Bundle RN shell phase for `plan`.
|
|
12
|
+
*/
|
|
13
|
+
export declare function ensureBundleReactNativePhase({ project, targetUuid, plan, logger, }: {
|
|
14
|
+
project: XcodeProject;
|
|
15
|
+
targetUuid: string;
|
|
16
|
+
plan: BundleReactNativePlan;
|
|
17
|
+
logger?: Logger;
|
|
18
|
+
}): void;
|
|
19
|
+
//# sourceMappingURL=bundleReactNative.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundleReactNative.d.ts","sourceRoot":"","sources":["../../../../src/ios/apply/pbx/bundleReactNative.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAI9D;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CA6DzE;AAiDD;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,EAC3C,OAAO,EACP,UAAU,EACV,IAAI,EACJ,MAAM,GACP,EAAE;IACD,OAAO,EAAE,YAAY,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,qBAAqB,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,IAAI,CA8BP"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ensureBundleReactNativePhase = exports.buildExtensionBundleShellScript = void 0;
|
|
4
|
+
const PHASE_NAME = 'Bundle React Native code and images';
|
|
5
|
+
/**
|
|
6
|
+
* Shell phase for RN extension/clip targets. Mirrors the Expo host script, but
|
|
7
|
+
* pins `ENTRY_FILE` to this target's entry so Release embeds the correct
|
|
8
|
+
* `main.jsbundle` into the appex (not the host app entry).
|
|
9
|
+
*/
|
|
10
|
+
function buildExtensionBundleShellScript(entryFile) {
|
|
11
|
+
// entryFile is project-root relative; keep it free of shell metacharacters.
|
|
12
|
+
const safeEntry = entryFile.replace(/"/g, '');
|
|
13
|
+
return `if [[ -f "$PODS_ROOT/../.xcode.env" ]]; then
|
|
14
|
+
source "$PODS_ROOT/../.xcode.env"
|
|
15
|
+
fi
|
|
16
|
+
if [[ -f "$PODS_ROOT/../.xcode.env.local" ]]; then
|
|
17
|
+
source "$PODS_ROOT/../.xcode.env.local"
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
# The project root by default is one level up from the ios directory
|
|
21
|
+
export PROJECT_ROOT="$PROJECT_DIR"/..
|
|
22
|
+
|
|
23
|
+
# Pin this target's JS entry (not the host app entry).
|
|
24
|
+
export ENTRY_FILE="$PROJECT_ROOT/${safeEntry}"
|
|
25
|
+
|
|
26
|
+
if [[ "$CONFIGURATION" = *Debug* ]]; then
|
|
27
|
+
export SKIP_BUNDLING=1
|
|
28
|
+
fi
|
|
29
|
+
|
|
30
|
+
if [[ -z "$CLI_PATH" ]]; then
|
|
31
|
+
# Use Expo CLI
|
|
32
|
+
export CLI_PATH="$("$NODE_BINARY" --print "require.resolve('@expo/cli', { paths: [require.resolve('expo/package.json')] })")"
|
|
33
|
+
fi
|
|
34
|
+
if [[ -z "$BUNDLE_COMMAND" ]]; then
|
|
35
|
+
# Default Expo CLI command for bundling
|
|
36
|
+
export BUNDLE_COMMAND="export:embed"
|
|
37
|
+
fi
|
|
38
|
+
|
|
39
|
+
# Source .xcode.env.updates if it exists to allow
|
|
40
|
+
# SKIP_BUNDLING to be unset if needed
|
|
41
|
+
if [[ -f "$PODS_ROOT/../.xcode.env.updates" ]]; then
|
|
42
|
+
source "$PODS_ROOT/../.xcode.env.updates"
|
|
43
|
+
fi
|
|
44
|
+
# Source local changes to allow overrides
|
|
45
|
+
# if needed
|
|
46
|
+
if [[ -f "$PODS_ROOT/../.xcode.env.local" ]]; then
|
|
47
|
+
source "$PODS_ROOT/../.xcode.env.local"
|
|
48
|
+
fi
|
|
49
|
+
|
|
50
|
+
\`"$NODE_BINARY" --print "require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'"\`
|
|
51
|
+
|
|
52
|
+
# App Clip / appex: export:embed often leaves main.jsbundle in
|
|
53
|
+
# CONFIGURATION_BUILD_DIR; Xcode's later "Create .app" can also drop an
|
|
54
|
+
# in-wrapper copy. Persist a stable sidecar for the host embed phase.
|
|
55
|
+
for candidate in \\
|
|
56
|
+
"$CONFIGURATION_BUILD_DIR/main.jsbundle" \\
|
|
57
|
+
"$TARGET_BUILD_DIR/main.jsbundle" \\
|
|
58
|
+
"$TARGET_BUILD_DIR/$WRAPPER_NAME/main.jsbundle"
|
|
59
|
+
do
|
|
60
|
+
if [[ -f "$candidate" ]]; then
|
|
61
|
+
WRAPPER="\${TARGET_BUILD_DIR}/\${WRAPPER_NAME}"
|
|
62
|
+
mkdir -p "$WRAPPER"
|
|
63
|
+
cp "$candidate" "$WRAPPER/main.jsbundle" || true
|
|
64
|
+
# Sidecar next to the .app so host post-embed can re-copy after Create.
|
|
65
|
+
cp "$candidate" "\${CONFIGURATION_BUILD_DIR}/\${PRODUCT_NAME}-main.jsbundle"
|
|
66
|
+
echo "expo-targets: placed main.jsbundle ($candidate → wrapper + sidecar)"
|
|
67
|
+
break
|
|
68
|
+
fi
|
|
69
|
+
done
|
|
70
|
+
`;
|
|
71
|
+
}
|
|
72
|
+
exports.buildExtensionBundleShellScript = buildExtensionBundleShellScript;
|
|
73
|
+
/** Quote a string the way Expo writes host Bundle RN phases (single-line + \\n). */
|
|
74
|
+
function toPbxString(value) {
|
|
75
|
+
return `"${value
|
|
76
|
+
.replace(/\\/g, '\\\\')
|
|
77
|
+
.replace(/"/g, '\\"')
|
|
78
|
+
.replace(/\n/g, '\\n')}"`;
|
|
79
|
+
}
|
|
80
|
+
function findShellScriptPhase({ project, targetUuid, phaseName, }) {
|
|
81
|
+
const xcodeProject = project;
|
|
82
|
+
const target = xcodeProject.hash.project.objects.PBXNativeTarget[targetUuid];
|
|
83
|
+
const section = xcodeProject.hash.project.objects.PBXShellScriptBuildPhase;
|
|
84
|
+
if (!(target?.buildPhases && section)) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const quoted = `"${phaseName}"`;
|
|
88
|
+
for (const ref of target.buildPhases) {
|
|
89
|
+
const phase = section[ref.value];
|
|
90
|
+
if (!phase)
|
|
91
|
+
continue;
|
|
92
|
+
if (phase.name === phaseName || phase.name === quoted) {
|
|
93
|
+
return { uuid: ref.value, phase };
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
function applyPhaseFields(phase, shellScript) {
|
|
98
|
+
phase.name = `"${PHASE_NAME}"`;
|
|
99
|
+
phase.shellPath = '/bin/sh';
|
|
100
|
+
phase.shellScript = toPbxString(shellScript);
|
|
101
|
+
phase.alwaysOutOfDate = 1;
|
|
102
|
+
phase.inputPaths = [
|
|
103
|
+
'"$(SRCROOT)/.xcode.env"',
|
|
104
|
+
'"$(SRCROOT)/.xcode.env.local"',
|
|
105
|
+
];
|
|
106
|
+
phase.outputPaths = [];
|
|
107
|
+
phase.runOnlyForDeploymentPostprocessing = 0;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Ensure the target has an idempotent Bundle RN shell phase for `plan`.
|
|
111
|
+
*/
|
|
112
|
+
function ensureBundleReactNativePhase({ project, targetUuid, plan, logger, }) {
|
|
113
|
+
const xcodeProject = project;
|
|
114
|
+
const shellScript = buildExtensionBundleShellScript(plan.entryFile);
|
|
115
|
+
const existing = findShellScriptPhase({
|
|
116
|
+
project,
|
|
117
|
+
targetUuid,
|
|
118
|
+
phaseName: PHASE_NAME,
|
|
119
|
+
});
|
|
120
|
+
if (existing) {
|
|
121
|
+
applyPhaseFields(existing.phase, shellScript);
|
|
122
|
+
logger?.log(`Updated ${PHASE_NAME} for entry ${plan.entryFile}`);
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
// Create the phase shell, then overwrite fields so quoting matches Expo host.
|
|
126
|
+
const { buildPhase } = xcodeProject.addBuildPhase([], 'PBXShellScriptBuildPhase', PHASE_NAME, targetUuid, {
|
|
127
|
+
shellPath: '/bin/sh',
|
|
128
|
+
shellScript: ':',
|
|
129
|
+
inputPaths: [],
|
|
130
|
+
outputPaths: [],
|
|
131
|
+
});
|
|
132
|
+
applyPhaseFields(buildPhase, shellScript);
|
|
133
|
+
logger?.log(`Added ${PHASE_NAME} for entry ${plan.entryFile}`);
|
|
134
|
+
}
|
|
135
|
+
exports.ensureBundleReactNativePhase = ensureBundleReactNativePhase;
|
|
136
|
+
//# sourceMappingURL=bundleReactNative.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundleReactNative.js","sourceRoot":"","sources":["../../../../src/ios/apply/pbx/bundleReactNative.ts"],"names":[],"mapp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,EAAE;KAChB,CACF,CAAC;IACF,gBAAgB,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IAC1C,MAAM,EAAE,GAAG,CAAC,SAAS,UAAU,cAAc,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;AACjE,CAAC;AAxCD,oEAwCC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { XcodeProject } from '@expo/config-plugins';
|
|
2
|
+
import type { Logger } from '../../../logger';
|
|
3
|
+
/**
|
|
4
|
+
* Host post-embed script: RN App Clips link Expo/RN via @rpath but CocoaPods
|
|
5
|
+
* only embeds frameworks into the host (`inherit! :search_paths` on the clip).
|
|
6
|
+
* App Clips are separate processes, so copy host Frameworks into the nested
|
|
7
|
+
* AppClips/*.app after both products exist.
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildCopyFrameworksIntoAppClipScript(clipProductName: string): string;
|
|
10
|
+
/**
|
|
11
|
+
* Idempotent host shell phase: copy Frameworks into AppClips/<clip>.app.
|
|
12
|
+
* Only needed for React Native App Clips (dynamic @rpath Expo/RN frameworks).
|
|
13
|
+
*/
|
|
14
|
+
export declare function ensureCopyFrameworksIntoAppClipPhase({ project, mainTargetUuid, clipProductName, logger, }: {
|
|
15
|
+
project: XcodeProject;
|
|
16
|
+
mainTargetUuid: string;
|
|
17
|
+
clipProductName: string;
|
|
18
|
+
logger?: Logger;
|
|
19
|
+
}): void;
|
|
20
|
+
/**
|
|
21
|
+
* CocoaPods appends `[CP] Embed Pods Frameworks` after prebuild — inject this
|
|
22
|
+
* into `post_install` so the copy phase stays last.
|
|
23
|
+
*/
|
|
24
|
+
export declare function buildReorderAppClipFrameworksCopyPhaseRuby(mainTargetName: string): string;
|
|
25
|
+
//# sourceMappingURL=copyFrameworksIntoAppClip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyFrameworksIntoAppClip.d.ts","sourceRoot":"","sources":["../../../../src/ios/apply/pbx/copyFrameworksIntoAppClip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAY9C;;;;;GAKG;AACH,wBAAgB,oCAAoC,CAClD,eAAe,EAAE,MAAM,GACtB,MAAM,CA+DR;AAsCD;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,EACnD,OAAO,EACP,cAAc,EACd,eAAe,EACf,MAAM,GACP,EAAE;IACD,OAAO,EAAE,YAAY,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,IAAI,CAiDP;AAoBD;;;GAGG;AACH,wBAAgB,0CAA0C,CACxD,cAAc,EAAE,MAAM,GACrB,MAAM,CAwBR"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildReorderAppClipFrameworksCopyPhaseRuby = exports.ensureCopyFrameworksIntoAppClipPhase = exports.buildCopyFrameworksIntoAppClipScript = void 0;
|
|
4
|
+
const PHASE_NAME = '[expo-targets] Copy Frameworks into App Clip';
|
|
5
|
+
/** Quote a string the way Expo writes host shell phases (single-line + \\n). */
|
|
6
|
+
function toPbxString(value) {
|
|
7
|
+
return `"${value
|
|
8
|
+
.replace(/\\/g, '\\\\')
|
|
9
|
+
.replace(/"/g, '\\"')
|
|
10
|
+
.replace(/\n/g, '\\n')}"`;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Host post-embed script: RN App Clips link Expo/RN via @rpath but CocoaPods
|
|
14
|
+
* only embeds frameworks into the host (`inherit! :search_paths` on the clip).
|
|
15
|
+
* App Clips are separate processes, so copy host Frameworks into the nested
|
|
16
|
+
* AppClips/*.app after both products exist.
|
|
17
|
+
*/
|
|
18
|
+
function buildCopyFrameworksIntoAppClipScript(clipProductName) {
|
|
19
|
+
const safe = clipProductName.replace(/"/g, '').replace(/\.app$/i, '');
|
|
20
|
+
return `set -euo pipefail
|
|
21
|
+
HOST_APP="\${TARGET_BUILD_DIR}/\${FULL_PRODUCT_NAME}"
|
|
22
|
+
CLIP_APP="\${HOST_APP}/AppClips/${safe}.app"
|
|
23
|
+
HOST_FW="\${HOST_APP}/Frameworks"
|
|
24
|
+
CLIP_FW="\${CLIP_APP}/Frameworks"
|
|
25
|
+
|
|
26
|
+
# CocoaPods may schedule [CP] Embed Pods Frameworks after this phase — run
|
|
27
|
+
# the host embed script first so Frameworks exist before we copy.
|
|
28
|
+
EMBED_SH=$(ls "$PODS_ROOT/Target Support Files"/Pods-*/Pods-*-frameworks.sh 2>/dev/null | grep -v '${safe}' | head -1 || true)
|
|
29
|
+
if [[ -n "\${EMBED_SH:-}" && -f "$EMBED_SH" ]]; then
|
|
30
|
+
export FRAMEWORKS_FOLDER_PATH="\${FULL_PRODUCT_NAME}/Frameworks"
|
|
31
|
+
/bin/sh "$EMBED_SH" || true
|
|
32
|
+
fi
|
|
33
|
+
|
|
34
|
+
if [[ ! -d "$HOST_FW" ]]; then
|
|
35
|
+
echo "note: no host Frameworks at $HOST_FW — skip App Clip framework copy"
|
|
36
|
+
exit 0
|
|
37
|
+
fi
|
|
38
|
+
if [[ ! -d "$CLIP_APP" ]]; then
|
|
39
|
+
echo "warning: App Clip missing at $CLIP_APP — skip framework copy"
|
|
40
|
+
exit 0
|
|
41
|
+
fi
|
|
42
|
+
mkdir -p "$CLIP_FW"
|
|
43
|
+
rsync -a "$HOST_FW/" "$CLIP_FW/"
|
|
44
|
+
echo "Copied host Frameworks into $CLIP_FW"
|
|
45
|
+
|
|
46
|
+
# Sibling product (BUILT_PRODUCTS_DIR/${safe}.app) is what Xcode/simctl
|
|
47
|
+
# install when launching the App Clip scheme — keep it in sync too.
|
|
48
|
+
SIBLING_APP="\${BUILT_PRODUCTS_DIR}/${safe}.app"
|
|
49
|
+
if [[ -d "$SIBLING_APP" && "$SIBLING_APP" != "$CLIP_APP" ]]; then
|
|
50
|
+
mkdir -p "$SIBLING_APP/Frameworks"
|
|
51
|
+
rsync -a "$HOST_FW/" "$SIBLING_APP/Frameworks/"
|
|
52
|
+
echo "Copied host Frameworks into $SIBLING_APP/Frameworks"
|
|
53
|
+
fi
|
|
54
|
+
|
|
55
|
+
# Re-apply JS bundle after Embed App Clips (Create .app can drop it).
|
|
56
|
+
copy_jsbundle() {
|
|
57
|
+
local dest="$1"
|
|
58
|
+
if [[ -f "$dest/main.jsbundle" ]]; then
|
|
59
|
+
return 0
|
|
60
|
+
fi
|
|
61
|
+
for candidate in \\
|
|
62
|
+
"\${CONFIGURATION_BUILD_DIR}/${safe}-main.jsbundle" \\
|
|
63
|
+
"\${BUILT_PRODUCTS_DIR}/${safe}-main.jsbundle" \\
|
|
64
|
+
"\${TARGET_BUILD_DIR}/${safe}.app/main.jsbundle" \\
|
|
65
|
+
"\${BUILT_PRODUCTS_DIR}/${safe}.app/main.jsbundle" \\
|
|
66
|
+
"$CLIP_APP/main.jsbundle"
|
|
67
|
+
do
|
|
68
|
+
if [[ -f "$candidate" ]]; then
|
|
69
|
+
cp "$candidate" "$dest/main.jsbundle"
|
|
70
|
+
echo "Copied JS bundle from $candidate → $dest"
|
|
71
|
+
return 0
|
|
72
|
+
fi
|
|
73
|
+
done
|
|
74
|
+
return 1
|
|
75
|
+
}
|
|
76
|
+
copy_jsbundle "$CLIP_APP" || echo "warning: no main.jsbundle for nested App Clip"
|
|
77
|
+
if [[ -d "\${SIBLING_APP:-}" ]]; then
|
|
78
|
+
copy_jsbundle "$SIBLING_APP" || true
|
|
79
|
+
fi
|
|
80
|
+
`;
|
|
81
|
+
}
|
|
82
|
+
exports.buildCopyFrameworksIntoAppClipScript = buildCopyFrameworksIntoAppClipScript;
|
|
83
|
+
function findShellScriptPhase({ project, targetUuid, phaseName, }) {
|
|
84
|
+
const xcodeProject = project;
|
|
85
|
+
const target = xcodeProject.hash.project.objects.PBXNativeTarget[targetUuid];
|
|
86
|
+
const section = xcodeProject.hash.project.objects.PBXShellScriptBuildPhase;
|
|
87
|
+
if (!(target?.buildPhases && section)) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
const quoted = `"${phaseName}"`;
|
|
91
|
+
for (const ref of target.buildPhases) {
|
|
92
|
+
const phase = section[ref.value];
|
|
93
|
+
if (!phase)
|
|
94
|
+
continue;
|
|
95
|
+
if (phase.name === phaseName || phase.name === quoted) {
|
|
96
|
+
return { uuid: ref.value, phase };
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
function applyPhaseFields(phase, shellScript) {
|
|
101
|
+
phase.name = `"${PHASE_NAME}"`;
|
|
102
|
+
phase.shellPath = '/bin/sh';
|
|
103
|
+
phase.shellScript = toPbxString(shellScript);
|
|
104
|
+
phase.alwaysOutOfDate = 1;
|
|
105
|
+
phase.inputPaths = [];
|
|
106
|
+
phase.outputPaths = [];
|
|
107
|
+
phase.runOnlyForDeploymentPostprocessing = 0;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Idempotent host shell phase: copy Frameworks into AppClips/<clip>.app.
|
|
111
|
+
* Only needed for React Native App Clips (dynamic @rpath Expo/RN frameworks).
|
|
112
|
+
*/
|
|
113
|
+
function ensureCopyFrameworksIntoAppClipPhase({ project, mainTargetUuid, clipProductName, logger, }) {
|
|
114
|
+
const xcodeProject = project;
|
|
115
|
+
const shellScript = buildCopyFrameworksIntoAppClipScript(clipProductName);
|
|
116
|
+
const existing = findShellScriptPhase({
|
|
117
|
+
project,
|
|
118
|
+
targetUuid: mainTargetUuid,
|
|
119
|
+
phaseName: PHASE_NAME,
|
|
120
|
+
});
|
|
121
|
+
if (existing) {
|
|
122
|
+
applyPhaseFields(existing.phase, shellScript);
|
|
123
|
+
movePhaseToEnd({
|
|
124
|
+
project: xcodeProject,
|
|
125
|
+
targetUuid: mainTargetUuid,
|
|
126
|
+
phaseUuid: existing.uuid,
|
|
127
|
+
});
|
|
128
|
+
logger?.log(`Updated ${PHASE_NAME} for ${clipProductName}`);
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
const added = xcodeProject.addBuildPhase([], 'PBXShellScriptBuildPhase', PHASE_NAME, mainTargetUuid, {
|
|
132
|
+
shellPath: '/bin/sh',
|
|
133
|
+
shellScript: ':',
|
|
134
|
+
inputPaths: [],
|
|
135
|
+
outputPaths: [],
|
|
136
|
+
});
|
|
137
|
+
applyPhaseFields(added.buildPhase, shellScript);
|
|
138
|
+
// Must run after CocoaPods embeds frameworks into the host .app.
|
|
139
|
+
const phaseUuid = added.uuid ??
|
|
140
|
+
findShellScriptPhase({
|
|
141
|
+
project,
|
|
142
|
+
targetUuid: mainTargetUuid,
|
|
143
|
+
phaseName: PHASE_NAME,
|
|
144
|
+
})?.uuid;
|
|
145
|
+
if (phaseUuid) {
|
|
146
|
+
movePhaseToEnd({
|
|
147
|
+
project: xcodeProject,
|
|
148
|
+
targetUuid: mainTargetUuid,
|
|
149
|
+
phaseUuid,
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
logger?.log(`Added ${PHASE_NAME} for ${clipProductName}`);
|
|
153
|
+
}
|
|
154
|
+
exports.ensureCopyFrameworksIntoAppClipPhase = ensureCopyFrameworksIntoAppClipPhase;
|
|
155
|
+
function movePhaseToEnd({ project, targetUuid, phaseUuid, }) {
|
|
156
|
+
const target = project.hash.project.objects.PBXNativeTarget[targetUuid];
|
|
157
|
+
if (!target?.buildPhases)
|
|
158
|
+
return;
|
|
159
|
+
const phases = target.buildPhases;
|
|
160
|
+
const idx = phases.findIndex((p) => p.value === phaseUuid);
|
|
161
|
+
if (idx < 0 || idx === phases.length - 1)
|
|
162
|
+
return;
|
|
163
|
+
const [phase] = phases.splice(idx, 1);
|
|
164
|
+
phases.push(phase);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* CocoaPods appends `[CP] Embed Pods Frameworks` after prebuild — inject this
|
|
168
|
+
* into `post_install` so the copy phase stays last.
|
|
169
|
+
*/
|
|
170
|
+
function buildReorderAppClipFrameworksCopyPhaseRuby(mainTargetName) {
|
|
171
|
+
const safe = mainTargetName.replace(/'/g, "\\'");
|
|
172
|
+
return `
|
|
173
|
+
# [expo-targets] Keep App Clip framework-copy after CocoaPods embed.
|
|
174
|
+
begin
|
|
175
|
+
require 'xcodeproj'
|
|
176
|
+
project_path = Dir.glob('*.xcodeproj').first
|
|
177
|
+
if project_path
|
|
178
|
+
project = Xcodeproj::Project.open(project_path)
|
|
179
|
+
target = project.targets.find { |t| t.name == '${safe}' }
|
|
180
|
+
phase_name = '[expo-targets] Copy Frameworks into App Clip'
|
|
181
|
+
if target
|
|
182
|
+
phase = target.shell_script_build_phases.find { |p| p.name == phase_name }
|
|
183
|
+
if phase
|
|
184
|
+
target.build_phases.delete(phase)
|
|
185
|
+
target.build_phases << phase
|
|
186
|
+
project.save
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
rescue => e
|
|
191
|
+
Pod::UI.puts "[expo-targets] skip App Clip phase reorder: #{e}"
|
|
192
|
+
end
|
|
193
|
+
`;
|
|
194
|
+
}
|
|
195
|
+
exports.buildReorderAppClipFrameworksCopyPhaseRuby = buildReorderAppClipFrameworksCopyPhaseRuby;
|
|
196
|
+
//# sourceMappingURL=copyFrameworksIntoAppClip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyFrameworksIntoAppClip.js","sourceRoot":"","sources":["../../../../src/ios/apply/pbx/copyFrameworksIntoAppClip.ts"],"names":[],"mappings":";;;AAIA,MAAM,UAAU,GAAG,8CAA8C,CAAC;AAElE,gFAAgF;AAChF,SAAS,WAAW,CAAC,KAAa;IAChC,OAAO,IAAI,KAAK;SACb,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAA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