I doubt anyone encountered such a bizarre issue recently.
When using "-com.apple.CoreData.ConcurrencyDebug 1", in the run arguments, Xcode would crash the iOS app consistently if its name (PRODUCT_NAME build setting) starts with "Music", the iOS is 14.0 or 14.01 (the latest for now), and some basic, perfectly valid, concurrency Core Data API is performed.
Simply changing the PRODUCT_NAME to something else (e.g. from "Music Collection" to "My Music Collection)" would prevent the crash. So, by simply toggling the app name between the two options, and then running the debugger, one should clearly notice the app crashing and not crashing accordingly. This should be a clear evidence that the app name affects functionality.
I detected this issue since my app is available on the App Store, starts with "Music", and crashes in specific conditions that can be reproduced. When changing my app name, the same reproducible scenarios won't lead to a crash. It took me almost a week to track this down as I didn't consider that the app name can be a root cause.
This issue, where "-com.apple.CoreData.ConcurrencyDebug 1" crashes the app while valid code is executed (but the app name starts with "Music") can be easily reproduced by creating a new project in Xcode 12 and adding several lines of code. The instructions are followed in the links below.
I submitted a report to Apple Feedback Assistant: https://feedbackassistant.apple.com/feedback/8761671
I also described the issue in details on Apple Developer Forums: https://developer.apple.com/forums/thread/662602
It would be great to get any feedback.