diff --git a/examples/BUILD.gn b/examples/BUILD.gn index c976512b09..666f846721 100644 --- a/examples/BUILD.gn +++ b/examples/BUILD.gn @@ -276,6 +276,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) { "objc/AppRTCMobile/ios/ARDVideoCallView.m", "objc/AppRTCMobile/ios/ARDVideoCallViewController.h", "objc/AppRTCMobile/ios/ARDVideoCallViewController.m", + "objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch", "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h", "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m", ] diff --git a/examples/objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch b/examples/objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch new file mode 100644 index 0000000000..ca0db90b36 --- /dev/null +++ b/examples/objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch @@ -0,0 +1,23 @@ +/* + * Copyright 2013 The WebRTC Project Authors. All rights reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +// +// Prefix header for all source files of the 'AppRTCMobile' target in the +// 'AppRTCMobile' project +// + +#import + +#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0 +#warning "This project uses features only available in iOS SDK 6.0 and later." +#endif + +#import +#import