rnmapbox / maps

A Mapbox react native module for creating custom maps
MIT License
2.28k stars 847 forks source link

iOS archives have missing dSYMs for Native Mapbox version 11.6.0 #3637

Closed enlivn closed 1 month ago

enlivn commented 2 months ago

Environment

Steps to reproduce

  1. Follow integration steps per usual for the library versions noted above
  2. Create and validate an iOS archive

Expected

I see no warnings about missing dSYMs

Actual

image

Things I've tried to fix this:

danidaryaweesh commented 1 month ago

Any updates on this issue? I’m experiencing the same problem on Xcode 16.

enlivn commented 1 month ago

@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:

  1. https://github.com/mapbox/mapbox-maps-ios/issues/2233#issuecomment-2383192102
  2. https://github.com/mapbox/mapbox-maps-ios/issues/2229#issuecomment-2320836023

This means neither the

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