Swift compiler doesn't find Umbrella header, when 'Always Search User Paths' is enabled
Originator: | timbogeld | ||
Number: | rdar://21038443 | Date Originated: | 20-May-2015 |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | 6.3.2 |
Classification: | Bug | Reproducible: | Always |
Summary: When creating a custom framework that contains both Swift and Objective-C code, the compilation will fail if 'Always Search User Paths' is turned on. Steps to Reproduce: 1. Create a new project and select 'Cocoa Touch Framework' as the type. Choose Objective-C as the language. 2. Add an empty Swift file 3. Go to the target build settings and set 'Always Search User Paths' to Yes 4. Press Product->Clean 5. Build the Framework Expected Results: The framework should successfully build, like it does when 'Always Search User Paths' is set to No Actual Results: There is a Swift Compiler Error: /Users/timbodeit/Library/Developer/Xcode/DerivedData/bugtest-hdzbybphihaurvckglpqggzkaice/Build/Intermediates/bugtest.build/Debug-iphonesimulator/bugtest.build/unextended-module.modulemap:2:19: error: umbrella header 'bugtest.h' not found umbrella header "bugtest.h" ^ <unknown>:0: error: could not build Objective-C module 'bugtest' Version: Reproduced with Version 6.3.2 (6D2105) & Xcode 6.3.1 (6D1002) Notes: Configuration: Reproduced on various machines, OS X and Xcode Versions. Including: OS X Yosemite (Version 10.10.2 (14C109)) MacBook Pro Retina (Early 2013) Attachments: 'bugtest.zip' was successfully uploaded.
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!