Code Monkey home page Code Monkey logo

Comments (6)

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

➤ PM Bot commented:

Jira ticket: RCOCOA-2356

from realm-swift.

Jaycyn avatar Jaycyn commented on June 11, 2024

I built a clean Realm project, following installation guide for Cocoapods exactly and received the exact same message

non-sendable

I also noted a another issue with this clean podfile install. While tracking it down, things suddenly started working and the non-sendable type 'RLMRealm' outside of actor-isolated context may introduce data races error went away. They appeared to be unrelated but adding this just in case

Sandboxing: Sandbox: rsync.samba(code) deny(1) file-read-data... some path

Sandboxing

To fix: in Build Settings, had to set User Script Sandboxing to NO

UserScriptSandboxing

then in Signing and Capabilities, had to check Incoming and Outgoing in the Network settings. I usually just removed that entirely but that didn't work, but this did.

Network

Once I made those changes, all of the errors went away.

Again - a 100% totally clean brand new Realm Test project with no other code, following the installation guide.

Realm 10.50.0
XCode 15.3
Cocoapods 1.15.2
Sonoma 14.2.1
macOS project

and my podfile

project 'Realm Test'
target 'Realm Test' do
  use_frameworks!
  platform :osx, '14.0'
  pod 'RealmSwift', '~>10'
end

I have no idea what the relationship is between the error but at least I am back to coding.

from realm-swift.

tgoyne avatar tgoyne commented on June 11, 2024

This is an expected warning when building Realm with sendability checking enabled which we should be able to fix in Swift 6 but cannot in Swift 5.

from realm-swift.

Jaycyn avatar Jaycyn commented on June 11, 2024

@tgoyne Cool. Thanks for the update.

Any idea why the project I just created, which exhibited the same issue, suddenly stopped flagging with the error after I made the changes noted above?

from realm-swift.

bb-git avatar bb-git commented on June 11, 2024

@tgoyne so just to be clear, it's all fine to use it like this?
or are any changes necessary?
Thanks

from realm-swift.

nirinchev avatar nirinchev commented on June 11, 2024

it's fine to use it like this.

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.