I’m having a problem building my React Native project on Expo Go after upgrading to Expo 51. The build for Android goes smoothly, but on iOS, I get the following error:
Build failed: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.
I’ve included the package.json and app.json files below to give an overview of my project. I’ve tried several solutions, but nothing seems to work. Does anyone have any ideas or suggestions for solving this problem?
Thanks in advance for your help!
package.json
{
"name": "verseapp",
"version": "1.1.1",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"format": "prettier --write 'src/**/*.{js,jsx}'",
"lint": "eslint --ext .js,.jsx .",
"fix": "eslint --fix --ext .js,.jsx .",
"test": "jest"
},
"jest": {
"preset": "jest-expo",
"transformIgnorePatterns": [
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg)"
]
},
"dependencies": {
"@dietime/react-native-date-picker": "^1.2.1",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-firebase/app": "^18.9.0",
"@react-native-picker/picker": "2.7.5",
"@react-navigation/native": "^6.1.10",
"@react-navigation/native-stack": "^6.9.18",
"@stripe/stripe-react-native": "0.37.2",
"@testing-library/react-native": "^12.4.3",
"expo": "^51.0.14",
"expo-blur": "~13.0.2",
"expo-build-properties": "~0.12.3",
"expo-dev-client": "~4.0.12",
"expo-device": "~6.0.2",
"expo-font": "~12.0.4",
"expo-linear-gradient": "~13.0.2",
"expo-notifications": "~0.28.1",
"expo-splash-screen": "~0.27.4",
"expo-status-bar": "~1.12.1",
"expo-updates": "~0.25.10",
"firebase": "^10.7.2",
"jest": "^29.3.1",
"jest-expo": "~51.0.1",
"lottie-react-native": "6.7.0",
"react": "18.2.0",
"react-native": "0.74.1",
"react-native-asset": "^2.1.1",
"react-native-gesture-handler": "~2.16.1",
"react-native-gifted-charts": "^1.4.7",
"react-native-heroicons": "^4.0.0",
"react-native-picker-select": "^9.0.1",
"react-native-reanimated": "3.10.0",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "3.31.1",
"react-native-svg": "15.2.0",
"react-native-webview": "13.8.6",
"react-navigation": "^5.0.0",
"react-test-renderer": "^18.2.0",
"stripe": "^14.15.0",
"styled-components": "^6.1.8"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"jest": "^29.3.1",
"prettier": "3.2.4",
"vitest": "^1.2.2"
},
"private": true
}
app.json
{
"expo": {
"name": "verseapp",
"slug": "verseapp",
"version": "1.3.9",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"notification": {
"icon": "./assets/notification-icon.png",
"color": "#D39E54"
},
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#D39E54"
},
"assetBundlePatterns": ["**/*"],
"ios": {
"bitcode": false,
"infoPlist": {
"NSCameraUsageDescription": "This app uses the camera to take photos and videos."
},
"supportsTablet": true,
"icon": "./assets/icon.png",
"bundleIdentifier": "com.verseapp.verseapp",
"googleServicesFile": "./GoogleService-Info.plist"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#D39E54",
"googleServicesFile": "./google-services.json"
},
"package": "com.verseapp.verseapp"
},
"web": {
"favicon": "./assets/favicon.png"
},
"plugins": [
"expo-font",
"./withModularHeadersPlugin",
"./withNoBitcode",
[
"expo-notifications",
{
"icon": "./assets/notification-icon.png",
"color": "#D39E54"
}
],
[
"expo-build-properties",
{
"android": {
"compileSdkVersion": 34,
"targetSdkVersion": 34,
"buildToolsVersion": "34.0.0"
},
"ios": {
"deploymentTarget": "13.4"
}
}
]
],
"extra": {
"eas": {
"projectId": "a7525463-2f90-4252-8d74-e078b....."
}
},
"runtimeVersion": {
"policy": "appVersion"
},
"updates": {
"url": "https://u.expo.dev/a7525463-2f90-4252-8d74-e078...."
}
}
}