> On 25 Jun 2015, at 17:14, Jean-Daniel Dupas <mail...@xenonium.com> 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 (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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to