iOS archives have missing dSYMs for Native Mapbox version 11.6.0
Environment
- Dev OS: OSX Sonoma
- @rnmapbox/maps version:
10.1.31, Native Mapbox version11.6.0 - React Native version:
0.75.3 - Expo version: N/A (don't use Expo)
Steps to reproduce
- Follow integration steps per usual for the library versions noted above
- Create and validate an iOS archive
Expected
I see no warnings about missing dSYMs
Actual
Things I've tried to fix this:
- add the Mapbox frameworks to the
Link Binary with Librariesin thexcodeproj - update the
Podfilepost-install hooks:post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf-with-dsym' end end end
Any updates on this issue? I’m experiencing the same problem on Xcode 16.
@danidaryaweesh Sorry, I got sidetracked by stuff and forgot to take a look at this.
I looked into it today and apparently, this is expected behavior at least for MapboxCoreMaps and MapboxCommon. We'll just have to ignore this warning.
Links:
- https://github.com/mapbox/mapbox-maps-ios/issues/2233#issuecomment-2383192102
- https://github.com/mapbox/mapbox-maps-ios/issues/2229#issuecomment-2320836023
This means neither the
dwarf(usually used for debug variants as we don't care about inflating binary size by embedding the debug symbols) NOR- the
dwarf-with-dsym(usually used for beta and release variants since the binary that ships is smaller as it doesn't have the debug symbols embedded – those get uploaded separately to crashlytics or Embrace or whatever you're using to monitor your application)
values for the build setting DEBUG_INFORMATION_FORMAT will make a difference as far as the Mapbox's native libs are concerned.
said differently, this will NOT help:
# this will NOT help you
if target.name == 'MapboxMaps'
target.build_configurations.each do |config|
config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf-with-dsym' # or 'dwarf'
end
end
Any updates regarding this ?
same error here. how to fix this please ? this is only a warning that we can ignore ? my app crash at start in release mode and i cannot fond why
I have the same issue . I followed this then the warning was cleared, https://developer.apple.com/forums/thread/763731?page=3