Error map

Argument of '#selector' refers to instance method that is not exposed to Objective-C error: argument of '#selector' refers to instance method 'tap()' that is not exposed to Objective-C

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.

Argument of '#selector' refers to instance method that is not exposed to Objective-C — error: argument of '#selector' refers to instance method 'tap()' that is not exposed to Objective-C (iOS)Argument of…'nil' requires a contextual type / Cannot infer type — error: 'nil' requires a contextual type (iOS)'nil' requires a co…Type does not conform to protocol — error: Type 'User' does not conform to protocol 'Decodable' (iOS)Type does not confo…Unrecognized selector sent to instance — -[UIViewController foo]: unrecognized selector sent to instance 0x600001 (iOS)Unrecognized select…EXC_BAD_ACCESS: message sent to deallocated instance — -[Foo bar]: message sent to deallocated instance 0x600000 (iOS)EXC_BAD_ACCESS: mes…Missing return in a function expected to return — error: Missing return in a function expected to return 'Int' (iOS)Missing return in a…Switch must be exhaustive — error: Switch must be exhaustive / add missing case: '.pending' (iOS)Switch must be exha…Cannot find 'x' in scope — error: Cannot find 'viewModel' in scope (iOS)Cannot find 'x' in …Use of unresolved identifier — error: Use of unresolved identifier 'ProfileView' (iOS)Use of unresolved i…Missing argument for parameter / Extra argument in call — error: Missing argument for parameter 'id' in call (iOS)Missing argument fo…Cannot use instance member as a default parameter — error: cannot use instance member 'x' as a default parameter (iOS)Cannot use instance…Result of call is unused (warning) — warning: result of call to 'foo()' is unused (iOS)Result of call is u…Ambiguous use of 'init' / trailing closure — error: ambiguous use of 'init(content:)' (iOS)Ambiguous use of 'i…Type of expression is ambiguous — Swift: Type of expression is ambiguous without a type annotation (more context) (iOS)Type of expression …Value of optional type must be unwrapped — error: Value of optional type 'String?' must be unwrapped to a value of type 'String' (iOS)Value of optional t…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…Cannot convert value of type — Swift: Cannot convert value of type 'X' to expected argument type 'Y' (iOS)Cannot convert valu…DecodingError — Swift DecodingError: keyNotFound / typeMismatch / valueNotFound / dataCorrupted (iOS)DecodingErrorfatal: protocol error: bad pack header — fatal: protocol error: bad pack header (Git)fatal: protocol err…EXC_BAD_ACCESS — Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) (iOS)EXC_BAD_ACCESSNSInternalInconsistencyException: 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…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…Gradle Java heap space — Gradle: Expiring Daemon because JVM heap space is exhausted / java.lang.OutOfMemoryError: Java heap space during build (Android)Gradle Java heap sp…Process completed with exit code 137 — GitHub Actions: Error: Process completed with exit code 137 (Killed — out of memory) (CI/CD)Process completed w…Container exceeded memory limit — Bitbucket Pipelines: Container 'Build' exceeded memory limit / Docker container exited with code 137 (CI/CD)Container exceeded …'init' is inaccessible due to 'private' protection level — error: 'init' is inaccessible due to 'internal' protection level (iOS)'init' is inaccessi…Duplex mismatch: late collisions / CRC errors — Networking: Duplex mismatch — late collisions, runts and CRC errors on the switch port (Networking)Duplex mismatch: la…Native VLAN mismatch / wrong VLAN, no connectivity — Networking: %CDP-4-NATIVE_VLAN_MISMATCH / device on the wrong VLAN can't reach the gateway (Networking)Native VLAN mismatc…MAC flapping / broadcast storm (spanning tree loop) — Networking: %SW_MATM-4-MACFLAP_NOTIF: Host is flapping between ports / broadcast storm (Networking)MAC flapping / broa…Index out of range — Swift: Fatal error: Index out of range (iOS)Index out of rangeCould not cast value of type — Swift: Could not cast value of type 'X' to 'Y' (iOS)Could not cast valu…No such module — Swift: No such module 'X' (module not found) (iOS)No such moduleerror: gpg.ssh.allowedSignersFile needs to be configured — error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification (Git)error: gpg.ssh.allo…ITMS-91065: Missing signature for third-party SDK — ITMS-91065: Missing signature - Your app includes "Frameworks/X.framework", which includes X, an SDK that was identified in the documentation as a commonly used third-party SDK (iOS)ITMS-91065: Missing…is only available in iOS x or newer — Swift: 'X' is only available in iOS 16.0 or newer (iOS)is only available i…unable to type-check this expression in reasonable time — Swift: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions (iOS)unable to type-chec…Escaping closure captures mutating 'self' — Swift: Escaping closure captures mutating 'self' parameter (iOS)Escaping closure ca…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 …warning: refname 'v1' is ambiguous — warning: refname 'release' is ambiguous. Git normally never creates a ref that ends with 40 hex characters (Git)warning: refname 'v…fatal: Cannot rebase onto multiple branches — fatal: Cannot rebase onto multiple branches. (Git)fatal: Cannot rebas…when expression must be exhaustive (sealed class) — error: 'when' expression must be exhaustive, add necessary 'is Loading' branch or 'else' branch instead (Android)when expression mus…

Directly related (12)

'nil' requires a contextual type / Cannot infer typeiOS

error: 'nil' requires a contextual type

Swift can't infer the type of a bare `nil`.

Type does not conform to protocoliOS

error: Type 'User' does not conform to protocol 'Decodable'

A type doesn't satisfy a protocol's requirements.

Unrecognized selector sent to instanceiOS

-[UIViewController foo]: unrecognized selector sent to instance 0x600001

A message was sent to an object that doesn't implement it.

EXC_BAD_ACCESS: message sent to deallocated instanceiOS

-[Foo bar]: message sent to deallocated instance 0x600000

An object was used after being freed.

Missing return in a function expected to returniOS

error: Missing return in a function expected to return 'Int'

A code path in your function ends without returning a value.

Switch must be exhaustiveiOS

error: Switch must be exhaustive / add missing case: '.pending'

A `switch` doesn't cover every enum case.

Cannot find 'x' in scopeiOS

error: Cannot find 'viewModel' in scope

The name isn't visible where you use it.

Use of unresolved identifieriOS

error: Use of unresolved identifier 'ProfileView'

Older compilers' wording for "cannot find in scope".

Missing argument for parameter / Extra argument in calliOS

error: Missing argument for parameter 'id' in call

A call doesn't match the function's signature.

Cannot use instance member as a default parameteriOS

error: cannot use instance member 'x' as a default parameter

Default parameter values can't reference `self`.

Result of call is unused (warning)iOS

warning: result of call to 'foo()' is unused

A function returns a value you ignore.

Ambiguous use of 'init' / trailing closureiOS

error: ambiguous use of 'init(content:)'

Overloads match the call equally.

Two steps away (28)

Type of expression is ambiguousiOS

Swift: Type of expression is ambiguous without a type annotation (more context)

The compiler can’t infer which type you mean — often because of a typo or a wrong argument elsewhere in the expression.

Value of optional type must be unwrappediOS

error: Value of optional type 'String?' must be unwrapped to a value of type 'String'

You used an optional where a non-optional value is required.

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.

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.

DecodingErroriOS

Swift DecodingError: keyNotFound / typeMismatch / valueNotFound / dataCorrupted

JSONDecoder couldn’t map the JSON to your Codable type — a key is missing, a value has a different type or is null, or the data i…

fatal: protocol error: bad pack headerGit

fatal: protocol error: bad pack header

Git received garbage instead of a pack, from a proxy or broken server.

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…

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.

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.

Gradle Java heap spaceAndroid

Gradle: Expiring Daemon because JVM heap space is exhausted / java.lang.OutOfMemoryError: Java heap space during build

The Gradle daemon (or Kotlin daemon) ran out of memory compiling or dexing the project.

Process completed with exit code 137CI/CD

GitHub Actions: Error: Process completed with exit code 137 (Killed — out of memory)

The command was killed by the system with SIGKILL (128 + 9), almost always because the runner ran out of memory.

Container exceeded memory limitCI/CD

Bitbucket Pipelines: Container 'Build' exceeded memory limit / Docker container exited with code 137

A Bitbucket Pipelines step used more memory than the step allows (4 GB by default, 1 GB for service containers) and was killed.

'init' is inaccessible due to 'private' protection leveliOS

error: 'init' is inaccessible due to 'internal' protection level

A type's initializer isn't visible to the caller's module.

Duplex mismatch: late collisions / CRC errorsNetworking

Networking: Duplex mismatch — late collisions, runts and CRC errors on the switch port

One side runs full duplex and the other half duplex, so the link works but is slow and drops packets.

Native VLAN mismatch / wrong VLAN, no connectivityNetworking

Networking: %CDP-4-NATIVE_VLAN_MISMATCH / device on the wrong VLAN can't reach the gateway

A port or trunk carries a different VLAN than expected, so hosts silently land on the wrong network.

MAC flapping / broadcast storm (spanning tree loop)Networking

Networking: %SW_MATM-4-MACFLAP_NOTIF: Host is flapping between ports / broadcast storm

A layer-2 loop is making frames circle the network, saturating links and making the whole VLAN crawl.

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.

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.

No such moduleiOS

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

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

error: gpg.ssh.allowedSignersFile needs to be configuredGit

error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification

Git can sign with SSH, but verifying needs an allowed-signers file.

ITMS-91065: Missing signature for third-party SDKiOS

ITMS-91065: Missing signature - Your app includes "Frameworks/X.framework", which includes X, an SDK that was identified in the documentation as a commonly used third-party SDK

A listed SDK must ship with a valid signature.

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.

unable to type-check this expression in reasonable timeiOS

Swift: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

A long expression (often in a SwiftUI body) has too many possible type combinations for the compiler — or hides a type error.

Escaping closure captures mutating 'self'iOS

Swift: Escaping closure captures mutating 'self' parameter

A mutating method of a struct tries to capture self in an escaping closure, which Swift forbids.

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.

warning: refname 'v1' is ambiguousGit

warning: refname 'release' is ambiguous. Git normally never creates a ref that ends with 40 hex characters

A branch and a tag share a name.

fatal: Cannot rebase onto multiple branchesGit

fatal: Cannot rebase onto multiple branches.

The branch name you gave matches several refs.

when expression must be exhaustive (sealed class)Android

error: 'when' expression must be exhaustive, add necessary 'is Loading' branch or 'else' branch instead

A `when` used as an expression doesn't cover all sealed subclasses.