chore: deployment target iOS 15 + remove #available legados#690
Open
acassiovilasboas wants to merge 2 commits into
Open
chore: deployment target iOS 15 + remove #available legados#690acassiovilasboas wants to merge 2 commits into
acassiovilasboas wants to merge 2 commits into
Conversation
Eleva o piso de iOS 13 para 15 no Package.swift (.iOS(.v15)) e nas duas configuracoes do project.pbxproj. Primeiro passo da migracao iOS 15 + Swift 6; nao altera Swift version nem comportamento. Build verde via xcodebuild -scheme OceanDesignSystem (generic/platform=iOS Simulator). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Com o piso agora em iOS 15, os 10 blocos if #available(iOS 13/14/15) sempre eram verdadeiros; remove os wrappers e os ramos else legados, mantendo o caminho moderno. Checagens aninhadas de iOS 16+ preservadas. Build verde via xcodebuild -scheme OceanDesignSystem. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
vromeiro
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Descricao
Dois commits relacionados ao piso iOS 15:
1. Bump de deployment target iOS 13 -> 15
Package.swift:platforms: [.iOS(.v13)]->.iOS(.v15)OceanDesignSystem.xcodeproj/project.pbxproj:IPHONEOS_DEPLOYMENT_TARGET 13.0 -> 15.0(Debug + Release)2. Remocao de checagens
#availablepara iOS <= 15 (10 sites)Com o piso em 15, todo
if #available(iOS 13/14/15, *)sempre era verdadeiro. Removidos os wrappers e os ramoselselegados, mantendo o caminho moderno. Comportamento identico em iOS 15+. Checagens aninhadas de iOS 16+ preservadas (ex.: TextEditor emOceanSwiftUI+InputTextField.swift).Primeiro passo da migracao iOS 15 + Swift 6. Nao altera
SWIFT_VERSION.Tasks JIRA
(preencher se houver)
Como testar
BUILD SUCCEEDED (EXIT 0) apos as duas mudancas.
Impacto / sequencia
Ao mergear em
master, o CD publica nova tag3.8.<build>com piso iOS 15. Appblu-mobile-iossobe o pin em tarefa separada (nao-bloqueante).Nota
Em
Ocean+NavigationBar.swifto helper legadooptionsClick(_:)/OceanBarButtonItem.optionsficou orfao (nao e mais acionado poraddOptionsButton), mas foi mantido por estar fora do escopo (#available) e poder ter outros callers.Ambiente
🤖 Generated with Claude Code