Skip to main content

I  received this error when tried to build my app on EAS after installing
npx expo install react-native-purchases

npx expo install react-native-purchases-ui

 

Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ SwiftCompile normal arm64 Compiling\ PurchasesPlugin.swift /Users/expo/workingdir/build/node_modules/react-native-purchases-ui/ios/PurchasesPlugin.swift (in target 'RNPaywalls' from project 'Pods')
▸ SwiftCompile normal arm64 /Users/expo/workingdir/build/node_modules/react-native-purchases-ui/ios/PurchasesPlugin.swift (in target 'RNPaywalls' from project 'Pods')
▸ (2 failures)
** ARCHIVE FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ PurchasesPlugin.swift /Users/expo/workingdir/build/node_modules/react-native-purchases-ui/ios/PurchasesPlugin.swift (in target 'RNPaywalls' from project 'Pods')
SwiftCompile normal arm64 /Users/expo/workingdir/build/node_modules/react-native-purchases-ui/ios/PurchasesPlugin.swift (in target 'RNPaywalls' from project 'Pods')
(2 failures)
Exit status: 65

Is react-native-purchases-ui supported with expo and EAS?

Building was successful, when using only react-native-purchases.

best, 

Hi, can you make sure to delete the node modules folder and the RevenueCat SDK and reinstall both? https://revenuecat.github.io/react-native-purchases-docs/8.2.2/#md:installation

You’ll also want to try using a development build: https://docs.expo.dev/develop/development-builds/create-a-build/


Reply