Expo react-native-tvos: pod install error after prebuild (EXConstants issue) - Stack Overflow

admin2025-04-17  2

I am trying to create bare expo react native app for Apple TV. I am following Expo documentation so I am starting with npx create-expo-app MyTVProject -e with-tv. Next is export EXPO_TV=1 and then npx expo prebuild and in this place I have a problem. I am getting this kind of error. I was trying to go ios folder and then manually install pods, but it doesn't solve the problem (if I want to install pods manually I have to use --allow-root flag), because after that I am getting this Error:

Has anyone faced similar problems with creating react native tvos app?

Environment:

"expo": "~52.0.23",
"react": "18.3.1",
"react-native": "npm:react-native-tvos@~0.76.5-0"
node: v18.20.4
CocoaPods: 1.12.1
转载请注明原文地址:http://anycun.com/QandA/1744889996a89068.html