Bridge Support parsing problem on 10.8

17 views
Skip to first unread message

Gus Mueller

unread,
May 17, 2012, 1:31:52 PM5/17/12
to jsc...@googlegroups.com
In 10.8, Apple has changed up the order of the attributes in bridgesupport files. Specifically Foundation.bridgesupport, and the NSRange struct.

In 10.7, it's in the format:
<struct name='NSRange' type64='{_NSRange=&quot;location&quot;Q&quot;length&quot;Q}' type='{_NSRange=&quot;location&quot;I&quot;length&quot;I}'/>

in 10.8, it's:
<struct type64='{_NSRange=&quot;location&quot;Q&quot;length&quot;Q}' name='NSRange' type='{_NSRange=&quot;location&quot;I&quot;length&quot;I}'/>

And so BridgeSupportController ends up using the type64 value as the name. Just a heads up incase anyone else runs into this issue (I hope to have a patch for it at some point, but if someone beats me to it, I won't be upset :)

-gus

--

August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/

Patrick Geiller

unread,
May 17, 2012, 2:55:24 PM5/17/12
to jsc...@googlegroups.com
> And so BridgeSupportController ends up using the type64 value as the name. Just a heads up incase anyone else runs into this issue (I hope to have a patch for it at some point, but if someone beats me to it, I won't be upset :)

Fixed, thanks for the report !

Reply all
Reply to author
Forward
0 new messages