Skip to content

Commit

Permalink
Merge pull request #2514 from leancodepl/bump-min-ios-version
Browse files Browse the repository at this point in the history
Bump iOS and macOS deployment target
  • Loading branch information
pdenert authored Jan 30, 2025
2 parents f796603 + c84ec37 commit 8670efb
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions docs/documentation/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,11 @@ Check out our video version of this tutorial on YouTube!
<Accordion title="Build is failing with errors on mismatching iOS deployment versions">
Check if this line in `Podfile` is present and uncommented.
```
platform :ios, '11.0'
platform :ios, '12.0'
```
If yes, then check if **iOS deployment version** in Xcode project's **Build Settings**
section for all targets (Runner and RunnerUITests) are set to the same value as in Podfile
(in case presented in snippet above, all should be set to 11.0).
(in case presented in snippet above, all should be set to 12.0).
</Accordion>
<Accordion title="How to generate FLUTTER_TARGET after removing it from *.xcconfig">
Expand Down
4 changes: 2 additions & 2 deletions docs/documentation/native/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,11 @@ Check out our video version of this tutorial on YouTube!
<Accordion title="Build is failing with errors on mismatching iOS deployment versions">
Check if this line in `Podfile` is present and uncommented.
```
platform :ios, '11.0'
platform :ios, '12.0'
```
If yes, then check if **iOS deployment version** in Xcode project's **Build Settings**
section for all targets (Runner and RunnerUITests) are set to the same value as in Podfile
(in case presented in snippet above, all should be set to 11.0).
(in case presented in snippet above, all should be set to 12.0).
</Accordion>
<Accordion title="How to generate FLUTTER_TARGET after removing it from *.xcconfig">
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,11 @@ Check out our video version of this tutorial on YouTube!
<Accordion title="Build is failing with errors on mismatching iOS deployment versions">
Check if this line in `Podfile` is present and uncommented.
```
platform :ios, '11.0'
platform :ios, '12.0'
```
If yes, then check if **iOS deployment version** in Xcode project's **Build Settings**
section for all targets (Runner and RunnerUITests) are set to the same value as in Podfile
(in case presented in snippet above, all should be set to 11.0).
(in case presented in snippet above, all should be set to 12.0).
</Accordion>
If you couldn't find an answer to your question/problem, feel free to ask on
Expand Down
4 changes: 2 additions & 2 deletions docs/native/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -659,11 +659,11 @@ Check out our video version of this tutorial on YouTube!
<Accordion title="Build is failing with errors on mismatching iOS deployment versions">
Check if this line in `Podfile` is present and uncommented.
```
platform :ios, '11.0'
platform :ios, '12.0'
```
If yes, then check if **iOS deployment version** in Xcode project's **Build Settings**
section for all targets (Runner and RunnerUITests) are set to the same value as in Podfile
(in case presented in snippet above, all should be set to 11.0).
(in case presented in snippet above, all should be set to 12.0).
</Accordion>
If you couldn't find an answer to your question/problem, feel free to ask on
Expand Down
1 change: 1 addition & 0 deletions packages/patrol/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Unreleased

- Bump patrol plugin iOS and macOS deployment targets to 12.0. (#2514)
- Bump Gradle version in the example app so it's possible to build them on the
latest JDK 23 (#2503)
- Fix `$.native.tap()` not working with `Selector` having `instance` set. (#2501)
Expand Down
4 changes: 2 additions & 2 deletions packages/patrol/darwin/patrol.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Runs tests that use flutter_test and patrol APIs as native macOS / iOS integrati
s.source_files = 'Classes/**/*'
s.ios.dependency 'Flutter'
s.osx.dependency 'FlutterMacOS'
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.13'
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.14'
s.weak_framework = 'XCTest'
s.ios.framework = 'UIKit'
s.osx.framework = 'AppKit'
Expand Down
2 changes: 1 addition & 1 deletion packages/patrol/example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
platform :ios, '11.0'
platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down

0 comments on commit 8670efb

Please sign in to comment.