Unable to make an NSMethodSignature from GLKit Types

Originator:SlaunchaMan
Number:rdar://14931876 Date Originated:8/6/2013
Status:Insufficient information Resolved:
Product:iOS SDK Product Version:6.1
Classification:Serious Bug Reproducible:Always
 
Summary:
If a method returns a GLKMatrix4 or similar type, creating an NSMethodSignature for it throws an exception.

Steps to Reproduce:
1. In an Objective-C class, write an instance method with the return type GLKMatrix4. For this example we’ll call it -testMethod.
2. In another method in this class, try to make a method signature for -testMethod by calling +instanceMethodSignatureForSelector: on its class.

Expected Results:
+instanceMethodSignatureForSelector: will return a method signature or nil.

Actual Results:
It throws an exception.

Regression:
This has been a problem for all versions of iOS I have tested.

Notes:
Where this really causes a problem for me is in using the open-source BDD framework Kiwi with a GLKit game.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!