medInria/medInria-public

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

fcollot opened this issue · 0 comments

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.