Skip to content

Commit 9c78ef4

Browse files
authored
iOS 26 (#371)
* Обновил зависимости * Удалил лишнюю схему * Удалил забытый файл * Обновил старый воркфлоу для тестов в гитхабе * iPhone 16 Pro -> iPhone 17 * Поправил тесты для Xcode 26 * Поднял версию до 3.14.0 и отключил автообновление fastlane * Update README.md * swift 6.2 + форматирование
1 parent 10ca8e2 commit 9c78ef4

File tree

21 files changed

+70
-138
lines changed

21 files changed

+70
-138
lines changed

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ on:
1111

1212
jobs:
1313
test:
14-
runs-on: macos-15
14+
runs-on: macos-16
1515

1616
steps:
1717
- uses: actions/checkout@v4
1818

19-
- name: Select Xcode 16.2
19+
- name: Select Xcode 26.0
2020
run: |
21-
sudo xcode-select -s /Applications/Xcode_16.2.app
21+
sudo xcode-select -s /Applications/Xcode_26.0.app
2222
xcodebuild -version
2323
2424
- name: List Available Simulators
@@ -29,5 +29,5 @@ jobs:
2929
xcodebuild test \
3030
-scheme "SwiftUI-WorkoutApp" \
3131
-testPlan "SwiftUI-WorkoutApp" \
32-
-destination "platform=iOS Simulator,name=iPhone 16 Pro,OS=18.2" \
32+
-destination "platform=iOS Simulator,name=iPhone 17 Pro,OS=26.0" \
3333
CODE_SIGNING_ALLOWED=NO

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.1.0
1+
6.2.0

.swiftformat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
--linebreaks lf
1111
--ifdef no-indent
1212
--xcodeindentation enabled
13+
--trailingCommas never
1314

1415
--funcattributes prev-line
1516
--typeattributes prev-line

Gemfile.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ GEM
1010
artifactory (3.0.17)
1111
atomos (0.1.3)
1212
aws-eventstream (1.4.0)
13-
aws-partitions (1.1143.0)
14-
aws-sdk-core (3.229.0)
13+
aws-partitions (1.1166.0)
14+
aws-sdk-core (3.233.0)
1515
aws-eventstream (~> 1, >= 1.3.0)
1616
aws-partitions (~> 1, >= 1.992.0)
1717
aws-sigv4 (~> 1.9)
1818
base64
1919
bigdecimal
2020
jmespath (~> 1, >= 1.6.1)
2121
logger
22-
aws-sdk-kms (1.110.0)
23-
aws-sdk-core (~> 3, >= 3.228.0)
22+
aws-sdk-kms (1.113.0)
23+
aws-sdk-core (~> 3, >= 3.231.0)
2424
aws-sigv4 (~> 1.5)
25-
aws-sdk-s3 (1.196.1)
26-
aws-sdk-core (~> 3, >= 3.228.0)
25+
aws-sdk-s3 (1.199.1)
26+
aws-sdk-core (~> 3, >= 3.231.0)
2727
aws-sdk-kms (~> 1)
2828
aws-sigv4 (~> 1.5)
2929
aws-sigv4 (1.12.1)
3030
aws-eventstream (~> 1, >= 1.0.2)
3131
babosa (1.0.4)
3232
base64 (0.3.0)
33-
bigdecimal (3.2.2)
33+
bigdecimal (3.2.3)
3434
claide (1.1.0)
3535
colored (1.2)
3636
colored2 (3.1.2)
@@ -159,7 +159,7 @@ GEM
159159
httpclient (2.9.0)
160160
mutex_m
161161
jmespath (1.6.2)
162-
json (2.13.2)
162+
json (2.15.0)
163163
jwt (2.10.2)
164164
base64
165165
logger (1.7.0)
@@ -181,15 +181,15 @@ GEM
181181
trailblazer-option (>= 0.1.1, < 0.2.0)
182182
uber (< 0.2.0)
183183
retriable (3.1.2)
184-
rexml (3.4.1)
184+
rexml (3.4.4)
185185
rouge (3.28.0)
186186
ruby2_keywords (0.0.5)
187187
rubyzip (2.4.1)
188188
security (0.1.5)
189-
signet (0.20.0)
189+
signet (0.21.0)
190190
addressable (~> 2.8)
191191
faraday (>= 0.17.5, < 3.a)
192-
jwt (>= 1.5, < 3.0)
192+
jwt (>= 1.5, < 4.0)
193193
multi_json (~> 1.10)
194194
simctl (1.6.10)
195195
CFPropertyList

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RESET=\033[0m
1111
RUBY_VERSION=3.2.2
1212

1313
# Версия Swift в проекте
14-
SWIFT_VERSION=6.1.0
14+
SWIFT_VERSION=6.2.0
1515

1616
# Глобальные настройки шелла
1717
SHELL := /bin/bash
@@ -202,7 +202,7 @@ setup_cursor:
202202
fi
203203

204204
@printf "$(YELLOW)🔨 Выполнение легкой сборки для инициализации индекса...$(RESET)\n"
205-
@xcodebuild -project SwiftUI-WorkoutApp.xcodeproj -scheme SwiftUI-WorkoutApp -destination "platform=iOS Simulator,name=iPhone 16 Pro" -quiet clean build CODE_SIGNING_ALLOWED=NO || printf "$(YELLOW)Сборка завершилась с предупреждениями, но это нормально$(RESET)\n"
205+
@xcodebuild -project SwiftUI-WorkoutApp.xcodeproj -scheme SwiftUI-WorkoutApp -destination "platform=iOS Simulator,name=iPhone 17" -quiet clean build CODE_SIGNING_ALLOWED=NO || printf "$(YELLOW)Сборка завершилась с предупреждениями, но это нормально$(RESET)\n"
206206

207207
@printf "$(GREEN)✅ Готово!$(RESET)\n"
208208
@printf "$(YELLOW)💡 Перезапустите Cursor для активации подсказок Swift$(RESET)\n"
@@ -357,11 +357,11 @@ upload_screenshots:
357357

358358
## build: Сборка проекта в терминале
359359
build:
360-
xcodebuild -project SwiftUI-WorkoutApp.xcodeproj -scheme SwiftUI-WorkoutApp -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 16 Pro' build
360+
xcodebuild -project SwiftUI-WorkoutApp.xcodeproj -scheme SwiftUI-WorkoutApp -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17' build
361361

362362
## test: Запускает unit-тесты в терминале
363363
test:
364-
xcodebuild -project SwiftUI-WorkoutApp.xcodeproj -scheme SwiftUI-WorkoutApp -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 16 Pro' test -testPlan SwiftUI-WorkoutApp
364+
xcodebuild -project SwiftUI-WorkoutApp.xcodeproj -scheme SwiftUI-WorkoutApp -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 17' test -testPlan SwiftUI-WorkoutApp
365365

366366
## increment_build: Получить следующий номер сборки для TestFlight
367367
increment_build:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SW Площадки
2-
[<img alt="Xcode Version" src="https://img.shields.io/badge/Xcode_Version-16.4-blue">](https://developer.apple.com/xcode/)
3-
[<img alt="Swift Version" src="https://img.shields.io/badge/Swift_Version-6.1.0-orange">](https://swift.org)
2+
[<img alt="Xcode Version" src="https://img.shields.io/badge/Xcode_Version-26.0-blue">](https://developer.apple.com/xcode/)
3+
[<img alt="Swift Version" src="https://img.shields.io/badge/Swift_Version-6.2-orange">](https://swift.org)
44
[<img alt="iOS Version" src="https://img.shields.io/badge/iOS_Version-15-4F9153">](https://www.apple.com/ios/)
55

66
## Реализованный функционал

SwiftUI-WorkoutApp.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@
469469
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
470470
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
471471
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
472-
MARKETING_VERSION = 3.13.2;
472+
MARKETING_VERSION = 3.14.0;
473473
PRODUCT_BUNDLE_IDENTIFIER = "com.oleg991.SW-Parks";
474474
PRODUCT_NAME = WorkoutApp;
475475
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -524,7 +524,7 @@
524524
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait";
525525
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
526526
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
527-
MARKETING_VERSION = 3.13.2;
527+
MARKETING_VERSION = 3.14.0;
528528
PRODUCT_BUNDLE_IDENTIFIER = "com.oleg991.SW-Parks";
529529
PRODUCT_NAME = WorkoutApp;
530530
PROVISIONING_PROFILE_SPECIFIER = "";

SwiftUI-WorkoutApp/Libraries/CachedAsyncImage/.github/workflows/unit-tests.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

SwiftUI-WorkoutApp/Libraries/CachedAsyncImage/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.1.0
1+
// swift-tools-version: 6.2
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription

SwiftUI-WorkoutApp/Libraries/ClusteringMapView/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.1.0
1+
// swift-tools-version: 6.2
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription

0 commit comments

Comments
 (0)