Error map

Multiple commands produce ... SPM duplicate target names error: multiple targets named 'Utils' in package

iOS · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (9). 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.

Multiple commands produce ... SPM duplicate target names — error: multiple targets named 'Utils' in package (iOS)Multiple co…Multiple commands produce — Xcode: Multiple commands produce '…/Info.plist' (or another file) (iOS)Multiple commands p…Swift package plugin: Sandbox: deny file-write — error: Sandbox: swift-format(1234) deny(1) file-write-create (iOS)Swift package plugi…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…Missing package product 'X' — error: Missing package product 'Alamofire' (iOS)Missing package pro…Keychain: errSecDuplicateItem (-25299) — OSStatus -25299: The specified item already exists in the keychain (iOS)Keychain: errSecDup…Macro / plugin must be enabled before it can be used — error: Target 'X' must be enabled before it can be used — 'MacroName' (macro) (iOS)Macro / plugin must…Duplicate class kotlin.collections found in modules — Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-1.8.0 and kotlin-stdlib-jdk8-1.7.10 (Android)Duplicate class kot…2 files found with path META-INF/LICENSE — 2 files found with path 'META-INF/LICENSE.md' from inputs (Android)2 files found with …checksum of downloaded artifact does not match — error: checksum of downloaded artifact of binary target 'Lib' (abc) does not match checksum specified by the manifest (def) (iOS)checksum of downloa…PhaseScriptExecution — Xcode: Command PhaseScriptExecution failed with a nonzero exit code (iOS)PhaseScriptExecutionCocoaPods compatible versions — CocoaPods could not find compatible versions for pod (iOS)CocoaPods compatibl…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…Android Gradle plugin requires a newer Gradle — The Android Gradle plugin supports only Gradle version 8.x and higher. Current Gradle version is 7.x (Android)Android Gradle plug…Lint found fatal errors while assembling a release target — Lint found fatal errors while assembling a release target / lintVitalRelease FAILED (Android)Lint found fatal er…CMake Error: Could not find CMAKE_MAKE_PROGRAM — CMake Error: CMake was unable to find a build program corresponding to "Ninja" (Android)CMake Error: Could …Could not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolveDuplicate class — Duplicate class X found in modules A and B (Android)Duplicate classDependency 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…Failed to prepare device for development — Xcode: Failed to prepare device for development / iPhone is not available. Please reconnect the device (iOS)Failed to prepare d…No matching client found for package name — No matching client found for package name 'com.example.app.debug' in google-services.json (Android)No matching client …Play Billing: ITEM_UNAVAILABLE (4) — BillingResponseCode.ITEM_UNAVAILABLE: Requested product is not available for purchase (Android)Play Billing: ITEM_…SecurityException: Permission Denial — java.lang.SecurityException: Permission Denial ... requires android.permission.X (Android)SecurityException: …is damaged and can’t be opened — macOS: “App” is damaged and can’t be opened. You should move it to the Trash. (macOS)is damaged and can’…Apple could not verify "x" is free of malware — macOS: “app” cannot be opened because Apple cannot check it for malicious software / Apple could not verify “app” is free of malware that may harm your Mac (macOS)Apple could not ver…Device is busy (Preparing / Copying shared cache symbols) — Xcode: iPhone is busy: Preparing debugger support for iPhone (iOS)Device is busy (Pre…Developer Mode disabled on iPhone — error: Developer Mode disabled. To use iPhone for development, enable Developer Mode in Settings → Privacy & Security. (iOS)Developer Mode disa…Xcode wireless debugging: device not connecting — Could not connect to the device wirelessly — iPhone is not available because it is unreachable (iOS)Xcode wireless debu…android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …incompatible version of Kotlin — Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0 (Android)incompatible versio…Inconsistent JVM-target compatibility — Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (1.8) (Android)Inconsistent JVM-ta…Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…Duplicate resources — Execution failed for task ':app:mergeDebugResources'. > Duplicate resources (Android)Duplicate resourcesError building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …warning: Cannot merge binary files — warning: Cannot merge binary files: image.png (HEAD vs. feature) (Git)warning: Cannot mer…ITMS-90125: The binary is invalid. The encrypted segment has a size of zero — ITMS-90125: The binary is invalid. The encrypted segment size is zero (iOS)ITMS-90125: The bin…Module compiled with Swift X cannot be imported by Swift Y — error: module compiled with Swift 5.9 cannot be imported by the Swift 5.10 compiler (iOS)Module compiled wit…

Directly related (9)

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…

Swift package plugin: Sandbox: deny file-writeiOS

error: Sandbox: swift-format(1234) deny(1) file-write-create

A build tool plugin tried to write outside its sandbox.

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.

Missing package product 'X'iOS

error: Missing package product 'Alamofire'

Xcode has the package reference but not the product linked to your target.

Keychain: errSecDuplicateItem (-25299)iOS

OSStatus -25299: The specified item already exists in the keychain

You tried to add an item that already exists.

Macro / plugin must be enabled before it can be usediOS

error: Target 'X' must be enabled before it can be used — 'MacroName' (macro)

Xcode requires you to trust third-party macros and plugins.

Duplicate class kotlin.collections found in modulesAndroid

Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-1.8.0 and kotlin-stdlib-jdk8-1.7.10

Two Kotlin stdlib artifacts contain the same classes and conflict at build time.

2 files found with path META-INF/LICENSEAndroid

2 files found with path 'META-INF/LICENSE.md' from inputs

Two dependencies ship the same file and packaging can't choose one.

checksum of downloaded artifact does not matchiOS

error: checksum of downloaded artifact of binary target 'Lib' (abc) does not match checksum specified by the manifest (def)

A binary xcframework package changed or the manifest checksum is wrong.

Two steps away (27)

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…

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…

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.

Android Gradle plugin requires a newer GradleAndroid

The Android Gradle plugin supports only Gradle version 8.x and higher. Current Gradle version is 7.x

The Android Gradle plugin (AGP) in your build needs a newer Gradle than the wrapper provides.

Lint found fatal errors while assembling a release targetAndroid

Lint found fatal errors while assembling a release target / lintVitalRelease FAILED

The release build runs a lint check and a fatal lint issue stopped it.

CMake Error: Could not find CMAKE_MAKE_PROGRAMAndroid

CMake Error: CMake was unable to find a build program corresponding to "Ninja"

The native build can't find CMake or Ninja.

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.

Duplicate classAndroid

Duplicate class X found in modules A and B

Two dependencies ship the same class — typically old Android Support libraries mixed with AndroidX, or Kotlin stdlib-jdk7/jdk8 ve…

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

Failed to prepare device for developmentiOS

Xcode: Failed to prepare device for development / iPhone is not available. Please reconnect the device

Xcode couldn’t set up the device — usually the device’s iOS version is newer than Xcode supports, Developer Mode is off, or pairi…

No matching client found for package nameAndroid

No matching client found for package name 'com.example.app.debug' in google-services.json

The app's applicationId isn't registered in the Firebase project.

Play Billing: ITEM_UNAVAILABLE (4)Android

BillingResponseCode.ITEM_UNAVAILABLE: Requested product is not available for purchase

The product exists in code but isn't purchasable from Play.

SecurityException: Permission DenialAndroid

java.lang.SecurityException: Permission Denial ... requires android.permission.X

The app called an API that needs a permission it hasn’t declared or the user hasn’t granted at runtime.

is damaged and can’t be openedmacOS

macOS: “App” is damaged and can’t be opened. You should move it to the Trash.

Gatekeeper blocked an app that isn’t properly signed/notarized or was modified after download (quarantine attribute).

Apple could not verify "x" is free of malwaremacOS

macOS: “app” cannot be opened because Apple cannot check it for malicious software / Apple could not verify “app” is free of malware that may harm your Mac

Gatekeeper blocked an app that is not notarized by Apple.

Device is busy (Preparing / Copying shared cache symbols)iOS

Xcode: iPhone is busy: Preparing debugger support for iPhone

Xcode is still preparing a newly connected device.

Developer Mode disabled on iPhoneiOS

error: Developer Mode disabled. To use iPhone for development, enable Developer Mode in Settings → Privacy & Security.

iOS 16+ requires Developer Mode for running dev builds.

Xcode wireless debugging: device not connectingiOS

Could not connect to the device wirelessly — iPhone is not available because it is unreachable

Xcode can't reach the iPhone over Wi-Fi.

android:attr/lStar not foundAndroid

AAPT: error: resource android:attr/lStar not found

A dependency (androidx.core 1.7+) uses an attribute from Android 12 (API 31), but your module compiles against an older compileSd…

incompatible version of KotlinAndroid

Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.0.0, expected version is 1.8.0

A dependency was compiled with a newer Kotlin version than your project’s Kotlin Gradle plugin can read.

Inconsistent JVM-target compatibilityAndroid

Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (17) and 'compileDebugKotlin' (1.8)

Java and Kotlin compile tasks target different JVM bytecode versions in the same module.

Android resource linking failedAndroid

AAPT: error: resource x (aka y) not found — Android resource linking failed

A layout, manifest or style references a resource (drawable, string, style, attribute) that doesn’t exist in the module or its de…

Duplicate resourcesAndroid

Execution failed for task ':app:mergeDebugResources'. > Duplicate resources

Two resource files define the same name and type in the same configuration (e.g. ic_logo.png and ic_logo.xml).

Error building the app bundleAndroid

Execution failed for task ':app:bundleRelease'. Error while executing bundletool

Building the Android App Bundle (.aab) failed in the bundle step.

warning: Cannot merge binary filesGit

warning: Cannot merge binary files: image.png (HEAD vs. feature)

Git can't merge binary files line by line.

ITMS-90125: The binary is invalid. The encrypted segment has a size of zeroiOS

ITMS-90125: The binary is invalid. The encrypted segment size is zero

The uploaded binary is malformed.

Module compiled with Swift X cannot be imported by Swift YiOS

error: module compiled with Swift 5.9 cannot be imported by the Swift 5.10 compiler

A binary framework was built with another Swift version.