Reputation: 8492
Assuming I got a Framework called Foobar. When I try compiling my iOS project I get the compiler warning:
Umbrella header for module 'Foobar' does not include header 'Foobar-umbrella.h'
I don't get what this 'Foobar-umbrella.h' is and why it isn't included. Some details about my project:
Upvotes: 4
Views: 577
Reputation: 701
The umbrella header is the 'master' header file for a framework. Its use is that you can write
#import <UIKit/UIKit.h>
instead of
#import <UIKit/UIViewController.h>
#import <UIKit/UILabel.h>
#import <UIKit/UIButton.h>
#import <UIKit/UIDatePicker.h>
and so on.
For me, <XCTest/XCTestCase+AsynchronousTesting.h>
is included in <XCTest/XCTest.h>
. Maybe it is not for you? In that case, add the
#import <XCTest/XCTestCase+AsynchronousTesting.h>
manually.
Upvotes: 2