Empty dSYM file is generated by XCode if custom path is used in "Derived Data" field under "Locations" tab in XCode "Preferrences..."

With XCode 11.1, I set "Derived Data" to my custom path as "/Volumes/MacData/XCBuilds/DerivedData".

But there is an error that Flurry fails to upload dSYM file. I check the intermedia folder that XCode builds, find out the size of the file
"MyApp.app.dSYM/Contents/Resources/DWARF/MyApp"
under the folder
"/Volumes/MacData/XCBuilds/DerivedData/MyApp-gpbveffuperzlnaonxkvuwenbbdz/Build/Intermediates.noindex/ArchiveIntermediates/MyAppDEV/BuildProductsPath/MyAppDEV-iphoneos" is zero bytes.

But if I change the "Derived Data" back to Default, it builds successfully, and the size of the bin file of MyApp is not zero bytes.

Is it a bug in XCode?

Update: This issue also happens on XCode 12 beta 6. So it seems to be a bug of XCode.
Empty dSYM file is generated by XCode if custom path is used in "Derived Data" field under "Locations" tab in XCode "Preferrences..."
 
 
Q