react-native: [iOS] Upload Symbols Failed on Xcode 16
Description
So everything looks to be working fine, but when building .ipa/uploading to AppStore Connect I got this warning: The archive did not include a dSYM for the hermes.framework with the UUIDs *****
Although everything seems to be in working order (the ipa is successfully uploaded to AppStore Connect), I’m wondering if there’s a way to get rid of this warning.
Steps to reproduce
- Create react native project with
npx @react-native-community/cli@latest init rnTest1 --version 0.74.5 - Open project in Xcode 16 and build it, then upload the ipa to AppStore Connect
- At the end of uploading process you’ll be greeted with the warning.
React Native Version
0.74.5
Affected Platforms
Other (please specify)
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 14.6.1
CPU: (12) x64 Intel(R) Xeon(R) W-2135 CPU @ 3.70GHz
Memory: 34.94 GB / 64.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.18.0
path: ~/.nvm/versions/node/v20.18.0/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v20.18.0/bin/yarn
npm:
version: 10.8.2
path: ~/.nvm/versions/node/v20.18.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.15.2
path: /usr/local/lib/ruby/gems/3.3.0/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.0
- iOS 18.0
- macOS 15.0
- tvOS 18.0
- visionOS 2.0
- watchOS 11.0
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 16.0/16A242d
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 3.3.5
path: /usr/local/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
info React Native v0.75.4 is now available (your project is running on v0.74.5).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.75.4
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.74.5
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
Stacktrace or Logs
null
Reproducer
https://github.com/zzz08900/react-native-hermes-dSYM
Screenshots and Videos
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 8
- Comments: 39 (10 by maintainers)
Still same warning after uploading to appstoreconnect with “react-native”: “0.76.3”. I already searched for the
<key>DebugSymbolsPath</key>in the mentioned path but found nothing.The archive did not include a dSYM for the hermes.framework with the UUIDs [842F8776-9CE7-387F-AFB8-AD89FC4DE398]. Ensure that the archive's dSYM folder includes a DWARF file for hermes.framework with the expected UUIDs.@zzz08900 Thanks for the issue. we fixed that already with this commit f529fe48768b8a1ee4d74a4964a294c485da83b9, but we forgot to cherry pick it. Let me create pick requests for that.
To unblock yourself, you can
<yourApp>/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/Info.plistWhat I did for now to fix the issue on RN 0.76.3.
dSYMfiles from here../ioscalleddSYMsand put thehermes.framework.dSYMfile foriphonesinside.Run Scriptin theBuild Phasesof my IOS project afterBundle React Native code and imagesscript.+1
Any updates on this? I still get the error in react native version: 0.76.6
Should this be re-opened? As it seems that the issue is still present in 0.76.3
We should backport the fix to previous versions then.
Strange, my own solution even doesn’t work anymore in RN 76.5.
1 - Copying
dSYMsfiles manually doesn’t work. 2 - Couldn’t find theplistattributes to ignore checkingdSYMsfiles in debug and release.Now, the archive had been uploaded to AppStore Connect but it’s still showing the error in XCode.
I have the same issue, tried this solution but it didn’t work for me.
Having the same issue on react-native 0.76.2
BTW does this error have any bad effect?
Having the same issue on react-native 0.76.3
As well here:
@cipolleschi Ran that just now on Xcode 16.2 and RN 0.76.6, and still get the error…
I believe something is wrong with Xcode 16.2. Those steps use to work with previous versions of Xcode when this was happening.
Sadly, there is very little I can do as we don’t control Xcode.
For anyone reading: what you are seeing is just a warning. It does not prevent you from upload and submit your app and Apple will not reject your app because of missing debug symbols in the release binary.
did anyone find the solution I’m still looking for solution nothing works here
I’m getting the same symptom with RN 0.72 when I upgradef from older XCode to XCode 16 in order to ,make debug builds for an iOS 18 device. I"m trying to upload a release build. Since I was doing this same build pre XCode 16, I’m asssuming this wartning is just letting me know aomehting about my bujilds thay is not new as I didn’t otherwize change anything about my RN bujild other than moving to XCode 16…
@cipolleschi Hello, in my case, I moved an application that I built with eas and successfully sent to testflight to cli due to sdks that do not support expo. In summary, eas build / submit processes were smooth