Skip to content

Crash on real device but not simulator #8792

@PinTron2023

Description

@PinTron2023

How frequently does the bug occur?

Always

Description

Image Image I'm using XCode 16.4 for iOS development. After adding the Realm dependency package, the compilation passes, but when I perform real-device debugging on an iPhone 8 (iOS 16.7.11) and an iPhone 15 Pro (iOS 18.6.2), the app crashes immediately upon launch. However, everything runs fine on the simulator, whether using Realm version 10.54.5 or 20.0.3. Are there any solutions?

Stacktrace & log output

Can you reproduce the bug?

Always

Reproduction Steps

Create a new clear iOS APP project in XCode 16.4
Add Realm dependency package(10.54.5 or 20.0.3)
Compile and run on iPhone 8 (iOS 16.7.11) and iPhone 15 Pro (iOS 18.6.2)

Version

10.54.5 and 20.0.3

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

macOS Sequoia 15.6.1

Build environment

Xcode version: XCode 16.4
Dependency manager and version:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions