Skip to content

Commit

Permalink
Configured app for Swift 5 (so it can be archived/distributed)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter van den Hamer committed Jun 27, 2024
1 parent ea31957 commit a0fff96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Photo Club Hub.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_VERSION = 6.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
Expand Down Expand Up @@ -1069,7 +1069,7 @@
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_STRICT_CONCURRENCY = complete;
SWIFT_VERSION = 6.0;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
Expand Down
4 changes: 2 additions & 2 deletions Photo Club Hub/Extensions/CoreLocation+Equatable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

import CoreLocation

extension CLLocationCoordinate2D: @retroactive Equatable { // enable for Swift 6 / iOS 18
// extension CLLocationCoordinate2D: Equatable { // enable for iOS 17
// extension CLLocationCoordinate2D: @retroactive Equatable { // enable for Swift 6 / iOS 18
extension CLLocationCoordinate2D: Equatable { // enable for iOS 17
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0364-retroactive-conformance-warning.md

public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
Expand Down

0 comments on commit a0fff96

Please sign in to comment.