这是indexloc提供的服务,不要输入任何密码
Skip to content

I can not use Realm.asyncWrite on Xcode 16.4 #8780

@antwhale

Description

@antwhale

How frequently does the bug occur?

Always

Description

After I upgrade Xcode version to 16.4, my code about Realm did not work.

Image

When I build my ios project, I met this error:
/var/folders/1w/ty7kj8pd10l_dtbqqh_9f68r0000gn/T/swift-generated-sources/@_swiftmacro_7SaleWar0023RealmManagerswift_elFCffMX31_39_9isolationfMf.swift:1:1 'nil' is not compatible with expected argument type 'any Actor'

This is terrible.

Stacktrace & log output

Can you reproduce the bug?

Always

Reproduction Steps

No response

Version

10.54.5

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

macOs 15.5

Build environment

Xcode version: ...
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