I have an iPhone app that is running fine for years.
Since upgrading to Xojo 2023r2 it crashes when I enter some text into an iOS Textfield.
I can place the cursor into the field but as soon as I start to type, I get an instant crash.
Reverted back to 2023r1.1 and everything works again.
What changed in 2023r2?
iOSTextfield is now MobileTextField.
OK, fine, but why is the datatype for TEXTfield a STRING?
Have to go through my whole app now, I am not amused.
Text as a datatype was deprecated in version 2021r1, and replaced with String. I’m guessing 2023r2 eliminated support for the Text datatype?
Unfortunately this was not the solution. Still crashes, no idea why.
When you run, does it stop in the debugger?
Simulator crash logs are located in this folder:
~/Library/Logs/DiagnosticReports/
Can you paste the log in a reply so we can understand why it crashed?
Nope, debugger does not come up, just instacrash if I type a letter.
{“app_name”:“iAdam.debug”,“timestamp”:“2023-08-22 15:31:22.00 +0200”,“app_version”:“1.3.2”,“slice_uuid”:“e927c79a-0f82-3cd6-9bb2-c52cd032b7cc”,“build_version”:“1.3.2.291”,“platform”:7,“bundleID”:“de.bremac.iadam”,“share_with_app_devs”:0,“is_first_party”:0,“bug_type”:“309”,“os_version”:“macOS 13.5.1 (22G90)”,“roots_installed”:0,“name”:“iAdam.debug”,“incident_id”:“D7258757-1F5C-4B8B-9654-77CC82924DC5”}
{
“uptime” : 81000,
“procRole” : “Foreground”,
“version” : 2,
“userID” : 503,
“deployVersion” : 210,
“modelCode” : “Mac14,2”,
“coalitionID” : 6410,
“osVersion” : {
“train” : “macOS 13.5.1”,
“build” : “22G90”,
“releaseType” : “User”
},
“captureTime” : “2023-08-22 15:31:22.1832 +0200”,
“incident” : “D7258757-1F5C-4B8B-9654-77CC82924DC5”,
“pid” : 10652,
“translated” : false,
“cpuType” : “ARM-64”,
“roots_installed” : 0,
“bug_type” : “309”,
“procLaunch” : “2023-08-22 15:31:16.0358 +0200”,
“procStartAbsTime” : 1948230122747,
“procExitAbsTime” : 1948377632145,
“procName” : “iAdam.debug”,
“procPath” : “/Users/USER/Library/Developer/CoreSimulator/Devices/B745521A-BDDE-45A7-A6CF-2F2969526B7B/data/Containers/Bundle/Application/B80E4FD0-ECD2-488E-811D-92B1B44B8A4F/iAdam.debug.app/iAdam.debug”,
“bundleInfo” : {“CFBundleShortVersionString”:“1.3.2”,“CFBundleVersion”:“1.3.2.291”,“CFBundleIdentifier”:“de.bremac.iadam”},
“storeInfo” : {“deviceIdentifierForVendor”:“26432CC5-8D6E-5952-BE73-C9FA1CF428B2”,“thirdParty”:true},
“parentProc” : “launchd_sim”,
“parentPid” : 10300,
“coalitionName” : “com.apple.CoreSimulator.SimDevice.B745521A-BDDE-45A7-A6CF-2F2969526B7B”,
“crashReporterKey” : “070E4F8D-02A1-E278-0B8A-8F94FBF412F2”,
“responsiblePid” : 4840,
“responsibleProc” : “SimulatorTrampoline”,
“codeSigningID” : “de.bremac.iadam”,
“codeSigningTeamID” : “”,
“codeSigningFlags” : 570425857,
“codeSigningValidationCategory” : 10,
“codeSigningTrustLevel” : 0,
“wakeTime” : 71343,
“sleepWakeUUID” : “60122F6B-7246-4B10-A83A-71AD14DC446A”,
“sip” : “enabled”,
“exception” : {“codes”:“0x0000000000000000, 0x0000000000000000”,“rawCodes”:[0,0],“type”:“EXC_CRASH”,“signal”:“SIGABRT”},
“termination” : {“flags”:0,“code”:6,“namespace”:“SIGNAL”,“indicator”:“Abort trap: 6”,“byProc”:“iAdam.debug”,“byPid”:10652},
“ktriageinfo” : “VM - (arg = 0x0) pmap_enter retried due to resource shortage\nVM - (arg = 0x0) pmap_enter retried due to resource shortage\nVM - (arg = 0x0) pmap_enter retried due to resource shortage\nVM - (arg = 0x0) pmap_enter retried due to resource shortage\nVM - (arg = 0x0) pmap_enter retried due to resource shortage\n”,
“extMods” : {“caller”:{“thread_create”:0,“thread_set_state”:0,“task_for_pid”:0},“system”:{“thread_create”:0,“thread_set_state”:0,“task_for_pid”:0},“targeted”:{“thread_create”:0,“thread_set_state”:0,“task_for_pid”:0},“warnings”:0},
“faultingThread” : 0,
“threads” : [{“triggered”:true,“id”:430207,“threadState”:{“x”:[{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:0},{“value”:46},{“value”:34},{“value”:416},{“value”:4309516864,“symbolLocation”:0,“symbol”:“_main_thread”},{“value”:5711132308895257726},{“value”:14757395258967641293},{“value”:10},{“value”:0},{“value”:49},{“value”:2043},{“value”:2191773697},{“value”:328},{“value”:2191773697},{“value”:0},{“value”:6},{“value”:4309516864,“symbolLocation”:0,“symbol”:“_main_thread”},{“value”:259},{“value”:4309517088,“symbolLocation”:224,“symbol”:“_main_thread”},{“value”:4335844780},{“value”:7413743616,“symbolLocation”:0,“symbol”:“parsed_version”},{“value”:7413749040,“symbolLocation”:0,“symbol”:“__stderrp”},{“value”:1},{“value”:0},{“value”:0}],“flavor”:“ARM_THREAD_STATE64”,“lr”:{“value”:7273152812},“cpsr”:{“value”:1073745920},“fp”:{“value”:6162854384},“sp”:{“value”:6162854352},“esr”:{“value”:1442840704,“description”:" Address size fault"},“pc”:{“value”:7272808424,“matchesCrashFrame”:1},“far”:{“value”:4461182976}},“queue”:“com.apple.main-thread”,“frames”:[{“imageOffset”:36840,“symbol”:“__pthread_kill”,“symbolLocation”:8,“imageIndex”:26},{“imageOffset”:28972,“symbol”:“pthread_kill”,“symbolLocation”:256,“imageIndex”:27},{“imageOffset”:468796,“symbol”:“abort”,“symbolLocation”:124,“imageIndex”:28},{“imageOffset”:465840,“symbol”:“__assert_rtn”,“symbolLocation”:268,“imageIndex”:28},{“imageOffset”:2510472,“imageIndex”:8},{“imageOffset”:148124,“imageIndex”:8},{“imageOffset”:148416,“imageIndex”:8},{“imageOffset”:2288804,“imageIndex”:8},{“imageOffset”:1990692,“imageIndex”:8},{“imageOffset”:11188600,“symbol”:“forwardTouchMethod”,“symbolLocation”:264,“imageIndex”:10},{“imageOffset”:11188600,“symbol”:“forwardTouchMethod”,“symbolLocation”:264,“imageIndex”:10},{“imageOffset”:11246736,“symbol”:“-[UIWindow _sendButtonsForEvent:]”,“symbolLocation”:212,“imageIndex”:10},{“imageOffset”:11249748,“symbol”:“-[UIWindow sendEvent:]”,“symbolLocation”:2532,“imageIndex”:10},{“imageOffset”:11111140,“symbol”:“-[UIApplication sendEvent:]”,“symbolLocation”:692,“imageIndex”:10},{“imageOffset”:11115400,“symbol”:“-[UIApplication _handleKeyUIEvent:]”,“symbolLocation”:364,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11201696,“symbol”:“-[UIResponder _handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11115536,“symbol”:“-[UIApplication handleKeyUIEvent:]”,“symbolLocation”:52,“imageIndex”:10},{“imageOffset”:11115004,“symbol”:“-[UIApplication _handleKeyHIDEvent:usingSyntheticEvent:]”,“symbolLocation”:656,“imageIndex”:10},{“imageOffset”:11621380,“symbol”:“__dispatchPreprocessedEventFromEventQueue”,“symbolLocation”:5400,“imageIndex”:10},{“imageOffset”:11629968,“symbol”:“__processEventQueue”,“symbolLocation”:5556,“imageIndex”:10},{“imageOffset”:11601080,“symbol”:“__eventFetcherSourceCallback”,“symbolLocation”:156,“imageIndex”:10},{“imageOffset”:547948,“symbol”:“CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION”,“symbolLocation”:24,“imageIndex”:29},{“imageOffset”:547764,“symbol”:“__CFRunLoopDoSource0”,“symbolLocation”:172,“imageIndex”:29},{“imageOffset”:545572,“symbol”:“__CFRunLoopDoSources0”,“symbolLocation”:232,“imageIndex”:29},{“imageOffset”:522584,“symbol”:“__CFRunLoopRun”,“symbolLocation”:748,“imageIndex”:29},{“imageOffset”:520788,“symbol”:“CFRunLoopRunSpecific”,“symbolLocation”:584,“imageIndex”:29},{“imageOffset”:15516,“symbol”:“GSEventRunModal”,“symbolLocation”:160,“imageIndex”:30},{“imageOffset”:11005936,“symbol”:“-[UIApplication _run]”,“symbolLocation”:868,“imageIndex”:10},{“imageOffset”:11022140,“symbol”:“UIApplicationMain”,“symbolLocation”:124,“imageIndex”:10},{“imageOffset”:659552,“imageIndex”:8},{“imageOffset”:307972,“symbol”:“Xojo._RuntimeRun”,“symbolLocation”:36,“imageIndex”:2},{“imageOffset”:2725808,“sourceLine”:51,“sourceFile”:“/#main”,“symbol”:“_Main”,“imageIndex”:2,“symbolLocation”:656},{“imageOffset”:2721836,“symbol”:“main”,“symbolLocation”:36,“imageIndex”:2},{“imageOffset”:5396,“symbol”:“start_sim”,“symbolLocation”:20,“imageIndex”:1},{“imageOffset”:24360,“symbol”:“start”,“symbolLocation”:2236,“imageIndex”:0}]},{“id”:430217,“frames”:[{“imageOffset”:9780,“symbol”:“start_wqthread”,“symbolLocation”:0,“imageIndex”:27}]},{“id”:430218,“name”:“com.apple.NSURLConnectionLoader”,“frames”:[{“imageOffset”:4560,“symbol”:“mach_msg2_trap”,“symbolLocation”:8,“imageIndex”:26},{“imageOffset”:74392,“symbol”:“mach_msg2_internal”,“symbolLocation”:76,“imageIndex”:26},{“imageOffset”:37848,“symbol”:“mach_msg_overwrite”,“symbolLocation”:540,“imageIndex”:26},{“imageOffset”:5440,“symbol”:“mach_msg”,“symbolLocation”:20,“imageIndex”:26},{“imageOffset”:545960,“symbol”:“__CFRunLoopServiceMachPort”,“symbolLocation”:156,“imageIndex”:29},{“imageOffset”:522964,“symbol”:“__CFRunLoopRun”,“symbolLocation”:1128,“imageIndex”:29},{“imageOffset”:520788,“symbol”:“CFRunLoopRunSpecific”,“symbolLocation”:584,“imageIndex”:29},{“imageOffset”:2146828,“imageIndex”:31},{“imageOffset”:4738528,“symbol”:“NSThread__start”,“symbolLocation”:704,“imageIndex”:32},{“imageOffset”:29736,“symbol”:“_pthread_start”,“symbolLocation”:116,“imageIndex”:27},{“imageOffset”:9800,“symbol”:“thread_start”,“symbolLocation”:8,“imageIndex”:27}]},{“id”:430220,“frames”:[{“imageOffset”:9780,“symbol”:“start_wqthread”,“symbolLocation”:0,“imageIndex”:27}]},{“id”:430221,“name”:“com.apple.CFSocket.private”,“frames”:[{“imageOffset”:46908,“symbol”:“__select”,“symbolLocation”:8,“imageIndex”:26},{“imageOffset”:632244,“symbol”:“__CFSocketManager”,“symbolLocation”:612,“imageIndex”:29},{“imageOffset”:29736,“symbol”:“_pthread_start”,“symbolLocation”:116,“imageIndex”:27},{“imageOffset”:9800,“symbol”:“thread_start”,“symbolLocation”:8,“imageIndex”:27}]},{“id”:430222,“frames”:[{“imageOffset”:9780,“symbol”:“start_wqthread”,“symbolLocation”:0,“imageIndex”:27}]},{“id”:430223,“name”:“com.apple.uikit.eventfetch-thread”,“frames”:[{“imageOffset”:4560,“symbol”:“mach_msg2_trap”,“symbolLocation”:8,“imageIndex”:26},{“imageOffset”:74392,“symbol”:“mach_msg2_internal”,“symbolLocation”:76,“imageIndex”:26},{“imageOffset”:37848,“symbol”:“mach_msg_overwrite”,“symbolLocation”:540,“imageIndex”:26},{“imageOffset”:5440,“symbol”:“mach_msg”,“symbolLocation”:20,“imageIndex”:26},{“imageOffset”:545960,“symbol”:“__CFRunLoopServiceMachPort”,“symbolLocation”:156,“imageIndex”:29},{“imageOffset”:522964,“symbol”:“__CFRunLoopRun”,“symbolLocation”:1128,“imageIndex”:29},{“imageOffset”:520788,“symbol”:“CFRunLoopRunSpecific”,“symbolLocation”:584,“imageIndex”:29},{“imageOffset”:4584636,“symbol”:“-[NSRunLoop(NSRunLoop) runMode:beforeDate:]”,“symbolLocation”:208,“imageIndex”:32},{“imageOffset”:4585184,“symbol”:“-[NSRunLoop(NSRunLoop) runUntilDate:]”,“symbolLocation”:60,“imageIndex”:32},{“imageOffset”:11659028,“symbol”:“-[UIEventFetcher threadMain]”,“symbolLocation”:404,“imageIndex”:10},{“imageOffset”:4738528,“symbol”:“NSThread__start”,“symbolLocation”:704,“imageIndex”:32},{“imageOffset”:29736,“symbol”:“_pthread_start”,“symbolLocation”:116,“imageIndex”:27},{“imageOffset”:9800,“symbol”:“thread_start”,“symbolLocation”:8,“imageIndex”:27}]},{“id”:430224,“frames”:[{“imageOffset”:9780,“symbol”:“start_wqthread”,“symbolLocation”:0,“imageIndex”:27}]},{“id”:430225,“frames”:[{“imageOffset”:9780,“symbol”:“start_wqthread”,“symbolLocation”:0,“imageIndex”:27}]},{“id”:430226,“frames”:[{“imageOffset”:9780,“symbol”:“start_wqthread”,“symbolLocation”:0,“imageIndex”:27}]},{“id”:430227,“frames”:[{“imageOffset”:9780,“symbol”:“start_wqthread”,“symbolLocation”:0,“imageIndex”:27}]}],
“usedImages” : [
{
“source” : “P”,
“arch” : “arm64e”,
“base” : 4308877312,
“size” : 589824,
“uuid” : “e7a99595-e0f8-34af-be8b-9347d0d658a4”,
“path” : “/usr/lib/dyld”,
“name” : “dyld”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4308172800,
“size” : 327680,
“uuid” : “4eba7f04-0a30-3166-8a68-9125b8a1d5f9”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim”,
“name” : “dyld_sim”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4304011264,
“CFBundleShortVersionString” : “1.3.2”,
“CFBundleIdentifier” : “de.bremac.iadam”,
“size” : 2834432,
“uuid” : “e927c79a-0f82-3cd6-9bb2-c52cd032b7cc”,
“path” : “/Users/USER/Library/Developer/CoreSimulator/Devices/B745521A-BDDE-45A7-A6CF-2F2969526B7B/data/Containers/Bundle/Application/B80E4FD0-ECD2-488E-811D-92B1B44B8A4F/iAdam.debug.app/iAdam.debug”,
“name” : “iAdam.debug”,
“CFBundleVersion” : “1.3.2.291”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4308779008,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.apple.UIKit”,
“size” : 16384,
“uuid” : “7e2b5d6b-224b-39a1-af92-5f3909a01490”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UIKit.framework/UIKit”,
“name” : “UIKit”,
“CFBundleVersion” : “6441.1.101”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4316692480,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.apple.AVKit”,
“size” : 1441792,
“uuid” : “f177f09f-9ac5-339a-83c1-2c5baa3681c5”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/AVKit.framework/AVKit”,
“name” : “AVKit”,
“CFBundleVersion” : “976.1.2”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4367564800,
“CFBundleShortVersionString” : “8615”,
“CFBundleIdentifier” : “com.apple.WebKit”,
“size” : 10862592,
“uuid” : “2181bef3-8f80-3948-9263-36d3ce09df8f”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/System/Library/Frameworks/WebKit.framework/WebKit”,
“name” : “WebKit”,
“CFBundleVersion” : “8615.1.26.10.23”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4310171648,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.apple.MapKit”,
“size” : 2867200,
“uuid” : “cbb644f3-4dc0-35f3-95ab-c5a290912f95”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MapKit.framework/MapKit”,
“name” : “MapKit”,
“CFBundleVersion” : “1.0”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4323983360,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.apple.PDFKit”,
“size” : 933888,
“uuid” : “ad5cd2b0-5f1e-3839-8988-9e5d647c9e65”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/PDFKit.framework/PDFKit”,
“name” : “PDFKit”,
“CFBundleVersion” : “1158.5.5”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4333207552,
“size” : 3080192,
“uuid” : “64517409-8862-3b99-a9df-a2d61e5d6f8f”,
“path” : “/Users/USER/Library/Developer/CoreSimulator/Devices/B745521A-BDDE-45A7-A6CF-2F2969526B7B/data/Containers/Bundle/Application/B80E4FD0-ECD2-488E-811D-92B1B44B8A4F/iAdam.debug.app/rbframework.dylib”,
“name” : “rbframework.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4321411072,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.apple.DocumentManager”,
“size” : 294912,
“uuid” : “f55c5260-df24-3181-b7be-db7ee1ceae80”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/DocumentManager.framework/DocumentManager”,
“name” : “DocumentManager”,
“CFBundleVersion” : “280.5.15”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4496211968,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.apple.UIKitCore”,
“size” : 24002560,
“uuid” : “6726ae46-2599-3f92-adca-c48a0512d4ea”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore”,
“name” : “UIKitCore”,
“CFBundleVersion” : “6441.1.101”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4330586112,
“CFBundleShortVersionString” : “1885”,
“CFBundleIdentifier” : “com.apple.ShareSheet”,
“size” : 983040,
“uuid” : “dc8e84eb-1e2c-3415-af31-e86b29fa6b2d”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/ShareSheet.framework/ShareSheet”,
“name” : “ShareSheet”,
“CFBundleVersion” : “1885”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4320034816,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.apple.PrintKitUI”,
“size” : 573440,
“uuid” : “74ff1df9-3f27-335a-9673-8991789c7e21”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/PrintKitUI.framework/PrintKitUI”,
“name” : “PrintKitUI”,
“CFBundleVersion” : “15.6”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4325982208,
“CFBundleShortVersionString” : “8615”,
“CFBundleIdentifier” : “com.apple.WebKitLegacy”,
“size” : 1671168,
“uuid” : “d8b6af72-5e3d-39b2-bb59-e512d81bc65b”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy”,
“name” : “WebKitLegacy”,
“CFBundleVersion” : “8615.1.26.10.23”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4337893376,
“CFBundleShortVersionString” : “8615”,
“CFBundleIdentifier” : “com.apple.JavaScriptCore”,
“size” : 21725184,
“uuid” : “6c92ecb5-f484-3925-b8ac-132e313d11cc”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore”,
“name” : “JavaScriptCore”,
“CFBundleVersion” : “8615.1.26.10.23”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4391452672,
“CFBundleShortVersionString” : “8615”,
“CFBundleIdentifier” : “com.apple.WebCore”,
“size” : 41779200,
“uuid” : “d5407764-9477-39b2-913f-54409e0fe6cd”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/System/Library/PrivateFrameworks/WebCore.framework/WebCore”,
“name” : “WebCore”,
“CFBundleVersion” : “8615.1.26.10.23”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4467605504,
“size” : 3571712,
“uuid” : “094a5d7d-536f-3c65-bf0f-42037de47f30”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libANGLE-shared.dylib”,
“name” : “libANGLE-shared.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4323311616,
“CFBundleShortVersionString” : “8615”,
“CFBundleIdentifier” : “com.apple.WebGPU”,
“size” : 360448,
“uuid” : “84b58cce-be36-3c7e-8f54-801c8cb3c7fa”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/System/Library/PrivateFrameworks/WebGPU.framework/WebGPU”,
“name” : “WebGPU”,
“CFBundleVersion” : “8615.1.26.10.23”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4473323520,
“size” : 10829824,
“uuid” : “f606aa36-49b5-3263-a825-d170b63fa66a”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/System/Library/PrivateFrameworks/WebCore.framework/Frameworks/libwebrtc.dylib”,
“name” : “libwebrtc.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4322131968,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.apple.Pegasus”,
“size” : 409600,
“uuid” : “4cb49de7-a4aa-3a7e-b4b8-12a918b0ddeb”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Pegasus.framework/Pegasus”,
“name” : “Pegasus”,
“CFBundleVersion” : “259.101”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4365500416,
“size” : 425984,
“uuid” : “f5219679-3057-31da-a067-a2d4201afbcd”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswiftUIKit.dylib”,
“name” : “libswiftUIKit.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4459184128,
“CFBundleShortVersionString” : “5.0”,
“CFBundleIdentifier” : “com.apple.CorePDF”,
“size” : 819200,
“uuid” : “63e886c9-2c00-3a1d-93a1-24c86063adb1”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CorePDF.framework/CorePDF”,
“name” : “CorePDF”,
“CFBundleVersion” : “551”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4323229696,
“size” : 49152,
“uuid” : “806ae646-0aee-359b-883f-e4018780ec94”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc-trampolines.dylib”,
“name” : “libobjc-trampolines.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4330029056,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.xojo.regexiossimulator.dylib”,
“size” : 229376,
“uuid” : “4acf3fab-0331-35df-b64a-3f762619c100”,
“path” : “/Users/USER/Library/Developer/CoreSimulator/Devices/B745521A-BDDE-45A7-A6CF-2F2969526B7B/data/Containers/Bundle/Application/B80E4FD0-ECD2-488E-811D-92B1B44B8A4F/iAdam.debug.app/Frameworks/RegExiOSSimulator.framework/RegExiOSSimulator”,
“name” : “RegExiOSSimulator”,
“CFBundleVersion” : “1”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4457857024,
“CFBundleIdentifier” : “com.apple.TextInputUI”,
“size” : 573440,
“uuid” : “9baeecb9-a8d8-377f-9e82-dbe6cc905343”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI”,
“name” : “TextInputUI”,
“CFBundleVersion” : “1.0”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 4461281280,
“CFBundleShortVersionString” : “157”,
“CFBundleIdentifier” : “com.apple.MetalKit”,
“size” : 114688,
“uuid” : “a7239d12-8ef7-31dd-9042-955c44d86945”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/MetalKit.framework/MetalKit”,
“name” : “MetalKit”,
“CFBundleVersion” : “157”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 7272771584,
“size” : 229368,
“uuid” : “507d31b7-7c2c-38ce-b864-0bae4ad4034b”,
“path” : “/usr/lib/system/libsystem_kernel.dylib”,
“name” : “libsystem_kernel.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 7273123840,
“size” : 53240,
“uuid” : “27ce1820-cc5b-30ea-974a-1d844310c438”,
“path” : “/usr/lib/system/libsystem_pthread.dylib”,
“name” : “libsystem_pthread.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 6443196416,
“size” : 503804,
“uuid” : “6b3ced39-3f0d-3bb2-a2b1-34062cf5c8eb”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_c.dylib”,
“name” : “libsystem_c.dylib”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 6445682688,
“CFBundleShortVersionString” : “6.9”,
“CFBundleIdentifier” : “com.apple.CoreFoundation”,
“size” : 3862528,
“uuid” : “132e87d0-14ac-310c-a5e9-3d9c921cc8ea”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation”,
“name” : “CoreFoundation”,
“CFBundleVersion” : “1971”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 6592086016,
“CFBundleShortVersionString” : “1.0”,
“CFBundleIdentifier” : “com.apple.GraphicsServices”,
“size” : 36864,
“uuid” : “8e24edb2-1c99-3652-9ef0-e66191675515”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices”,
“name” : “GraphicsServices”,
“CFBundleVersion” : “1.0”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 6506586112,
“CFBundleShortVersionString” : “1406.0.4”,
“CFBundleIdentifier” : “com.apple.CFNetwork”,
“size” : 3674112,
“uuid” : “7e484900-981b-3f28-ae47-846bdba30e91”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CFNetwork.framework/CFNetwork”,
“name” : “CFNetwork”,
“CFBundleVersion” : “1406.0.4”
},
{
“source” : “P”,
“arch” : “arm64”,
“base” : 6450028544,
“CFBundleShortVersionString” : “6.9”,
“CFBundleIdentifier” : “com.apple.Foundation”,
“size” : 8724480,
“uuid” : “e7f2a1f0-fb2c-3074-a4ea-e5853bffcee4”,
“path” : “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation”,
“name” : “Foundation”,
“CFBundleVersion” : “1971”
}
],
“sharedCache” : {
“base” : 6442450944,
“size” : 1394393088,
“uuid” : “1a13d162-33ff-342b-a44d-51b5e494f955”
},
“vmSummary” : “ReadOnly portion of Libraries: Total=835.3M resident=0K(0%) swapped_out_or_unallocated=835.3M(100%)\nWritable regions: Total=619.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=619.9M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nColorSync 496K 25 \nCoreAnimation 512K 18 \nFoundation 16K 1 \nImage IO 96K 1 \nKernel Alloc Once 32K 1 \nMALLOC 219.3M 47 \nMALLOC guard page 128K 7 \nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.2M 11 \nStack 13.3M 11 \nVM_ALLOCATE 48K 2 \n__DATA 10.2M 407 \n__DATA_CONST 41.7M 417 \n__DATA_DIRTY 66K 11 \n__FONT_DATA 4K 1 \n__LINKEDIT 400.9M 27 \n__OBJC_RO 29.1M 1 \n__OBJC_RW 898K 1 \n__TEXT 434.4M 426 \n__XOJO 16K 1 \ndyld private memory 816K 6 \nmapped file 238.2M 50 \nshared memory 16K 1 \n=========== ======= ======= \nTOTAL 1.8G 1476 \nTOTAL, minus reserved VM space 1.4G 1476 \n”,
“legacyInfo” : {
“threadTriggered” : {
“queue” : “com.apple.main-thread”
}
},
“logWritingSignature” : “a0aaa9994d44ad867f2f882b0fa8ed39f57be18d”,
“trialInfo” : {
“rollouts” : [
{
“rolloutId” : “6112d17137f5d11121dcd4e2”,
“factorPackIds” : {
},
"deploymentId" : 240000361
},
{
"rolloutId" : "6246d6a916a70b047e454124",
"factorPackIds" : {
},
"deploymentId" : 240000010
}
],
“experiments” : [
{
“treatmentId” : “6dd670af-0633-45e4-ae5f-122ae4df02be”,
“experimentId” : “64406ba83deb637ac8a04419”,
“deploymentId” : 900000017
},
{
“treatmentId” : “a092db1b-c401-44fa-9c54-518b7d69ca61”,
“experimentId” : “64a844035c85000c0f42398a”,
“deploymentId” : 400000004
}
]
}
}
I have removed almost everything from my app to create a small testproject:
Crashtest
Run it with Xojo 2023r1.1 and you can enter some text.
Run it with Xojo 2023r2 and it crashes when you try to enter text.
(macOS 13.5.1 on a m2 Macbook Air)
it would be helpful to have your plist file
NM: I can reproduce the crash without that.
So just to be clear… the original project this was taken from was created using a version of xojo from prior to 2020r2 when all of the Mobile… items were introduced. This can be seen because:
- iPhoneScreen is of type iosScreen
- ViewHome is of type iosView
…and probably before 2020r1 because the project doesn’t know what version it was created in at all (that capability was added in 2020r1 to facilitate some of the API2 changes that were going on).
But the controls that you have placed on the iOSView are both the newer kind:
MobileTextField and MobileLabel
I can confirm that if I follow these steps, my app will crash in the same way:
- Create an iOS project in 2020r1.2
- Save the project
- Open the project in 2023r2
- Add a label and a textfield
- Run the project ( the simulator version does not appear to matter)
In my opinion, you should file a bug report, but you should also be prepared for it to not be fixed as that transition was almost three years ago.
You should instead update your views’ super class from iOSView to MobileScreen and the Screens from iOSScreen to iOSLayout.
I suspect the offending “fix” in 2023r2 was this one:
- iOS: Added KeyDown, KeyUp events to Screen and KeyDown event to TextField/TextArea on iOS. (71935)
Thanks for testing Greg.
Yes, the project is quite old, before mobile… was introduced.
I am now in the process of changing everything iOS… to mobile…, replace text with string, and whatever else is necessary.
Will be quite some days of work but at least I am on the bleeding edge again after I´m throug that.