Error map

PhaseScriptExecution Xcode: Command PhaseScriptExecution failed with a nonzero exit code

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.

PhaseScriptExecution — Xcode: Command PhaseScriptExecution failed with a nonzero exit code (iOS)PhaseScript…Multiple commands produce — Xcode: Multiple commands produce '…/Info.plist' (or another file) (iOS)Multiple commands p…CocoaPods compatible versions — CocoaPods could not find compatible versions for pod (iOS)CocoaPods compatibl…CDN: trunk URL couldn't be downloaded — [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/... (iOS)CDN: trunk URL coul…command not found — bash: command not found (Linux)command not foundlibrary not found for -lPods — ld: library not found for -lPods-AppName / framework not found Pods_App (iOS)library not found f…No signing certificate — Xcode: No signing certificate "iOS Development" found (iOS)No signing certific…Unable to find a specification — [!] Unable to find a specification for `X` depended upon by `Y` (iOS)Unable to find a sp…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…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…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 …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 …CocoaPods: ffi / ruby error on Apple silicon — LoadError - dlopen(ffi_c.bundle) (LoadError) incompatible architecture (have 'x86_64', need 'arm64e') (iOS)CocoaPods: ffi / ru…Build input file cannot be found — error: Build input file cannot be found: '/path/File.swift'. Did you forget to declare this file as an output of a script phase? (iOS)Build input file ca…duplicate symbol '_OBJC_CLASS_$_X' in — ld: 1 duplicate symbol for architecture arm64 / duplicate symbol '_OBJC_CLASS_$_Reachability' in: (iOS)duplicate symbol '_…Multiple commands produce ... SPM duplicate target names — error: multiple targets named 'Utils' in package (iOS)Multiple commands p…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 resolveNoSuchMethodError — java.lang.NoSuchMethodError (Java)NoSuchMethodErrorECONNREFUSED — Error: connect ECONNREFUSED 127.0.0.1:5432 (Node.js)ECONNREFUSED407 — HTTP 407 Proxy Authentication Required (HTTP)407408 — HTTP 408 Request Timeout (HTTP)408not a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositoryENOENT — Error: ENOENT: no such file or directory (Node.js)ENOENTEACCES — Linux: Permission denied (Linux)EACCESNo such module — Swift: No such module 'X' (module not found) (iOS)No such moduleUndefined 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…INSTALL_FAILED_UPDATE_INCOMPATIBLE — Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE (Android)INSTALL_FAILED_UPDA…Windows protected your PC — Windows protected your PC — Microsoft Defender SmartScreen prevented an unrecognized app from starting (Windows)Windows protected y…doesn't include the currently selected device — Provisioning profile "x" doesn't include the currently selected device (iOS)doesn't include the…Dependency 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…version 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…Failed to resolve dependencies (Swift Package Manager) — error: Failed to resolve dependencies: Dependencies could not be resolved because no versions of 'Lib' match the requirement (iOS)Failed to resolve d…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…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…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…is only available in iOS x or newer — Swift: 'X' is only available in iOS 16.0 or newer (iOS)is only available i…Xcode 16 threading warning: Publishing changes from within view updates — Publishing changes from within view updates is not allowed, this will cause undefined behavior. (iOS)Xcode 16 threading …zsh: bad CPU type in executable — macOS (Apple Silicon): zsh: bad CPU type in executable: ./tool (macOS)zsh: bad CPU type i…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…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…

Directly related (12)

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…

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…

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.

command not foundLinux

bash: command not found

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

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…

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.

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.

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.

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…

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.

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.

CocoaPods: ffi / ruby error on Apple siliconiOS

LoadError - dlopen(ffi_c.bundle) (LoadError) incompatible architecture (have 'x86_64', need 'arm64e')

CocoaPods' native gem was built for another CPU architecture.

Two steps away (35)

Build input file cannot be foundiOS

error: Build input file cannot be found: '/path/File.swift'. Did you forget to declare this file as an output of a script phase?

The project references a file that no longer exists on disk.

duplicate symbol '_OBJC_CLASS_$_X' iniOS

ld: 1 duplicate symbol for architecture arm64 / duplicate symbol '_OBJC_CLASS_$_Reachability' in:

Two object files define the same symbol.

Multiple commands produce ... SPM duplicate target namesiOS

error: multiple targets named 'Utils' in package

Two targets share a name in the dependency graph.

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.

NoSuchMethodErrorJava

java.lang.NoSuchMethodError

Code compiled against one version of a library is running with another version where the method doesn’t exist.

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.

not a git repositoryGit

fatal: not a git repository (or any of the parent directories): .git

You ran a Git command outside a Git working tree.

ENOENTNode.js

Error: ENOENT: no such file or directory

A file or directory the program tried to open doesn’t exist at that path.

EACCESLinux

Linux: Permission denied

Your user (or the service user) lacks read/write/execute permission on a file, directory or one of its parents.

No such moduleiOS

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

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

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.

INSTALL_FAILED_UPDATE_INCOMPATIBLEAndroid

Android: INSTALL_FAILED_UPDATE_INCOMPATIBLE

An app with the same package name but a different signing key is already installed on the device.

Windows protected your PCWindows

Windows protected your PC — Microsoft Defender SmartScreen prevented an unrecognized app from starting

SmartScreen blocked an app that’s unsigned or new/rare (no download reputation yet).

doesn't include the currently selected deviceiOS

Provisioning profile "x" doesn't include the currently selected device

The development profile doesn’t list this iPhone’s UDID, so Xcode can’t install the build on it.

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).

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.

Failed to resolve dependencies (Swift Package Manager)iOS

error: Failed to resolve dependencies: Dependencies could not be resolved because no versions of 'Lib' match the requirement

Swift Package Manager can't find a version satisfying all requirements.

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`.

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`.

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.

is only available in iOS x or neweriOS

Swift: 'X' is only available in iOS 16.0 or newer

You used an API that requires a newer iOS than your deployment target.

Xcode 16 threading warning: Publishing changes from within view updatesiOS

Publishing changes from within view updates is not allowed, this will cause undefined behavior.

A published value changed during view rendering.

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).

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.

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.