Skip to content

iOS 26 doesn't compile #8769

@iMostfa

Description

@iMostfa

WORKAROUND:

Update to latest master branch (until we get a new release)

Cocoapods:

pod 'RealmSwift', :git => 'https://github.com/realm/realm-swift.git', :branch => 'master'
pod 'Realm', :git => 'https://github.com/realm/realm-swift.git', :branch => 'master'

How frequently does the bug occur?

Always

Description

Hi all,

not sure if it's a problem with my configuration, but building for iOS 26 SDK

i get this error:
/Users/mostafa.essam/Downloads/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk/usr/include/c++/v1/__memory/array_cookie.h:49:28 Cast of an indirect pointer to an Objective-C pointer to 'const size_t *' (aka 'const unsigned long *') is disallowed with ARC

Stacktrace & log output

Image

Can you reproduce the bug?

Always

Reproduction Steps

i'm integrating using Cocoapods

Version

latest version

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

26.0

Build environment

Xcode version: 26
Dependency manager and version: Cocoapods

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