Empty framework header files cause mysterious compiler warnings

Originator:an00na
Number:rdar://38804623 Date Originated:March 23 2018, 3:08 PM
Status:Open Resolved:
Product:Developer Tools Product Version:9.2
Classification:Other Bug Reproducible:Always
 
Summary:
Empty framework header files cause this warning while compiling an app linking to such frameworks:
warning: EmptyHeaderIssue/GoogleMaps/Maps/Frameworks/GoogleMapsCore.framework/Versions/A/Headers/GoogleMapsCore.h: Failed to parse Mach-O: Reached end of file while looking for: uint32_t.

Sorry for the large file size(GoogleMap SDK). I don't know how to reproduce such frameworks.

Steps to Reproduce:
1. Compile the sample project to see it.
2. Add any comment in GoogleMapsCore.h.
3. Compile again to see the warning gone.

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!