When I create an iOS project,and “Build Phases -> Link binary with Libraries”, I add the AVFoundation.framework lib and use #import "<AVFoundation/AVFoundation.h>". I get a compilation error:
“AVFoundation/AVFoundation.h file not found”.
Here’s my code:
#import <UIKit/UIKit.h>
#import "<AVFoundation/AVFoundation.h>"
How can I resolve this?
Use
There is only two types of
#importstatements:and
There is no type like :
#import "<file.h>"you are making mistake here:#import "<AVFoundation/AVFoundation.h>"Reference: SO