On 12/06/18 10:45 PM, "Alexander Cohen" <[EMAIL PROTECTED]> wrote:

>>>>     /Library/Frameworks/Your.framework
>>> 
>>> I tried this one. I didnt work. The only one that worked was inside
>>> the rb package in its framework folder. weird.
>> 
>> Try do in terminal
>> 
>>> otool -L   framework
>> 
>> Simply drag it into terminal after -L
>> 
>> Also the same for your plugin  .dylib
> 
> in my plugin dylib, i get @executable_path/../Frameworks/<the
> framework>, how can i change this so it looks into various different
> places?

I think problem comes from framework itself.

What it contains ?
        @executable_path/../Frameworks/<the framework>

Right?

You can use tool   'install_name_tool'

This is part of our Valentina scripts

    # change id of VKERNEL
    install_name_tool -id "@executable_path/../VComponents/$KernelLibName"
"$BUILT_PRODUCTS_DIR/Valentina
Studio$ProductNameExt.app/Contents/VComponents/$KernelLibName"
    install_name_tool -change "/usr/local/lib/vcomponents/$SharedLibName"
"@executable_path/../VComponents/$SharedLibName"
"$BUILT_PRODUCTS_DIR/Valentina
Studio$ProductNameExt.app/Contents/VComponents/$KernelLibName"
    install_name_tool -change
"/usr/local/lib/vcomponents/VSDK.framework/Versions/A/VSDK"
"@executable_path/../VComponents/VSDK.framework/Versions/A/VSDK"
"$BUILT_PRODUCTS_DIR/Valentina
Studio$ProductNameExt.app/Contents/VComponents/$KernelLibName"
    install_name_tool -change "/usr/local/lib/vcomponents/libicudata.dylib"
"@executable_path/../VComponents/libicudata.dylib"
"$BUILT_PRODUCTS_DIR/Valentina
Studio$ProductNameExt.app/Contents/VComponents/$KernelLibName"
    install_name_tool -change "/usr/local/lib/vcomponents/libicuuc.dylib"
"@executable_path/../VComponents/libicuuc.dylib"
"$BUILT_PRODUCTS_DIR/Valentina
Studio$ProductNameExt.app/Contents/VComponents/$KernelLibName"
    install_name_tool -change "/usr/local/lib/vcomponents/libicui18n.dylib"
"@executable_path/../VComponents/libicui18n.dylib"
"$BUILT_PRODUCTS_DIR/Valentina
Studio$ProductNameExt.app/Contents/VComponents/$KernelLibName"
    install_name_tool -change "/usr/local/lib/vcomponents/libicuio.dylib"
"@executable_path/../VComponents/libicuio.dylib"
"$BUILT_PRODUCTS_DIR/Valentina
Studio$ProductNameExt.app/Contents/VComponents/$KernelLibName"



-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to