-
Notifications
You must be signed in to change notification settings - Fork 28.7k
Set Xcode build script phases to always run #108331
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
Conversation
<key>UIApplicationSupportsIndirectInputEvents</key> | ||
<true/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -386,7 +387,7 @@ | |||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | |||
GCC_WARN_UNUSED_FUNCTION = YES; | |||
GCC_WARN_UNUSED_VARIABLE = YES; | |||
MACOSX_DEPLOYMENT_TARGET = 10.11; | |||
MACOSX_DEPLOYMENT_TARGET = 10.13; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -3,7 +3,7 @@ | |||
archiveVersion = 1; | |||
classes = { | |||
}; | |||
objectVersion = 50; | |||
objectVersion = 54; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of these files changes are the example/integration test apps being updated.
@@ -20,6 +20,8 @@ import '../flutter_manifest.dart'; | |||
import '../globals.dart' as globals; | |||
import '../macos/cocoapod_utils.dart'; | |||
import '../macos/xcode.dart'; | |||
import '../migrations/xcode_project_object_version_migration.dart'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is where the actual tool migration logic starts.
@@ -2,14 +2,14 @@ | |||
// Use of this source code is governed by a BSD-style license that can be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved this file out of ios
directory since it's now used for iOS and macOS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Migrate iOS and macOS Xcode projects to avoid new warning in Xcode 14 when the script build phase
Based on dependency analysis
checkbox is checked, but there's no input/output dependencies set up.flutter assemble
knows which steps to run with various fingerprints, so unchecked is correct. Under the covers, unchecking that checkbox setsalwaysOutOfDate = 1
in the project.This also required
objectVersion
in the project to be54
, presumably the version that introducedalwaysOutOfDate
.Build all iOS and macOS example/test projects to prove this works. This also picked up a few previous migrations that were never run and checked in.
Similar to previous #90304 and #88074
Fixes #108321
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.