Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump iOS and macOS deployment target #2514

Merged
merged 3 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading