Local vs. Repo project.xcworkspace inconsistency

89 Views Asked by At

I am attempting to add a new iOS app into bitrise, but during the validation process I am getting the error: contents.xcworkspacedata does not exist at: PROJECT.xcworkspace/contents.xcworkspacedata

When I look in my repo and my local folder, I notice a couple of things:

  1. The repo contains both a PROJECT.xcworkspace and a project.xcworkspace, but my local folder only contains a PROJECT.xcworkspace
  2. Even more strange, is that in the repo, the lowercased workspace folder contains the contents.xcworkspacedata file and the uppercased workspace folder contains the xcshareddata folder (neither contain xcuserdata as that is ignored)
  3. My local PROJECT.xcworkspace contains all that is expected (i.e. contents.xcworkspacedata, xcshareddata/, and xcuserdata/)

Bitrise validation is failing because it is looking for the file in PROJECT.xcworkspace in the repo, not project.xcworkspace where that file is actually located.

The name of the workspace has always been capitalized from the initialization of the project, so I don't understand why there would be a lowercased version in the repo.

Is this some random bug that occurred, or what is a good way to resolve this issue?

0

There are 0 best solutions below