GithubHelp home page GithubHelp logo

Comments (15)

malhotrachetan avatar malhotrachetan commented on May 31, 2024

Updated to 1.3.2, still happening.

from analytics-swift.

bsneed avatar bsneed commented on May 31, 2024

looking ...

from analytics-swift.

bsneed avatar bsneed commented on May 31, 2024

I'm unable to reproduce this. I'm using the example app located in analytics-swift/examples/apps/BasicExample.xcworkspace. From the looks of it, it seems to be failing to create the directory for the given writekey. Line 196 in Storage.swift. Can you see what the results of that are on your end?

from analytics-swift.

bsneed avatar bsneed commented on May 31, 2024

You might try the branch above and see if that helps any.

from analytics-swift.

malhotrachetan avatar malhotrachetan commented on May 31, 2024

Hey! Just tried out with the above mentioned branch. Now i am getting:
Screenshot 2022-10-16 at 11 46 56 PM

from analytics-swift.

bsneed avatar bsneed commented on May 31, 2024

Can you verify if those files or folders exist and those error messages are legit?

from analytics-swift.

malhotrachetan avatar malhotrachetan commented on May 31, 2024

Yes the directory with writeKey name does infact exist, thus the file name "14-segment-events" or is missing.

from analytics-swift.

bsneed avatar bsneed commented on May 31, 2024

I didn't quite understand that last part.

You should have a 14-segment-events or a 14-segment-events.temp.

from analytics-swift.

malhotrachetan avatar malhotrachetan commented on May 31, 2024

I meant there is a directory created with the writeKey name but neither 14-segment-events nor 14-segment-events.temp is created.

from analytics-swift.

bsneed avatar bsneed commented on May 31, 2024

Are you able to create and write to files manually in that directory?

from analytics-swift.

malhotrachetan avatar malhotrachetan commented on May 31, 2024

Good point. Let me check this.

from analytics-swift.

malhotrachetan avatar malhotrachetan commented on May 31, 2024

hey! As you feared, no I cannot create manually too. Got this:

mkdir: /20-segment-events: Read-only file system

from analytics-swift.

bsneed avatar bsneed commented on May 31, 2024

Ok, gotcha. So it's all explained now. I'm not sure why you have a read-only file system. Do you know?

from analytics-swift.

malhotrachetan avatar malhotrachetan commented on May 31, 2024

Idk. Apple ships it like this maybe? Anyway, so I got around making the root volume writable. Now i can make a directory/file manually in the writeKey named folder but I still get the message.

from analytics-swift.

bsneed avatar bsneed commented on May 31, 2024

Apple doesn't ship a readonly file system (not intentionally anyway). Closing this as I've merged the PR and it should be good. Please let me know if you see issues. I need lots of details about what you're seeing etc to further assist.

from analytics-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.