Cocoa Touch Frameworks lose their IBDesignable and IBInspectables

Originator:rieraraul
Number:rdar://21258097 Date Originated:
Status:Duplicate Resolved:
Product:iOS SDK Product Version:
Classification:Bug Reproducible:Always
 
Summary:
When creating a Cocoa Touch Frameworks that has IBDesignable and IBInspectable tags and then importing the resulting .framework into another project. The tags are stripped out from the code, making all the custom views appear blank. Mind you, they will still render find once deployed, but you lose that great Xcode 6 feature

Steps to Reproduce:
1. Create a framework with custom views and IBDesignable, IBInspectables tags. (Or just use this example https://github.com/raulriera/TextFieldEffects)
2. Compile the framework
3. Create another project and embedded the previous framework in it
4. Custom textfields won't render and the IBDesignable, IBInspectables tags are lost

Expected Results:
The custom views should render and IBDesignable, IBInspectables should appear in the inspector

Actual Results:
The custom views remain blank and the IBDesignable, IBInspectables don't appear in the inspector

Version:
8.0 and above

Notes:


Configuration:
Xcode 6

Comments

Apple Developer Relations19-Jun-2015 11:17 PM

Engineering has determined that your bug report is a duplicate of another issue and will be closed.

The open or closed status of the original bug report your issue was duplicated to appears in the yellow "Duplicate of 15825597" section of the bug reporter user interface. This section appears near the top of the right column's bug detail view just under the bug number, title, state, product and rank.

If you have any questions or concerns, please update your report directly here: http://bugreport.apple.com/.

By rieraraul at Feb. 3, 2016, 1:34 p.m. (reply...)

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!