Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

Package issue: ...libsharpyuv.0.dylib is not part of a Mac OS X Native Extensions framework

Open ylazy opened this issue 3 weeks ago • 4 comments

I'm using 51.2.2.5 on MacOS

When I was packaging my app, I got this error:

/Volumes/Ylazy/Development/ActionScript/SDK/Ylazy/Projects/GetLink/bin/NativeProcess/MacOS/NConvert/Plugins/libsharpyuv.0.dylib is not part of a Mac OS X Native Extensions framework

I'm using the NConvert command line tool, that be shipped with a Plugins folder that contains multiple dylib files. These dylib files is part of NConvert so they should be keep without errors.

Thanks!

ylazy avatar Dec 02 '25 09:12 ylazy

Can you elaborate on what you are doing here?

marchbold avatar Dec 03 '25 04:12 marchbold

My app contains the NativeProcess/MacOS/NConvert folder. The NConvert folder contains an executable nconvert and the Plugins folder. The Plugins folder contains multiple runtime libraries that nconvert use at runtime, including libsharpyuv.0.dylib. When I packaged my app, I included the NativeProcess folder, then I got that error.

ylazy avatar Dec 03 '25 05:12 ylazy

FYI, that error message happens because the file it's looking at is a symbolic link, and there's a rule in there that symbolic links can only be within a Framework bundle.

Are you able to convert it into a normal file i.e. copy the file that it points to over the link?

I'm not quite sure why this is a critical error within ADT though, it does seem to limit things unnecessarily..

ajwfrost avatar Dec 04 '25 17:12 ajwfrost

@ajwfrost You're right. It's a symbolic link that points to a file in the same directory. I duplicated the file using the name of the symbolic link, and then it worked. However, this increases the size of my app because there are many other symbolic links in other tools in my app. At least I have a workaround for now. Thank you!

ylazy avatar Dec 05 '25 06:12 ylazy