Both iOS and Android builds continue to fail

Hi EAS/Expo gurus!
I’m a relatively rooky app developer and super happy with Expo and EAS so far. Unfortunately I’ve been running into an issue lately which I haven’t been able to resolve myself, or find next ‘straws’ to continue my search on, hence this topic hoping someone might point me into the right direction.

I’m working with a managed workflow, running on a Windows machine and letting expo/eas do all the conversion magic :slight_smile:

Things already tried:

  • Ensured expo-cli was not part of package.json anymore, and all ran smoothly with npx expo
  • Ensured all tooling is up to date (Node, NPM, eas-cli, expo)
  • Ran npx expo-cli upgrade, npx expo install --fix and npx expo-doctor all returning success & no issues on dependencies
  • Everything builds and runs perfectly fine locally using Expo go app on both iOS and Android
    • only one new error on react-native-paper cyclic logic, which has a large thread online for not getting fixed, but seems unrelated.
  • Checked forums for the exact issues, but couldn’t pin-point any one down to my situation, or the fix within expo context.

My last release was in May last year, so I’ve previously performed multiple SDK updates. Truly hope someone can help point me to the right direction! I think I might miss some little setting in app.json or something? Thanks in advance!

The error for Android happens during the gradlew run, for iOS on Fastlane:

  • Android: Note: /home/expo/workingdir/build/node_modules/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java uses or overrides a deprecated API.
  • Android: Error: resolveDependencies: Found duplicate dependency key 'undefined' in /home/expo/workingdir/build/index.js
  • Android: WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.
  • iOS: 2023-05-20 08:55:18.320 xcodebuild[4432:11848] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
  • iOS: error: File /Users/expo/Library/Developer/Xcode/DerivedData/DrinkWaterSpots-fmivmjzlngvxtthhidgvafxevkdh/Build/Intermediates.noindex/ArchiveIntermediates/DrinkWaterSpots/BuildProductsPath/Release-iphoneos/DrinkWaterSpots.app/main.jsbundle does not exist. This must be a bug with React Native, please report it here: https://github.com/facebook/react-native/issues

Extensive details/dumps in next post.

Details:

App.json

{
  "expo": {
    "name": "DrinkWaterSpots",
    "slug": "DrinkWaterSpots",
    "scheme": "drinkwaterspots",
    "description": "Location app to show all DrinkWaterSpots in the close neighbourhood",
    "owner": "foxy_solutions",
    "version": "3.0.0",
    "orientation": "portrait",
    "userInterfaceStyle": "automatic",
    "icon": "./assets/images/icon.png",
    "backgroundColor": "#e3e3e3",
    "splash": {
      "image": "./assets/images/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "extra": {
      "isProduction": true,
      "eas": {
        "projectId": "***"
      }
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "assets/images/*"
    ],
    "ios": {
      "supportsTablet": true,
      "buildNumber": "3.0.0",
      "bundleIdentifier": "com.foxy.drinkwaterspots",
      "config": {
        "googleMapsApiKey": "***"
      },
      "infoPlist": {
        "NSLocationWhenInUseUsageDescription": "Gebruikt om direct DrinkWaterSpots in jouw huidige omgeving te tonen."
      }
    },
    "android": {
      "package": "com.foxy.drinkwaterspots",
      "versionCode": 3000,
      "permissions": [
        "ACCESS_FINE_LOCATION"
      ],
      "config": {
        "googleMaps": {
          "apiKey": "***"
        }
      },
      "adaptiveIcon": {
        "foregroundImage": "./assets/images/adaptive-icon.png",
        "backgroundColor": "#FFF"
      }
    },
    "privacy": "unlisted",
    "githubUrl": "***"
  }
}

Package.json

{
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "eject": "expo eject",
    "test": "jest --watchAll"
  },
  "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": {
    "@expo/vector-icons": "^13.0.0",
    "@react-native-async-storage/async-storage": "1.17.11",
    "@react-native-community/cli": "^7.0.3",
    "@react-native-community/cli-platform-ios": "^7.0.1",
    "@react-navigation/bottom-tabs": "^5.11.2",
    "@react-navigation/native": "^5.8.10",
    "@react-navigation/stack": "^5.12.8",
    "expo": "^48.0.0",
    "expo-asset": "~8.9.1",
    "expo-constants": "~14.2.1",
    "expo-font": "~11.1.1",
    "expo-linking": "~4.0.1",
    "expo-location": "~15.1.1",
    "expo-permissions": "~14.1.1",
    "expo-splash-screen": "~0.18.2",
    "expo-status-bar": "~1.4.4",
    "expo-system-ui": "~2.2.1",
    "expo-web-browser": "~12.1.1",
    "intl": "^1.2.5",
    "jest": "^29.2.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.71.8",
    "react-native-maps": "1.3.2",
    "react-native-paper": "5.7.0",
    "react-native-paper-select": "^0.4.0",
    "react-native-radio-buttons": "^1.0.0",
    "react-native-safe-area-context": "4.5.0",
    "react-native-safe-area-view": "^1.1.1",
    "react-native-screens": "~3.20.0",
    "react-native-web": "~0.18.11"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@types/react": "~18.0.27",
    "babel-preset-expo": "^9.3.0",
    "jest-expo": "^48.0.0",
    "typescript": "^4.9.4"
  },
  "private": true,
  "name": "app",
  "version": "1.0.0"
}

Android - Gradlew logs

Running 'gradlew :app:bundleRelease' in /home/expo/workingdir/build/android
Downloading https://services.gradle.org/distributions/gradle-7.5.1-all.zip
Welcome to Gradle 7.5.1!
For more details see https://docs.gradle.org/7.5.1/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Task :react-native-gradle-plugin:pluginDescriptors
> Task :react-native-gradle-plugin:processResources
> Task :react-native-gradle-plugin:compileKotlin
> Task :react-native-gradle-plugin:compileJava NO-SOURCE
> Task :react-native-gradle-plugin:classes
> Task :react-native-gradle-plugin:inspectClassesForKotlinIC
> Task :react-native-gradle-plugin:jar
> Configure project :expo-application
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the `gradle.properties` file or use the new publishing DSL.
> Configure project :expo-constants
WARNING:Software Components ...
> Configure project :expo-file-system
WARNING:Software Components ...
> Configure project :expo-font
WARNING:Software Components ...
> Configure project :expo-keep-awake
WARNING:Software Components ...
> Configure project :expo-location
WARNING:Software Components ...
> Configure project :expo-modules-core
WARNING:Software Components ...
Checking the license for package NDK (Side by side) 23.1.7779620 in /home/expo/Android/Sdk/licenses
License for package NDK (Side by side) 23.1.7779620 accepted.
Preparing "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)".
"Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" ready.
Installing NDK (Side by side) 23.1.7779620 in /home/expo/Android/Sdk/ndk/23.1.7779620
"Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" complete.
"Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" finished.
Checking the license for package CMake 3.22.1 in /home/expo/Android/Sdk/licenses
License for package CMake 3.22.1 accepted.
Preparing "Install CMake 3.22.1 (revision: 3.22.1)".
"Install CMake 3.22.1 (revision: 3.22.1)" ready.
Installing CMake 3.22.1 in /home/expo/Android/Sdk/cmake/3.22.1
"Install CMake 3.22.1 (revision: 3.22.1)" complete.
"Install CMake 3.22.1 (revision: 3.22.1)" finished.
> Configure project :expo-permissions
WARNING:Software Components ...
> Configure project :expo-splash-screen
WARNING:Software Components ...
> Configure project :expo-system-ui
WARNING:Software Components ...
> Configure project :expo-web-browser
WARNING:Software Components ...
> Configure project :expo
Using expo modules
  - expo-application (5.1.1)
  - expo-constants (14.2.1)
  - expo-file-system (15.2.2)
- expo-font (11.1.1)
  - expo-keep-awake (12.0.1)
- expo-location (15.1.1)
- expo-modules-core (1.2.7)
  - expo-permissions (14.1.1)
- expo-splash-screen (0.18.2)
  - expo-system-ui (2.2.1)
  - expo-web-browser (12.1.1)
WARNING:Software Components ...
Checking the license for package Android SDK Build-Tools 30.0.3 in /home/expo/Android/Sdk/licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in /home/expo/Android/Sdk/build-tools/30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 33 in /home/expo/Android/Sdk/licenses
License for package Android SDK Platform 33 accepted.
Preparing "Install Android SDK Platform 33 (revision: 2)".
"Install Android SDK Platform 33 (revision: 2)" ready.
Installing Android SDK Platform 33 in /home/expo/Android/Sdk/platforms/android-33
"Install Android SDK Platform 33 (revision: 2)" complete.
"Install Android SDK Platform 33 (revision: 2)" finished.
The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build.
This might happen in subprojects that apply the Kotlin plugins with the Gradle 'plugins { ... }' DSL if they specify explicit versions, even if the versions are equal.
Please add the Kotlin plugin to the common parent project or the root project, then remove the versions in the subprojects.
If the parent project does not need the plugin, add 'apply false' to the plugin line.
See: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl
The Kotlin plugin was loaded in the following projects: ':expo', ':expo-modules-core'
> Task :expo-application:preBuild UP-TO-DATE
> Task :expo-application:preReleaseBuild UP-TO-DATE
> Task :expo-constants:preBuild UP-TO-DATE
> Task :expo-constants:preReleaseBuild UP-TO-DATE
> Task :expo-application:packageReleaseRenderscript NO-SOURCE
> Task :expo-constants:packageReleaseRenderscript NO-SOURCE
> Task :expo-font:preBuild UP-TO-DATE
> Task :expo-font:preReleaseBuild UP-TO-DATE
> Task :expo-file-system:preBuild
UP-TO-DATE
> Task :expo-font:packageReleaseRenderscript NO-SOURCE
> Task :expo-file-system:preReleaseBuild UP-TO-DATE
> Task :expo-file-system:packageReleaseRenderscript NO-SOURCE
> Task :expo-location:preBuild UP-TO-DATE
> Task :expo-location:preReleaseBuild UP-TO-DATE
> Task :expo-keep-awake:preBuild UP-TO-DATE
> Task :expo-location:packageReleaseRenderscript
NO-SOURCE
> Task :expo-keep-awake:preReleaseBuild UP-TO-DATE
> Task :expo-modules-core:preBuild UP-TO-DATE
> Task :expo-modules-core:preReleaseBuild UP-TO-DATE
> Task :expo-keep-awake:packageReleaseRenderscript NO-SOURCE
> Task :expo-permissions:preBuild UP-TO-DATE
> Task :expo-modules-core:packageReleaseRenderscript NO-SOURCE
> Task :expo-permissions:preReleaseBuild UP-TO-DATE
> Task :expo-splash-screen:preBuild UP-TO-DATE
> Task :expo-splash-screen:preReleaseBuild UP-TO-DATE
> Task :expo-permissions:packageReleaseRenderscript NO-SOURCE
> Task :expo-system-ui:preBuild UP-TO-DATE
> Task :expo-system-ui:preReleaseBuild UP-TO-DATE
> Task :expo-system-ui:packageReleaseRenderscript NO-SOURCE
> Task :expo-splash-screen:packageReleaseRenderscript NO-SOURCE
> Task :expo-web-browser:preBuild UP-TO-DATE
> Task :expo-web-browser:preReleaseBuild UP-TO-DATE
> Task :expo-web-browser:packageReleaseRenderscript NO-SOURCE
> Task :react-native-async-storage_async-storage:preBuild UP-TO-DATE
> Task :react-native-async-storage_async-storage:preReleaseBuild UP-TO-DATE
> Task :react-native-async-storage_async-storage:packageReleaseRenderscript NO-SOURCE
> Task :react-native-maps:preBuild UP-TO-DATE
> Task :react-native-maps:preReleaseBuild UP-TO-DATE
> Task :react-native-maps:packageReleaseRenderscript NO-SOURCE
> Task :react-native-safe-area-context:preBuild UP-TO-DATE
> Task :react-native-safe-area-context:preReleaseBuild UP-TO-DATE
> Task :react-native-screens:preBuild UP-TO-DATE
> Task :react-native-screens:preReleaseBuild UP-TO-DATE
> Task :react-native-safe-area-context:packageReleaseRenderscript NO-SOURCE
> Task :react-native-screens:packageReleaseRenderscript NO-SOURCE
> Task :expo-application:compileReleaseRenderscript NO-SOURCE
> Task :expo-constants:compileReleaseRenderscript NO-SOURCE
> Task :expo-constants:generateReleaseResValues
> Task :expo-constants:generateReleaseResources
> Task :expo-application:generateReleaseResValues
> Task :expo-application:generateReleaseResources
> Task :expo-application:packageReleaseResources
> Task :expo-file-system:compileReleaseRenderscript NO-SOURCE
> Task :expo-file-system:generateReleaseResValues
> Task :expo-file-system:generateReleaseResources
> Task :expo-constants:packageReleaseResources
> Task :expo-font:compileReleaseRenderscript NO-SOURCE
> Task :expo-font:generateReleaseResValues
> Task :expo-font:generateReleaseResources
> Task :expo:generateExpoModulesPackageList
> Task :expo:preBuild
> Task :expo:preReleaseBuild
> Task :expo:packageReleaseRenderscript NO-SOURCE
> Task :expo:compileReleaseRenderscript NO-SOURCE
> Task :expo:generateReleaseResValues
> Task :expo:generateReleaseResources
> Task :expo-font:packageReleaseResources
> Task :expo-keep-awake:compileReleaseRenderscript NO-SOURCE
> Task :expo-keep-awake:generateReleaseResValues
> Task :expo-keep-awake:generateReleaseResources
> Task :expo:packageReleaseResources
> Task :expo-location:compileReleaseRenderscript NO-SOURCE
> Task :expo-location:generateReleaseResValues
> Task :expo-location:generateReleaseResources
> Task :expo-keep-awake:packageReleaseResources
> Task :expo-modules-core:compileReleaseRenderscript NO-SOURCE
> Task :expo-file-system:packageReleaseResources
> Task :expo-modules-core:generateReleaseResValues
> Task :expo-modules-core:generateReleaseResources
> Task :expo-permissions:compileReleaseRenderscript NO-SOURCE
> Task :expo-location:packageReleaseResources
> Task :expo-permissions:generateReleaseResValues
> Task :expo-splash-screen:compileReleaseRenderscript NO-SOURCE
> Task :expo-permissions:generateReleaseResources
> Task :expo-splash-screen:generateReleaseResValues
> Task :expo-splash-screen:generateReleaseResources
> Task :expo-modules-core:packageReleaseResources
> Task :expo-permissions:packageReleaseResources
> Task :expo-system-ui:compileReleaseRenderscript NO-SOURCE
> Task :expo-web-browser:compileReleaseRenderscript NO-SOURCE
> Task :expo-system-ui:generateReleaseResValues
> Task :expo-system-ui:generateReleaseResources
> Task :expo-web-browser:generateReleaseResValues
> Task :expo-web-browser:generateReleaseResources
> Task :expo-web-browser:packageReleaseResources
> Task :react-native-async-storage_async-storage:compileReleaseRenderscript NO-SOURCE
> Task :expo-system-ui:packageReleaseResources
> Task :react-native-async-storage_async-storage:generateReleaseResValues
> Task :react-native-async-storage_async-storage:generateReleaseResources
> Task :react-native-maps:compileReleaseRenderscript NO-SOURCE
> Task :expo-splash-screen:packageReleaseResources
> Task :react-native-maps:generateReleaseResValues
> Task :react-native-maps:generateReleaseResources
> Task :react-native-safe-area-context:compileReleaseRenderscript NO-SOURCE
> Task :react-native-safe-area-context:generateReleaseResValues
> Task :react-native-safe-area-context:generateReleaseResources
> Task :react-native-async-storage_async-storage:packageReleaseResources
> Task :react-native-screens:compileReleaseRenderscript NO-SOURCE
> Task :react-native-maps:packageReleaseResources
> Task :react-native-safe-area-context:packageReleaseResources
> Task :react-native-screens:generateReleaseResValues
> Task :expo:extractDeepLinksRelease
> Task :react-native-screens:generateReleaseResources
> Task :expo-application:extractDeepLinksRelease
> Task :react-native-screens:packageReleaseResources
> Task :expo-constants:extractDeepLinksRelease
> Task :expo:processReleaseManifest
package="expo.core" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo/android/src/main/AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/configure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
> Task :expo-file-system:extractDeepLinksRelease
> Task :expo-file-system:processReleaseManifest
package="expo.modules.filesystem" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/AndroidManifest.xml.
[...]
/home/expo/workingdir/build/node_modules/expo-file-system/android/src/main/AndroidManifest.xml:8:9-10:20 Warning:
	provider#expo.modules.filesystem.FileSystemFileProvider@android:authorities was tagged at AndroidManifest.xml:8 to replace other declarations but no other declaration present
> Task :expo-constants:processReleaseManifest
package="expo.modules.constants" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-constants/android/src/main/AndroidManifest.xml.
[...]
> Task :expo-application:processReleaseManifest
package="expo.modules.application" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-application/android/src/main/AndroidManifest.xml.
[...]
> Task :expo-font:extractDeepLinksRelease
> Task :expo-font:processReleaseManifest
package="expo.modules.font" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-font/android/src/main/AndroidManifest.xml.
[...]
> Task :expo-keep-awake:extractDeepLinksRelease
> Task :expo-location:extractDeepLinksRelease
> Task :expo-keep-awake:processReleaseManifest
package="expo.modules.keepawake" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-keep-awake/android/src/main/AndroidManifest.xml.
[...]
> Task :expo-modules-core:extractDeepLinksRelease
> Task :expo-location:processReleaseManifest
package="expo.modules.location" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-location/android/src/main/AndroidManifest.xml.
[...]
> Task :expo-modules-core:processReleaseManifest
package="expo.modules" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/AndroidManifest.xml.
[...]
> Task :expo-permissions:extractDeepLinksRelease
> Task :expo-splash-screen:extractDeepLinksRelease
> Task :expo-permissions:processReleaseManifest
package="expo.modules.permissions" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-permissions/android/src/main/AndroidManifest.xml.
[...]
> Task :expo-splash-screen:processReleaseManifest
package="expo.modules.splashscreen" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-splash-screen/android/src/main/AndroidManifest.xml.
[...]
> Task :expo-system-ui:extractDeepLinksRelease
> Task :expo-web-browser:extractDeepLinksRelease
> Task :app:buildCodegenCLI SKIPPED
> Task :app:generateCodegenSchemaFromJavaScript SKIPPED
> Task :app:generateCodegenArtifactsFromSchema SKIPPED
> Task :expo-system-ui:processReleaseManifest
package="expo.modules.systemui" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-system-ui/android/src/main/AndroidManifest.xml.
[...]
> Task :expo-web-browser:processReleaseManifest
package="expo.modules.webbrowser" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/expo-web-browser/android/src/main/AndroidManifest.xml.
[...]
> Task :react-native-async-storage_async-storage:extractDeepLinksRelease
> Task :react-native-safe-area-context:extractDeepLinksRelease
> Task :react-native-maps:extractDeepLinksRelease
> Task :react-native-async-storage_async-storage:processReleaseManifest
package="com.reactnativecommunity.asyncstorage" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/@react-native-async-storage/async-storage/android/src/main/AndroidManifest.xml.
[...]
> Task :react-native-safe-area-context:processReleaseManifest
package="com.th3rdwave.safeareacontext" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-safe-area-context/android/src/main/AndroidManifest.xml.
[...]
> Task :react-native-maps:processReleaseManifest
package="com.airbnb.android.react.maps" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-maps/android/src/main/AndroidManifest.xml.
[...]
> Task :react-native-screens:extractDeepLinksRelease
> Task :app:generatePackageList
> Task :app:preBuild
> Task :app:preReleaseBuild
> Task :react-native-screens:processReleaseManifest
package="com.swmansion.rnscreens" found in source AndroidManifest.xml: /home/expo/workingdir/build/node_modules/react-native-screens/android/src/main/AndroidManifest.xml.
[...]
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseResValues
> Task :expo:compileReleaseLibraryResources
> Task :expo-constants:compileReleaseLibraryResources
> Task :expo-application:compileReleaseLibraryResources
> Task :expo-font:compileReleaseLibraryResources
> Task :expo-location:compileReleaseLibraryResources
> Task :expo-file-system:compileReleaseLibraryResources
> Task :expo-permissions:compileReleaseLibraryResources
> Task :expo-modules-core:compileReleaseLibraryResources
> Task :expo-keep-awake:compileReleaseLibraryResources
> Task :expo-web-browser:compileReleaseLibraryResources
> Task :react-native-async-storage_async-storage:compileReleaseLibraryResources
> Task :react-native-maps:compileReleaseLibraryResources
> Task :react-native-safe-area-context:compileReleaseLibraryResources
> Task :expo-splash-screen:compileReleaseLibraryResources
> Task :react-native-async-storage_async-storage:compileReleaseAidl NO-SOURCE
> Task :react-native-async-storage_async-storage:generateReleaseBuildConfig
> Task :react-native-screens:compileReleaseLibraryResources
> Task :expo-modules-core:compileReleaseAidl NO-SOURCE
> Task :expo-application:compileReleaseAidl NO-SOURCE
> Task :expo-constants:compileReleaseAidl NO-SOURCE
> Task :expo-file-system:compileReleaseAidl NO-SOURCE
> Task :expo-system-ui:compileReleaseLibraryResources
> Task :expo-font:compileReleaseAidl NO-SOURCE
> Task :expo-keep-awake:compileReleaseAidl NO-SOURCE
> Task :expo-location:compileReleaseAidl NO-SOURCE
> Task :expo-permissions:compileReleaseAidl NO-SOURCE
> Task :expo-splash-screen:compileReleaseAidl NO-SOURCE
> Task :expo-system-ui:compileReleaseAidl NO-SOURCE
> Task :expo-web-browser:compileReleaseAidl NO-SOURCE
> Task :expo:compileReleaseAidl NO-SOURCE
> Task :expo:generateReleaseBuildConfig
> Task :expo:parseReleaseLocalResources
> Task :react-native-async-storage_async-storage:javaPreCompileRelease
> Task :react-native-async-storage_async-storage:parseReleaseLocalResources
> Task :expo-modules-core:parseReleaseLocalResources
> Task :expo-application:parseReleaseLocalResources
> Task :app:mapReleaseSourceSetPaths
> Task :expo-constants:parseReleaseLocalResources
> Task :expo-file-system:parseReleaseLocalResources
> Task :expo-font:parseReleaseLocalResources
> Task :expo-keep-awake:parseReleaseLocalResources
> Task :expo-location:parseReleaseLocalResources
> Task :expo-permissions:parseReleaseLocalResources
> Task :expo-splash-screen:parseReleaseLocalResources
> Task :expo-system-ui:parseReleaseLocalResources
> Task :expo-web-browser:parseReleaseLocalResources
> Task :expo-application:generateReleaseBuildConfig
> Task :expo-modules-core:generateReleaseBuildConfig
> Task :expo-modules-core:javaPreCompileRelease
> Task :expo-application:javaPreCompileRelease
> Task :expo-constants:generateReleaseBuildConfig
> Task :expo-constants:javaPreCompileRelease
> Task :expo-file-system:generateReleaseBuildConfig
> Task :expo-file-system:javaPreCompileRelease
> Task :expo-font:generateReleaseBuildConfig
> Task :expo-font:javaPreCompileRelease
> Task :expo-keep-awake:generateReleaseBuildConfig
> Task :expo-modules-core:generateReleaseRFile
> Task :react-native-async-storage_async-storage:generateReleaseRFile
> Task :expo-application:generateReleaseRFile
> Task :expo-file-system:generateReleaseRFile
> Task :expo-constants:generateReleaseRFile
> Task :expo-font:generateReleaseRFile
> Task :expo-keep-awake:generateReleaseRFile
> Task :expo-permissions:generateReleaseRFile
> Task :expo-splash-screen:generateReleaseRFile
> Task :expo-system-ui:generateReleaseRFile
> Task :expo-web-browser:generateReleaseRFile
> Task :app:createBundleReleaseJsAndAssets
warning: the transform cache was reset.
                Welcome to Metro v0.73.9
              Fast - Scalable - Integrated
> Task :expo-location:generateReleaseRFile
> Task :expo:generateReleaseRFile
> Task :expo-keep-awake:javaPreCompileRelease
> Task :expo-location:generateReleaseBuildConfig
> Task :expo-location:javaPreCompileRelease
> Task :expo-permissions:generateReleaseBuildConfig
> Task :expo-permissions:javaPreCompileRelease
> Task :expo-splash-screen:generateReleaseBuildConfig
> Task :expo-splash-screen:javaPreCompileRelease
> Task :expo-system-ui:generateReleaseBuildConfig
> Task :expo-system-ui:javaPreCompileRelease
> Task :expo-web-browser:generateReleaseBuildConfig
> Task :expo-web-browser:javaPreCompileRelease
> Task :expo:javaPreCompileRelease
> Task :react-native-maps:compileReleaseAidl NO-SOURCE
> Task :react-native-maps:generateReleaseBuildConfig
> Task :react-native-maps:parseReleaseLocalResources
> Task :react-native-maps:generateReleaseRFile
> Task :react-native-maps:javaPreCompileRelease
> Task :react-native-async-storage_async-storage:compileReleaseJavaWithJavac
[stderr] 
Note: /home/expo/workingdir/build/node_modules/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStorageModule.java uses or overrides a deprecated API.
[stderr] 
Note: Recompile with -Xlint:deprecation for details.
[stderr] 
Note: /home/expo/workingdir/build/node_modules/@react-native-async-storage/async-storage/android/src/main/java/com/reactnativecommunity/asyncstorage/AsyncStoragePackage.java uses unchecked or unsafe operations.
[stderr] 
Note: Recompile with -Xlint:unchecked for details.
> Task :react-native-maps:compileReleaseJavaWithJavac
[stderr] 
Note: Some input files use or override a deprecated API.
[stderr] 
Note: Recompile with -Xlint:deprecation for details.
[stderr] 
Note: Some input files use unchecked or unsafe operations.
[stderr] 
Note: Recompile with -Xlint:unchecked for details.
> Task :react-native-async-storage_async-storage:bundleLibRuntimeToJarRelease
> Task :react-native-maps:bundleLibRuntimeToJarRelease
> Task :app:createBundleReleaseJsAndAssets
Error: resolveDependencies: Found duplicate dependency key 'undefined' in /home/expo/workingdir/build/index.js
    at Graph._resolveDependencies (/home/expo/workingdir/build/node_modules/react-native/node_modules/metro/src/DeltaBundler/Graph.js:449:15)
    at Graph._processModule (/home/expo/workingdir/build/node_modules/react-native/node_modules/metro/src/DeltaBundler/Graph.js:218:38)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Graph._traverseDependenciesForSingleFile (/home/expo/workingdir/build/node_modules/react-native/node_modules/metro/src/DeltaBundler/Graph.js:207:5)
    at async Promise.all (index 0)
    at async Graph.initialTraverseDependencies (/home/expo/workingdir/build/node_modules/react-native/node_modules/metro/src/DeltaBundler/Graph.js:191:5)
    at async DeltaCalculator._getChangedDependencies (/home/expo/workingdir/build/node_modules/react-native/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:196:25)
    at async DeltaCalculator.getDelta (/home/expo/workingdir/build/node_modules/react-native/node_modules/metro/src/DeltaBundler/DeltaCalculator.js:90:16)
    at async DeltaBundler.buildGraph (/home/expo/workingdir/build/node_modules/react-native/node_modules/metro/src/DeltaBundler.js:54:5)
    at async IncrementalBundler.buildGraphForEntries (/home/expo/workingdir/build/node_modules/react-native/node_modules/metro/src/IncrementalBundler.js:64:19)
[stderr] 
error resolveDependencies: Found duplicate dependency key 'undefined' in /home/expo/workingdir/build/index.js
> Task :app:createBundleReleaseJsAndAssets FAILED
> Task :expo-modules-core:compileReleaseKotlin
w: Argument -Xopt-in is deprecated. Please use -opt-in instead
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/adapters/react/permissions/PermissionsService.kt:157:30 'getPackageInfo(String, Int): PackageInfo!' is deprecated. Deprecated in Java
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/core/utilities/EmulatorUtilities.kt:30:13 'SERIAL: String!' is deprecated. Deprecated in Java
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/Promise.kt:68:18 This declaration overrides deprecated member but not marked as deprecated itself. This deprecation won't be inherited in future releases. Please add @Deprecated annotation or suppress. See https://youtrack.jetbrains.com/issue/KT-47902 for details
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/ActivityResultsManager.kt:52:24 Parameter 'activity' is never used
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/AppContextActivityResultRegistry.kt:119:51 'getParcelableExtra(String!): T?' is deprecated. Deprecated in Java
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/AppContextActivityResultRegistry.kt:180:26 'getParcelable(String?): T?' is deprecated. Deprecated in Java
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/AppContextActivityResultRegistry.kt:271:83 'getParcelable(String?): T?' is deprecated. Deprecated in Java
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/DataPersistor.kt:67:20 'getSerializable(String?): Serializable?' is deprecated. Deprecated in Java
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/activityresult/DataPersistor.kt:85:26 'getSerializable(String?): Serializable?' is deprecated. Deprecated in Java
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/events/KModuleEventEmitterWrapper.kt:90:7 'constructor Event<T : Event<(raw) Event<*>>!>(Int)' is deprecated. Deprecated in Java
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/JavaScriptObject.kt:59:33 Parameter 'null' is never used
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/JavaScriptObject.kt:100:5 Parameter 'null' is never used
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/modules/Module.kt:43:7 'coroutineScope: CoroutineScope' is deprecated. Use a scope from the AppContext
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:24:11 Parameter 'type' is never used
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:27:11 Parameter 'type' is never used
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:44:11 Parameter 'type' is never used
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/Either.kt:59:11 Parameter 'type' is never used
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/JSTypeConverterHelper.kt:44:17 'get(String!): Any?' is deprecated. Deprecated in Java
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/views/ViewManagerDefinitionBuilder.kt:125:30 'ViewGroupDefinitionLegacyBuilder' is deprecated. Use `ViewGroupDefinitionBuilder` instead.
w: file:///home/expo/workingdir/build/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/views/ViewManagerDefinitionBuilder.kt:128:38 'ViewGroupDefinitionLegacyBuilder' is deprecated. Use `ViewGroupDefinitionBuilder` instead.
[stderr] 
FAILURE: Build completed with 2 failures.
[stderr] 
1: Task failed with an exception.
[stderr] 
-----------
[stderr] 
* What went wrong:
[stderr] 
Execution failed for task ':app:createBundleReleaseJsAndAssets'.
[stderr] 
> Process 'command 'node'' finished with non-zero exit value 1
[stderr] 
* Try:
[stderr] 
> Run with --stacktrace option to get the stack trace.
[stderr] 
> Run with --info or --debug option to get more log output.
[stderr] 
> Run with --scan to get full insights.
[stderr] 
==============================================================================
[stderr] 
2: Task failed with an exception.
[stderr] 
-----------
[stderr] 
* What went wrong:
[stderr] 
java.lang.StackOverflowError (no error message)
[stderr] 
* Try:
[stderr] 
> Run with --stacktrace option to get the stack trace.
[stderr] 
> Run with --info or --debug option to get more log output.
[stderr] 
> Run with --scan to get full insights.
[stderr] 
==============================================================================
[stderr] 
* Get more help at https://help.gradle.org
[stderr] 
BUILD FAILED in 3m 57s
151 actionable tasks: 151 executed
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

iOS - Fastlane logs (stripped several ‘compiling’ items to stay within body max)

Creating Gymfile
Gymfile created
Successfully loaded '/Users/expo/workingdir/build/ios/Gymfile' 📄
+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|                                                                  Detected Values from './Gymfile'                                                                   |
+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| suppress_xcode_output | true                                                                                                                                        |
| clean                 | false                                                                                                                                       |
| scheme                | DrinkWaterSpots                                                                                                                             |
| configuration         | Release                                                                                                                                     |
| export_options        |                                                                                                                                             |
| export_xcargs         | OTHER_CODE_SIGN_FLAGS="--keychain /var/folders/rp/_x4mwf8x2f52ml0n3qt65jw80000gn/T/turtle-v2-35d853c9-67cb-41af-bcc2-c8017947e9fe.keychain" |
| disable_xcpretty      | true                                                                                                                                        |
| buildlog_path         | /Users/expo/workingdir/logs                                                                                                                 |
| output_directory      | ./build                                                                                                                                     |
+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
Resolving Swift Package Manager dependencies...
$ xcodebuild -resolvePackageDependencies -workspace ./DrinkWaterSpots.xcworkspace -scheme DrinkWaterSpots -configuration Release
▸ Command line invocation:
▸     /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace ./DrinkWaterSpots.xcworkspace -scheme DrinkWaterSpots -configuration Release
▸ User defaults from command line:
▸     IDEPackageSupportUseBuiltinSCM = YES
▸ --- xcodebuild: WARNING: Using the first of multiple matching destinations:
▸ { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-66D45333AEB93EDA }
▸ { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
▸ { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
▸ { platform:iOS Simulator, id:94EE5B62-6A73-4410-8C64-A56FBFD9C55D, OS:16.2, name:iPad (10th generation) }
▸ { platform:iOS Simulator, id:537FF0C8-8B14-4E2E-9828-0ED246BE9E38, OS:16.2, name:iPad Air (5th generation) }
▸ { platform:iOS Simulator, id:777A520C-1C1B-484A-99C6-35943FA97067, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
▸ { platform:iOS Simulator, id:A5447295-3264-4816-9C78-50E5F35C1122, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
▸ { platform:iOS Simulator, id:067F74D9-EEC3-4066-B8A8-B3EAD0EE5649, OS:16.2, name:iPad mini (6th generation) }
▸ { platform:iOS Simulator, id:3A1FD6BA-A84C-4728-A0AA-E7D9DF147BA7, OS:16.2, name:iPhone 14 }
▸ { platform:iOS Simulator, id:5D252FD0-2816-4FAE-B85D-C29DC8D2C73C, OS:16.2, name:iPhone 14 Plus }
▸ { platform:iOS Simulator, id:AA475350-BBB4-4568-A722-4528CF187FA8, OS:16.2, name:iPhone 14 Pro }
▸ { platform:iOS Simulator, id:01B24393-FC59-4FEC-87FD-338E47BABDAE, OS:16.2, name:iPhone 14 Pro Max }
▸ { platform:iOS Simulator, id:88B2387A-FF6D-4979-9155-B06611A97148, OS:16.2, name:iPhone SE (3rd generation) }
▸ resolved source packages:
$ xcodebuild -showBuildSettings -workspace ./DrinkWaterSpots.xcworkspace -scheme DrinkWaterSpots -configuration Release
[stderr] 
--- xcodebuild: WARNING: Using the first of multiple matching destinations: [...]
Command timed out after 3 seconds on try 1 of 4, trying again with a 6 second timeout...
[stderr] 
2023-05-20 08:55:18.320 xcodebuild[4432:11848] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
[stderr] 
--- xcodebuild: WARNING: Using the first of multiple matching destinations: [...]
2023-05-20 08:55:19.108 xcodebuild[4442:11918] Requested but did not find extension point with identifier Xcode.InterfaceBuilderBuildSupport.PlatformDefinition
Detected provisioning profile mapping: {:"com.foxy.drinkwaterspots"=>"***"}
+--------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
|                                                                                          Summary for gym 2.211.0                                                                                           |
+--------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| workspace                                                    | ./DrinkWaterSpots.xcworkspace                                                                                                               |
| scheme                                                       | DrinkWaterSpots                                                                                                                             |
| clean                                                        | false                                                                                                                                       |
| output_directory                                             | ./build                                                                                                                                     |
| output_name                                                  | DrinkWaterSpots                                                                                                                             |
| configuration                                                | Release                                                                                                                                     |
| silent                                                       | false                                                                                                                                       |
| skip_package_ipa                                             | false                                                                                                                                       |
| skip_package_pkg                                             | false                                                                                                                                       |
| export_options.method                                        | app-store                                                                                                                                   |
| export_options.provisioningProfiles.com.foxy.drinkwaterspots | ***                                                                                                       |
| export_xcargs                                                | OTHER_CODE_SIGN_FLAGS="--keychain /var/folders/rp/_x4mwf8x2f52ml0n3qt65jw80000gn/T/turtle-v2***fe.keychain" |
| build_path                                                   | /Users/expo/Library/Developer/Xcode/Archives/2023-05-20                                                                                     |
| result_bundle                                                | false                                                                                                                                       |
| buildlog_path                                                | /Users/expo/workingdir/logs                                                                                                                 |
| destination                                                  | generic/platform=iOS                                                                                                                        |
| suppress_xcode_output                                        | true                                                                                                                                        |
| xcodebuild_formatter                                         | xcpretty                                                                                                                                    |
| disable_xcpretty                                             | true                                                                                                                                        |
| skip_profile_detection                                       | false                                                                                                                                       |
| xcodebuild_command                                           | xcodebuild                                                                                                                                  |
| skip_package_dependencies_resolution                         | false                                                                                                                                       |
| disable_package_automatic_updates                            | false                                                                                                                                       |
| use_system_scm                                               | false                                                                                                                                       |
| xcode_path                                                   | /Applications/Xcode.app                                                                                                                     |
+--------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
$ set -o pipefail && xcodebuild -workspace ./DrinkWaterSpots.xcworkspace -scheme DrinkWaterSpots -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/expo/Library/Developer/Xcode/Archives/2023-05-20/DrinkWaterSpots\ 2023-05-20\ 08.55.19.xcarchive archive | tee /Users/expo/workingdir/logs/DrinkWaterSpots-DrinkWaterSpots.log > /dev/null
› Executing react-native Pods/hermes-engine » [CP] Copy XCFrameworks
› Compiling react-native Pods/libevent » log.c
    parameter 'base' not found in the function declaration [-Wdocumentation]
› Compiling react-native Pods/libevent » bufferevent.c
⚠️  (../../../../libevent/include/event2/event.h:855:10)
  @param eb the event_base structure returned by event_init()
         ^ parameter 'eb' not found in the function declaration [-Wdocumentation]
› Preparing react-native Pods/React-Core-AccessibilityResources » ResourceBundle-AccessibilityResources-React-Core-Info.plist
› Copying   react-native ../../../Users/expo/Library/Developer/Xcode/DerivedData/DrinkWaterSpots-fmivmjzlngvxtthhidgvafxevkdh/Build/Intermediates.noindex/ArchiveIntermediates/DrinkWaterSpots/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AccessibilityResources.bundle/en.lproj ➜ ../../../Users/expo/workingdir/build/node_modules/react-native/React/AccessibilityResources/en.lproj
› Creating  react-native Pods/React-Core-AccessibilityResources » AccessibilityResources.bundle
› Packaging react-native Pods/React-jsinspector » libReact-jsinspector.a
› Preparing expo-constants Pods/EXConstants-EXConstants » ResourceBundle-EXConstants-EXConstants-Info.plist
› Creating  expo-constants Pods/EXConstants-EXConstants » EXConstants.bundle
› Compiling react-native Pods/DoubleConversion » strtod.cc
› Compiling app Pods/Google-Maps-iOS-Utils » GMSMarker+GMUClusteritem.m
› Packaging app Pods/Google-Maps-iOS-Utils » libGoogle-Maps-iOS-Utils.a
› Executing app Pods/Google-Maps-iOS-Utils » Copy generated compatibility header
› Packaging react-native Pods/React-jsi » libReact-jsi.a
› Compiling react-native Pods/React-RCTNetwork » RCTDataRequestHandler.mm
› Packaging react-native Pods/React-RCTNetwork » libReact-RCTNetwork.a
› Compiling react-native Pods/React-RCTLinking » React-RCTLinking-dummy.m
› Compiling react-native Pods/React-RCTLinking » RCTLinkingPlugins.mm
› Compiling react-native Pods/React-RCTLinking » RCTLinkingManager.mm
› Packaging react-native Pods/React-RCTLinking » libReact-RCTLinking.a
› Compiling React-RCTImage-dummy.m
› Compiling react-native Pods/React-RCTImage » RCTUIImageViewAnimated.m
› Compiling react-native Pods/React-RCTBlob » RCTFileReaderModule.mm
› Compiling react-native Pods/React-RCTBlob » RCTBlobPlugins.mm
› Packaging react-native Pods/React-RCTImage » libReact-RCTImage.a
› Compiling react-native Pods/React-RCTBlob » RCTBlobManager.mm
› Compiling react-native Pods/React-RCTBlob » RCTBlobCollector.mm
› Compiling react-native Pods/React-RCTAnimation » React-RCTAnimation-dummy.m
› Compiling react-native Pods/React-RCTAnimation » RCTValueAnimatedNode.m
› Packaging react-native Pods/React-RCTBlob » libReact-RCTBlob.a
› Compiling react-native Pods/React-CoreModules » React-CoreModules-dummy.m
› Compiling react-native Pods/React-CoreModules » RCTWebSocketModule.mm
› Compiling react-native Pods/React-CoreModules » RCTWebSocketExecutor.mm
› Packaging react-native Pods/React-RCTAnimation » libReact-RCTAnimation.a
› Compiling react-native Pods/React-CoreModules » CoreModulesPlugins.mm
› Compiling expo-modules-core Pods/ExpoModulesCore » TypedArray.cpp
› Packaging react-native Pods/React-CoreModules » libReact-CoreModules.a
› Compiling react-native-screens Pods/RNScreens » UIWindow+RNScreens.mm
› Compiling expo-modules-core Pods/ExpoModulesCore » LazyObject.cpp
› Compiling expo-modules-core Pods/ExpoModulesCore » JSIUtils.cpp
› Packaging react-native-screens Pods/RNScreens » libRNScreens.a
› Compiling expo-modules-core Pods/ExpoModulesCore » ExpoModulesHostObject.mm
› Compiling expo-modules-core Pods/ExpoModulesCore » EXAppDelegatesLoader.m
› Compiling expo-modules-core Pods/ExpoModulesCore » EXAppDelegateWrapper.mm
    pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
› Compiling expo-modules-core Pods/ExpoModulesCore » EXAppDefines.m
› Packaging expo-modules-core Pods/ExpoModulesCore » libExpoModulesCore.a
› Executing expo-modules-core Pods/ExpoModulesCore » Copy generated compatibility header
› Compiling expo-system-ui Pods/ExpoSystemUI » ExpoSystemUIModule.swift
› Compiling expo-keep-awake Pods/ExpoKeepAwake » KeepAwakeModule.swift
› Compiling expo-system-ui Pods/ExpoSystemUI » ExpoSystemUI-dummy.m
› Compiling expo-keep-awake Pods/ExpoKeepAwake » ExpoKeepAwake-dummy.m
› Packaging expo-system-ui Pods/ExpoSystemUI » libExpoSystemUI.a
› Compiling expo-web-browser Pods/ExpoWebBrowser » ExpoWebBrowser-dummy.m
› Executing expo-system-ui Pods/ExpoSystemUI » Copy generated compatibility header
› Packaging expo-keep-awake Pods/ExpoKeepAwake » libExpoKeepAwake.a
› Packaging expo-web-browser Pods/ExpoWebBrowser » libExpoWebBrowser.a
› Executing expo-web-browser Pods/ExpoWebBrowser » Copy generated compatibility header
› Executing expo-keep-awake Pods/ExpoKeepAwake » Copy generated compatibility header
› Compiling expo Pods/Expo » Expo-dummy.m
› Compiling expo Pods/Expo » EXAppDefinesLoader.m
› Compiling expo-splash-screen Pods/EXSplashScreen » EXSplashScreenViewNativeProvider.m
› Compiling expo-splash-screen Pods/EXSplashScreen » EXSplashScreenService.m
› Compiling expo-splash-screen Pods/EXSplashScreen » EXSplashScreen-dummy.m
› Packaging expo-splash-screen Pods/EXSplashScreen » libEXSplashScreen.a
› Compiling expo-permissions Pods/EXPermissions » EXPermissions.m
› Compiling expo-permissions Pods/EXPermissions » EXPermissions-dummy.m
› Packaging expo-permissions Pods/EXPermissions » libEXPermissions.a
› Compiling expo-location Pods/EXLocation » EXLocationTaskConsumer.m
› Compiling expo-location Pods/EXLocation » EXLocationPermissionRequester.m
› Compiling expo-location Pods/EXLocation » EXLocationDelegate.m
› Compiling expo-location Pods/EXLocation » EXLocation.m
› Compiling expo-location Pods/EXLocation » EXLocation-dummy.m
› Compiling expo-location Pods/EXLocation » EXGeofencingTaskConsumer.m
› Compiling expo-location Pods/EXLocation » EXForegroundPermissionRequester.m
› Compiling expo-location Pods/EXLocation » EXBaseLocationRequester.m
› Packaging expo Pods/Expo » libExpo.a
› Compiling expo-location Pods/EXLocation » EXBackgroundLocationPermissionRequester.m
› Compiling expo-font Pods/EXFont » EXFontScalersManager.m
› Compiling expo-font Pods/EXFont » EXFontScaler.m
› Packaging expo-location Pods/EXLocation » libEXLocation.a
› Compiling expo-font Pods/EXFont » EXFontManager.m
› Compiling expo-font Pods/EXFont » EXFontLoaderProcessor.m
› Compiling expo-font Pods/EXFont » EXFontLoader.m
› Compiling expo-font Pods/EXFont » EXFont.m
› Compiling expo-font Pods/EXFont » EXFont-dummy.m
› Compiling expo-file-system Pods/EXFileSystem » NSData+EXFileSystem.m
› Compiling expo-file-system Pods/EXFileSystem » EXTaskHandlersManager.m
› Packaging expo-font Pods/EXFont » libEXFont.a
› Compiling expo-file-system Pods/EXFileSystem » EXSessionUploadTaskDelegate.m
› Compiling expo-file-system Pods/EXFileSystem » EXSessionTaskDispatcher.m
› Compiling expo-file-system Pods/EXFileSystem » EXSessionTaskDelegate.m
› Compiling expo-file-system Pods/EXFileSystem » EXSessionResumableDownloadTaskDelegate.m
› Compiling expo-file-system Pods/EXFileSystem » EXSessionHandler.m
› Compiling expo-file-system Pods/EXFileSystem » EXSessionDownloadTaskDelegate.m
› Compiling expo-file-system Pods/EXFileSystem » EXSessionCancelableUploadTaskDelegate.m
› Compiling expo-file-system Pods/EXFileSystem » EXFileSystemLocalFileHandler.m
› Compiling expo-file-system Pods/EXFileSystem » EXFileSystemAssetLibraryHandler.m
› Compiling expo-file-system Pods/EXFileSystem » EXFileSystem.m
› Compiling expo-file-system Pods/EXFileSystem » EXFileSystem-dummy.m
› Compiling expo-file-system Pods/EXFileSystem » EXFilePermissionModule.m
› Packaging expo-file-system Pods/EXFileSystem » libEXFileSystem.a
› Executing expo-constants Pods/EXConstants » [CP-User] Generate app.config for prebuilt Constants.manifest
› Compiling expo-application Pods/EXApplication » EXProvisioningProfile.m
› Compiling expo-application Pods/EXApplication » EXApplication.m
› Compiling EXApplication-dummy.m
› Packaging expo-application Pods/EXApplication » libEXApplication.a
› Compiling expo-constants Pods/EXConstants » ConstantsModule.swift
› Compiling expo-constants Pods/EXConstants » EXConstantsService.m
› Compiling expo-constants Pods/EXConstants » EXConstantsInstallationIdProvider.m
› Compiling expo-constants Pods/EXConstants » EXConstants-dummy.m
› Packaging expo-constants Pods/EXConstants » libEXConstants.a
› Executing expo-constants Pods/EXConstants » Copy generated compatibility header
› Compiling Pods/Pods-DrinkWaterSpots » Pods-DrinkWaterSpots-dummy.m
› Packaging Pods/Pods-DrinkWaterSpots » libPods-DrinkWaterSpots.a
    Run script build phase 'Start Packager' 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 by unchecking "Based on dependency analysis" in the script phase. (in target 'DrinkWaterSpots' from project 'DrinkWaterSpots')
    Run script build phase 'Bundle React Native code and images' 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 by unchecking "Based on dependency analysis" in the script phase. (in target 'DrinkWaterSpots' from project 'DrinkWaterSpots')
› Executing DrinkWaterSpots » [CP] Check Pods Manifest.lock
› Executing DrinkWaterSpots » Start Packager on http://localhost:8081
› Copying   ios/DrinkWaterSpots/Supporting/Expo.plist ➜ ./Expo.plist
› Compiling DrinkWaterSpots » SplashScreen.storyboard
› Preparing DrinkWaterSpots » Info.plist
› Compiling DrinkWaterSpots » ExpoModulesProvider.swift
› Compiling DrinkWaterSpots » noop-file.swift
› Compiling DrinkWaterSpots » main.m
› Compiling DrinkWaterSpots » DrinkWaterSpots_vers.c
› Compiling DrinkWaterSpots » AppDelegate.mm
› Linking   DrinkWaterSpots » DrinkWaterSpots
⚠️  ld: duplicate method '+moduleName' in
┌─[category]: ExpoBridgeModule-673657c4f3adb8de26ec7027b7f91aa9.o ExpoModulesCore/libExpoModulesCore.a
└─[class]: ExpoBridgeModule-c6a06914ddb891148f8d71d53fc72434.o ExpoModulesCore/libExpoModulesCore.a
⚠️  ld: method '+UIStatusBarAnimation:' in category from /Users/expo/Library/Developer/Xcode/DerivedData/DrinkWaterSpots-fmivmjzlngvxtthhidgvafxevkdh/Build/Intermediates.noindex/ArchiveIntermediates/DrinkWaterSpots/BuildProductsPath/Release-iphoneos/React-CoreModules/libReact-CoreModules.a(RCTStatusBarManager.o) conflicts with same method from another category
› Generating debug DrinkWaterSpots » DrinkWaterSpots.app.dSYM
› Executing DrinkWaterSpots » Bundle React Native code and images
    the transform cache was reset.

❌  error: File /Users/expo/Library/Developer/Xcode/DerivedData/DrinkWaterSpots-fmivmjzlngvxtthhidgvafxevkdh/Build/Intermediates.noindex/ArchiveIntermediates/DrinkWaterSpots/BuildProductsPath/Release-iphoneos/DrinkWaterSpots.app/main.jsbundle does not exist. This must be a bug with React Native, please report it here: https://github.com/facebook/react-native/issues

    Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' 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 by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ 	PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/DrinkWaterSpots-fmivmjzlngvxtthhidgvafxevkdh/Build/Intermediates.noindex/ArchiveIntermediates/DrinkWaterSpots/IntermediateBuildFilesPath/DrinkWaterSpots.build/Release-iphoneos/DrinkWaterSpots.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'DrinkWaterSpots' from project 'DrinkWaterSpots')
▸ (1 failure)
** ARCHIVE FAILED **
The following build commands failed:
	PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/DrinkWaterSpots-fmivmjzlngvxtthhidgvafxevkdh/Build/Intermediates.noindex/ArchiveIntermediates/DrinkWaterSpots/IntermediateBuildFilesPath/DrinkWaterSpots.build/Release-iphoneos/DrinkWaterSpots.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'DrinkWaterSpots' from project 'DrinkWaterSpots')
(1 failure)
Exit status: 65
+-------------+-------------------------+
|           Build environment           |
+-------------+-------------------------+
| xcode_path  | /Applications/Xcode.app |
| gym_version | 2.211.0                 |
| sdk         | iPhoneOS16.2.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
[stderr] 
[!] Error building the application - see the log above
Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.

I’m happy to share I’ve been able to dig to the root-cause and been able to resolve the issue!

After reading the EAS Build troubleshooting documentation again I was triggered to additionally download the full Xcode logs for more details. This resulted in the following error:

Found duplicate dependency key 'undefined' in /Users/expo/workingdir/build/index.js

In the end this turned out to be an issue on metro-config, having multiple metro-config versions active.
This was shown when performing, the below, showing 0.67.0 was used in react-native-community; while 0.73.9 in react native…

npm ls metro
   app@1.0.0 D:\Root\WaterSpots\app
  |─┬ @react-native-community/cli@7.0.4
  │ └─┬ @react-native-community/cli-plugin-metro@7.0.4
  │   ├─┬ metro-config@0.67.0
  │   │ └── metro@0.67.0 deduped
  │   └─┬ metro@0.67.0
  │     └─┬ metro-transform-worker@0.67.0
  │       └── metro@0.67.0 deduped
  └─┬ react-native@0.71.8
    └─┬ @react-native-community/cli@10.2.2
      └─┬ @react-native-community/cli-plugin-metro@10.2.2
        ├─┬ metro-config@0.73.9
        │ └── metro@0.73.9 deduped
		└─┬ metro@0.73.9
	      └─┬ metro-transform-worker@0.73.9
	 	    └── metro@0.73.9 deduped

Then there was a clear documentation on facebook metro how to resolve this: Yarn workspaces expo amplify, Error: resolveDependencies: Found duplicate dependency key 'undefined' in · Issue #857 · facebook/metro · GitHub

It was resolved by performing:

npm uninstall @react-native-community/cli@7.0.4
npm install @react-native-community/cli@10.2.2
// then checking whether all dependencies correct
npx expo install --check
npx expo-doctor

Finally npm ls metro check resulted in only 1 metro!

Hope this might help others in the future as well.
Happy coding!

2 Likes