Code Monkey home page Code Monkey logo

Comments (6)

tgoyne avatar tgoyne commented on June 27, 2024 1

Everything except for the warning from async Realm.init(actor:) should be fixed by #8618. That warning remains because an isolated init currently just crashes the compiler; if that goes unfixed by the time Xcode 16 makes it out of beta we'll probably need to add a Realm.open() static function or something.

from realm-swift.

sync-by-unito avatar sync-by-unito commented on June 27, 2024

➤ PM Bot commented:

Jira ticket: RCOCOA-2391

from realm-swift.

bdkjones avatar bdkjones commented on June 27, 2024

Just a heads up: I updated to 10.52.0 and these warnings are not resolved.

from realm-swift.

bdkjones avatar bdkjones commented on June 27, 2024

Here's what I'm seeing in Xcode 16 beta 1 with 10.52.0:

Screenshot 2024-06-18 at 21 14 31

from realm-swift.

bdkjones avatar bdkjones commented on June 27, 2024

A thought: I haven't actually switched to Swift 6 language mode in this project because there are a few other blockers unrelated to Realm.

I see some switches on the compiler version in the latest Realm update, so perhaps these are false warnings that evaporate with no errors once Swift 6 is enabled? I'll try that when I get back to my Mac this evening.

If that's the case, the ubiquitous warnings when the Swift version is <6 are going to mislead a lot of people and are worth resolving.

from realm-swift.

bdkjones avatar bdkjones commented on June 27, 2024

Ha, I tried building in Swift 6 Language Mode but Xcode just spat out 13 "Swift compiler failed with a non-zero exit code" errors that have absolutely zero context—there's no associated lines or files, so I have no idea what the "errors" are.

This seems like a really bad inflection point in Swift. People are just going to use the 6.0 compiler in 5.0 language mode for the next seven years. Anyway, good luck!

from realm-swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.