boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics

Just Created one Login screen and its UI, UI is custom reads all properties from the local JSON file, like color, button shape, background color, icon URL, etc.

Used one Framework which I have created for my UI, and just drag and drop that framework (No API calls in that Framework)

but when I run my project my UI gets stuck, Not able to click any button or text field. and I am getting the following error

boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics 

  • also, My CPU use is 100% and my app is getting stuck (see screenshot)
  • Memory is increasing to 6 to 7 GB.

but the same thing is working fine in Xcode 10.2.1, right now I am using Xcode 13.2.

If I run the same code in Xcode 10.2.1 then its works fine, but the same code not working in Xcode 13.2

can Anyone Help me?

boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics

FYI, it’s very unlikely that this log message has anything to do with the problem you’re seeing.

Try this:

  1. Run the app from Xcode, to install it on the device and confirm that the problem is still happening.

  2. Stop the app.

  3. Go to the Home screen on your device and launch the app from there.

Does it hang there are well? If so, press the Home button (or do the equivalent gesture). About 20-ish seconds later the watchdog should kill your app. Grab that crash report and post it here.

See Posting a Crash Report for specific advice about that last stage.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

HI @eskimo,

Thanks for your replay, I did same things and I get crash report, Please find attachment for the same.

Thanks for the crash report.

Consider this line:

Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d

The 0x8badf00d indicates that your app was killed by the watchdog. This issue is discussed in some detail in Identifying the Cause of Common Crashes.

Looking at the backtrace of your main thread I see this:

8   UIKitCore         … 0x1a5203000 + 15268032
9   CoreChatOperation … 0x104720000 + 2048880
10  CoreChatOperation … 0x104720000 + 2048992
11  CoreChatOperation … 0x104720000 + 2049052
12  CoreChatOperation … 0x104720000 + 2049100
13  UIKitCore         … 0x1a5203000 + 15991484

Note that frames 12 through 9 are your code, so I’ve no idea what’s going on there. You need to symbolicate this crash report to make progress. For details, see Adding Identifiable Symbol Names to a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
 
 
Q