Unable to link SketchupAPI.framework in Xcode



I have a C extension that provides some utilities. It works on both Windows and Max OS X. I have decided to add an SDK call to Get Extension License. I was successful on Windows, but I’m not familiar with the Mac’s Xcode.

The Mac SDK has a file called SketchupAPI.framework,

(You can see it is the SDK Mac_16-0019913)

Following the steps at:

I can put in Xcode (Xcode Version 9.3 on macOS High Sierra 10.13.4) as follows:

After a building, I’m seeing the following errors:

If I add the framework, won’t Xcode automatically find the binarie(s)?

Is it possible now a days to license a version of the SDK that includes the “Hello_World” example with pre-configured Visual Studio and Xcode projects?


I think the README for the examples says it has code projects presetup …


Github does not have any Sketchup SDK headers or binaries that I can find, at least the “dev-xcode8” branch.

That makes sense because you have to become a licensed developer (which I am) and download the SDK from Sketchup’s website. The Github source should include the SDK headers (which are online and no reason not to include them), and insert stub files for the SDK binaries. Alternatively, it would be nice if the SDK download from Sketchup’s website would include at least one buildable example.


You asked specifically about the project files.

They are in the ruby-c-extension-examples repo’s following directory …

The Visual Studio project files are in it’s parent directory, … ie …

Totally disagree. Why because they do not belong there. If they did do this it would create a precedent and therefore complicate every example they’d publish. Ie, links their SDK source headers to every example repo.


Okay, there are no predefined project files with the SketchupAPI.framework. How do I fix my linker error?