Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Indiana Jones and the Crypt of Cryptic Error Messages: Real-World Examples

Error message examples for

Here's a compilation of actual error messages I ran into while writing this blog post, followed by a quick analysis of how I approached each one and the search terms I used to find solutions.

Many of these (or portions of them) are included in the above post to demonstrate specific points; some have been combined in the post to demonstrate multiple approaches.

Error Message:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 
'NSHealthUpdateUsageDescription must be set in the app's Info.plist in order to request write 
authorization for the following types: HKWorkoutTypeIdentifier'

(0x1e79ed80 0x29246884 0x1e6a3274 0x254b7550...0x254b7014 0x254b6870 0xf31f10 0xf64c48 0xf643cc)

libc++abi: terminating with uncaught exception of type NSException
*** First throw call stack:

There's a lot to unpack here. Try just the keywords, and then a keyword with a phrase excerpt:

Search term 1: NSInvalidArgumentException NSHealthUpdateUsageDescription HKWorkoutTypeIdentifier

Search term 2: HKWorkoutTypeIdentifier must be set in the app's Info.plist

Error Message:

Value of type 'List<Never, ForEach<FetchedResults<HeartRateData>, 
FetchedResults<HeartRateData>.Element, HStack<Text>>>' 
(aka 'List<Never, ForEach<FetchedResults<HeartRateData>, HeartRateData, 
HStack<Text>>>') has no member 'onDelete'

This is super verbose! Excluded the pieces that look like your objects and simplify it to the human-readable part:

Search term: Value of type List has no member onDelete

Error Message:

HKLiveWorkoutBuilder_1273 [EE52]

Huh! This one is really short. Try looking for all of the text, and if that doesn't work, shorten it, but add a helper word:

Search term 1 (no results): HKLiveWorkoutBuilder_1273 [EE52]

Search term 2 (no results): HKLiveWorkoutBuilder_1273

Search term 3 (success!): HKLiveWorkoutBuilder errors

Error Message:

Cannot use mutating member on immutable value: 'self' is immutable

This is short and generic; search by itself in full quotes, or without quotes, and optionally add your tech stack term in front:

Search term: swift cannot use mutating member on immutable value: 'self' is immutable

Error Message:

WKExtendedRuntimeObject was dealloced while running. Invalidating the session 

This is short-ish, but exclude the giant ID and try a shorter version:

Search term: WKExtendedRuntimeObject was dealloced while running

Error Message:

paired device unavailable for development

This one feels a little too generic to find the right thing. Add a tech stack and the hardware in question to add specificity:

Search term: xcode apple watch paired device unavailable for development

Error Message:

Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from due to underlying error <Errno::EHOSTUNREACH: Failed to open 
TCP connection to (No route to host - connect(2) for "" 
port 443) (>

Could not fetch specs from due to underlying error 
<Errno::EHOSTUNREACH: Failed to open TCP connection to (No route to 
host - connect(2) for "" port 443) (>

There's a lot of repeated text there. Try the core message with a little detail:

Search term: Could not fetch specs from due to underlying error Errno::EHOSTUNREACH

Error Message:

Exit status: 128
Error cloning certificates repo, please make sure you have read access to the 
repository you want to use
Run the following command manually to make sure you're properly authenticated:
$ git clone 

This error message has a suggestion in it that you can try. If you want to read about the error first, list the program that showed the error message, use the part that describes the error, and add the error number:

Search term: fastlane match Error cloning certificates repo 128

Error Message:

Fatal error: Uncaught Error: Cannot use object of type stdClass as array in 
/home/customer/www/ Stack trace: #0 
/home/customer/www/ panoramic_admin_notice('') #1 
/home/customer/www/ WP_Hook->apply_filters(NULL, Array) #2
/home/customer/www/ WP_Hook->do_action(Array) #3
/home/customer/www/ do_action('admin_notices') #4
/home/customer/www/ require_once('/home/customer/...') #5
{main} thrown in /home/customer/www/ on line 201

Another super-wordy one. Again, grab the human readable part and add some relevant keywords to describe where the problem is happening:

Search term 1: cannot use object of type stdclass as array in wordpress

Search term 2: cannot use object of type stdclass "panoramic" theme

Search term 3: Error Panoramic theme |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment