Skip to content

Failed to open file at path '/default.realm.lock': Operation not permitted #237

@adamski

Description

@adamski

What happened?

I expected to be able to have realm load inside an app or AUv3 plugin running on iOS.

I got an exception with the message: "Failed to open file at path '/default.realm.lock': Operation not permitted"

I would expect the lock file to be saved in the same location as the database path.

Repro steps

Build an application with Realm 2.2.0, that tries to open a local realm. Build for iOS and run on an iOS device.

Version

2.2.0

Installation method

CMake / CPM

What Atlas Services are you using?

Atlas Device Sync

Compiler

Apple Clang (Xcode)

OS and version

iOS 16

Code snippets

No response

Stacktrace of the exception/crash you're getting

No response

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions