Skip to content

[iOS] Upload Symbols Failed on Xcode 16  #46853

Closed
@zzz08900

Description

@zzz08900

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

  1. Create react native project with npx @react-native-community/cli@latest init rnTest1 --version 0.74.5
  2. Open project in Xcode 16 and build it, then upload the ipa to AppStore Connect
  3. 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

Screenshot 2024-10-07 at 00 38 34

Activity

react-native-bot

react-native-bot commented on Oct 6, 2024

@react-native-bot
Collaborator
⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.74.6. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.
react-native-bot

react-native-bot commented on Oct 6, 2024

@react-native-bot
Collaborator
⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.
cipolleschi

cipolleschi commented on Oct 7, 2024

@cipolleschi
Contributor

@zzz08900 Thanks for the issue. we fixed that already with this commit f529fe4, but we forgot to cherry pick it. Let me create pick requests for that.

To unblock yourself, you can

  • open the file <yourApp>/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/Info.plist
  • manually remove ALL the instances of the following lines:
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
  • save the file
  • create a new build
migueldaipre

migueldaipre commented on Oct 16, 2024

@migueldaipre
Collaborator

Fixed in the release candidate v0.76

kashmiry

kashmiry commented on Oct 21, 2024

@kashmiry

@zzz08900 Thanks for the issue. we fixed that already with this commit f529fe4, but we forgot to cherry pick it. Let me create pick requests for that.

To unblock yourself, you can

  • open the file <yourApp>/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/Info.plist
  • manually remove ALL the instances of the following lines:
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
  • save the file
  • create a new build

I have tried this on 0.74.6 and previously on 0.73.8. but the warning still does not disappear when i remove the lines.

matttturnbull

matttturnbull commented on Oct 22, 2024

@matttturnbull

Thanks for the fix in 0.76, in the mean time:

Does anyone know how to patch this fix so that it stays in place after a re-install? If I run the following:

  • rm -rf node_modules
  • yarn
  • npx pod-install

Then the fix is reverted and the error persists.

auhonganh

auhonganh commented on Oct 23, 2024

@auhonganh

@zzz08900 Thanks for the issue. we fixed that already with this commit f529fe4, but we forgot to cherry pick it. Let me create pick requests for that.

To unblock yourself, you can

  • open the file <yourApp>/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/Info.plist
  • manually remove ALL the instances of the following lines:
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
  • save the file
  • create a new build

I have tried this on version 0.74.2, but the warning still appears when validating the archive.

cipolleschi

cipolleschi commented on Oct 28, 2024

@cipolleschi
Contributor

We should backport the fix to previous versions then.

mohammad-goldast

mohammad-goldast commented on Dec 2, 2024

@mohammad-goldast

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.

33 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @eedeebee@vitalybaev@importre@kashmiry@auhonganh

        Issue actions

          [iOS] Upload Symbols Failed on Xcode 16 · Issue #46853 · facebook/react-native