Monday, July 16, 2018

#1 2015-11-07 11:47:49 am

Registered: 2013-12-05
Posts: 10

Xcode project & Script Libraries

My apologies if this is already asked before, but I did search and then could not find it.

Trying to create my script in Xcode and part of it want to use Script Libraries. Normally I would thus put the script library in Resources\Script Libraries and now I'm trying to figure out how to do this through Xcode.

I was able to add a new "file" and put my code in it. Also able to add it for compiling. But now when I compile the main piece fails saying : Can't get script "<script name>".
My best guess is cause it is not in the "Script Libraries" under resources but the compiled version probably ends up under Resources itself.

So how would I do this?

Appreciate any assistance.



#2 2015-11-07 02:39:48 pm

Shane Stanley
From:: Australia
Registered: 2002-12-07
Posts: 5405

Re: Xcode project & Script Libraries

Do it outside Xcode. Make a new folder in the Finder called Script Libraries, save your compiled library files to it, then drag the folder to your project. For compiling, you probably also need to put a copy in ~/Library/Script Libraries/.

Shane Stanley <>



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)