Skip to main content
Question

Does react-native-purchases-ui support Expo

  • September 26, 2024
  • 1 reply
  • 243 views

Forum|alt.badge.img

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, 

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 509 replies
  • September 30, 2024

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/


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings