-
-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OS Error: Operation not permitted #8
Comments
Hmm not sure. I have some questions so I can try to replicate it. If you use 0.2.0, is this an image that also gave problems in 0.1.0? I guess iOS doesn't like files without an extension. |
version 0.2.0 |
Hmm.. strange. I'm going to have a look at it. |
Bedankt! |
I cannot reproduce it, but my path is the following: So after Application/{id} it still has Library/Caches/cache/... I almost think it has something to do with path_provider, but I don't really understand this. Is it also broken when you start a new clean project and only try to show this image? |
I'll take a look deeper, thanks
…On Tue, Jan 2, 2018 at 6:58 PM, renefloor ***@***.***> wrote:
I cannot reproduce it, but my path is the following:
/Users/rene/Library/Developer/CoreSimulator/Devices/
E480FE42-3C1C-477D-AA2F-B5B74FF244FB/data/Containers/
Data/Application/31970312-CC93-4FDB-9F87-7EE9176B641D/
Library/Caches/cache/601ee310-d2d0-11e7-b450-2b33870382f5
So after Application/{id} it still has Library/Caches/cache/...
I can imagine that if it tries to create the folder for the application it
fails.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI2nVglbdx5FP6HgbL9mymfBKN72X4jVks5tGmBBgaJpZM4RQI6_>
.
|
I'm also having this issue, although it's only happening in a real device, not in the simulator. |
Hmm.. I am mostly an Android dev, so I have no experience at all with the iOS file system. But I am trying to get my head around it. |
Not at the minute.. but to reproduce you need to:
Once I have a computer around I'll gather some logs and attach them here :) |
I just had a look at the apple docs on the file system. Maybe it would be better to only store the filename anyhow and get the temp directory every time the cache manager is initialized. Edit: Looks like I have to make a breaking change indeed: I'd better do this quick 😅 |
Could you confirm that the issue is fixed if you use the following dependency?
|
Sorry for the delay @renefloor . I've been on holiday. I confirm the issue is fixed on that dependency. Awesome. |
No problem, I'll probably make a new release today. |
Just released the fix in 0.2.1 |
Awesome. Thanks. |
I'm getting : Another exception was thrown: FileSystemException: Creation failed, path = '/var/mobile/Containers/Data/Application/984BEEDA-D355-4429-AD4C-D6D211082B7A' (OS Error: Operation not permitted, errno = 1)
on iOS. Any idea?
The text was updated successfully, but these errors were encountered: