IBDesignables don't work at all in an iOS project if it contains a Watch app
Originator: | ksherman | ||
Number: | rdar://44059090 | Date Originated: | 02-Sep-2018 07:06 PM |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | 9.4.1 |
Classification: | Serious Bug | Reproducible: | Always |
Summary: This is a duplicate of radar #37841641 IBDesignables don't work at all in a project that has a Watch app because the automatic step that build the project for interfacebuilder is broken in this case. I really hope a fix can be included for this in Xcode 10 as this has been broken since 7.2. Steps to Reproduce: 1. Create a new "iOS App with WatchKit App" project in Xcode 2. Add a custom view and make it designable 3. Use the custom view in a storyboard Expected Results: Xcode builds the project and displays the designable in interface builder Actual Results: Xcode fails to build the project with the following message: target specifies product type 'com.apple.product-type.watchkit2-extension', but there's no such product type for the 'iphonesimulator' platform Version: 9.4.1 Notes:
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!
Fixed in Xcode 10
It's been fixed since Beta 5. :-)