Skip to content

Commit

Permalink
Bump Swift version to 5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
persidskiy committed Mar 13, 2024
1 parent 4c05abe commit 5430c84
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
32 changes: 30 additions & 2 deletions Apps/Examples/Examples.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,34 @@
path = Lab;
sourceTree = "<group>";
};
"TEMP_3B22CCC3-D6FC-48F0-9141-CC0AB3CBDA8B" /* All Examples */ = {
isa = PBXGroup;
children = (
);
path = "All Examples";
sourceTree = "<group>";
};
"TEMP_612F4B06-1BB2-450B-859E-16B56798EB12" /* SwiftUI */ = {
isa = PBXGroup;
children = (
);
path = SwiftUI;
sourceTree = "<group>";
};
"TEMP_65DC9708-DA51-4826-9E66-BF0BB7DD0378" /* iOS */ = {
isa = PBXGroup;
children = (
);
path = iOS;
sourceTree = "<group>";
};
"TEMP_E0F08E73-FFA3-4E93-BDDA-E10D0C39641C" /* Sample Data */ = {
isa = PBXGroup;
children = (
);
path = "Sample Data";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -1026,7 +1054,7 @@
SUPPORTS_MACCATALYST = NO;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.8;
SWIFT_VERSION = 5.9;
TARGETED_DEVICE_FAMILY = "1,2,7";
XROS_DEPLOYMENT_TARGET = 1.0;
};
Expand Down Expand Up @@ -1158,7 +1186,7 @@
SUPPORTS_MACCATALYST = NO;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 5.8;
SWIFT_VERSION = 5.9;
TARGETED_DEVICE_FAMILY = "1,2,7";
XROS_DEPLOYMENT_TARGET = 1.0;
};
Expand Down
2 changes: 1 addition & 1 deletion MapboxMaps.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |m|
m.source = { :git => 'https://github.com/mapbox/mapbox-maps-ios.git', :tag => "v#{maps_version}" }
m.platform = :ios
m.ios.deployment_target = '12.0'
m.swift_version = '5.8'
m.swift_version = '5.9'

m.source_files = 'Sources/MapboxMaps/**/*.{swift,h}'
m.resource_bundles = { 'MapboxMapsResources' => ['Sources/**/*.{xcassets,strings}', 'Sources/MapboxMaps/MapboxMaps.json', 'Sources/MapboxMaps/PrivacyInfo.xcprivacy'] }
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.8
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down
2 changes: 1 addition & 1 deletion xcodegen/targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ settingGroups:
IPHONEOS_DEPLOYMENT_TARGET: 12.0
XROS_DEPLOYMENT_TARGET: 1.0
TARGETED_DEVICE_FAMILY: 1,2,7
SWIFT_VERSION: 5.8
SWIFT_VERSION: 5.9
SUPPORTS_MACCATALYST: NO
SKIP_INSTALL: YES

Expand Down

0 comments on commit 5430c84

Please sign in to comment.