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

SentryPrivate.modulemap not found #4117

Open
5 of 11 tasks
akshaysngt opened this issue Sep 24, 2024 · 7 comments
Open
5 of 11 tasks

SentryPrivate.modulemap not found #4117

akshaysngt opened this issue Sep 24, 2024 · 7 comments

Comments

@akshaysngt
Copy link

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native (>= 1.0.0)
  • react-native-sentry (<= 0.43.2)

SDK version: 5.31.0

react-native version: 0.72.3

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

I have the following issue:

After upgrading the XCode to 16.0, I am unable to run the app and getting below error
Image

Actual result:

Build is failing for iOS app.

Expected result:

I should be able to run the app for iOS on XCode 16.0

@kahest
Copy link
Member

kahest commented Sep 25, 2024

@akshaysngt thanks for reporting - did you try clearing build caches and the derived data for the iOS app before building?

cc @brustolin - maybe this rings a bell?

@brustolin
Copy link
Contributor

cc @brustolin - maybe this rings a bell?

No, this is the first time I see this error.

@akshaysngt
Copy link
Author

@kahest Yes even after clearing caches and derived data, facing the same issue.

@kahest
Copy link
Member

kahest commented Sep 26, 2024

@akshaysngt thanks, we'll need to investigate this. Would you be able to provide a minimal reproducible example?

@krystofwoldrich
Copy link
Member

This has come up before, but unfortunately no resolution (not reproducible in new projects).

#3921

@antonis antonis self-assigned this Oct 4, 2024
@antonis
Copy link
Collaborator

antonis commented Oct 4, 2024

Assigning myself for investigation since I remember seeing this one (or similar) a couple of weeks ago.

@antonis
Copy link
Collaborator

antonis commented Oct 7, 2024

Assigning myself for investigation since I remember seeing this one (or similar) a couple of weeks ago.

Checking back on this I encountered the .modulemap not found error only when I accidentally opened the .xcproject file instead of the .xcworkspace. Opening the Xcode workspace resolved the issue for me.

@akshaysngt If the issue still persists for you, could you confirm that you are opening the workspace that includes all the necessary dependencies and configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Community
Status: Needs More Information
Development

No branches or pull requests

5 participants