Apple TV target fails to compile when linking frameworks that expose Obj-C modular headers
| Originator: | info | ||
| Number: | rdar://22868160 | Date Originated: | 25-Sep-2015 10:07 PM |
| Status: | Open | Resolved: | |
| Product: | Apple TV | Product Version: | Xcode 7.1 Beta 2 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: When compiling my Apple TV app, linking several other frameworks, compilation fails with the error “Include of non-modular header inside framework module ‘Framework’”. This is a regression from Beta 1, and only occurs when building the Apple TV app. iOS and watchOS targets build fine (also linking against the same framework). Steps to Reproduce: - Create a project with an Apple TV target. - Create a framework, add an Objective-C file and expose its header file (setting it as public and #importing it from the Framework.h header file. - Link the framework from the Apple TV target. - Compile apple TV target. Expected Results: It builds fine, like it did in beta 1. Actual Results: Build fails with the error “Include of non-modular header inside framework module ‘Framework’”. Regression: This is a regression from beta 1… Notes: I can’t begin to express how sad it makes me to find something new broken in Apple tools every single day.
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!