Re: Scripting Bridge Questions
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