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.

[iOS] Failed to find matching arch for input file

See original GitHub issue

Build/Submit details page URL

https://expo.dev/accounts/louis-energic/projects/my-project/builds/36460a1f-9f32-4d9f-9f12-0c2c655548e4

Summary

We ran into this error upgrading our application from SDK 41 to 44. It happens again on the blank template created by expo init my-project. We’re getting this error trying to run the build on the Simulator, and it has previously been rejected by Apple. We never got this issue before.

Managed or bare?

managed

Environment

expo-env-info 1.0.2 environment info: System: OS: Linux 5.13 Ubuntu 20.04.4 LTS (Focal Fossa) Shell: 5.8 - /usr/bin/zsh Binaries: Node: 12.22.7 - ~/.nvm/versions/node/v12.22.7/bin/node npm: 8.3.1 - ~/.nvm/versions/node/v12.22.7/bin/npm 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 npmGlobalPackages: eas-cli: 0.49.0 expo-cli: 5.3.0 Expo Workflow: managed

Error output

No response

Reproducible demo or steps to reproduce from a blank project

expo init my-project
eas build

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
batiste-dekcommented, Jun 1, 2022

Hi @kelley-sharp thanks for your response.

The issue is that our application has been refused multiple times by Apple Store, for a crash in iPads it seems. We have been able to reproduce this issue, by downloading our builds and trying to put it on the iPad simulator, which gives us the Failed to find matching arch for input file as shown on the screenshot Hugo added. We are guessing that the issue is coming from code signing.

We tried it again today, by using eas build on a Linux machine, after wiping certificates both on EAS and Apple servers, which means that all certificates have been created by EAS. The build can be found here: https://expo.dev/accounts/louis-energic/projects/energic-v2/builds/e1e7a8b2-ed57-4d49-9234-0ddebb08683f

The details given by Apple:

Review device details:  

- Device type: iPad  
- OS version: iOS 15.5

Locally, expo doctor gives me no warning. Below the results of eas diagnostics.


  EAS CLI 0.53.0 environment info:
    System:
      OS: Linux 5.13 Ubuntu 20.04.4 LTS (Focal Fossa)
      Shell: 5.8 - /usr/bin/zsh
    Binaries:
      Node: 12.22.7 - ~/.nvm/versions/node/v12.22.7/bin/node
      npm: 8.11.0 - ~/.nvm/versions/node/v12.22.7/bin/npm
    Utilities:
      Git: 2.36.1 - /usr/bin/git
    npmPackages:
      @expo/webpack-config: ~0.16.21 => 0.16.24 
      expo: ^45.0.0 => 45.0.4 
      expo-dev-client: ^0.9.5 => 0.9.6 
      expo-updates: ~0.13.1 => 0.13.1 
      react: 17.0.2 => 17.0.2 
      react-dom: 17.0.2 => 17.0.2 
      react-native: 0.68.2 => 0.68.2 
      react-native-web: 0.17.7 => 0.17.7 
    npmGlobalPackages:
      eas-cli: 0.53.0
      expo-cli: 5.4.7
    Project workflow: managed

Dependencies

"dependencies": {
    "@expo/react-native-action-sheet": "3.9.0",
    "@expo/vector-icons": "^13.0.0",
    "@miblanchard/react-native-slider": "^1.5.0",
    "@react-native-masked-view/masked-view": "^0.2.6",
    "@react-navigation/bottom-tabs": "^6.3.1",
    "@react-navigation/drawer": "^6.4.1",
    "@react-navigation/material-top-tabs": "^6.2.1",
    "@react-navigation/native": "^6.0.10",
    "@react-navigation/stack": "^6.2.1",
    "@sentry/react-native": "^3.4.2",
    "@tech_energic/rn-tourguide": "1.0.2",
    "axios": "^0.21.1",
    "expo": "^45.0.0",
    "expo-app-loading": "~2.0.0",
    "expo-application": "~4.1.0",
    "expo-asset": "~8.5.0",
    "expo-av": "~11.2.3",
    "expo-barcode-scanner": "~11.3.0",
    "expo-camera": "~12.2.0",
    "expo-clipboard": "~3.0.1",
    "expo-constants": "~13.1.1",
    "expo-dev-client": "^0.9.5",
    "expo-device": "~4.2.0",
    "expo-file-system": "~14.0.0",
    "expo-font": "~10.1.0",
    "expo-image-picker": "~13.1.1",
    "expo-intent-launcher": "~10.2.0",
    "expo-linear-gradient": "~11.3.0",
    "expo-linking": "~3.1.0",
    "expo-localization": "~13.0.0",
    "expo-mail-composer": "~11.2.0",
    "expo-media-library": "~14.1.0",
    "expo-notifications": "~0.15.2",
    "expo-permissions": "~13.2.0",
    "expo-secure-store": "~11.2.0",
    "expo-status-bar": "~1.3.0",
    "expo-store-review": "~5.2.0",
    "expo-tracking-transparency": "~2.2.0",
    "expo-updates": "~0.13.1",
    "expo-web-browser": "~10.2.0",
    "i18n-js": "^3.2.1",
    "jest": "^26.6.3",
    "jshashes": "^1.0.7",
    "moment": "^2.22.2",
    "react": "17.0.2",
    "react-countdown": "^2.3.0",
    "react-native": "0.68.2",
    "react-native-calendar-picker": "^7.1.2",
    "react-native-circular-progress": "^1.0.1",
    "react-native-controlled-mentions": "^2.2.5",
    "react-native-gesture-handler": "~2.2.1",
    "react-native-hyperlink": "0.0.19",
    "react-native-keyboard-aware-scroll-view": "^0.9.1",
    "react-native-markdown-display": "github:vlad-x/react-native-markdown-display",
    "react-native-pager-view": "5.4.15",
    "react-native-progress": "^5.0.0",
    "react-native-reanimated": "~2.8.0",
    "react-native-redash": "^12.1.3",
    "react-native-safe-area-context": "4.2.4",
    "react-native-screens": "~3.11.1",
    "react-native-svg": "12.3.0",
    "react-native-tab-view": "^3.1.1",
    "react-native-web": "0.17.7",
    "react-redux": "^8.0.1",
    "redux": "^4.0.0",
    "redux-saga": "^1.0.2",
    "seamless-immutable": "^7.1.3",
    "sentry-expo": "^4.0.0",
    "socket.io-client": "^2.0.3"
  }

eas.json

{
  "build": {
    "production": {
      "node": "14.19.3",
      "releaseChannel": "production"
    },
    "preview": {
      "extends": "production",
      "releaseChannel": "staging",
      "distribution": "internal"
    },
    "development": {
      "extends": "production",
      "developmentClient": true,
      "distribution": "internal"
    }
  },
  "cli": {
    "version": ">= 0.52.0"
  }
}
0reactions
github-actions[bot]commented, Jul 10, 2022

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

xcode - Why can I install my app on iOS 14.1 but not 14.2?
I've tried uninstalling Xcode and reinstalling. I've deleted the derivedData folder. Nothing seems to help. The app builds just fine, but when ...
Read more >
Error installing IoS app on iOS simulator - AppGyver forums
This app needs to be updated by the developer to work on this version of iOS. Failed to find matching arch for input...
Read more >
Unity Game won't run on iPad OS: Failed to find matching arch ...
I'm having trouble getting an iOS game I built with unity to run on any of my ... Failed to find matching arch...
Read more >
Domain=MIInstallerErrorDomain Code=15 - Apple Developer
When we are deploying the app through Airwatch to IPAD 4 . ... 310: Failed to find matching arch for 64-bit Mach-O input...
Read more >
[Help/Support] IncorrectArchitecture (Failed to find matching ...
Help/Support IncorrectArchitecture (Failed to find matching arch for input file - Sideloadly Installation ... Sagmestking 0; iPhone 11; 14.0.
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