We're also running into an issue that appears to be related to Xcode 16.0, the primary issue is that Firebase Crashlytics has missing dSYMs. However, during dSYM upload / processing, it finds and successfully uploads a dSYM:
In the Xcode 16.0 console I see the same message as mentioned above: "warning: (arm64) /Users/user/Library/Developer/Xcode/DerivedData/SomeApp-dih...wzn/Build/Products/Debug-iphonesimulator/SomeApp.app/SomeApp empty dSYM file detected, dSYM was created with an executable with no debug info."
I tried changing the build settings for our targets, directly in Xcode's build settings as well as using externalized configuration (.xcconfig).
Enabled for debug and release:
| DEBUG_INFORMATION_FORMAT = dwarf-with-dsym |
| DEBUG_INFORMATION_VERSION = compiler-default |
| CLANG_DEBUG_INFORMATION_LEVEL = default |
For debug:
COPY_PHASE_STRIP = NO
For release:
COPY_PHASE_STRIP = YES
Snippet from the automated build log:
| 14:08:19 14:08:19 Platform: ios |
| 14:08:19 14:08:19 DSYM Paths: ["/Users/.../SomeApp.xcarchive/dSYMs/SomeApp.app.dSYM"] |
| 14:08:19 14:08:19 |
| 14:08:19 14:08:19 Inspecting next path: /Users/.../SomeApp.xcarchive/dSYMs/SomeApp.app.dSYM |
| 14:08:19 14:08:19 Found dSYM at path: /Users/.../SomeApp.xcarchive/dSYMs/SomeApp.app.dSYM |
| 14:08:19 14:08:19 Begin processing dSYM at /Users/.../SomeApp.xcarchive/dSYMs/SomeApp.app.dSYM |
| 14:08:19 14:08:19 Zipping csym for uuid c2c....8443c, architecture: arm64 |
| 14:08:19 14:08:19 Zipping csym succeeded for uuid c2c....8443c, architecture arm64... getting compressed data |
| 14:08:19 14:08:19 Deleting file at path: /var/folders/20/.../T/arm64-c2c....8443c.csym |
| 14:08:19 14:08:19 Deleted file at path /var/folders/20/.../T/arm64-c2c....8443c.csym |
| 14:08:19 14:08:19 Deleting file at path: /var/folders/20/.../T/some.zip |
| 14:08:19 14:08:19 Deleted file at path /var/folders/20/.../T/some.zip |
| 14:08:19 14:08:19 Uploading cSYM to https://firebasecrashlyticssymbols.googleapis.com/v1/project/-/app/1:123456:ios:9e...c4/upload/native/c2c....8443c |
| 14:08:19 14:08:19 Uploading cSYM for uuid c2c....8443c, architecture arm64 |
| 14:08:19 14:08:19 Successfully submitted symbols for architecture arm64 with UUID c2c....8443c in dSYM: /Users/.../SomeApp.xcarchive/dSYMs/SomeApp.app.dSYM |
I was not yet able to check the dSYM on the build node(s), but I am suspecting this is an empty dSYM like Xcode is reporting locally. Note that unlike some reports above we also do not experience a crash (so that seems like it is unrelated). Probably unrelated, but we use cocoapods for dependency management.
It looks like the Firebase issue of missing dSYMs and the empty dSYM message in Xcode coincided with moving from Xcode 15.4 to Xcode 16.0
I tried Xcode 16.1 beta 3 (16B5029d) but I am still seeing the "empty dSYM file detected, dSYM was created with an executable with no debug info." message.