question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EAS build fails on iOS with ** ARCHIVE FAILED **

See original GitHub issue

Summary

I’m trying to build my project with EAS and I end up with the issue. I’ve made many changes but could not go pass the ARCHIVE FAILED error. Any help would be appreciated.

my app.json

{
    "expo": {
        "name": "bilibo",
        "slug": "bilibo",
        "owner": "XXXXX",
        "description": "Bilibo was built exclusively for students helping them to organise academic life, share experiences, create groups, prepare for exams, upload, share and store study materials, manage tasks, and many more.",
        "version": "1.0.0",
        "privacy": "hidden",
        "orientation": "portrait",
        "icon": "./app/assets/icon.png",
        "entryPoint": "./app/App.tsx",
        "splash": {
            "image": "./app/assets/splash.png",
            "resizeMode": "contain",
            "backgroundColor": "#ffffff"
        },
        "updates": {
            "fallbackToCacheTimeout": 0
        },
        "assetBundlePatterns": ["**/*"],
        "primaryColor": "#6a51c6",
        "ios": {
            "supportsTablet": false,
            "usesIcloudStorage": true,
            "infoPlist": {
                "UIBackgroundModes": "remote-notification",
                "NSUserTrackingUsageDescription": "The app uses this information to deliver personalized ads.",
                "NSCameraUsageDescription":"The app uses camera to upload photos directly to the app.",
                "NSLocationWhenInUseUsageDescription":"The app uses location to automatically set Country and City fields at registration.",
                "NSPhotoLibraryUsageDescription":"The app uses photo library to upload photos directly to the app."
            },
            "jsEngine": "hermes",
            "bundleIdentifier": "XXXXX"
        },
        "android": {
            "softwareKeyboardLayoutMode": "pan",
            "adaptiveIcon": {
                "foregroundImage": "./app/assets/adaptive-icon.png",
                "backgroundColor": "#FFFFFF"
            },
            "jsEngine": "hermes",
            "useNextNotificationsApi": true
        },
        "plugins": ["expo-tracking-transparency", 
            [
            "expo-document-picker",
            {
              "appleTeamId": "XXXXX"
            }
          ]]
    }
}

Managed or bare?

Managed

Environment

  EAS CLI 0.41.1 environment info:
    System:
      OS: macOS 12.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 14.17.0 - /usr/local/bin/node
      Yarn: 1.22.17 - /usr/local/bin/yarn
      npm: 7.17.0 - /usr/local/bin/npm
    Utilities:
      Git: 2.32.0 - /usr/bin/git
    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.3 => 0.64.3 
    npmGlobalPackages:
      eas-cli: 0.41.1
      expo-cli: 5.0.1
    Project workflow: managed

Error output

Compiling expo-task-manager Pods/EXTaskManager » EXTaskManager.m

▸ ** ARCHIVE FAILED **

▸ The following build commands failed:

▸ PhaseScriptExecution [CP-User]\ Generate\ app.manifest\ for\ expo-updates /Users/expo/Library/Developer/Xcode/DerivedData/bilibo-crdkdifzvghelvevlkgcthtngadr/Build/Intermediates.noindex/ArchiveIntermediates/bilibo/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/EXUpdates.build/Script-49F93F43B9AB98D31CB55A39585BC5D3.sh (in target 'EXUpdates' from project 'Pods')

▸ (1 failure)

** ARCHIVE FAILED **
The following build commands failed:
 PhaseScriptExecution [CP-User]\ Generate\ app.manifest\ for\ expo-updates /Users/expo/Library/Developer/Xcode/DerivedData/bilibo-crdkdifzvghelvevlkgcthtngadr/Build/Intermediates.noindex/ArchiveIntermediates/bilibo/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/EXUpdates.build/Script-49F93F43B9AB98D31CB55A39585BC5D3.sh (in target 'EXUpdates' from project 'Pods')

(1 failure)
Exit status: 65

Reproducible demo or steps to reproduce from a blank project

It’s difficult to reproduce this issue i’ve been working on my project for past 4 months and start to run builds only recently, in particular, today.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:22 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
dsokalcommented, Jan 10, 2022

Yes, the issue will be closed after upgrading @expo/config-plugins.

1reaction
wkozyra95commented, Jan 13, 2022

@irakli-g fix was deployed yesterday

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting build errors and crashes - Expo Documentation
A reference for troubleshooting build errors and crashes when using EAS Build.
Read more >
Expo eas build ios fails at "Run fastline" - Stack Overflow
It's failing in Run fastline task! I did npx expo prebuild -c; After that I did eas build --platform ios; The only thing...
Read more >
EAS build error - RevenueCat Community
When i run eas build it fails with the following error: (ios/Pods/RevenueCat/Sources/Identity/CustomerInfoManager.swift:192:29) 190 | 191 ...
Read more >
Development Build Fails on Fastlane After Installing ... - Reddit
Oh, I see... Well, the second easiest is to make sure you're using the latest version of EAS servers. The thing that's failing...
Read more >
Builds not showing under Testflight iOS Builds
if you haven't changed your build number, that may give you the redundant error. Increment your build number, archive and upload a new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found