diff --git a/dev/benchmarks/complex_layout/ios/Runner.xcodeproj/project.pbxproj b/dev/benchmarks/complex_layout/ios/Runner.xcodeproj/project.pbxproj index 5f10bdd8a1a513647885fa474c892c81c47cdf18..bb01ebd080fe5711692e21e5380dadc9fc57cd1c 100644 --- a/dev/benchmarks/complex_layout/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/benchmarks/complex_layout/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -227,6 +227,7 @@ }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -263,6 +264,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/benchmarks/complex_layout/ios/Runner/Info.plist b/dev/benchmarks/complex_layout/ios/Runner/Info.plist index ac75a4307232d31be0689ba994034cd8fb2c6247..acf7d7bff061a6615efc8b59d5baae4d1c3979b8 100644 --- a/dev/benchmarks/complex_layout/ios/Runner/Info.plist +++ b/dev/benchmarks/complex_layout/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/benchmarks/macrobenchmarks/ios/Runner.xcodeproj/project.pbxproj b/dev/benchmarks/macrobenchmarks/ios/Runner.xcodeproj/project.pbxproj index 48f80f0f2a90b0083d282f1ca85a91f25e6a9bdd..65e883d2dd4a348f2d62578e088c77aa3a5110c8 100644 --- a/dev/benchmarks/macrobenchmarks/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/benchmarks/macrobenchmarks/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -231,6 +231,7 @@ }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -245,6 +246,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/benchmarks/macrobenchmarks/ios/Runner/Info.plist b/dev/benchmarks/macrobenchmarks/ios/Runner/Info.plist index 617475963a7511b9254c9943955a873f33825c8f..6a54a91263e39691b257e59eb2ea9ad304507235 100644 --- a/dev/benchmarks/macrobenchmarks/ios/Runner/Info.plist +++ b/dev/benchmarks/macrobenchmarks/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/benchmarks/macrobenchmarks/macos/Runner.xcodeproj/project.pbxproj b/dev/benchmarks/macrobenchmarks/macos/Runner.xcodeproj/project.pbxproj index c219f2103aa876b334d3f347812dbd8b1d6f3428..8c53907c48d69ed06862aad2f6cf00453e569a7c 100644 --- a/dev/benchmarks/macrobenchmarks/macos/Runner.xcodeproj/project.pbxproj +++ b/dev/benchmarks/macrobenchmarks/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -200,7 +200,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0930; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = "The Flutter Authors"; TargetAttributes = { 33CC10EC2044A3C60003C045 = { @@ -252,6 +252,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/benchmarks/macrobenchmarks/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/dev/benchmarks/macrobenchmarks/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 8b23efdaa0c02d20cd1a4a3b0656d7d44397f92b..590b503a487078c4db80fd0cc881bc2621f5840f 100644 --- a/dev/benchmarks/macrobenchmarks/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/dev/benchmarks/macrobenchmarks/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <Scheme - LastUpgradeVersion = "1000" + LastUpgradeVersion = "1300" version = "1.3"> <BuildAction parallelizeBuildables = "YES" diff --git a/dev/benchmarks/microbenchmarks/ios/Runner.xcodeproj/project.pbxproj b/dev/benchmarks/microbenchmarks/ios/Runner.xcodeproj/project.pbxproj index 8ac61c769535cad1214b4bbec3864fd149fb9b2c..f9923ffcc7b4b97a1e60b4a49e267d21f8372248 100644 --- a/dev/benchmarks/microbenchmarks/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/benchmarks/microbenchmarks/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -182,6 +182,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -196,6 +197,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/benchmarks/microbenchmarks/ios/Runner/Info.plist b/dev/benchmarks/microbenchmarks/ios/Runner/Info.plist index 8c3c7ec89feee2870eb042392e86edfe6650be67..57ca345c81e45b971f28eaa377b02d1fbab5bad5 100644 --- a/dev/benchmarks/microbenchmarks/ios/Runner/Info.plist +++ b/dev/benchmarks/microbenchmarks/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/benchmarks/platform_channels_benchmarks/ios/Runner.xcodeproj/project.pbxproj b/dev/benchmarks/platform_channels_benchmarks/ios/Runner.xcodeproj/project.pbxproj index 92f9ebd78ae082e4e2ef4742b1f77ef05ffd386a..66cf645760d027aff653f065f0176811a062a328 100644 --- a/dev/benchmarks/platform_channels_benchmarks/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/benchmarks/platform_channels_benchmarks/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -174,6 +174,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -188,6 +189,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/benchmarks/platform_views_layout/ios/Runner.xcodeproj/project.pbxproj b/dev/benchmarks/platform_views_layout/ios/Runner.xcodeproj/project.pbxproj index e45b9d86a6a28a6211801afa57d7a6939fe8568e..5b596fab048e944c5b218f9fce43e831364bc056 100644 --- a/dev/benchmarks/platform_views_layout/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/benchmarks/platform_views_layout/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -187,6 +187,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -201,6 +202,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/benchmarks/platform_views_layout/ios/Runner/Info.plist b/dev/benchmarks/platform_views_layout/ios/Runner/Info.plist index bd16b9f0af518d08842538e6efe5eef217df442a..c2c46f54def6ed76c5151f3e3ccb3753359e49b8 100644 --- a/dev/benchmarks/platform_views_layout/ios/Runner/Info.plist +++ b/dev/benchmarks/platform_views_layout/ios/Runner/Info.plist @@ -47,5 +47,7 @@ <true/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner.xcodeproj/project.pbxproj b/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner.xcodeproj/project.pbxproj index 4309b6070056c8cbb24138cce69d04c60c7f9c10..5840bc053fc01f89bae340817b846e81cdb6ccba 100644 --- a/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -187,6 +187,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -201,6 +202,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner/Info.plist b/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner/Info.plist index cd55c9cd70b086db4712faf259a9f813a8c1fb1f..028706db29782b71cac5e0463dd2359944498847 100644 --- a/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner/Info.plist +++ b/dev/benchmarks/platform_views_layout_hybrid_composition/ios/Runner/Info.plist @@ -47,5 +47,7 @@ <true/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/benchmarks/test_apps/stocks/ios/Runner.xcodeproj/project.pbxproj b/dev/benchmarks/test_apps/stocks/ios/Runner.xcodeproj/project.pbxproj index fe6b9f32b1021a84c99dfa2bf33929b8c6cb3055..ca1ae706398d06faee5050b3af16a04633690597 100644 --- a/dev/benchmarks/test_apps/stocks/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/benchmarks/test_apps/stocks/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -189,6 +189,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -203,6 +204,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/benchmarks/test_apps/stocks/ios/Runner/Info.plist b/dev/benchmarks/test_apps/stocks/ios/Runner/Info.plist index cd811209ddd3d85ab120125a26c2c29dfb6b8b22..ea08bb1772f02e1b4c6e9ecd39b1c7e9a9cb4f26 100644 --- a/dev/benchmarks/test_apps/stocks/ios/Runner/Info.plist +++ b/dev/benchmarks/test_apps/stocks/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/integration_tests/channels/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/channels/ios/Runner.xcodeproj/project.pbxproj index 582951587347a641f237a20483ebb307348a8a6d..64382a7260f1904e4f41247bec5676633ec716da 100644 --- a/dev/integration_tests/channels/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/channels/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -181,6 +181,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -195,6 +196,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/channels/ios/Runner/Info.plist b/dev/integration_tests/channels/ios/Runner/Info.plist index 72ea0d852f2c7a126b643dc52697ad20403833c0..b47a92ce2943a0f3051513c0540fe4ffe937719b 100644 --- a/dev/integration_tests/channels/ios/Runner/Info.plist +++ b/dev/integration_tests/channels/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/integration_tests/external_ui/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/external_ui/ios/Runner.xcodeproj/project.pbxproj index 442d0d92e6943cc0ee18cdf83895b60dce2dd572..cdaa0057fe4df40b1e81c1e5d4f68060f0898360 100644 --- a/dev/integration_tests/external_ui/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/external_ui/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -172,6 +172,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -186,6 +187,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/external_ui/ios/Runner/Info.plist b/dev/integration_tests/external_ui/ios/Runner/Info.plist index d4cd71ad49e9e5c412428b65f46fc54819bfeb47..2af2a77f894d374305b157517d5d8fe87d6e119f 100644 --- a/dev/integration_tests/external_ui/ios/Runner/Info.plist +++ b/dev/integration_tests/external_ui/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/integration_tests/flavors/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/flavors/ios/Runner.xcodeproj/project.pbxproj index dd639fb1763dc9e4960f7a67f075a50362fa71f4..decd21a953919377d70497a75ebd51653de4f550 100644 --- a/dev/integration_tests/flavors/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/flavors/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -283,6 +283,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -341,6 +342,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/flutter_gallery/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/flutter_gallery/ios/Runner.xcodeproj/project.pbxproj index 0437c23e8e8c46030ddf1194278d2d8f86324bbf..813453608f6009bd0cbe13c7214cccebbe83f4ac 100644 --- a/dev/integration_tests/flutter_gallery/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/flutter_gallery/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -208,6 +208,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -240,6 +241,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/flutter_gallery/ios/Runner/Info.plist b/dev/integration_tests/flutter_gallery/ios/Runner/Info.plist index a494ebae90c330d8bad79735f0785c22444cd462..14453bec8272b43adb4cf20098cfbc36316a08b4 100644 --- a/dev/integration_tests/flutter_gallery/ios/Runner/Info.plist +++ b/dev/integration_tests/flutter_gallery/ios/Runner/Info.plist @@ -45,5 +45,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/integration_tests/flutter_gallery/macos/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/flutter_gallery/macos/Runner.xcodeproj/project.pbxproj index 9d0f27a632c21473ae7823fb98c49ea92296cac6..e0bd8ac8389f190ba055161eaaca996b31283676 100644 --- a/dev/integration_tests/flutter_gallery/macos/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/flutter_gallery/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -258,7 +258,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0930; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = "The Flutter Authors"; TargetAttributes = { 33CC10EC2044A3C60003C045 = { @@ -323,6 +323,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/flutter_gallery/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/dev/integration_tests/flutter_gallery/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index e00f93f6cafb73399d72972892b459bad2ce060b..79c57269abd9a5d8abf483e5ec9532b27ab1d0cd 100644 --- a/dev/integration_tests/flutter_gallery/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/dev/integration_tests/flutter_gallery/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <Scheme - LastUpgradeVersion = "1000" + LastUpgradeVersion = "1300" version = "1.3"> <BuildAction parallelizeBuildables = "YES" diff --git a/dev/integration_tests/ios_platform_view_tests/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/ios_platform_view_tests/ios/Runner.xcodeproj/project.pbxproj index 255b0764564a1d24df43600ca828b9baffa812c4..6aa906fdbb828425ffe06564349758d82a6a2f2f 100644 --- a/dev/integration_tests/ios_platform_view_tests/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/ios_platform_view_tests/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -251,6 +251,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -265,6 +266,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/ios_platform_view_tests/ios/Runner/Info.plist b/dev/integration_tests/ios_platform_view_tests/ios/Runner/Info.plist index 4e165ea755f0aac6aa5c09b17ef5e86cddedfafb..2fb961491d21fee055e7436ffa9cf3b8a52a606f 100644 --- a/dev/integration_tests/ios_platform_view_tests/ios/Runner/Info.plist +++ b/dev/integration_tests/ios_platform_view_tests/ios/Runner/Info.plist @@ -45,5 +45,7 @@ <true/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/integration_tests/non_nullable/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/non_nullable/ios/Runner.xcodeproj/project.pbxproj index bc41d5f5197469c8edfdf93e8e644d3c6ec15515..25f038d91b750c7c41582ceb521060fe58a609c5 100644 --- a/dev/integration_tests/non_nullable/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/non_nullable/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -179,6 +179,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -193,6 +194,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/non_nullable/ios/Runner/Info.plist b/dev/integration_tests/non_nullable/ios/Runner/Info.plist index 4fc280df85515ace661ef2666adaf1ed52e21dae..132b9d5d6ffd03810741763791a2d819ba3c62cd 100644 --- a/dev/integration_tests/non_nullable/ios/Runner/Info.plist +++ b/dev/integration_tests/non_nullable/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/integration_tests/platform_interaction/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/platform_interaction/ios/Runner.xcodeproj/project.pbxproj index 218ef1fa12495d1186df094fa7afde6dd6d519bc..f22f1b2555ad6c3c1327ebdda61ab34a99a98619 100644 --- a/dev/integration_tests/platform_interaction/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/platform_interaction/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -186,6 +186,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -200,6 +201,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/platform_interaction/ios/Runner/Info.plist b/dev/integration_tests/platform_interaction/ios/Runner/Info.plist index f661c6ea1bb47c84f2d54a9ec0aa3ad2d5822a80..35bbdde377cd5ca5d1516e4a6a49f10d1a225fcb 100644 --- a/dev/integration_tests/platform_interaction/ios/Runner/Info.plist +++ b/dev/integration_tests/platform_interaction/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/integration_tests/release_smoke_test/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/release_smoke_test/ios/Runner.xcodeproj/project.pbxproj index 671425b19ee3f5dbddc7c1951d14de9f04c5f150..d94372e92387f0f9bfbe540288ebcc8c62dec753 100644 --- a/dev/integration_tests/release_smoke_test/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/release_smoke_test/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -209,6 +209,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -223,6 +224,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/release_smoke_test/ios/Runner/Info.plist b/dev/integration_tests/release_smoke_test/ios/Runner/Info.plist index 9bfd12a0bd00dca2b426f094bc4e99fb4c507307..b6f13eced9d268a818558ed9afd552ddc78b0ff2 100644 --- a/dev/integration_tests/release_smoke_test/ios/Runner/Info.plist +++ b/dev/integration_tests/release_smoke_test/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/integration_tests/ui/ios/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/ui/ios/Runner.xcodeproj/project.pbxproj index d61b95115187ff79a08ffa07441595526cb571a3..ccd4793af9103aff4182a33db6d6fbb7df24f0d0 100644 --- a/dev/integration_tests/ui/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/ui/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -205,6 +205,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -219,6 +220,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/ui/ios/Runner/Info.plist b/dev/integration_tests/ui/ios/Runner/Info.plist index aefde039e3a11631026f120834b58c3f1484824c..b6980212d10d482653e5453154bc8db1630b712f 100644 --- a/dev/integration_tests/ui/ios/Runner/Info.plist +++ b/dev/integration_tests/ui/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/integration_tests/ui/macos/Runner.xcodeproj/project.pbxproj b/dev/integration_tests/ui/macos/Runner.xcodeproj/project.pbxproj index 4be2635eb548d17f434a21eb130f8d3683e4796c..e2d04280255f23b17c5daa63f4421e3932b65db7 100644 --- a/dev/integration_tests/ui/macos/Runner.xcodeproj/project.pbxproj +++ b/dev/integration_tests/ui/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -202,7 +202,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0930; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = "The Flutter Authors"; TargetAttributes = { 33CC10EC2044A3C60003C045 = { @@ -255,6 +255,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/integration_tests/ui/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/dev/integration_tests/ui/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index e459656feef54871113d2297ac23d665c061ad55..4c0ed55699d468a4e27937a77e8da7a82cceddc2 100644 --- a/dev/integration_tests/ui/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/dev/integration_tests/ui/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <Scheme - LastUpgradeVersion = "1000" + LastUpgradeVersion = "1300" version = "1.3"> <BuildAction parallelizeBuildables = "YES" diff --git a/dev/manual_tests/ios/Runner.xcodeproj/project.pbxproj b/dev/manual_tests/ios/Runner.xcodeproj/project.pbxproj index d4137c431279743cc9151e03c35ae479647c0507..e6cb90ab261712e7c13d967d392c9d5917793f79 100644 --- a/dev/manual_tests/ios/Runner.xcodeproj/project.pbxproj +++ b/dev/manual_tests/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -171,6 +171,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -185,6 +186,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/dev/manual_tests/ios/Runner/Info.plist b/dev/manual_tests/ios/Runner/Info.plist index 7ed412e142e3ec5c041c72e99b1024e1dc3bd892..65bdf881999519093761af0d6f756e46a77f7627 100644 --- a/dev/manual_tests/ios/Runner/Info.plist +++ b/dev/manual_tests/ios/Runner/Info.plist @@ -45,5 +45,7 @@ <true/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/dev/manual_tests/macos/Runner.xcodeproj/project.pbxproj b/dev/manual_tests/macos/Runner.xcodeproj/project.pbxproj index c24604d263f71258b430ffbcf732c45a10f9fff4..527fea8c2d4d3dc262b52b9a9e40e6b34c4228ec 100644 --- a/dev/manual_tests/macos/Runner.xcodeproj/project.pbxproj +++ b/dev/manual_tests/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -235,6 +235,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/api/ios/Runner.xcodeproj/project.pbxproj b/examples/api/ios/Runner.xcodeproj/project.pbxproj index 8f2397e9cbc2ae3e8b0ced91f78ef504e6d79cb1..65849fe7bfe6edc041e1f9d9f05fa80d440f99d8 100644 --- a/examples/api/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/api/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -222,6 +222,7 @@ }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -236,6 +237,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/api/ios/Runner/Info.plist b/examples/api/ios/Runner/Info.plist index 25df213874a5f3694737b64136e887276b4f6433..037c2ffdecddb07660fb0f05eb28fb54adee25bb 100644 --- a/examples/api/ios/Runner/Info.plist +++ b/examples/api/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/examples/api/macos/Podfile b/examples/api/macos/Podfile index dade8dfad0dcfe28032732e497b14f7023b21a51..fe733905db657e50d5744d09d2e4c8344f8027a7 100644 --- a/examples/api/macos/Podfile +++ b/examples/api/macos/Podfile @@ -1,4 +1,4 @@ -platform :osx, '10.11' +platform :osx, '10.13' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/examples/api/macos/Runner.xcodeproj/project.pbxproj b/examples/api/macos/Runner.xcodeproj/project.pbxproj index 45f815f7358c8d3bd21d4709bf3be908110c3233..e27f03c4db4c188447f9067be67b4ce00c0831d4 100644 --- a/examples/api/macos/Runner.xcodeproj/project.pbxproj +++ b/examples/api/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -202,7 +202,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0930; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = ""; TargetAttributes = { 33CC10EC2044A3C60003C045 = { @@ -255,6 +255,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -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; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; @@ -465,7 +466,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; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; @@ -512,7 +513,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; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = macosx; SWIFT_COMPILATION_MODE = wholemodule; diff --git a/examples/api/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/api/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 93367545b45632347753e4b6d12f1cf3dbad6032..cd68cfd7da4e8a101a830135b063689e890f2743 100644 --- a/examples/api/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/api/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <Scheme - LastUpgradeVersion = "1000" + LastUpgradeVersion = "1300" version = "1.3"> <BuildAction parallelizeBuildables = "YES" diff --git a/examples/flutter_view/ios/Runner.xcodeproj/project.pbxproj b/examples/flutter_view/ios/Runner.xcodeproj/project.pbxproj index 06d1a9491edc2ebbcddf8c59d5113124efead816..6abbee8695b1f76bb5ba6c8c08e852e4c1e7234d 100644 --- a/examples/flutter_view/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/flutter_view/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -191,6 +191,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -205,6 +206,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/flutter_view/ios/Runner/Info.plist b/examples/flutter_view/ios/Runner/Info.plist index 4206697d8ed8e6372abfa790648b74463fdaa777..a74ef720affdef29a24c6f8322f87ece29d080cd 100644 --- a/examples/flutter_view/ios/Runner/Info.plist +++ b/examples/flutter_view/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/examples/hello_world/ios/Runner.xcodeproj/project.pbxproj b/examples/hello_world/ios/Runner.xcodeproj/project.pbxproj index 81f0405053b87ff1bba9eb055d9704acc0e282d6..41ff9e1217dcf4fe9798a93a6b37bf323630a2f1 100644 --- a/examples/hello_world/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/hello_world/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -189,6 +189,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -203,6 +204,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/hello_world/ios/Runner/Info.plist b/examples/hello_world/ios/Runner/Info.plist index 63db31747bcd216e68ed5193bd5c5b2b2b483f10..f5dc66fc910615c4c79e932756fa0273b7804191 100644 --- a/examples/hello_world/ios/Runner/Info.plist +++ b/examples/hello_world/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/examples/hello_world/macos/Runner.xcodeproj/project.pbxproj b/examples/hello_world/macos/Runner.xcodeproj/project.pbxproj index a202f1042adb256bd78f30d9b0364d90b044e5ca..94b164d4c126ee4a5a8a1007704ede9b524b731a 100644 --- a/examples/hello_world/macos/Runner.xcodeproj/project.pbxproj +++ b/examples/hello_world/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -182,7 +182,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0930; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = ""; TargetAttributes = { 33CC10EC2044A3C60003C045 = { @@ -235,6 +235,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/hello_world/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/hello_world/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 2cea865e643ad14ef89f7b0e8ad402e78ebe35fc..893bf7990d561d7e119f1817cdb602b91b68af64 100644 --- a/examples/hello_world/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/hello_world/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <Scheme - LastUpgradeVersion = "1000" + LastUpgradeVersion = "1300" version = "1.3"> <BuildAction parallelizeBuildables = "YES" diff --git a/examples/image_list/ios/Runner.xcodeproj/project.pbxproj b/examples/image_list/ios/Runner.xcodeproj/project.pbxproj index b9f43997775bdc230a269613f9391023595730c3..ec59c146a26da14e07fb7c07148c5f484ea5ee4f 100644 --- a/examples/image_list/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/image_list/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -182,6 +182,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -196,6 +197,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/image_list/ios/Runner/Info.plist b/examples/image_list/ios/Runner/Info.plist index 537fb9a7e72ff3b719b46ca76cd16dc8870906b8..c9198ba663b78e766c8e29da28913cf5923d79c4 100644 --- a/examples/image_list/ios/Runner/Info.plist +++ b/examples/image_list/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/examples/image_list/macos/Runner.xcodeproj/project.pbxproj b/examples/image_list/macos/Runner.xcodeproj/project.pbxproj index b5cd08891afc070eb10cd016d65ecd888db3a558..3546f732acfedcf92c6d5f1148e74e6d8f8e86e6 100644 --- a/examples/image_list/macos/Runner.xcodeproj/project.pbxproj +++ b/examples/image_list/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -182,7 +182,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 0930; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = ""; TargetAttributes = { 33CC10EC2044A3C60003C045 = { @@ -235,6 +235,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/image_list/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/examples/image_list/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 8d8f1dd636d6df6eda4c97f29a6a00e10703841f..9e1e2c6dfb841038cc8fa2fe64b3e465828f0979 100644 --- a/examples/image_list/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/examples/image_list/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <Scheme - LastUpgradeVersion = "1000" + LastUpgradeVersion = "1300" version = "1.3"> <BuildAction parallelizeBuildables = "YES" diff --git a/examples/layers/ios/Runner.xcodeproj/project.pbxproj b/examples/layers/ios/Runner.xcodeproj/project.pbxproj index 588f25abb1a1795a6b25702a7cd151102a3dd63a..ce1d6b245b4dd5863bb946006cc8478b315968c2 100644 --- a/examples/layers/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/layers/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -181,6 +181,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -195,6 +196,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/layers/ios/Runner/Info.plist b/examples/layers/ios/Runner/Info.plist index 180c4a367b224e4dd1fd6a27ab3f886681a8996e..2990f68a2ec5f6b7aa07b549ae876e831350c556 100644 --- a/examples/layers/ios/Runner/Info.plist +++ b/examples/layers/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/examples/layers/macos/Runner.xcodeproj/project.pbxproj b/examples/layers/macos/Runner.xcodeproj/project.pbxproj index 6d9718e3b3e64ea94bca74beaf9179e15636bcb5..e5f18fc1ecd882c4d389f499ef8e26bb6ee1327f 100644 --- a/examples/layers/macos/Runner.xcodeproj/project.pbxproj +++ b/examples/layers/macos/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -235,6 +235,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/platform_channel/ios/Runner.xcodeproj/project.pbxproj b/examples/platform_channel/ios/Runner.xcodeproj/project.pbxproj index 92ec2021514dbdeededd6b2b317c9e7c0b93ae89..8572270611da5af387165750a4863c5ee65ca316 100644 --- a/examples/platform_channel/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/platform_channel/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -189,6 +189,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -203,6 +204,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/platform_channel/ios/Runner/Info.plist b/examples/platform_channel/ios/Runner/Info.plist index 9c175ac68757b600537d7a48480ff9f81d8c1777..ecc52c8487fdc2c0bbe8fa0f918cd83cf0fdde7c 100644 --- a/examples/platform_channel/ios/Runner/Info.plist +++ b/examples/platform_channel/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/examples/platform_channel_swift/ios/Runner.xcodeproj/project.pbxproj b/examples/platform_channel_swift/ios/Runner.xcodeproj/project.pbxproj index b96caa6843e8d7847053a23a4533409f76293dcc..c10d77a90f87079d02e459f7433a46d508d8e73b 100644 --- a/examples/platform_channel_swift/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/platform_channel_swift/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -187,6 +187,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -201,6 +202,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/platform_channel_swift/ios/Runner/Info.plist b/examples/platform_channel_swift/ios/Runner/Info.plist index 9c175ac68757b600537d7a48480ff9f81d8c1777..ecc52c8487fdc2c0bbe8fa0f918cd83cf0fdde7c 100644 --- a/examples/platform_channel_swift/ios/Runner/Info.plist +++ b/examples/platform_channel_swift/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/examples/platform_view/ios/Runner.xcodeproj/project.pbxproj b/examples/platform_view/ios/Runner.xcodeproj/project.pbxproj index 0c88854b58428426ed3f81d484c48e42bd78063a..2a113a344e6b815455e9b9d2e0bf6527c1ad0099 100644 --- a/examples/platform_view/ios/Runner.xcodeproj/project.pbxproj +++ b/examples/platform_view/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -190,6 +190,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -204,6 +205,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/examples/platform_view/ios/Runner/Info.plist b/examples/platform_view/ios/Runner/Info.plist index b64823b371f8072b44b8034959734a631158846e..b67884258a873b08a53c2880e518234c9979a6a7 100644 --- a/examples/platform_view/ios/Runner/Info.plist +++ b/examples/platform_view/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist> diff --git a/packages/flutter_tools/lib/src/ios/mac.dart b/packages/flutter_tools/lib/src/ios/mac.dart index 4114d43febbac722bbf4d733f82e5a134f41af3d..3fcf1763b8b9ef3756610e9df86b584e2d35cb52 100644 --- a/packages/flutter_tools/lib/src/ios/mac.dart +++ b/packages/flutter_tools/lib/src/ios/mac.dart @@ -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'; +import '../migrations/xcode_script_build_phase_migration.dart'; import '../project.dart'; import '../reporting/reporting.dart'; import 'application_package.dart'; @@ -29,7 +31,6 @@ import 'migrations/host_app_info_plist_migration.dart'; import 'migrations/ios_deployment_target_migration.dart'; import 'migrations/project_base_configuration_migration.dart'; import 'migrations/project_build_location_migration.dart'; -import 'migrations/project_object_version_migration.dart'; import 'migrations/remove_framework_link_and_embedding_migration.dart'; import 'migrations/xcode_build_system_migration.dart'; import 'xcode_build_settings.dart'; @@ -124,8 +125,9 @@ Future<XcodeBuildResult> buildXcodeProject({ ProjectBaseConfigurationMigration(app.project, globals.logger), ProjectBuildLocationMigration(app.project, globals.logger), IOSDeploymentTargetMigration(app.project, globals.logger), - ProjectObjectVersionMigration(app.project, globals.logger), + XcodeProjectObjectVersionMigration(app.project, globals.logger), HostAppInfoPlistMigration(app.project, globals.logger), + XcodeScriptBuildPhaseMigration(app.project, globals.logger), ]; final ProjectMigration migration = ProjectMigration(migrators); diff --git a/packages/flutter_tools/lib/src/macos/build_macos.dart b/packages/flutter_tools/lib/src/macos/build_macos.dart index d872d89f9a79a449a647791ae130d10b6c2640ea..9911f5525928826742fcbe555376dee2b0a857ed 100644 --- a/packages/flutter_tools/lib/src/macos/build_macos.dart +++ b/packages/flutter_tools/lib/src/macos/build_macos.dart @@ -12,6 +12,8 @@ import '../convert.dart'; import '../globals.dart' as globals; import '../ios/xcode_build_settings.dart'; import '../ios/xcodeproj.dart'; +import '../migrations/xcode_project_object_version_migration.dart'; +import '../migrations/xcode_script_build_phase_migration.dart'; import '../project.dart'; import 'cocoapod_utils.dart'; import 'migrations/macos_deployment_target_migration.dart'; @@ -47,6 +49,8 @@ Future<void> buildMacOS({ globals.flutterUsage, ), MacOSDeploymentTargetMigration(flutterProject.macos, globals.logger), + XcodeProjectObjectVersionMigration(flutterProject.macos, globals.logger), + XcodeScriptBuildPhaseMigration(flutterProject.macos, globals.logger), ]; final ProjectMigration migration = ProjectMigration(migrators); diff --git a/packages/flutter_tools/lib/src/ios/migrations/project_object_version_migration.dart b/packages/flutter_tools/lib/src/migrations/xcode_project_object_version_migration.dart similarity index 78% rename from packages/flutter_tools/lib/src/ios/migrations/project_object_version_migration.dart rename to packages/flutter_tools/lib/src/migrations/xcode_project_object_version_migration.dart index ab4acea04e46294030cde32c46e9f9cb667e832a..ce846c14e2690084bd26f210a974ff07d04768e0 100644 --- a/packages/flutter_tools/lib/src/ios/migrations/project_object_version_migration.dart +++ b/packages/flutter_tools/lib/src/migrations/xcode_project_object_version_migration.dart @@ -2,14 +2,14 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import '../../base/file_system.dart'; -import '../../base/project_migrator.dart'; -import '../../xcode_project.dart'; - -/// Migrate the Xcode project for Xcode 13 compatibility to avoid an "Update to recommended settings" Xcode warning. -class ProjectObjectVersionMigration extends ProjectMigrator { - ProjectObjectVersionMigration( - IosProject project, +import '../base/file_system.dart'; +import '../base/project_migrator.dart'; +import '../xcode_project.dart'; + +/// Migrate the Xcode project for Xcode compatibility to avoid an "Update to recommended settings" Xcode warning. +class XcodeProjectObjectVersionMigration extends ProjectMigrator { + XcodeProjectObjectVersionMigration( + XcodeBasedProject project, super.logger, ) : _xcodeProjectInfoFile = project.xcodeProjectInfoFile, _xcodeProjectSchemeFile = project.xcodeProjectSchemeFile; @@ -37,8 +37,8 @@ class ProjectObjectVersionMigration extends ProjectMigrator { String? migrateLine(String line) { String updatedString = line; final Map<Pattern, String> originalToReplacement = <Pattern, String>{ - // objectVersion has only been 46 and 50 in the iOS template. - 'objectVersion = 46;': 'objectVersion = 50;', + // objectVersion value has been 46, 50, 51, and 54 in the template. + RegExp(r'objectVersion = \d+;'): 'objectVersion = 54;', // LastUpgradeCheck is in the Xcode project file, not scheme file. // Value has been 0730, 0800, 1020, and 1300 in the template. RegExp(r'LastUpgradeCheck = \d+;'): 'LastUpgradeCheck = 1300;', diff --git a/packages/flutter_tools/lib/src/migrations/xcode_script_build_phase_migration.dart b/packages/flutter_tools/lib/src/migrations/xcode_script_build_phase_migration.dart new file mode 100644 index 0000000000000000000000000000000000000000..e0f9d6aa484589444db0d9d33d95b9ebe481866c --- /dev/null +++ b/packages/flutter_tools/lib/src/migrations/xcode_script_build_phase_migration.dart @@ -0,0 +1,61 @@ +// Copyright 2014 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import '../base/file_system.dart'; +import '../base/project_migrator.dart'; +import '../xcode_project.dart'; + +// Migrate Xcode build phases that build and embed the Flutter and +// compiled dart frameworks. +class XcodeScriptBuildPhaseMigration extends ProjectMigrator { + XcodeScriptBuildPhaseMigration(XcodeBasedProject project, super.logger) + : _xcodeProjectInfoFile = project.xcodeProjectInfoFile; + + final File _xcodeProjectInfoFile; + + @override + bool migrate() { + if (!_xcodeProjectInfoFile.existsSync()) { + logger.printTrace('Xcode project not found, skipping script build phase dependency analysis removal.'); + return true; + } + + final String originalProjectContents = _xcodeProjectInfoFile.readAsStringSync(); + + // Uncheck "Based on dependency analysis" which causes a warning in Xcode 14. + // Unchecking sets "alwaysOutOfDate = 1" in the Xcode project file. + + // Example: + // 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { + // isa = PBXShellScriptBuildPhase; + // buildActionMask = 2147483647; + + final List<String> scriptIdentifierLinesToMigrate = <String>[ + '3B06AD1E1E4923F5004D2608 /* Thin Binary */', // iOS template + '9740EEB61CF901F6004384FC /* Run Script */', // iOS template + '3399D490228B24CF009A79C7 /* ShellScript */', // macOS Runner target (not Flutter Assemble) + ]; + + String newProjectContents = originalProjectContents; + for (final String scriptIdentifierLine in scriptIdentifierLinesToMigrate) { + final String scriptBuildPhaseOriginal = ''' + $scriptIdentifierLine = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; +'''; + final String scriptBuildPhaseReplacement = ''' + $scriptIdentifierLine = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; +'''; + newProjectContents = newProjectContents.replaceAll(scriptBuildPhaseOriginal, scriptBuildPhaseReplacement); + } + if (originalProjectContents != newProjectContents) { + logger.printStatus('Removing script build phase dependency analysis.'); + _xcodeProjectInfoFile.writeAsStringSync(newProjectContents); + } + return true; + } +} diff --git a/packages/flutter_tools/templates/app_shared/ios-objc.tmpl/Runner.xcodeproj/project.pbxproj.tmpl b/packages/flutter_tools/templates/app_shared/ios-objc.tmpl/Runner.xcodeproj/project.pbxproj.tmpl index c712d6ed47d4f7c2e1a435d0aa362d03846ef127..460652df63cf8e881c1193113c757a02b1c12aa0 100644 --- a/packages/flutter_tools/templates/app_shared/ios-objc.tmpl/Runner.xcodeproj/project.pbxproj.tmpl +++ b/packages/flutter_tools/templates/app_shared/ios-objc.tmpl/Runner.xcodeproj/project.pbxproj.tmpl @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -181,6 +181,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -195,6 +196,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/packages/flutter_tools/templates/app_shared/ios-swift.tmpl/Runner.xcodeproj/project.pbxproj.tmpl b/packages/flutter_tools/templates/app_shared/ios-swift.tmpl/Runner.xcodeproj/project.pbxproj.tmpl index bf130d6580efef99f27e44d72470f23453fa4bbd..fa63c3a79b75d029c3825986876ab384ba27c9ae 100644 --- a/packages/flutter_tools/templates/app_shared/ios-swift.tmpl/Runner.xcodeproj/project.pbxproj.tmpl +++ b/packages/flutter_tools/templates/app_shared/ios-swift.tmpl/Runner.xcodeproj/project.pbxproj.tmpl @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -171,6 +171,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -185,6 +186,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/packages/flutter_tools/templates/app_shared/macos.tmpl/Runner.xcodeproj/project.pbxproj.tmpl b/packages/flutter_tools/templates/app_shared/macos.tmpl/Runner.xcodeproj/project.pbxproj.tmpl index 65ed3d85f372db3ed91c4fe8a042ffa4bb0e9b74..14b32aa86b71aecb0f452d68d8beb40c62750edd 100644 --- a/packages/flutter_tools/templates/app_shared/macos.tmpl/Runner.xcodeproj/project.pbxproj.tmpl +++ b/packages/flutter_tools/templates/app_shared/macos.tmpl/Runner.xcodeproj/project.pbxproj.tmpl @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 51; + objectVersion = 54; objects = { /* Begin PBXAggregateTarget section */ @@ -235,6 +235,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3399D490228B24CF009A79C7 /* ShellScript */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Runner.xcodeproj.tmpl/project.pbxproj.tmpl b/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Runner.xcodeproj.tmpl/project.pbxproj.tmpl index 8d50f6a64a711edeb33b1cc82e5d2a11ff07e8d2..46cfd660c76b14414409b230ea6d71b66a4eae6e 100644 --- a/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Runner.xcodeproj.tmpl/project.pbxproj.tmpl +++ b/packages/flutter_tools/templates/module/ios/host_app_ephemeral/Runner.xcodeproj.tmpl/project.pbxproj.tmpl @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -182,6 +182,7 @@ /* Begin PBXShellScriptBuildPhase section */ 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -196,6 +197,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/packages/flutter_tools/test/general.shard/ios/ios_project_migration_test.dart b/packages/flutter_tools/test/general.shard/ios/ios_project_migration_test.dart index 4c43180d978c01b147cf51ad2c6e8af891b7aa23..89b6ebf8eaa8159f92483696d3283ce2c3bcb8bd 100644 --- a/packages/flutter_tools/test/general.shard/ios/ios_project_migration_test.dart +++ b/packages/flutter_tools/test/general.shard/ios/ios_project_migration_test.dart @@ -10,9 +10,10 @@ import 'package:flutter_tools/src/ios/migrations/host_app_info_plist_migration.d import 'package:flutter_tools/src/ios/migrations/ios_deployment_target_migration.dart'; import 'package:flutter_tools/src/ios/migrations/project_base_configuration_migration.dart'; import 'package:flutter_tools/src/ios/migrations/project_build_location_migration.dart'; -import 'package:flutter_tools/src/ios/migrations/project_object_version_migration.dart'; import 'package:flutter_tools/src/ios/migrations/remove_framework_link_and_embedding_migration.dart'; import 'package:flutter_tools/src/ios/migrations/xcode_build_system_migration.dart'; +import 'package:flutter_tools/src/migrations/xcode_project_object_version_migration.dart'; +import 'package:flutter_tools/src/migrations/xcode_script_build_phase_migration.dart'; import 'package:flutter_tools/src/reporting/reporting.dart'; import 'package:flutter_tools/src/xcode_project.dart'; import 'package:test/fake.dart'; @@ -650,7 +651,7 @@ platform :ios, '11.0' }); testWithoutContext('skipped if files are missing', () { - final ProjectObjectVersionMigration iosProjectMigration = ProjectObjectVersionMigration( + final XcodeProjectObjectVersionMigration iosProjectMigration = XcodeProjectObjectVersionMigration( project, testLogger, ); @@ -667,7 +668,7 @@ platform :ios, '11.0' const String xcodeProjectInfoFileContents = ''' classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { attributes = { LastUpgradeCheck = 1300; @@ -682,7 +683,7 @@ platform :ios, '11.0' final DateTime projectLastModified = xcodeProjectInfoFile.lastModifiedSync(); - final ProjectObjectVersionMigration iosProjectMigration = ProjectObjectVersionMigration( + final XcodeProjectObjectVersionMigration iosProjectMigration = XcodeProjectObjectVersionMigration( project, testLogger, ); @@ -695,7 +696,7 @@ platform :ios, '11.0' expect(testLogger.statusText, isEmpty); }); - testWithoutContext('Xcode project is migrated to Xcode 13', () { + testWithoutContext('Xcode project is migrated to newest objectVersion', () { xcodeProjectInfoFile.writeAsStringSync(''' classes = { }; @@ -712,7 +713,7 @@ platform :ios, '11.0' version = "1.3"> '''); - final ProjectObjectVersionMigration iosProjectMigration = ProjectObjectVersionMigration( + final XcodeProjectObjectVersionMigration iosProjectMigration = XcodeProjectObjectVersionMigration( project, testLogger, ); @@ -721,7 +722,7 @@ platform :ios, '11.0' expect(xcodeProjectInfoFile.readAsStringSync(), ''' classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { attributes = { LastUpgradeCheck = 1300; @@ -822,6 +823,106 @@ platform :ios, '11.0' }); }); + group('update Xcode script build phase', () { + late MemoryFileSystem memoryFileSystem; + late BufferLogger testLogger; + late FakeIosProject project; + late File xcodeProjectInfoFile; + + setUp(() { + memoryFileSystem = MemoryFileSystem(); + testLogger = BufferLogger.test(); + project = FakeIosProject(); + xcodeProjectInfoFile = memoryFileSystem.file('project.pbxproj'); + project.xcodeProjectInfoFile = xcodeProjectInfoFile; + }); + + testWithoutContext('skipped if files are missing', () { + final XcodeScriptBuildPhaseMigration iosProjectMigration = XcodeScriptBuildPhaseMigration( + project, + testLogger, + ); + expect(iosProjectMigration.migrate(), isTrue); + expect(xcodeProjectInfoFile.existsSync(), isFalse); + + expect(testLogger.traceText, contains('Xcode project not found, skipping script build phase dependency analysis removal')); + expect(testLogger.statusText, isEmpty); + }); + + testWithoutContext('skipped if nothing to upgrade', () { + const String xcodeProjectInfoFileContents = ''' +/* Begin PBXShellScriptBuildPhase section */ + 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + '''; + xcodeProjectInfoFile.writeAsStringSync(xcodeProjectInfoFileContents); + + final DateTime projectLastModified = xcodeProjectInfoFile.lastModifiedSync(); + + final XcodeScriptBuildPhaseMigration iosProjectMigration = XcodeScriptBuildPhaseMigration( + project, + testLogger, + ); + expect(iosProjectMigration.migrate(), isTrue); + + expect(xcodeProjectInfoFile.lastModifiedSync(), projectLastModified); + expect(xcodeProjectInfoFile.readAsStringSync(), xcodeProjectInfoFileContents); + + expect(testLogger.statusText, isEmpty); + }); + + testWithoutContext('alwaysOutOfDate is migrated', () { + xcodeProjectInfoFile.writeAsStringSync(''' +/* Begin PBXShellScriptBuildPhase section */ + 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + + 9740EEB61CF901F6004384FC /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); +'''); + + final XcodeScriptBuildPhaseMigration iosProjectMigration = XcodeScriptBuildPhaseMigration( + project, + testLogger, + ); + expect(iosProjectMigration.migrate(), isTrue); + + expect(xcodeProjectInfoFile.readAsStringSync(), ''' +/* Begin PBXShellScriptBuildPhase section */ + 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + + 9740EEB61CF901F6004384FC /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); +'''); + expect(testLogger.statusText, contains('Removing script build phase dependency analysis')); + }); + }); } class FakeIosProject extends Fake implements IosProject { diff --git a/packages/integration_test/example/ios/Runner.xcodeproj/project.pbxproj b/packages/integration_test/example/ios/Runner.xcodeproj/project.pbxproj index bda71ce84e9d285a6910a84ca9361c96eec487a1..3f9e08aa438a3449c055719b96790462ab39ea34 100644 --- a/packages/integration_test/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/integration_test/example/ios/Runner.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -328,6 +328,7 @@ }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); @@ -342,6 +343,7 @@ }; 9740EEB61CF901F6004384FC /* Run Script */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/packages/integration_test/example/ios/Runner/Info.plist b/packages/integration_test/example/ios/Runner/Info.plist index 56a43239559ce58863499cce5bcbcb3e244b9177..46c572f1030ba8e0a98ef00d542ddcd9d8aa113b 100644 --- a/packages/integration_test/example/ios/Runner/Info.plist +++ b/packages/integration_test/example/ios/Runner/Info.plist @@ -43,5 +43,7 @@ <false/> <key>CADisableMinimumFrameDurationOnPhone</key> <true/> + <key>UIApplicationSupportsIndirectInputEvents</key> + <true/> </dict> </plist>