Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

feat: improve error message when PBXBuildFile.file reference is not found#136

Merged
fortmarek merged 1 commit intomainfrom
refactor/build-file-error-message
Feb 21, 2025
Merged

feat: improve error message when PBXBuildFile.file reference is not found#136
fortmarek merged 1 commit intomainfrom
refactor/build-file-error-message

Conversation

@fortmarek
Copy link
Member

As raised here, the current error message for when a PBXBuildFile.file reference is not found doesn't provide any extra details for what's missing.

Current error message:

Missing `PBXBuildFile.file` reference.

New error message example:

Missing 'PBXBuildFile.file' reference for F806E10B2D54DD7C0058A673 id. Make sure an element with that id is present in the /Users/marekfort/Developer/tuist/fixtures/xcode_project_with_tests/App.xcodeproj/project.pbxproj file

The error message is relatively low-level, but I'd rather go low-level than provide a high-level error message that doesn't provide any insights into what the error might be.

@fortmarek fortmarek merged commit ac20032 into main Feb 21, 2025
7 checks passed
@fortmarek fortmarek deleted the refactor/build-file-error-message branch February 21, 2025 12:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants