Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
enlivn opened this issue Sep 26, 2024 · 2 comments
Closed

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

enlivn opened this issue Sep 26, 2024 · 2 comments

Comments

@enlivn
Copy link

enlivn commented Sep 26, 2024

Environment

  • Dev OS: OSX Sonoma
  • @rnmapbox/maps version: 10.1.31, Native Mapbox version 11.6.0
  • React Native version: 0.75.3
  • Expo version: N/A (don't use Expo)

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:

  • add the Mapbox frameworks to the Link Binary with Libraries in the xcodeproj
  • update the Podfile post-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
    
@danidaryaweesh
Copy link

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

@enlivn
Copy link
Author

enlivn commented Oct 21, 2024

@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. Asset validation failed - Code=90482 - MapboxMobileEvents.framework/MapboxMobileEvents contains bitcode mapbox/mapbox-maps-ios#2233 (comment)
  2. Warnings received from App Store when uploading new builds through Xcode 16 beta 6 Organiser mapbox/mapbox-maps-ios#2229 (comment)

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

@enlivn enlivn closed this as completed Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants