Describe the bug
AWSLex fails to build in Xcode 12 beta 4, producing compilation errors.
To Reproduce
Steps to reproduce the behavior:
AWSLex scheme and build for "Any iOS device"Observed Behavior
The framework fails to compile with the message:
/Users/user/test/aws-sdk-ios/AWSLex/AWSLexInteractionKit.m:1003:34: error: expected a type
- (void)requestRecordPermission:(PermissionBlock)response {
^
Expected Behavior
The framework compiles.
Environment(please complete the following information):
Additional context
The framework fails to compile on AWSLexInteractionKit.h:519:
- (void)requestRecordPermission:(PermissionBlock)response;
It appears in the iOS 14 SDK PermissionBlock has been removed as a typealias, and replaced with an inline declaration of void (^)(BOOL granted). AWSLexInteractionKit.h should probably be updated to reflect that.
I believe this will be addressed by https://github.com/aws-amplify/aws-sdk-ios/pull/2868
We released this in https://github.com/aws-amplify/aws-sdk-ios/releases/tag/2.15.2
Most helpful comment
We released this in https://github.com/aws-amplify/aws-sdk-ios/releases/tag/2.15.2