GithubHelp home page GithubHelp logo

Comments (5)

grant-mccarriagher avatar grant-mccarriagher commented on July 20, 2024 1

Sorry, found a workaround for this...pwd -P will properly capitalize the path. Not entirely sure how the shell gets into a state where it's seeing the wrong capitalization, but you can reproduce it like this:

> cd ~/documents
> pwd
/Users/me/documents
> cd ~/Documents
> pwd
/Users/me/Documents

Anyways, sorry for the non-issue. Thanks!

from xcresultparser.

a7ex avatar a7ex commented on July 20, 2024

Hi Grant,
I am not sure, whether I understand the problem or what your question exactly is. ;-)
Yes, it is indeed case sensitive. It uses components(separatedBy:) to split the path in base path and relative path.
Can you provide an example where it breaks? pwd should give you the path in the correct case, doesn't it?
Are the paths in the xcresult bundle in the "wrong case"?
Is the file system case sensitive?
I thought, that most of us MacOS users have use a case-insensitivity file format. So that might cause the problem?
It should not be a big deal to make the tool work case insensitive, but first I need to fully understand the problem, so I know, where to fix it.
Can you elaborate and maybe provide an example. Ideally you could provide me a xcresult bundle, so I can test and verify myself.

from xcresultparser.

a7ex avatar a7ex commented on July 20, 2024

That might really be a special case here with the "Documents" folder. There are some standard folders in every home directory. And "Documents" and "Desktop" are pretty special. I suppose they expect to be upper case, but if your disk is formatted case insensitive (standard on mac OS), then "documents" is the same as "Documents" and MacOS expects it to be upper case. Something along those lines...

from xcresultparser.

grant-mccarriagher avatar grant-mccarriagher commented on July 20, 2024

I was just using that as an example, it seems to work the same if you have a repo with capital letters (our repo is named iOS).

from xcresultparser.

a7ex avatar a7ex commented on July 20, 2024

from xcresultparser.

Related Issues (12)

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.