realm / realm-swift

Realm is a mobile database: a replacement for Core Data & SQLite

Home Page:https://realm.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash when launch

DrWaleedNour opened this issue · comments

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..

Did you add both Realm and RealmSwift frameworks?

Do you have a minimal project that demonstrates the issue?

We can't help in that case.

could send to me steps to add realm sdk?

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.

May be crash because static library?

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.