Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(dmg only) symlinks inside frameworks are not preserved (making the frameworks three times bigger) #1097

Open
fcollot opened this issue Feb 8, 2023 · 0 comments

Comments

@fcollot
Copy link
Contributor

fcollot commented Feb 8, 2023

The symlinks inside frameworks become real directories and files in the dmg.
A typical framework will have the following structure:

MyFramework.framework/
    MyFramework -> Versions/Current/MyFramework
    Resources -> Versions/Current/Resources
    Versions/
        A/
            MyFramework
            Resources/
                (resource contents)
        Current -> A

In the medInria dmg this becomes:

MyFramework.framework/
    MyFramework
    Resources
        (resource contents)
    Versions/
        A/
            MyFramework
            Resources/
                (resource contents)
        Current
            MyFramework
            Resources/
                (resource contents)

The library file (MyFramework) and the contents of the Resources directory are now present in three separate instances. This makes the resulting framework three times bigger than it should be.

I have not had time to investigate the cause of this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant