Closed uhunkler closed 10 years ago
I'm not against this change- but I don't know why it is needed. What's the error you're getting? If you command click on <CocoaScript/MOJavaScriptObject.h> in Xcode, does the header open up?
In Xcode a command click on the link opens the header but when I try to build CocoaScript with your CLI command "cocoascript/bin/cosbuild.sh -n" I get the following build error:
In file included from /tmp/coscript/src/framework/COSGifAnimator.m:9:
/tmp/coscript/src/framework/COSGifAnimator.h:11:9: fatal error:
'CocoaScript/MOJavaScriptObject.h' file not found
#import <CocoaScript/MOJavaScriptObject.h>
^
1 error generated.
After the above proposed change the error is gone.
Ohhhh- the command line tool. Duh.
The "#import <CocoaScript/MOJavaScriptObject.h>" throws a compile error. I changed the line to #import "MOJavaScriptObject.h" to get the project compiled.
May be it's an issue with the code and you may be interested in the change.