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

Could not build Objective-C module 'Realm' #8392

Closed
medabida opened this issue Oct 10, 2023 · 2 comments
Closed

Could not build Objective-C module 'Realm' #8392

medabida opened this issue Oct 10, 2023 · 2 comments
Assignees
Labels
Encryption:Off Frequency:Always More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. O-Community Repro:Always SDK-Use:Local T-Bug Waiting-For-Reporter Waiting for more information from the reporter before we can proceed

Comments

@medabida
Copy link

How frequently does the bug occur?

Always

Description

When building realm (10.43.0) with Carthage and then importing it into my project, i am getting the error

Could not build Objective-C module 'Realm'

..../Debug-iphonesimulator/Realm.framework/Headers/Realm.h:64:1: Umbrella header for module 'Realm' does not include header 'RLMSyncUtil.h'
.../Debug-iphonesimulator/Realm.framework/Headers/Realm.h:64:1: Umbrella header for module 'Realm' does not include header 'RLMPlatform.h'

This issue only happens with 10.43.0 and above

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

  • Build realm 10.43.0 with Carthage
  • include it in any iOS project
  • see the error

Version

10.43.0

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

iOS 17

Build environment

Xcode version: ...
Dependency manager and version: ...

@nirinchev
Copy link
Member

RLMSyncUtil.h was removed in #8002 and RLMPlatform.h was removed in #8309. Not sure why Carthage is looking for these files, but it's possible you have some leftover files in your project - does this happen in a new project?

@sync-by-unito sync-by-unito bot added More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. Waiting-For-Reporter Waiting for more information from the reporter before we can proceed labels Feb 6, 2024
Copy link

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Encryption:Off Frequency:Always More-information-needed More information is needed to progress. The issue will close automatically in 2 weeks. O-Community Repro:Always SDK-Use:Local T-Bug Waiting-For-Reporter Waiting for more information from the reporter before we can proceed
Projects
None yet
Development

No branches or pull requests

2 participants