Re: Scripting Bridge Build Problem
Re: Scripting Bridge Build Problem
- Subject: Re: Scripting Bridge Build Problem
- From: Shane Stanley <email@hidden>
- Date: Wed, 30 Oct 2013 14:06:39 +1100
On 30 Oct 2013, at 1:23 PM, John MacMullin <email@hidden> wrote:
> As to System Events on Mavericks and latest Xcode. I get these messages, which results in no “system events.h” and which thereafter causes the build to fail: “sdp: warning: class “SystemEventsWindow” redeclared; use <class-extension> instead. sdp: contents of class “property list file”: missing required “name” attribute.”
>
> On my 10.8.5 machine, also latest Xcode version, everything builds and runs just fine.
>
> The "System Events" app is where is supposed to be in both environments.
>
> The Xcode project and code is common as it is shared through dropbox. Accordingly, the build instruction: "sdef "$INPUT_FILE_PATH" | sdp -fh -o "$DERIVED_FILES_DIR" --basename "$INPUT_FILE_BASE" --bundleid `defaults read "$INPUT_FILE_PATH/Contents/Info" CFBundleIdentifier`" is the same.
>
> Odd. Any suggestions?
At a guess, System Events' .sdef is problematic. There's a definition of a window class in the <xi:include as well as in the .sdef itself. I suspect the first error is telling you that this can only be done via <class-extension>, not <xi:include. The second error doesn't make sense; the contents property doesn't require a "name" attribute, and the dictionary is full of other examples of exactly that.
I'd be hitting bugreporter...
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden