Xcode debugging session

Thierry Douez th.douez at gmail.com
Wed Mar 27 09:49:26 EDT 2013


2013/3/27 Trevor DeVore <lists at mangomultimedia.com>

> On Wed, Mar 27, 2013 at 4:52 AM, Thierry Douez <th.douez at gmail.com> wrote:
>
> > I'm currently finishing an external which works allright except on one
> > computer so far.
> >
> > During a debug session with Xcode, I sometimes get this error:
> >
> > 2013-03-19 15:43:25.453 LiveCode[733:c03] CFURLCreateWithString was
> passed
> > this invalid URL string:
> > '/System/Library/CoreServices/CommonCocoaPanels.bundle' (a file system
> path
> > instead of an URL string). The URL created will not work with most file
> URL
> > functions. CFURLCreateWithFileSystemPath or
> > CFURLCreateWithFileSystemPathRelativeToBase should be used instead.
> >
>
> This is a shot in the dark but sandboxing may be the culprit here. My guess
>
is that the engine is trying to get a hold
> of /System/Library/CoreServices/CommonCocoaPanels.bundle incorrectly.
> LiveCode has to use Cocoa dialogs for file/folder dialogs in order to work
> with sandboxing. Peace and harmony do not always exist between LiveCode
> apps that are sandboxed and the file/folder dialogs.
>
> Are you showing any file/folder dialogs in the application? If so, can you
> determine if the error occurs if you don't show any file/folder dialogs?
>


 I probably should have said "black box" instead of sandboxing.

Well, the App is LC IDE.
the stack is a plugin which uses the external.
I don't use any dialog (I'll check if there is one I forgot in a corner)

Before calling the external, I set some vars,
call my external and wait for the return.
If it's ok then I work with the new datas and basically
redraw an image with the imageData.

Plus, when I have this error, everything works!

The error on the tester computer may or may not be related to this;
I've only this information so far :(


Thanks Trevor,

Thierry



More information about the Use-livecode mailing list