MJGFoundation icon indicating copy to clipboard operation
MJGFoundation copied to clipboard

MJGAvailability.h - not working with XCode 9 Beta

Open schmidt9 opened this issue 8 years ago • 0 comments

While using #define __IPHONE_OS_VERSION_SOFT_MAX_REQUIRED __IPHONE_8_0 in pch XCode gives me build errors, on XCode 8.3.2 it works well (actually using __IPHONE_7_0)

Lexical or Preprocessor Issue Group
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:22:1: Pasting formed '__IPHONE_8.0', an invalid preprocessing token
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h:16:1: Pasting formed '__IPHONE_8.0', an invalid preprocessing token
Semantic Issue Group
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:22:1: Unknown type name '__AVAILABILITY_INTERNAL__IPHONE_'
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h:16:1: Unknown type name '__AVAILABILITY_INTERNAL__IPHONE_'
Parse Issue Group
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:22:24: Expected unqualified-id
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h:26:1: '@end' must appear in an Objective-C context
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h:16:24: Expected unqualified-id
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h:20:1: '@end' must appear in an Objective-C context

schmidt9 avatar Jun 15 '17 20:06 schmidt9