Including AVFoundation.h is broken, and produces a compiler error if included
Originator: | chris.hamons | ||
Number: | rdar://33762243 | Date Originated: | |
Status: | Open | Resolved: | |
Product: | Product Version: | ||
Classification: | Reproducible: |
# Area Something not on this list # Summary Including AVFoundation.h is broken, and produces a compiler error if included # Steps to Reproduce ``` $ echo "#include <AVFoundation/AVFoundation.h>" | clang -c -x objective-c - -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk In file included from <stdin>:1: /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h:88:9: fatal error: 'AVFoundation/AVRouteDetector.h' file not found #import <AVFoundation/AVRouteDetector.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` # Expected Results No compiler error # Observed Results Compiler error. It seems a file is missing from the SDK. # Version macOS 10.12.6. # Notes This is a regression in beta 5, it worked fine in beta 4. # Configuration Xcode 9 beta 5.
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!
Apple Developer Relations - August 11 2017, 1:24 AM
Engineering has determined that your bug report is a duplicate of another issue and will be closed.
Duplicate of: 33592086 (Open)