Hi, I'm having trouble building the app on iOS in Expo. With simulator = false there's no problem, but when I try to create an *-ipa, it fails at the "run fastlante" command. Details below. I replaced the current schema with [APP_SCHEMA]
The issue:
› Executing [APP_SCHEMA] » [CP] Copy Pods Resources
❌ error: Cycle inside [APP_SCHEMA]; building could produce unreliable results.
Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')
Run script build phase '[CP-User] [RNFB] Core Configuration' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target '[APP_SCHEMA]' from project '[APP_SCHEMA]')
Run script build phase '[CP-User] react-native-maps patches' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'react-native-maps' from project 'Pods')
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 issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ReactCodegen' from project 'Pods')
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 issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RNWorklets' from project 'Pods')
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 issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RNReanimated' from project 'Pods')
Run script build phase '[CP-User] Generate updates resources for expo-updates' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXUpdates' from project 'Pods')
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ Archiving workspace [APP_SCHEMA] with scheme [APP_SCHEMA]
▸ (1 failure)
Exit status: 65
+---------------------------------------+
| Build environment |
+-------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.228.0 |
| sdk | iPhoneOS26.0.sdk |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses xcodebuild commands to generate your binary, you can see the
the full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[!] Error building the application - see the log above
Error: The "Run fastlane" step failed because of an error in the Xcode build process. We automatically detected following errors in your Xcode build logs:
- Cycle inside [APP_SCHEMA]; building could produce unreliable results.
Refer to "Xcode Logs" below for additional, more detailed logs.
my package.json:
"dependencies": {
"@aws-amplify/react-native": "^1.3.3",
"@aws-amplify/ui-react-native": "^2.7.2",
"@aws-sdk/client-cognito-identity": "^3.1006.0",
"@datadog/mobile-react-native": "^3.1.2",
"@datadog/mobile-react-native-babel-plugin": "^3.1.2",
"@datadog/mobile-react-native-session-replay": "^3.1.2",
"@datadog/mobile-react-navigation": "^3.1.2",
"@expo/vector-icons": "^15.1.1",
"@intercom/intercom-react-native": "^9.7.0",
"@iterable/expo-plugin": "^1.0.2",
"@iterable/react-native-sdk": "^2.2.2",
"@launchdarkly/react-native-client-sdk": "^10.14.1",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-community/cli": "^20.1.2",
"@react-native-community/netinfo": "11.4.1",
"@react-native-firebase/analytics": "^23.8.8",
"@react-native-firebase/app": "^23.8.8",
"@react-native-firebase/messaging": "^23.8.8",
"@react-navigation/bottom-tabs": "^7.15.5",
"@react-navigation/drawer": "^7.9.4",
"@react-navigation/material-top-tabs": "^7.4.18",
"@react-navigation/native": "^7.1.33",
"@react-navigation/native-stack": "^7.14.4",
"@redux-saga/core": "^1.4.2",
"@reduxjs/toolkit": "^2.11.2",
"aws-amplify": "^6.16.3",
"axios": "^1.13.6",
"babel-preset-expo": "~54.0.10",
"buffer": "^6.0.3",
"dotenv": "^17.3.1",
"expo": "~54.0.35",
"expo-auth-session": "~7.0.11",
"expo-blur": "~15.0.8",
"expo-build-properties": "~1.0.10",
"expo-checkbox": "~5.0.8",
"expo-clipboard": "~8.0.8",
"expo-constants": "~18.0.13",
"expo-crypto": "~15.0.9",
"expo-datadog": "^54.0.1",
"expo-dev-client": "~6.0.21",
"expo-device": "~8.0.10",
"expo-file-system": "~19.0.23",
"expo-font": "~14.0.12",
"expo-haptics": "~15.0.8",
"expo-linking": "~8.0.12",
"expo-location": "~19.0.8",
"expo-network": "~8.0.8",
"expo-screen-orientation": "~9.0.9",
"expo-secure-store": "~15.0.8",
"expo-sharing": "~14.0.8",
"expo-splash-screen": "~31.0.13",
"expo-status-bar": "~3.0.9",
"expo-symbols": "~1.0.8",
"expo-system-ui": "~6.0.9",
"expo-updates": "~29.0.18",
"expo-web-browser": "~15.0.11",
"fast-text-encoding": "^1.0.6",
"formik": "^2.4.9",
"jest-transform-css": "^6.0.3",
"js-sha256": "^0.11.1",
"libphonenumber-js": "^1.12.39",
"lightningcss": "^1.32.0",
"plist": "^3.1.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.5",
"react-native-clusterer": "^5.0.2",
"react-native-collapsible": "^1.6.2",
"react-native-element-dropdown": "^2.12.4",
"react-native-gesture-handler": "~2.28.0",
"react-native-get-random-values": "~1.11.0",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-maps": "1.26.20",
"react-native-modal": "^14.0.0-rc.1",
"react-native-pager-view": "6.9.1",
"react-native-paper": "^5.15.0",
"react-native-permissions": "^5.5.1",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
"react-native-svg": "15.12.1",
"react-native-web": "^0.21.2",
"react-native-webview": "13.15.0",
"react-native-worklets": "0.5.1",
"react-redux": "^9.2.0",
"redux-persist": "^6.0.0",
"redux-saga": "^1.4.2",
"yup": "^1.7.1"
},
Hi, I'm having trouble building the app on iOS in Expo. With
simulator = falsethere's no problem, but when I try to create an *-ipa, it fails at the "run fastlante" command. Details below. I replaced the current schema with [APP_SCHEMA]The issue:
› Executing [APP_SCHEMA] » [CP] Copy Pods Resources
❌ error: Cycle inside [APP_SCHEMA]; building could produce unreliable results.
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ Archiving workspace [APP_SCHEMA] with scheme [APP_SCHEMA]
▸ (1 failure)
Exit status: 65
+---------------------------------------+
| Build environment |
+-------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.228.0 |
| sdk | iPhoneOS26.0.sdk |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses
xcodebuildcommands to generate your binary, you can see thethe full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[!] Error building the application - see the log above
Error: The "Run fastlane" step failed because of an error in the Xcode build process. We automatically detected following errors in your Xcode build logs:
Refer to "Xcode Logs" below for additional, more detailed logs.
my package.json:
"dependencies": {
"@aws-amplify/react-native": "^1.3.3",
"@aws-amplify/ui-react-native": "^2.7.2",
"@aws-sdk/client-cognito-identity": "^3.1006.0",
"@datadog/mobile-react-native": "^3.1.2",
"@datadog/mobile-react-native-babel-plugin": "^3.1.2",
"@datadog/mobile-react-native-session-replay": "^3.1.2",
"@datadog/mobile-react-navigation": "^3.1.2",
"@expo/vector-icons": "^15.1.1",
"@intercom/intercom-react-native": "^9.7.0",
"@iterable/expo-plugin": "^1.0.2",
"@iterable/react-native-sdk": "^2.2.2",
"@launchdarkly/react-native-client-sdk": "^10.14.1",
"@react-native-async-storage/async-storage": "2.2.0",
"@react-native-community/cli": "^20.1.2",
"@react-native-community/netinfo": "11.4.1",
"@react-native-firebase/analytics": "^23.8.8",
"@react-native-firebase/app": "^23.8.8",
"@react-native-firebase/messaging": "^23.8.8",
"@react-navigation/bottom-tabs": "^7.15.5",
"@react-navigation/drawer": "^7.9.4",
"@react-navigation/material-top-tabs": "^7.4.18",
"@react-navigation/native": "^7.1.33",
"@react-navigation/native-stack": "^7.14.4",
"@redux-saga/core": "^1.4.2",
"@reduxjs/toolkit": "^2.11.2",
"aws-amplify": "^6.16.3",
"axios": "^1.13.6",
"babel-preset-expo": "~54.0.10",
"buffer": "^6.0.3",
"dotenv": "^17.3.1",
"expo": "~54.0.35",
"expo-auth-session": "~7.0.11",
"expo-blur": "~15.0.8",
"expo-build-properties": "~1.0.10",
"expo-checkbox": "~5.0.8",
"expo-clipboard": "~8.0.8",
"expo-constants": "~18.0.13",
"expo-crypto": "~15.0.9",
"expo-datadog": "^54.0.1",
"expo-dev-client": "~6.0.21",
"expo-device": "~8.0.10",
"expo-file-system": "~19.0.23",
"expo-font": "~14.0.12",
"expo-haptics": "~15.0.8",
"expo-linking": "~8.0.12",
"expo-location": "~19.0.8",
"expo-network": "~8.0.8",
"expo-screen-orientation": "~9.0.9",
"expo-secure-store": "~15.0.8",
"expo-sharing": "~14.0.8",
"expo-splash-screen": "~31.0.13",
"expo-status-bar": "~3.0.9",
"expo-symbols": "~1.0.8",
"expo-system-ui": "~6.0.9",
"expo-updates": "~29.0.18",
"expo-web-browser": "~15.0.11",
"fast-text-encoding": "^1.0.6",
"formik": "^2.4.9",
"jest-transform-css": "^6.0.3",
"js-sha256": "^0.11.1",
"libphonenumber-js": "^1.12.39",
"lightningcss": "^1.32.0",
"plist": "^3.1.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.5",
"react-native-clusterer": "^5.0.2",
"react-native-collapsible": "^1.6.2",
"react-native-element-dropdown": "^2.12.4",
"react-native-gesture-handler": "~2.28.0",
"react-native-get-random-values": "~1.11.0",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-maps": "1.26.20",
"react-native-modal": "^14.0.0-rc.1",
"react-native-pager-view": "6.9.1",
"react-native-paper": "^5.15.0",
"react-native-permissions": "^5.5.1",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
"react-native-svg": "15.12.1",
"react-native-web": "^0.21.2",
"react-native-webview": "13.15.0",
"react-native-worklets": "0.5.1",
"react-redux": "^9.2.0",
"redux-persist": "^6.0.0",
"redux-saga": "^1.4.2",
"yup": "^1.7.1"
},