mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-13 13:25:59 +00:00
Bumped deployment requirements for Apple platforms
We require at least Xcode 12.2 and macOS SDK 11 to build. We support deploying to macOS 10.13, iOS 11.0, and tvOS 11.0. This cleans up the code significantly
This commit is contained in:
@@ -398,7 +398,7 @@ typedef enum
|
||||
{
|
||||
switch ( central.state )
|
||||
{
|
||||
case CBCentralManagerStatePoweredOn:
|
||||
case CBManagerStatePoweredOn:
|
||||
{
|
||||
NSLog( @"CoreBluetooth BLE hardware is powered on and ready" );
|
||||
|
||||
@@ -418,23 +418,23 @@ typedef enum
|
||||
break;
|
||||
}
|
||||
|
||||
case CBCentralManagerStatePoweredOff:
|
||||
case CBManagerStatePoweredOff:
|
||||
NSLog( @"CoreBluetooth BLE hardware is powered off" );
|
||||
break;
|
||||
|
||||
case CBCentralManagerStateUnauthorized:
|
||||
case CBManagerStateUnauthorized:
|
||||
NSLog( @"CoreBluetooth BLE state is unauthorized" );
|
||||
break;
|
||||
|
||||
case CBCentralManagerStateUnknown:
|
||||
case CBManagerStateUnknown:
|
||||
NSLog( @"CoreBluetooth BLE state is unknown" );
|
||||
break;
|
||||
|
||||
case CBCentralManagerStateUnsupported:
|
||||
case CBManagerStateUnsupported:
|
||||
NSLog( @"CoreBluetooth BLE hardware is unsupported on this platform" );
|
||||
break;
|
||||
|
||||
case CBCentralManagerStateResetting:
|
||||
case CBManagerStateResetting:
|
||||
NSLog( @"CoreBluetooth BLE manager is resetting" );
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user