Fix wrong deployment target (14.2 -> 12.0)

This commit is contained in:
Davide De Rosa 2020-11-21 19:03:10 +01:00
parent 3d80d8ea8e
commit 6b07e7eb9e
3 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,7 @@ extension Cells {
}
class ActivityTableViewCell: UITableViewCell {
private lazy var activityIndicator = UIActivityIndicatorView(style: .medium)
private lazy var activityIndicator = UIActivityIndicatorView(style: .gray)
}
extension ActivityTableViewCell {

View File

@ -404,7 +404,7 @@ class ServiceViewController: UIViewController, StrongTableHost {
}
if #available(iOS 13, *) {
switch locationManager.authorizationStatus {
switch CLLocationManager.authorizationStatus() {
case .authorizedAlways, .authorizedWhenInUse:
break

View File

@ -1305,6 +1305,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@ -1363,6 +1364,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;