Package issue: ...libsharpyuv.0.dylib is not part of a Mac OS X Native Extensions framework
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!
Can you elaborate on what you are doing here?
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.
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 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!