Xcode 7.0: Handles framework header include different when build with a none standard build configuraton
| Originator: | alexander.rupsch | ||
| Number: | rdar://22799851 | Date Originated: | 22-Sep-2015 03:19 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.0 (7A218) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: We have a medium complex project that has: - several build configurations for altering the build regarding different settings bundles or debug/diagnostic options — each build configuration is backed by a xcconfig file (see example) - a scheme per build config (but when creating the example I recognised that this seems not to be important) - several library targets for components - one framework target that is referenced by a library target (the lib of the framework is linked by that referencing target). I attached an example project. I also included the derived data for demonstration. When building with the “Debug” scheme that refers to the standard “Debug” build configuration everything works. When building the “Debug-Problem” scheme which builds the same targets a header of the framework can not be found and the build breaks. Steps to Reproduce: - take the example project - build the “Debug” scheme => should work - build the “Debug-Problem” scheme => will not work, albite it is doing the same. Expected Results: Building with both schemes should work and should create the same results. Actual Results: Building with “Debug-Problem” scheme does not work, because of missing header file, albite the configuration is the same. Note: In derive data for the “Debug” scheme (e.g. “Build/Products/Debug-iphonesimulator”) the expected files are created (the framework, the app and so one). The folder for the “Debug-Problem” (e.g. Build/Products/Debug-Problem-iphonesimulator) scheme only contains some of those files after building (at least in my original project, in the example it is empty).
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!