Archive Failed error after updating to sdk43 (managed workflow)

▸ ** ARCHIVE FAILED **

1478

▸ The following build commands failed:

1479

▸ 	PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/MyProject-cwswfwoyfulvjjcjhwdonwuwrdzc/Build/Intermediates.noindex/ArchiveIntermediates/MyProject/IntermediateBuildFilesPath/MyProject.build/Debug-iphoneos/MyProject.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'MyProject' from project 'MyProject')

1480

▸ (1 failure)

1481

** ARCHIVE FAILED **

Info:

"expo-cli@4.12.7"
"eas-cli@0.33.0"

Same build error appears with and without hermes enabled.

Resetting the cache.key didn’t work.

Any clues what could be causing this?

Expo diagnostics:

Expo CLI 4.12.7 environment info:
    System:
      OS: Windows 10 10.0.19043
    Binaries:
      Node: 15.0.1 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.10 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 7.0.3 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      expo: ^43.0.0 => 43.0.0
      react: 17.0.1 => 17.0.1
      react-dom: 17.0.1 => 17.0.1
      react-native: 0.64.2 => 0.64.2
      react-native-web: 0.17.1 => 0.17.1
    Expo Workflow: managed

Package.json:


{

  "main": "node_modules/expo/AppEntry.js",

  "scripts": {

    "start": "expo start --dev-client",

    "build": "eas build --profile preview -p ios",

    "dev": "eas build --profile dev -p ios",

    "refresh": "expo start --dev-client -c",

    "prod": "expo start --dev-client --minify --no-dev"

  },

  "dependencies": {

    "@expo/vector-icons": "^12.0.0",

    "@gorhom/bottom-sheet": "^4.0.0",

    "@mobily/stacks": "^1.2.1",

    "@nandorojo/swr-react-native": "^0.1.3",

    "@react-native-async-storage/async-storage": "~1.15.0",

    "@react-native-community/masked-view": "0.1.10",

    "@react-native-community/netinfo": "6.0.2",

    "@react-navigation/bottom-tabs": "^6.0.5",

    "@react-navigation/core": "^6.0.1",

    "@react-navigation/elements": "^1.0.4",

    "@react-navigation/material-top-tabs": "^6.0.4",

    "@react-navigation/native": "^6.0.2",

    "@react-navigation/native-stack": "^6.0.2",

    "@react-navigation/stack": "^6.0.7",

    "@supabase/supabase-js": "^1.13.1",

    "babel-plugin-inline-dotenv": "^1.6.0",

    "base64-arraybuffer": "^1.0.1",

    "date-fns": "^2.25.0",

    "expo": "^43.0.0",

    "expo-app-loading": "~1.2.1",

    "expo-application": "~4.0.0",

    "expo-asset": "~8.4.3",

    "expo-blur": "~10.0.3",

    "expo-cellular": "~4.0.0",

    "expo-clipboard": "~2.0.3",

    "expo-constants": "~12.1.2",

    "expo-contacts": "~10.0.3",

    "expo-dev-client": "~0.6.3",

    "expo-font": "~10.0.3",

    "expo-haptics": "~11.0.3",

    "expo-image-manipulator": "~10.1.2",

    "expo-image-picker": "~11.0.3",

    "expo-linear-gradient": "~10.0.3",

    "expo-linking": "~2.4.2",

    "expo-mail-composer": "~11.0.3",

    "expo-network": "~4.0.3",

    "expo-notifications": "~0.13.3",

    "expo-random": "~12.0.0",

    "expo-secure-store": "~11.0.3",

    "expo-sharing": "~10.0.3",

    "expo-sms": "~10.0.3",

    "expo-splash-screen": "~0.13.3",

    "expo-updates": "~0.10.5",

    "expo-web-browser": "~10.0.3",

    "immer": "^9.0.6",

    "jotai": "^1.3.0",

    "jwt-decode": "^3.1.2",

    "libphonenumber-js": "^1.9.36",

    "lottie-react-native": "4.0.3",

    "mobx": "^6.3.3",

    "mobx-react-lite": "^3.2.1",

    "mobx-state-tree": "^5.0.3",

    "moti": "^0.12.0",

    "react": "17.0.1",

    "react-dom": "17.0.1",

    "react-hook-form": "^7.17.0",

    "react-native": "0.64.2",

    "react-native-animated-pagination-dots": "^0.1.72",

    "react-native-autolink": "^4.0.0",

    "react-native-dialog": "^8.2.0",

    "react-native-email-link": "^1.11.3",

    "react-native-fast-image": "^8.5.11",

    "react-native-figma-squircle": "^0.1.2",

    "react-native-gesture-handler": "~1.10.2",

    "react-native-keyboard-height": "^1.1.2",

    "react-native-pager-view": "5.4.6",

    "react-native-phone-number-input": "^2.1.0",

    "react-native-reanimated": "^2.2.3",

    "react-native-redash": "^16.1.1",

    "react-native-safe-area-context": "3.3.2",

    "react-native-screens": "~3.8.0",

    "react-native-svg": "^12.2.0",

    "react-native-tab-view": "^3.1.1",

    "react-native-tableview-simple": "^4.3.0",

    "react-native-url-polyfill": "^1.3.0",

    "react-native-web": "0.17.1",

    "react-qr-code": "^2.0.1",

    "reanimated-bottom-sheet": "^1.0.0-alpha.22",

    "recoil": "^0.4.1",

    "valtio": "^1.2.2"

  },

  "devDependencies": {

    "@babel/core": "^7.12.9",

    "@babel/preset-typescript": "latest",

    "@types/react": "~17.0.21",

    "@types/react-dom": "~17.0.9",

    "@types/react-native": "~0.64.12",

    "babel-preset-expo": "8.5.1",

    "react-native-bundle-visualizer": "^3.0.0",

    "typescript": "~4.3.5"

  },

  "private": true

}

The build id: 9275cc8f-c4d3-4336-95a2-2d62815a032a

Any help would be greatly appreciated :innocent:

error Unable to resolve module ../Screens/Auth/Welcome/WelcomeScreen from /Users/expo/workingdir/build/src/Routes/index.js: 

you have wrong import in your js code

1 Like

@wkozyra Thank you.

How could I discover this myself?

So I can stop wasting your time :blush:

1 Like

it was in xcode logs (last section of the logs)

1 Like

@wkozyra thank you kind sir