Skip to content

Conversation

ghugues
Copy link
Contributor

@ghugues ghugues commented Oct 19, 2025

On macOS, the file command dereferences symbolic links by default (--dereference implied). On Linux it's the opposite (--no-dereference implied).

We want the dereference behavior on both, otherwise file outputs symbolic link to Versions/Current/MyFrameworkBinary on Linux when checking the file type of an iOS framework (we then fallback to the otool command which fails).

Copy link
Owner

@cgrindel cgrindel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! It looks like a test is failing. Can you take a look?

@ghugues ghugues requested a review from cgrindel October 19, 2025 15:30
@cgrindel
Copy link
Owner

@Mergifyio queue

Copy link
Contributor

mergify bot commented Oct 19, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at c253f55

@mergify mergify bot added the queued label Oct 19, 2025
@mergify mergify bot merged commit c253f55 into cgrindel:main Oct 19, 2025
68 of 73 checks passed
@mergify mergify bot removed the queued label Oct 19, 2025
@ghugues ghugues deleted the fix-file-command-linux branch October 19, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants