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

Crash when launch #8493

Closed
DrWaleedNour opened this issue Feb 20, 2024 · 9 comments
Closed

Crash when launch #8493

DrWaleedNour opened this issue Feb 20, 2024 · 9 comments

Comments

@DrWaleedNour
Copy link

How frequently does the bug occur?

Always

Description

we added realm sdk as static to my app, and we add all requirements, but when run my app i receive this crash:
dyld: symbol not found: objc_class$_rlmap

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

  • Add realm sdk as a static framework to project
  • Under Link Binary with Libraries, click + and add libc++.tbd, libz.tbd, and libcompression.tbd.
  • Run app > crash

Version

10.47.0

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

All

Build environment

Xcode version: ...
15.2..

@nirinchev
Copy link
Member

Did you add both Realm and RealmSwift frameworks?

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

Yes

@github-actions github-actions bot added Needs-Attention Reporter has responded. Review comment. and removed 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 20, 2024
@nirinchev
Copy link
Member

Do you have a minimal project that demonstrates the issue?

@sync-by-unito sync-by-unito bot added Waiting-For-Reporter Waiting for more information from the reporter before we can proceed and removed Needs-Attention Reporter has responded. Review comment. labels Feb 20, 2024
@DrWaleedNour
Copy link
Author

No

@github-actions github-actions bot added Needs-Attention Reporter has responded. Review comment. and removed Waiting-For-Reporter Waiting for more information from the reporter before we can proceed labels Feb 20, 2024
@nirinchev
Copy link
Member

We can't help in that case.

@nirinchev nirinchev closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2024
@sync-by-unito sync-by-unito bot removed the Needs-Attention Reporter has responded. Review comment. label Feb 20, 2024
@sync-by-unito sync-by-unito bot closed this as completed Feb 20, 2024
@DrWaleedNour
Copy link
Author

could send to me steps to add realm sdk?

@nirinchev
Copy link
Member

The steps are outlined in the documentation and appear to be in line with what you've done. To the best of our knowledge, these steps are correct and are continuously tested.

@DrWaleedNour
Copy link
Author

May be crash because static library?

@nirinchev
Copy link
Member

I'm sorry, but we can't provide support like this. Our documentation is up to date and creating a brand new project, linking the static xcframework from 10.47.0 works just fine. If it doesn't for you, then there's something special in your project/environment and unless you're able to give us something that reproduces the problem, there's no way for me to guess what that is.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants