Error map

App shows black screen on launch (SceneDelegate / window) (behavior) black screen after removing SceneDelegate or storyboard

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.

App shows black screen on launch (SceneDelegate / window) — (behavior) black screen after removing SceneDelegate or storyboard (iOS)App shows b…Main Thread Checker — Main Thread Checker: UI API called on a background thread: -[UIView setNeedsLayout] (iOS)Main Thread CheckerNSUnknownKeyException — NSUnknownKeyException: this class is not key value coding-compliant for the key x (iOS)NSUnknownKeyExcepti…unable to dequeue a cell with identifier — unable to dequeue a cell with identifier Cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard (iOS)unable to dequeue a…Unable to simultaneously satisfy constraints — Auto Layout: Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want (iOS)Unable to simultane…TCP ZeroWindow / TCP Window Full — Networking: Wireshark: TCP ZeroWindow, TCP Window Full — the receiver can't keep up and tells the sender to stop (Networking)TCP ZeroWindow / TC…Attempt to present on which is already presenting — Warning: Attempt to present <UIViewController> on <UIViewController> which is already presenting (iOS)Attempt to present …Pushing the same view controller instance more than once is not supported — NSInvalidArgumentException: Pushing the same view controller instance more than once is not supported (iOS)Pushing the same vi…WindowLeaked: Activity has leaked window — android.view.WindowLeaked: Activity com.example.MainActivity has leaked window DecorView@a1b2c3 that was originally added here (Android)WindowLeaked: Activ…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…IBOutlet is nil (Unexpectedly found nil while implicitly unwrapping) — Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: self.label (iOS)IBOutlet is nil (Un…Background task expired / beginBackgroundTask — Background Task 123 ("Task"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination (iOS)Background task exp…Auto Layout: ambiguous layout / has ambiguous layout — Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a tableview cell's content view (iOS)Auto Layout: ambigu…412 — HTTP 412 Precondition Failed (HTTP)412428 — HTTP 428 Precondition Required (HTTP)428InterruptedException — java.lang.InterruptedException (sleep interrupted) (Java)InterruptedExceptionATS — App Transport Security has blocked a cleartext HTTP resource load (iOS)ATSSIGABRT — Thread 1: signal SIGABRT (app crashes with "libc++abi: terminating") (iOS)SIGABRTbuilt 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…Could not cast value of type — Swift: Could not cast value of type 'X' to 'Y' (iOS)Could not cast valu…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…ForEach: the ID occurs multiple times — ForEach<Array<Item>, String, Text>: the ID abc occurs multiple times within the collection, this will give undefined results! (iOS)ForEach: the ID occ…Cannot convert value of type — Swift: Cannot convert value of type 'X' to expected argument type 'Y' (iOS)Cannot convert valu…UICollectionViewCompositionalLayout: Invalid group/item size — NSInternalInconsistencyException: Compositional layout: invalid estimated size / group dimensions (iOS)UICollectionViewCom…NSDiffableDataSourceSnapshot: duplicate item identifiers — Fatal: Fatal: Diffable data source detected duplicate identifiers for items (iOS)NSDiffableDataSourc…Connections hang on large transfers (PMTU black hole) — Networking: SSH/HTTPS connects but hangs on large data — path MTU discovery black hole (Networking)Connections hang on…High TCP retransmissions / packet loss — Networking: netstat -s: segments retransmitted / Wireshark: TCP Retransmission, TCP Dup ACK — packet loss on the path (Networking)High TCP retransmis…Cannot assign requested address (EADDRNOTAVAIL) — Networking: connect: Cannot assign requested address — ephemeral port range exhausted by TIME_WAIT connections (Networking)Cannot assign reque…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 …NSInternalInconsistencyException: Invalid update: invalid number of rows — Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0.' (iOS)NSInternalInconsist…Navigator operation requested with a context that does not include a Navigator — Flutter: Navigator operation requested with a context that does not include a Navigator (Flutter / Dart)Navigator operation…There are multiple heroes that share the same tag — Flutter: There are multiple heroes that share the same tag within a subtree (Flutter / Dart)There are multiple …Navigation destination ... cannot be found from the current destination — java.lang.IllegalArgumentException: Navigation action/destination com.example:id/action_home_to_detail cannot be found from the current destination Destination(com.example:id/settingsFragment) (Android)Navigation destinat…BadTokenException — WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? (Android)BadTokenExceptionCan not perform this action after onSaveInstanceState — IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction) (Android)Can not perform thi…Fragment not attached to a context — IllegalStateException: Fragment x not attached to a context / not attached to an activity (Android)Fragment not attach…Multiple commands produce — Xcode: Multiple commands produce '…/Info.plist' (or another file) (iOS)Multiple commands p…library not found for -lPods — ld: library not found for -lPods-AppName / framework not found Pods_App (iOS)library not found f…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…Unexpectedly found nil — Fatal error: Unexpectedly found nil while unwrapping an Optional value (iOS)Unexpectedly found …Index out of range — Swift: Fatal error: Index out of range (iOS)Index out of rangeis only available in iOS x or newer — Swift: 'X' is only available in iOS 16.0 or newer (iOS)is only available i…EXC_BAD_ACCESS — Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) (iOS)EXC_BAD_ACCESSIllegalStateException: Not allowed to start service Intent (app is in background) — java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example/.SyncService }: app is in background uid UidRecord{...} (Android)IllegalStateExcepti…WorkManager: Could not create Worker — androidx.work.WorkerFactory: Could not instantiate com.example.SyncWorker / NoSuchMethodException: SyncWorker.<init> [Context, WorkerParameters] (Android)WorkManager: Could …WorkManager work never runs (constraints not met) — WM-WorkerWrapper: Work [ id=… ] was cancelled / state ENQUEUED (Android)WorkManager work ne…GeometryReader returns zero size / expands to full screen — (behavior) GeometryReader collapses or fills the whole screen (iOS)GeometryReader retu…

Directly related (12)

Main Thread CheckeriOS

Main Thread Checker: UI API called on a background thread: -[UIView setNeedsLayout]

UIKit was used from a background thread; UI must only be touched on the main thread.

NSUnknownKeyExceptioniOS

NSUnknownKeyException: this class is not key value coding-compliant for the key x

A storyboard/XIB has a connection to an outlet or action that no longer exists in the class (renamed or deleted), or the view’s c…

unable to dequeue a cell with identifieriOS

unable to dequeue a cell with identifier Cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard

The table/collection view was asked for a reusable cell identifier that was never registered.

Unable to simultaneously satisfy constraintsiOS

Auto Layout: Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want

Two or more Auto Layout constraints conflict; UIKit breaks one to recover and logs this message.

TCP ZeroWindow / TCP Window FullNetworking

Networking: Wireshark: TCP ZeroWindow, TCP Window Full — the receiver can't keep up and tells the sender to stop

The receiving application isn't reading data fast enough, so its TCP buffer filled and the sender must pause.

Attempt to present on which is already presentingiOS

Warning: Attempt to present <UIViewController> on <UIViewController> which is already presenting

A second sheet/alert was presented while one was already visible.

Pushing the same view controller instance more than once is not supportediOS

NSInvalidArgumentException: Pushing the same view controller instance more than once is not supported

The same UIViewController instance was pushed twice.

WindowLeaked: Activity has leaked windowAndroid

android.view.WindowLeaked: Activity com.example.MainActivity has leaked window DecorView@a1b2c3 that was originally added here

A dialog was still showing when its Activity was destroyed.

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.

IBOutlet is nil (Unexpectedly found nil while implicitly unwrapping)iOS

Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: self.label

An outlet was used before the view loaded or isn't connected.

Background task expired / beginBackgroundTaskiOS

Background Task 123 ("Task"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination

A background task ran too long.

Auto Layout: ambiguous layout / has ambiguous layoutiOS

Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a tableview cell's content view

Constraints don't fully define the view's position or size.

Two steps away (35)

412HTTP

HTTP 412 Precondition Failed

A conditional request header (If-Match, If-Unmodified-Since) didn’t match the current state of the resource.

428HTTP

HTTP 428 Precondition Required

The server requires a conditional request (If-Match / If-Unmodified-Since) to prevent lost updates, and you didn’t send one.

InterruptedExceptionJava

java.lang.InterruptedException (sleep interrupted)

A blocked thread (sleep, wait, join, queue take) was interrupted by another thread.

ATSiOS

App Transport Security has blocked a cleartext HTTP resource load

iOS blocked an `http://` request (or a weak-TLS HTTPS one) because App Transport Security requires secure connections.

SIGABRTiOS

Thread 1: signal SIGABRT (app crashes with "libc++abi: terminating")

The app deliberately aborted — an uncaught exception, failed assertion or fatalError. The console above the crash has the real me…

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.

Could not cast value of typeiOS

Swift: Could not cast value of type 'X' to 'Y'

A force cast (as!) failed because the object isn’t the expected type.

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…

ForEach: the ID occurs multiple timesiOS

ForEach<Array<Item>, String, Text>: the ID abc occurs multiple times within the collection, this will give undefined results!

ForEach items share the same id.

Cannot convert value of typeiOS

Swift: Cannot convert value of type 'X' to expected argument type 'Y'

The value’s type doesn’t match what the function or property expects.

UICollectionViewCompositionalLayout: Invalid group/item sizeiOS

NSInternalInconsistencyException: Compositional layout: invalid estimated size / group dimensions

The compositional layout has invalid dimensions.

NSDiffableDataSourceSnapshot: duplicate item identifiersiOS

Fatal: Fatal: Diffable data source detected duplicate identifiers for items

Snapshot item identifiers must be unique.

Connections hang on large transfers (PMTU black hole)Networking

Networking: SSH/HTTPS connects but hangs on large data — path MTU discovery black hole

Small packets pass but full-size ones vanish, so logins work and then transfers or page loads stall.

High TCP retransmissions / packet lossNetworking

Networking: netstat -s: segments retransmitted / Wireshark: TCP Retransmission, TCP Dup ACK — packet loss on the path

Packets are being lost, so TCP resends them and throughput collapses.

Cannot assign requested address (EADDRNOTAVAIL)Networking

Networking: connect: Cannot assign requested address — ephemeral port range exhausted by TIME_WAIT connections

The machine ran out of local ports for new outgoing connections to the same destination.

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.

NSInternalInconsistencyException: Invalid update: invalid number of rowsiOS

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0.'

The table or collection view data source count doesn't match its batch updates.

Navigator operation requested with a context that does not include a NavigatorFlutter / Dart

Flutter: Navigator operation requested with a context that does not include a Navigator

`Navigator.push/pop` was called with a context above the `MaterialApp`, so no Navigator exists in the lookup path.

There are multiple heroes that share the same tagFlutter / Dart

Flutter: There are multiple heroes that share the same tag within a subtree

Two `Hero` widgets with the same tag exist on one screen during a route transition.

Navigation destination ... cannot be found from the current destinationAndroid

java.lang.IllegalArgumentException: Navigation action/destination com.example:id/action_home_to_detail cannot be found from the current destination Destination(com.example:id/settingsFragment)

The nav action isn't reachable from the destination the user is currently on.

BadTokenExceptionAndroid

WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?

A dialog or popup was shown with a context whose Activity is finishing/destroyed, or with the Application context.

Can not perform this action after onSaveInstanceStateAndroid

IllegalStateException: Can not perform this action after onSaveInstanceState (fragment transaction)

A FragmentTransaction (or DialogFragment.show/navigation) ran after the Activity saved its state, typically from an async callbac…

Fragment not attached to a contextAndroid

IllegalStateException: Fragment x not attached to a context / not attached to an activity

Code called requireContext()/requireActivity()/getString() after the Fragment was detached — usually in an async callback.

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…

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…

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…

Unexpectedly found niliOS

Fatal error: Unexpectedly found nil while unwrapping an Optional value

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

Index out of rangeiOS

Swift: Fatal error: Index out of range

Code accessed an array index that doesn’t exist — empty arrays, off-by-one loops, or data changing while a table reloads.

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.

EXC_BAD_ACCESSiOS

Thread 1: EXC_BAD_ACCESS (code=1, address=0x0)

The app accessed memory it shouldn’t — a dangling pointer, released object, unsafe pointer misuse, a data race, or infinite recur…

IllegalStateException: Not allowed to start service Intent (app is in background)Android

java.lang.IllegalStateException: Not allowed to start service Intent { cmp=com.example/.SyncService }: app is in background uid UidRecord{...}

Since Android 8 background apps can't freely start services.

WorkManager: Could not create WorkerAndroid

androidx.work.WorkerFactory: Could not instantiate com.example.SyncWorker / NoSuchMethodException: SyncWorker.<init> [Context, WorkerParameters]

WorkManager can't construct your Worker with its default factory.

WorkManager work never runs (constraints not met)Android

WM-WorkerWrapper: Work [ id=… ] was cancelled / state ENQUEUED

A scheduled task stays enqueued and doesn't execute.

GeometryReader returns zero size / expands to full screeniOS

(behavior) GeometryReader collapses or fills the whole screen

GeometryReader takes all offered space and has no intrinsic size.