• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting Bridge Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Bridge Questions


  • Subject: Re: Scripting Bridge Questions
  • From: Dave <email@hidden>
  • Date: Thu, 25 Jun 2015 18:07:10 +0100

> On 25 Jun 2015, at 17:14, Jean-Daniel Dupas <email@hidden> wrote:
>
>
> You can pretty format it using xmllint command line tool.
>
> xmllint --pretty 1 yourfile.xml > your_formatted_file.xml
>

I knocked up a utility to do it but thanks anyway.

Once I could see where the problem was, I fixed the output from “sdef” quite easily and then ran this file through “sdp”, e.g.

sdef xxxx.app > xxxx.txt

// reformat and edit xxxx.txt

and then:

cat xxxx.txt | sdp -fh --basename AppXXXX

When I included the generated header file in my project, here were a few duplicate definitions which I fixed and it compiled ok!

That was a really good hack!

Many Thanks to everyone that helped on this.

All the Best
Dave



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


References: 
 >Scripting Bridge Questions (From: Dave <email@hidden>)
 >Re: Scripting Bridge Questions (From: Graham Cox <email@hidden>)
 >Re: Scripting Bridge Questions (From: Dave <email@hidden>)
 >Re: Scripting Bridge Questions (From: Dave <email@hidden>)
 >Re: Scripting Bridge Questions (From: Bill Cheeseman <email@hidden>)
 >Re: Scripting Bridge Questions (From: Dave <email@hidden>)
 >Re: Scripting Bridge Questions (From: Bill Cheeseman <email@hidden>)
 >Re: Scripting Bridge Questions (From: Dave <email@hidden>)
 >Re: Scripting Bridge Questions (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Scripting Bridge Questions
  • Next by Date: Another AppleScriptObjC Bridge Question
  • Previous by thread: Re: Scripting Bridge Questions
  • Next by thread: Re: Scripting Bridge Questions
  • Index(es):
    • Date
    • Thread