Xcode 6 live rendering issue for a framework project added to a workspace
Originator: | defagos | ||
Number: | rdar://17142978 | Date Originated: | 04-Jun-2014 |
Status: | Closed | Resolved: | Yes |
Product: | Developer Tools | Product Version: | 6.0 |
Classification: | Other bug | Reproducible: | Always |
Summary: For a framework project, Xcode 6 is able to render views decorated with IB_DESIGNABLE directly in Interface Builder. This works well when the project is opened directly, but not when it is opened from a workspace. Steps to Reproduce: I created a dedicated iOS sample project: 1) Grab the 0.3 tag of my radar project (https://github.com/defagos/radars) 2) Open the live-rendering-bug.xcodeproj project with Xcode 6. This project contains a single CustomView class marked as IB_DESIGNABLE, and which draws a smiling face. If you open PreviewView.xib, which contains an instance of CustomView, you can see that Xcode correctly displays the associated live preview. This is confirmed by the ‘Build <project_name> for Live Preview’ message appearing in the Xcode toolbar while the framework is automatically built for live rendering 3) Close the project and open radars.xcworkspace. The live-rendering-bug project has been added to this workspace. If you now open PreviewView.xib, there is no live preview of CustomView, and the toolbar never displays a `Build <project_name> for Live Preview` message Expected Results: Live preview works no matter how a framework project is opened Actual Results: Live preview does not work when the project is opened from a workspace Version: 6.0 Notes: Configuration: Xcode 6, iOS Attachments:
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!