Skip to content

Commit f239370

Browse files
committed
update support iOS 26 & Xcode 26 with master
1 parent 2d1c070 commit f239370

File tree

8 files changed

+430
-391
lines changed

8 files changed

+430
-391
lines changed

ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#
2+
# Generated file, do not edit.
3+
#
4+
5+
import lldb
6+
7+
def handle_new_rx_page(frame: lldb.SBFrame, bp_loc, extra_args, intern_dict):
8+
"""Intercept NOTIFY_DEBUGGER_ABOUT_RX_PAGES and touch the pages."""
9+
base = frame.register["x0"].GetValueAsAddress()
10+
page_len = frame.register["x1"].GetValueAsUnsigned()
11+
12+
# Note: NOTIFY_DEBUGGER_ABOUT_RX_PAGES will check contents of the
13+
# first page to see if handled it correctly. This makes diagnosing
14+
# misconfiguration (e.g. missing breakpoint) easier.
15+
data = bytearray(page_len)
16+
data[0:8] = b'IHELPED!'
17+
18+
error = lldb.SBError()
19+
frame.GetThread().GetProcess().WriteMemory(base, data, error)
20+
if not error.Success():
21+
print(f'Failed to write into {base}[+{page_len}]', error)
22+
return
23+
24+
def __lldb_init_module(debugger: lldb.SBDebugger, _):
25+
target = debugger.GetDummyTarget()
26+
# Caveat: must use BreakpointCreateByRegEx here and not
27+
# BreakpointCreateByName. For some reasons callback function does not
28+
# get carried over from dummy target for the later.
29+
bp = target.BreakpointCreateByRegex("^NOTIFY_DEBUGGER_ABOUT_RX_PAGES$")
30+
bp.SetScriptCallbackFunction('{}.handle_new_rx_page'.format(__name__))
31+
bp.SetAutoContinue(True)
32+
print("-- LLDB integration loaded --")
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# Generated file, do not edit.
3+
#
4+
5+
command script import --relative-to-command-file flutter_lldb_helper.py

ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '12.0'
2+
# platform :ios, '13.0'
33

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

ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,21 @@ EXTERNAL SOURCES:
9494
SPEC CHECKSUMS:
9595
connectivity_plus: ddd7f30999e1faaef5967c23d5b6d503d10434db
9696
device_info_plus: 97af1d7e84681a90d0693e63169a5d50e0839a0d
97-
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
97+
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
9898
flutter_inappwebview_ios: 6f63631e2c62a7c350263b13fa5427aedefe81d4
9999
fluttertoast: e9a18c7be5413da53898f660530c56f35edfba9c
100100
OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
101101
package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c
102102
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
103103
permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
104104
rive_common: cbbac3192af00d7341f19dae2f26298e9e37d99e
105-
share_plus: 599aa54e4ea31d4b4c0e9c911bcc26c55e791028
105+
share_plus: 8875f4f2500512ea181eef553c3e27dba5135aad
106106
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
107107
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
108108
Toast: 1f5ea13423a1e6674c4abdac5be53587ae481c4e
109109
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
110-
webview_flutter_wkwebview: a4af96a051138e28e29f60101d094683b9f82188
110+
webview_flutter_wkwebview: 29eb20d43355b48fe7d07113835b9128f84e3af4
111111

112-
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011
112+
PODFILE CHECKSUM: 0dbd5a87e0ace00c9610d2037ac22083a01f861d
113113

114114
COCOAPODS: 1.13.0

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@
662662
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
663663
GCC_WARN_UNUSED_FUNCTION = YES;
664664
GCC_WARN_UNUSED_VARIABLE = YES;
665-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
665+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
666666
MTL_ENABLE_DEBUG_INFO = YES;
667667
ONLY_ACTIVE_ARCH = YES;
668668
SDKROOT = iphoneos;
@@ -709,7 +709,7 @@
709709
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
710710
GCC_WARN_UNUSED_FUNCTION = YES;
711711
GCC_WARN_UNUSED_VARIABLE = YES;
712-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
712+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
713713
MTL_ENABLE_DEBUG_INFO = NO;
714714
SDKROOT = iphoneos;
715715
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<Testables>
3132
</Testables>
@@ -45,6 +46,7 @@
4546
buildConfiguration = "Debug"
4647
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4748
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
49+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
4850
launchStyle = "0"
4951
useCustomWorkingDirectory = "NO"
5052
ignoresPersistentStateOnLaunch = "NO"

0 commit comments

Comments
 (0)