diff --git a/linphone_Prefix.pch b/linphone_Prefix.pch index aa4246941..f0d42b96a 100644 --- a/linphone_Prefix.pch +++ b/linphone_Prefix.pch @@ -6,3 +6,13 @@ #import #import #endif + +#ifdef __IPHONE_8_0 +// suppress these errors until we are ready to handle them +#pragma message "Ignoring designated initializer warnings" +#pragma clang diagnostic ignored "-Wobjc-designated-initializers" +#else +// temporarily define an empty NS_DESIGNATED_INITIALIZER so we can use now, +// will be ready for iOS8 SDK +#define NS_DESIGNATED_INITIALIZER +#endif \ No newline at end of file