"The project doesn't contain a .pbxproj file at path: /Users/user/path/to/xcode/proj.xcodeproj" on macOS Tahoe, Xcode 26.0
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.2k
- Forks
- 355
- Avg merge
- 5h 48m
- Merged PRs (30d)
- 13
Description
I am getting this error: The project doesn't contain a .pbxproj file at path: /Users/user/path/to/xcode/proj.xcodeproj, even though it does (see repo below containing the file). I looked at the XcodeProj class init and ran path.glob("*.pbxproj") (where path is Path("/Users/user..."), as above), which returned nothing. I also tried running path.glob("project.pbxproj"), which did return one item, as expected. The.pbxproj file is normally called project.pbxproj, so this appears to be an issue with the way that saying "any file name at all".pbxproj works. Example .xcodeproj File
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the XcodeProj class init and inspect how it uses path.glob("*.pbxproj") versus path.glob("project.pbxproj"). Reproduce the behavior with the linked Example .xcodeproj File and verify that the project file is found on macOS Tahoe with Xcode 26.0; done means the reported error no longer occurs for that project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100