Folks;

I use AppleScript to accomplish some inter-application tasks.

Over time I have a developed several utility routines in Cocoa, one of which is to return the results of an arbitrary script execution. as an NSString:

- (NSString *) getStringResutlFromAppleScript:(NSString *)theScript {
        NSDictionary *errorDict = nil;
NSAppleScript *appleScriptObject = [[NSAppleScript alloc] initWithSource:theScript]; NSAppleEventDescriptor *eventDescriptor = [appleScriptObject executeAndReturnError: &errorDict]; \\this compiles on-the-fly if necessary
        [appleScriptObject release];    
        if (([eventDescriptor descriptorType]) && (errorDict==nil)) {
                return [self stringFromAppleEventDescriptor:eventDescriptor];
        } else {
                NSLog(@"ERROR: ",theScript);
...

This has been working for quite some time.

But now I have recently noticed that every execution of the 'executeAndReturnError:' is causing a entry in the console: warning: Could not find object file "/Developer/usr/lib/gcc/i686-apple- darwin9/4.0.1/libgcc.a(_eprintf.o)" - no debug information available for "/var/tmp/gcc/gcc-5465~16/src/gcc/libgcc2.c".

I've stepped thru numerous examples and it is ALWAYS this line. The scripts are all valid scripts.
The code executes properly but it just sticks in my craw...
What have a not got configured correctly?

Thanks!
Steve
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to