bugsnag / bugsnag-js

JavaScript error handling tool for BugSnag. Monitor and report JavaScript bugs & errors.
https://docs.bugsnag.com/platforms/javascript
MIT License
850 stars 251 forks source link

Missing source map: Source map not found for version 2.43 or version code 2 #2170

Closed vksgautam1 closed 4 weeks ago

vksgautam1 commented 1 month ago

Environment

React Native-- 0.73.8

Untitled design --Command Response ---> bugsnag-cli upload dsym /Users/xxxxx/Desktop/xxxxx.app.dSYM --project-root /Users/netsmartz/Desktop/xxxxx/xxxxxxMobileApplicationNew/ios/xxxxx.xcodeproj --api-key xxxxxxxxxxxxxxxxxxxxxxx [INFO] Uploading xxxxxxxxxxxxxxxxxxxxxxx to https://upload.bugsnag.com:443/dsym [INFO] Uploaded xxxxxxxxxxxxxxxxxxxxxxx

still it is showing that upload source map

vksgautam1 commented 1 month ago

If i am trying the build phase manually then its not letting me the build https://docs.bugsnag.com/platforms/ios/showing-full-stacktraces/#adding-a-build-phase-manually Showing Recent Messages Unable to load contents of file list: '/Users/xxxx/Library/Developer/Xcode/DerivedData/xxxxxx-bgkutmvgwedvvifenipwnqnauhjg/Build/Intermediates.noindex/ArchiveIntermediates/xxxxxxxxxx/BuildProductsPath/Release-iphoneos/xxxxxxxx.app.dSYM/Contents/Resources/DWARF/xxxxxx'

mclack commented 1 month ago

Hi @vksgautam1

In order for us to investigate this further, could you please share a link to the error you have displayed in the screenshot where the source map is not being found?

Additionally, if you are finding that your build fails after attempting to configure the build phase manually, we'd instead suggest running npx @bugsnag/react-native-cli init from your project, as recommended in our documentation. This will walk you through setting up BugSnag for your application, including updating your build process to send mapping files to BugSnag. If you still have problems after this, could you please share the build phase configuration with us?

As this is a public thread, you may prefer to share this information with us privately by contacting support@bugsnag.com to open a support ticket.

vksgautam1 commented 4 weeks ago

resolved the issue with help of this https://docs.bugsnag.com/build-integrations/js/source-maps-react-native/