IOS eas build failed

Build/Submit details page URL

Summary

I am trying to build my app for ios using eas build -p ios --platform development but it’s not working.

I keep getting the errror:

CocoaPods 1.12.0 is available.
To update use: `sudo gem install cocoapods`
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.12.0
[!] Unable to integrate the following embedded targets with their respective host targets (a host target is a "parent" target which embeds a "child" target like a framework or extension):
- blipmoore (false) and OneSignalNotificationServiceExtension (true) do not both set use_frameworks!.
[stderr] 
[!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `4503A05906B542E7921F3734` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
pod exited with non-zero code: 1

This was as a result of me adding useFrameworks:static to my eas.json

My eas.json plugin array:

 plugins: [
      [
        "onesignal-expo-plugin",
        {
          mode: "development",
        }
      ],
      "@react-native-firebase/app",
      "sentry-expo",
      [
        "expo-image-picker",
        {
          photosPermission: "The app accesses your photos to serve you better."
        }
      ],
      [
        "expo-build-properties",
        {
          "android": {
            "compileSdkVersion": 31,
            "targetSdkVersion": 31,
            "buildToolsVersion": "31.0.0",
            "enableProguardInReleaseBuilds":false
          },
          "ios": {
            "deploymentTarget": "13.0",
            "useFrameworks": "static"
          }
        }
      ],
      "@notifee/react-native"
    ], 

I was told to add that from this issue due to a previous error :

[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `FirebaseCoreInternal` depends upon `GoogleUtilities`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.
[stderr] 
[!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `ACF1DEC2DD32452AA8B96093` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
Error: Unknown error. See logs for more information.

Now

Managed or bare?

bare

Environment

expo-env-info 1.0.5 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 16.18.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
npmPackages:
expo: ~44.0.0 => 44.0.6
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: 0.17.1 => 0.17.1
Expo Workflow: bare

Error output

No response

Reproducible demo or steps to reproduce from a blank project

package.json:

{
  "name": "project",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@cometchat-pro/react-native-chat": "^3.0.11",
    "@eliav2/react-native-collapsible-view": "1.4.0",
    "@expo-google-fonts/inter": "^0.2.2",
    "@notifee/react-native": "^5.2.2",
    "@react-native-async-storage/async-storage": "~1.15.0",
    "@react-native-community/netinfo": "7.1.3",
    "@react-native-firebase/app": "^17.0.0",
    "@react-native-firebase/firestore": "^17.0.0",
    "@react-native-firebase/messaging": "^17.0.0",
    "@react-native-masked-view/masked-view": "^0.2.6",
    "@react-native-picker/picker": "^2.2.1",
    "@react-navigation/bottom-tabs": "^6.5.4",
    "@react-navigation/drawer": "^6.4.1",
    "@react-navigation/material-top-tabs": "6.2.1",
    "@react-navigation/native": "^6.1.3",
    "@react-navigation/stack": "^6.3.12",
    "@rodrigogs/mysql-events": "^0.6.0",
    "@sentry/react-native": "^4.6.1",
    "babel-plugin-inline-dotenv": "^1.7.0",
    "cors": "^2.8.5",
    "dotenv": "^16.0.3",
    "emoji-mart-native": "^0.6.5-beta",
    "expo": "~44.0.0",
    "expo-app-loading": "^1.3.0",
    "expo-application": "^4.0.1",
    "expo-asset": "^8.4.6",
    "expo-av": "^10.2.0",
    "expo-build-properties": "^0.3.0",
    "expo-constants": "^13.0.1",
    "expo-dev-client": "^0.8.6",
    "expo-device": "~4.1.0",
    "expo-document-picker": "^10.1.3",
    "expo-file-system": "^13.1.4",
    "expo-font": "^10.0.4",
    "expo-haptics": "^11.1.0",
    "expo-image-manipulator": "^10.2.0",
    "expo-image-picker": "^12.0.1",
    "expo-intent-launcher": "^10.1.3",
    "expo-linear-gradient": "^11.0.3",
    "expo-location": "^14.0.1",
    "expo-media-library": "^14.0.0",
    "expo-notifications": "^0.14.0",
    "expo-permissions": "^13.1.0",
    "expo-server-sdk": "^3.7.0",
    "expo-sharing": "^10.1.0",
    "expo-splash-screen": "^0.14.1",
    "expo-status-bar": "^1.2.0",
    "expo-updates": "^0.11.7",
    "express": "^4.18.2",
    "firebase": "^9.17.1",
    "jetifier": "^2.0.0",
    "lottie-react-native": "^5.0.1",
    "messagebird": "^4.0.1",
    "mixpanel-react-native": "1.5.0",
    "moment": "^2.29.4",
    "mysql": "^2.18.1",
    "navigation": "^6.1.0",
    "nodemon": "^2.0.20",
    "onesignal-expo-plugin": "^1.3.0",
    "paystack": "^2.0.1",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "react-native": "0.64.3",
    "react-native-animatable": "^1.3.3",
    "react-native-animated-loader": "^1.0.0",
    "react-native-autolink": "^4.0.0",
    "react-native-calendar-picker": "^7.1.3",
    "react-native-collapsible": "^1.6.0",
    "react-native-dotenv": "^3.4.7",
    "react-native-dropdown-picker": "^5.4.4",
    "react-native-easy-content-loader": "^0.3.2",
    "react-native-elements": "^3.4.3",
    "react-native-fast-image": "^8.6.3",
    "react-native-flash-message": "^0.4.0",
    "react-native-geolocation-service": "^5.3.1",
    "react-native-gesture-handler": "^2.1.0",
    "react-native-image-slider-box": "^2.0.7",
    "react-native-indicators": "^0.17.0",
    "react-native-keep-awake": "^4.0.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-maps": "^0.29.4",
    "react-native-maps-directions": "1.8.0",
    "react-native-modal": "^12.0.0",
    "react-native-multiple-select": "^0.5.12",
    "react-native-onboarding-swiper": "^1.2.0",
    "react-native-onesignal": "^4.5.0",
    "react-native-pager-view": "^5.4.9",
    "react-native-paystack-webview": "^4.0.3",
    "react-native-phone-call": "^1.2.0",
    "react-native-phone-input": "1.3.3",
    "react-native-phone-number-input": "^2.1.0",
    "react-native-progress": "5.0.0",
    "react-native-reanimated": "^2.3.1",
    "react-native-safe-area-context": "^3.3.2",
    "react-native-screens": "^3.10.1",
    "react-native-select-dropdown": "^3.2.1",
    "react-native-skeleton-content": "^1.0.28",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-svg": "12.1.1",
    "react-native-swipe-list-view": "^3.2.9",
    "react-native-tab-view": "^3.3.4",
    "react-native-vector-icons": "^9.2.0",
    "react-native-web": "0.17.1",
    "react-native-webview": "^11.15.0",
    "react-navigation-transitions": "^1.0.12",
    "react-phone-number-input": "^3.2.18",
    "react-redux": "^8.0.5",
    "redux-persist": "^6.0.0",
    "redux-thunk": "^2.4.2",
    "rn-fetch-blob": "^0.12.0",
    "sentry-expo": "^4.0.0",
    "socket.io": "^4.5.4",
    "socket.io-client": "^4.5.4",
    "stream-chat-expo": "^5.9.1",
    "twilio": "^3.84.1"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@types/react-native": "^0.68.0"
  },
  "private": true
}

There’s no answer anywhere to this. Whenever I search for this error, I see it available in flutter forums instead

I solved this by upgrading to expo version 45

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.