Slapi.framework not linking
-
I am creating a converter using the c++ sdk in Xcode, I have finished all the code and am now trying to release the plugin but for some reason I cannot get the slpai.framework to link or be found by the executable inside of the plugins folder. Has anyone had experience with this or have any ideas on how to get it to work.
Thanks Jake -
Hi Jake,
I assume this is for a standalone application and not an exporter plugin into SketchUp.
slapi.framework uses @rpath in its in "Installation Directory" path. So you'll need to set the "Runpath Search Paths" project setting in Xcode to the path of slapi.framework relative to your executable file location. So typically it would be something like:
@loader_path/../Frameworks
Assuming your app is a bundle and you placed slapi.framework under "Frameworks" directory in your bundle. I hope that helps.
Advertisement