Error map

CocoaPods: ffi / ruby error on Apple silicon LoadError - dlopen(ffi_c.bundle) (LoadError) incompatible architecture (have 'x86_64', need 'arm64e')

iOS · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

CocoaPods: ffi / ruby error on Apple silicon — LoadError - dlopen(ffi_c.bundle) (LoadError) incompatible architecture (have 'x86_64', need 'arm64e') (iOS)CocoaPods: …CocoaPods compatible versions — CocoaPods could not find compatible versions for pod (iOS)CocoaPods compatibl…PhaseScriptExecution — Xcode: Command PhaseScriptExecution failed with a nonzero exit code (iOS)PhaseScriptExecutionCDN: trunk URL couldn't be downloaded — [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/... (iOS)CDN: trunk URL coul…Unable to find a specification — [!] Unable to find a specification for `X` depended upon by `Y` (iOS)Unable to find a sp…library not found for -lPods — ld: library not found for -lPods-AppName / framework not found Pods_App (iOS)library not found f…zsh: bad CPU type in executable — macOS (Apple Silicon): zsh: bad CPU type in executable: ./tool (macOS)zsh: bad CPU type i…Module 'x' not found (iOS build) — Xcode: Module 'firebase_core' not found — flutter build ios fails after adding a plugin (Flutter / Dart)Module 'x' not foun…You don't have write permissions for the /Library/Ruby/Gems directory — macOS: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory (macOS)You don't have writ…mach-o file, but is an incompatible architecture — macOS: dlopen: mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64') (macOS)mach-o file, but is…CocoaPods: pod install failed / not installed — Flutter iOS: Error running pod install — CocoaPods not installed or out of date / [!] CocoaPods could not find compatible versions for pod (Flutter / Dart)CocoaPods: pod inst…Rosetta 2 not installed — macOS: Rosetta is not installed — softwareupdate --install-rosetta failed / Install Rosetta to open Intel apps (macOS)Rosetta 2 not insta…The sandbox is not in sync with the Podfile.lock — error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. (iOS)The sandbox is not …ERESOLVE — npm ERR! code ERESOLVE — unable to resolve dependency tree (npm)ERESOLVECould not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolveMultiple commands produce — Xcode: Multiple commands produce '…/Info.plist' (or another file) (iOS)Multiple commands p…command not found — bash: command not found (Linux)command not foundNo signing certificate — Xcode: No signing certificate "iOS Development" found (iOS)No signing certific…The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0 — warning: The iOS deployment target is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.0 (iOS)The iOS deployment …ECONNREFUSED — Error: connect ECONNREFUSED 127.0.0.1:5432 (Node.js)ECONNREFUSED407 — HTTP 407 Proxy Authentication Required (HTTP)407408 — HTTP 408 Request Timeout (HTTP)408Dependency requires compileSdk — Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs (Android)Dependency requires…No such module — Swift: No such module 'X' (module not found) (iOS)No such moduleversion solving failed (pub get) — Dart pub: Because app depends on intl ^0.19.0 and flutter_localizations from sdk depends on intl 0.18.1, version solving failed (Flutter / Dart)version solving fai…Undefined symbols for architecture — Undefined symbol(s) for architecture arm64 — linker command failed with exit code 1 (iOS)Undefined symbols f…built for iOS, linking for simulator — Building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 (iOS)built for iOS, link…undefined reference to — C/C++: undefined reference to `function' — collect2: error: ld returned 1 exit status (C/C++)undefined reference…exec format error — exec /usr/local/bin/docker-entrypoint.sh: exec format error (Docker)exec format errorNo Xcode or CLT — gyp: No Xcode or CLT version detected! (npm)No Xcode or CLTYou have not agreed to the Xcode license agreements — macOS: Agreeing to the Xcode/iOS license requires admin privileges, please run "sudo xcodebuild -license" and then retry this command (macOS)You have not agreed…BoxConstraints forces an infinite width — Flutter: BoxConstraints forces an infinite width. These invalid constraints were provided to RenderStack's layout() function (TextField in a Row) (Flutter / Dart)BoxConstraints forc…MissingPluginException: No implementation found for method — Flutter: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences) (Flutter / Dart)MissingPluginExcept…App Transport Security has blocked a cleartext HTTP load — iOS: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection (NSURLErrorDomain -1022) (Flutter / Dart)App Transport Secur…EACCES — npm ERR! code EACCES — permission denied (npm)EACCESdaemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemonsudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoersHomebrew: No available formula with the name — Homebrew: Error: No available formula with the name "x". Did you mean ...? (macOS)Homebrew: No availa…Your Command Line Tools are too outdated — Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS (macOS)Your Command Line T…Homebrew Cask: It seems there is already an App at — Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app' (macOS)Homebrew Cask: It s…Android license status unknown / licenses not accepted — flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses (Flutter / Dart)Android license sta…No profiles for 'x' were found — Xcode: No profiles for 'com.example.app' were found: Xcode couldn't find any iOS App Development provisioning profiles matching (Flutter / Dart)No profiles for 'x'…Dependency requires compileSdk 34 or later — Android Gradle: Execution failed for task ':app:checkDebugAarMetadata'. Dependency requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs (Flutter / Dart)Dependency requires…Homebrew: Permission denied @ dir_s_mkdir — Homebrew: Error: Permission denied @ dir_s_mkdir - /usr/local/Cellar / /opt/homebrew is not writable (macOS)Homebrew: Permissio…You have not agreed to the Xcode license agreements — Agreeing to the Xcode/iOS license requires admin privileges (Git)You have not agreed…Warning: No bottle available — building from source / Error: No such file or directory @ rb_sysopen — Warning: You are using macOS 15. We do not provide support for this pre-release version. (macOS)Warning: No bottle …SQLiteDatabaseLockedException: database is locked — android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5 SQLITE_BUSY) (Android)SQLiteDatabaseLocke…fatal: unable to get credential storage lock — fatal: unable to get credential storage lock in 1000 ms: File exists (Git)fatal: unable to ge…error: could not lock config file .git/config: File exists — error: could not lock config file /home/user/.gitconfig: File exists (Git)error: could not lo…

Directly related (12)

CocoaPods compatible versionsiOS

CocoaPods could not find compatible versions for pod

pod install can’t satisfy the version constraints — outdated spec repo, a higher deployment target required, or two pods needing…

PhaseScriptExecutioniOS

Xcode: Command PhaseScriptExecution failed with a nonzero exit code

A Run Script build phase (CocoaPods, React Native, Flutter, SwiftLint, Crashlytics…) failed. The real error is above this line in…

CDN: trunk URL couldn't be downloadediOS

[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/...

CocoaPods couldn’t reach its CDN spec repo — network/proxy issues, rate limiting, or an outdated CocoaPods.

Unable to find a specificationiOS

[!] Unable to find a specification for `X` depended upon by `Y`

CocoaPods can’t find the pod (or version) in its spec repos — stale local specs, a private spec repo not added, or a typo.

library not found for -lPodsiOS

ld: library not found for -lPods-AppName / framework not found Pods_App

The linker can’t find the CocoaPods library — usually because the .xcodeproj was opened instead of the .xcworkspace, or pods were…

zsh: bad CPU type in executablemacOS

macOS (Apple Silicon): zsh: bad CPU type in executable: ./tool

You ran an Intel (x86_64) program on an Apple Silicon Mac without Rosetta 2 (or an arm64 binary on an Intel Mac).

Module 'x' not found (iOS build)Flutter / Dart

Xcode: Module 'firebase_core' not found — flutter build ios fails after adding a plugin

The iOS project cannot find a CocoaPods module, usually because Pods are missing, outdated, or the workspace was not used.

You don't have write permissions for the /Library/Ruby/Gems directorymacOS

macOS: ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory

`gem install` tries to write into Apple's system Ruby, which is protected and shouldn't be modified.

mach-o file, but is an incompatible architecturemacOS

macOS: dlopen: mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')

A library or binary was built for a different CPU architecture than the process loading it.

CocoaPods: pod install failed / not installedFlutter / Dart

Flutter iOS: Error running pod install — CocoaPods not installed or out of date / [!] CocoaPods could not find compatible versions for pod

The iOS build cannot install its native dependencies because CocoaPods is missing, outdated or a pod's version constraints confli…

Rosetta 2 not installedmacOS

macOS: Rosetta is not installed — softwareupdate --install-rosetta failed / Install Rosetta to open Intel apps

An Intel app (or Docker/Android emulator) needs Rosetta 2 but it's not installed on this Apple Silicon Mac.

The sandbox is not in sync with the Podfile.lockiOS

error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

Installed Pods differ from the lock file.

Two steps away (36)

ERESOLVEnpm

npm ERR! code ERESOLVE — unable to resolve dependency tree

npm 7+ found conflicting peer dependency requirements and refuses to install a broken tree.

Could not resolveAndroid

Gradle: Could not resolve all files for configuration / Could not resolve dependency

Gradle couldn’t download a dependency — wrong coordinates/version, missing repository, offline mode, or network/proxy issues.

Multiple commands produceiOS

Xcode: Multiple commands produce '…/Info.plist' (or another file)

Two build steps write the same output file — usually Info.plist or an asset added to “Copy Bundle Resources”, or duplicate files…

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

No signing certificateiOS

Xcode: No signing certificate "iOS Development" found

Xcode can’t find a valid code-signing certificate + private key for the selected team in your keychain.

The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0iOS

warning: The iOS deployment target is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.0

A Pod targets an old iOS version that current Xcode no longer supports.

ECONNREFUSEDNode.js

Error: connect ECONNREFUSED 127.0.0.1:5432

Nothing is listening at that host:port — the target service is down or you’re connecting to the wrong address.

407HTTP

HTTP 407 Proxy Authentication Required

A proxy between you and the server requires credentials before it will forward your request.

408HTTP

HTTP 408 Request Timeout

The server closed the connection because the client took too long to send the complete request.

Dependency requires compileSdkAndroid

Dependency 'androidx.x:1.y' requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs

A library needs a higher compileSdk than your module uses (checkAarMetadata task).

No such moduleiOS

Swift: No such module 'X' (module not found)

Xcode can’t find a Swift package, pod or framework you import.

version solving failed (pub get)Flutter / Dart

Dart pub: Because app depends on intl ^0.19.0 and flutter_localizations from sdk depends on intl 0.18.1, version solving failed

`flutter pub get` cannot find a set of package versions that satisfy every dependency's constraints.

Undefined symbols for architectureiOS

Undefined symbol(s) for architecture arm64 — linker command failed with exit code 1

The linker can’t find the implementation of a symbol your code uses — a missing framework/library, a file not in the target, or a…

built for iOS, linking for simulatoriOS

Building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

A library contains device-only arm64 code; Apple Silicon simulators also run arm64 and need a separate simulator slice.

undefined reference toC/C++

C/C++: undefined reference to `function' — collect2: error: ld returned 1 exit status

The linker can’t find the definition of a function or variable that was declared and used.

exec format errorDocker

exec /usr/local/bin/docker-entrypoint.sh: exec format error

The container tried to run a binary built for a different CPU architecture (arm64 vs amd64) — or a script with a broken shebang /…

No Xcode or CLTnpm

gyp: No Xcode or CLT version detected!

node-gyp on macOS can’t find the Xcode Command Line Tools to compile native modules.

You have not agreed to the Xcode license agreementsmacOS

macOS: Agreeing to the Xcode/iOS license requires admin privileges, please run "sudo xcodebuild -license" and then retry this command

A new Xcode (or CLT) version needs its license accepted before command-line tools run.

BoxConstraints forces an infinite widthFlutter / Dart

Flutter: BoxConstraints forces an infinite width. These invalid constraints were provided to RenderStack's layout() function (TextField in a Row)

A widget that needs a finite width, like a `TextField` or `Container` with no size, was placed where the parent offers unlimited…

MissingPluginException: No implementation found for methodFlutter / Dart

Flutter: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

Dart called a plugin's native method but the native side is not registered, usually because the app was not fully rebuilt after a…

App Transport Security has blocked a cleartext HTTP loadFlutter / Dart

iOS: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection (NSURLErrorDomain -1022)

iOS blocks plain HTTP connections by default unless the domain is allowed in `Info.plist`.

EACCESnpm

npm ERR! code EACCES — permission denied

npm can’t write to a directory — usually global installs into a root-owned folder.

daemonDocker

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.

sudoersLinux

user is not in the sudoers file. This incident will be reported.

Your account isn’t allowed to use sudo.

Homebrew: No available formula with the namemacOS

Homebrew: Error: No available formula with the name "x". Did you mean ...?

Homebrew can't find a formula or cask with that name in the taps it knows.

Your Command Line Tools are too outdatedmacOS

Homebrew: Error: Your Command Line Tools (CLT) are too outdated. Update them from Software Update / Please update to the latest macOS

Homebrew requires a newer Command Line Tools version than the one installed.

Homebrew Cask: It seems there is already an App atmacOS

Homebrew: Error: It seems there is already an App at '/Applications/Chrome.app'

A cask install failed because the app is already installed manually (or a leftover exists).

Android license status unknown / licenses not acceptedFlutter / Dart

flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses

The Android SDK licenses have not been accepted, so builds cannot download or use SDK components.

No profiles for 'x' were foundFlutter / Dart

Xcode: No profiles for 'com.example.app' were found: Xcode couldn't find any iOS App Development provisioning profiles matching

Xcode could not sign the app because no provisioning profile or development team is set for the bundle identifier.

Dependency requires compileSdk 34 or laterFlutter / Dart

Android Gradle: Execution failed for task ':app:checkDebugAarMetadata'. Dependency requires libraries and applications that depend on it to compile against version 34 or later of the Android APIs

A dependency was built against a newer Android API than your project's `compileSdk`.

Homebrew: Permission denied @ dir_s_mkdirmacOS

Homebrew: Error: Permission denied @ dir_s_mkdir - /usr/local/Cellar / /opt/homebrew is not writable

Homebrew can't write to its prefix because the folders are owned by another user or root.

You have not agreed to the Xcode license agreementsGit

Agreeing to the Xcode/iOS license requires admin privileges

On macOS git won't run until the Xcode license is accepted.

Warning: No bottle available — building from source / Error: No such file or directory @ rb_sysopenmacOS

Warning: You are using macOS 15. We do not provide support for this pre-release version.

Homebrew has no precompiled package for your macOS/CPU and compiles from source.

SQLiteDatabaseLockedException: database is lockedAndroid

android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5 SQLITE_BUSY)

Another connection holds a write lock on the SQLite database.

fatal: unable to get credential storage lockGit

fatal: unable to get credential storage lock in 1000 ms: File exists

Git Credential Manager is locked by a stale process.

error: could not lock config file .git/config: File existsGit

error: could not lock config file /home/user/.gitconfig: File exists

A stale config lock blocks writes.