Error map

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

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.

Failed to prepare device for development — Xcode: Failed to prepare device for development / iPhone is not available. Please reconnect the device (iOS)Failed to p…Undefined symbols for architecture — Undefined symbol(s) for architecture arm64 — linker command failed with exit code 1 (iOS)Undefined symbols f…ITMS-90725 — ITMS-90725: SDK version issue — This app was built with the iOS 17.x SDK. All iOS apps submitted to the App Store must be built with the iOS 18 SDK or later (iOS)ITMS-90725Cannot preview in this file — SwiftUI Preview: Cannot preview in this file — the preview crashed / failed to build (iOS)Cannot preview in t…Untrusted Developer — Could not launch "App": process launch failed: Security / Untrusted Developer (iOS)Untrusted DeveloperSigning requires a development team — Signing for "App" requires a development team. Select a development team in the Signing & Capabilities editor (iOS)Signing requires a …Can't install the software because it is not currently available from the Software Update server — macOS: xcode-select: error: Can't install the software because it is not currently available from the Software Update server (macOS)Can't install the s…doesn't include the currently selected device — Provisioning profile "x" doesn't include the currently selected device (iOS)doesn't include the…xcode-select: error: tool 'xcodebuild' requires Xcode — macOS: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance (macOS)xcode-select: error…invalid active developer path — xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun (iOS)invalid active deve…No such module — Swift: No such module 'X' (module not found) (iOS)No such moduleYou 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…No connected devices / device not found — flutter run: No connected devices found; check 'flutter doctor'. Expected at least one device (Flutter / Dart)No connected device…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…library not found for -lPods — ld: library not found for -lPods-AppName / framework not found Pods_App (iOS)library not found f…dyld: Library not loaded — dyld: Library not loaded: @rpath/X.framework/X — Reason: image not found (crash on launch) (iOS)dyld: Library not l…ITMS-91053 — ITMS-91053: Missing API declaration — Your app's code references required reason APIs (privacy manifest) (iOS)ITMS-91053ITMS-90683 — ITMS-90683: Missing purpose string in Info.plist (NSCameraUsageDescription etc.) (iOS)ITMS-90683Redundant Binary Upload — ITMS-4238: Redundant Binary Upload. You've already uploaded a build with build number 'x' for version number 'y' (iOS)Redundant Binary Up…Unexpectedly found nil — Fatal error: Unexpectedly found nil while unwrapping an Optional value (iOS)Unexpectedly found …Modifying state during view update — SwiftUI: Modifying state during view update, this will cause undefined behavior (iOS)Modifying state dur…Publishing changes from background threads — SwiftUI: Publishing changes from background threads is not allowed; make sure to publish values from the main thread (iOS)Publishing changes …adb unauthorized — adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set (Android)adb unauthorizedno devices/emulators found — adb: no devices/emulators found / error: device not found (Android)no devices/emulator…Failed to register bundle identifier — Failed to register bundle identifier: The app identifier "com.x" cannot be registered to your development team because it is not available (iOS)Failed to register …No signing certificate — Xcode: No signing certificate "iOS Development" found (iOS)No signing certific…doesn't include signing certificate — Provisioning profile "x" doesn't include signing certificate "Apple Development: Name (ID)" (iOS)doesn't include sig…Command CodeSign failed — Command CodeSign failed with a nonzero exit code (errSecInternalComponent / resource fork, Finder information not allowed) (iOS)Command CodeSign fa…Homebrew: 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…integrity could not be verified — Unable to Install "App": This app cannot be installed because its integrity could not be verified (iOS)integrity could not…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'…codesign: resource fork, Finder information, or similar detritus not allowed — macOS: Error: resource fork, Finder information, or similar detritus not allowed (macOS)codesign: resource …zsh: bad CPU type in executable — macOS (Apple Silicon): zsh: bad CPU type in executable: ./tool (macOS)zsh: bad CPU type i…You have not agreed to the Xcode license agreements — Agreeing to the Xcode/iOS license requires admin privileges (Git)You have not agreed…Device is busy (Preparing / Copying shared cache symbols) — Xcode: iPhone is busy: Preparing debugger support for iPhone (iOS)Device is busy (Pre…command not found — bash: command not found (Linux)command not foundNo Xcode or CLT — gyp: No Xcode or CLT version detected! (npm)No Xcode or CLTzsh: command not found: brew — macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon) (macOS)zsh: command not fo…CocoaPods compatible versions — CocoaPods could not find compatible versions for pod (iOS)CocoaPods compatibl…Unable to find a specification — [!] Unable to find a specification for `X` depended upon by `Y` (iOS)Unable to find a sp…is only available in iOS x or newer — Swift: 'X' is only available in iOS 16.0 or newer (iOS)is only available i…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…GitHub Actions: Xcode version not available on runner — Could not find Xcode version that matches 15.4 (iOS)GitHub Actions: Xco…Xcode Preview: Cannot preview in this file (build for iOS Simulator failed) — Cannot preview in this file — Compiling failed: Cannot find 'X' in scope (iOS)Xcode Preview: Cann…INSTALL_FAILED_USER_RESTRICTED — INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo) (Android)INSTALL_FAILED_USER…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…Cleartext HTTP traffic not permitted — Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted (Flutter / Dart)Cleartext HTTP traf…

Directly related (12)

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…

ITMS-90725iOS

ITMS-90725: SDK version issue — This app was built with the iOS 17.x SDK. All iOS apps submitted to the App Store must be built with the iOS 18 SDK or later

App Store Connect requires uploads to be built with a recent Xcode/iOS SDK (raised every spring).

Cannot preview in this fileiOS

SwiftUI Preview: Cannot preview in this file — the preview crashed / failed to build

Xcode Previews couldn’t build or run the view — compile errors elsewhere, a crash in preview data, or preview-specific environmen…

Untrusted DeveloperiOS

Could not launch "App": process launch failed: Security / Untrusted Developer

The app installed, but iOS won’t run it because the developer certificate hasn’t been trusted on the device (common with free/ent…

Signing requires a development teamiOS

Signing for "App" requires a development team. Select a development team in the Signing & Capabilities editor

No Apple developer team is selected for the target, so Xcode can’t sign the app.

Can't install the software because it is not currently available from the Software Update servermacOS

macOS: xcode-select: error: Can't install the software because it is not currently available from the Software Update server

`xcode-select --install` couldn't fetch the Command Line Tools from Apple's catalog.

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.

xcode-select: error: tool 'xcodebuild' requires XcodemacOS

macOS: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

A command needs the full Xcode app, but `xcode-select` points to the Command Line Tools only.

invalid active developer pathiOS

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

The Xcode Command Line Tools are missing or broken — typical right after a macOS update.

No such moduleiOS

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

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

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.

No connected devices / device not foundFlutter / Dart

flutter run: No connected devices found; check 'flutter doctor'. Expected at least one device

Flutter cannot see any emulator, simulator, browser or phone to run on.

Two steps away (36)

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.

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…

dyld: Library not loadediOS

dyld: Library not loaded: @rpath/X.framework/X — Reason: image not found (crash on launch)

A dynamic framework the app needs at runtime isn’t embedded in the app bundle, so it crashes at launch.

ITMS-91053iOS

ITMS-91053: Missing API declaration — Your app's code references required reason APIs (privacy manifest)

The app (or an SDK in it) uses “required reason” APIs like UserDefaults, file timestamps or disk space without declaring reasons…

ITMS-90683iOS

ITMS-90683: Missing purpose string in Info.plist (NSCameraUsageDescription etc.)

The binary references a privacy-sensitive API, but Info.plist lacks the matching usage description.

Redundant Binary UploadiOS

ITMS-4238: Redundant Binary Upload. You've already uploaded a build with build number 'x' for version number 'y'

The build number (CFBundleVersion) has already been used for that version in App Store Connect.

Unexpectedly found niliOS

Fatal error: Unexpectedly found nil while unwrapping an Optional value

Swift force-unwrapped (`!`) an optional that was nil, crashing the app.

Modifying state during view updateiOS

SwiftUI: Modifying state during view update, this will cause undefined behavior

A @State/@Published value was changed while SwiftUI was computing a view’s body.

Publishing changes from background threadsiOS

SwiftUI: Publishing changes from background threads is not allowed; make sure to publish values from the main thread

An ObservableObject’s @Published property was updated from a background thread.

adb unauthorizedAndroid

adb: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set

The phone hasn’t accepted your computer’s RSA key for USB debugging yet.

no devices/emulators foundAndroid

adb: no devices/emulators found / error: device not found

adb can’t see any connected device or running emulator.

Failed to register bundle identifieriOS

Failed to register bundle identifier: The app identifier "com.x" cannot be registered to your development team because it is not available

Another developer team already owns that bundle identifier, so Xcode can’t create it for your team.

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.

doesn't include signing certificateiOS

Provisioning profile "x" doesn't include signing certificate "Apple Development: Name (ID)"

The profile was created with a different certificate than the one installed in your keychain.

Command CodeSign failediOS

Command CodeSign failed with a nonzero exit code (errSecInternalComponent / resource fork, Finder information not allowed)

codesign failed — the keychain is locked (CI/SSH), the private key is inaccessible, or files carry extended attributes that can’t…

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

integrity could not be verifiediOS

Unable to Install "App": This app cannot be installed because its integrity could not be verified

iOS rejected the app because its signature doesn’t validate for this device — expired/revoked certificate, ad-hoc profile without…

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.

codesign: resource fork, Finder information, or similar detritus not allowedmacOS

macOS: Error: resource fork, Finder information, or similar detritus not allowed

`codesign` refuses to sign a bundle that contains extended attributes (resource forks, quarantine, FinderInfo).

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

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.

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.

command not foundLinux

bash: command not found

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

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.

zsh: command not found: brewmacOS

macOS: zsh: command not found: brew (Homebrew not on PATH on Apple Silicon)

Homebrew is installed in /opt/homebrew on Apple Silicon Macs, which isn’t on PATH until you add its shellenv line.

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…

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.

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.

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.

GitHub Actions: Xcode version not available on runneriOS

Could not find Xcode version that matches 15.4

The selected Xcode isn't installed on the macOS runner image.

Xcode Preview: Cannot preview in this file (build for iOS Simulator failed)iOS

Cannot preview in this file — Compiling failed: Cannot find 'X' in scope

The preview's build target fails.

INSTALL_FAILED_USER_RESTRICTEDAndroid

INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo)

The phone’s manufacturer layer blocked installs over USB — Xiaomi/MIUI, Oppo/ColorOS and Vivo require extra developer settings.

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…

Cleartext HTTP traffic not permittedFlutter / Dart

Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted

Android 9+ blocks plain `http://` requests by default; the app must use HTTPS or explicitly allow cleartext for that host.