So does it sound like a legitimate problem?

I just didn't want to take up my time and developer time at Apple if I was just doing something stupid.

I ran it like this: "gen_bridge_metadata -f ./JBBAdditions.framework - F final --64-bit -o ./JBBAdditions.framework/Resources/BridgeSupport/ JBBAdditions.bridgesupport"

As long as you don't see any reason that shouldn't have worked I will file a bug.

Jordan

On Oct 06, 2009, at 15:50, Laurent Sansonetti wrote:

Hi Jordan,

You should submit BridgeSupport problems to:

http://bugreporter.apple.com/

The developer will deal with them there.

Laurent

On Oct 6, 2009, at 1:43 PM, Jordan Breeding wrote:

I have a question about whether I am seeing a bug in BridgeSupport or not.

I am running Mac OS X 10.6.1 and have a custom framework that has some categories for Foundation/Cocoa classes.

The following are the problem I noticed when using gen_bridge_metadata:

1) I have to include Cocoa/Cocoa.h in the files, Foundation/ Foundation.h doesn't seem to work even though those are really the only classes I am dealing with.

2) This is the bigger one, gen_bridge_metadata isn't picking up all of the methods/messages from my header, here is one of the headers:

=====
#import <Cocoa/Cocoa.h>

@interface NSArray (JBBAdditions)

#pragma mark Instance Methods

- (NSArray *)jbb_dictionariesWithKey:(NSString *)keyName;
- (id)jbb_firstObject;
- (BOOL)jbb_isEmpty;
@end
=====

but here is the relevant section of the .bridgesupport file:

=====
<class name='NSArray'>
<method selector='jbb_isEmpty'>
<retval type='B'/>
</method>
</class>
=====

Any ideas as to why it is behaving this way? It is doing this for all of the classes I have defined categories on (only defining one method/message).

Thanks for any input,
Jordan

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to