So I’m finally trying to switch over my plug-in to install by default for SketchUp 2016 instead of 2015.
But SketchUp 2016 seems to be missing the slapi.framework that the example uses, and I assume it was replaced with SketchUPAPI.framework, but I’m concerned that the example doesn’t reference it.
@drwave, I checked the samples xml_to_skp and skp_to_xml sample and see that we are using SketchUpAPI.lib. Which example from 2016 SDK is using slapi.lib and how are you checking for the same?
So to be clear - it looks like both examples are linking against the local copy of SketchUpAPI.framework, but then when you try and install that plug-in in the app, it won’t load because it can’t find the library it linked against, because the reference wasn’t rewritten to point to the one in the app bundle. Make sense?
and don’t worry about rewriting it with the shell script. That has the advantage that you will pick up the latest version of the SketchUpAPI.framework that is in your local copy of the app.
I’m really hoping someone at Trimble will update the sample code to do this, since this kind of stuff can be really confusing to folks that are not familiar with this kind of stuff on the Mac platform.