iOS Question Crash only on ios 11.4 (LoadLayout problem?)

fredo

Well-Known Member
Licensed User
Longtime User
A project, was successfully tested as a "release" on multiple devices (iPhone 8+ device, emulator iPad Air/ iPhone 12 on appetize.io) with different ios versions.

However, the app crashes on startup if the version is below 12 (e.g. ios 11.4).

In the source code, the causing location could be narrowed down to the point where the crash occurs directly when LoadLayout(...) is called.

14-02-_2022_11-47-54.png


XML:
2022-02-14 11:44:50.641 mytestapp[75440:6140838] #-  Sub Application_Start ......  ......  ......  ......  ......  ......  ......  ......  ......  ......
2022-02-14 11:44:50.641 mytestapp[75440:6140838] --#-  x7829, str: {delog}
2022-02-14 11:44:50.647 mytestapp[75440:6140838] --#-  x7829, str: x0001
2022-02-14 11:44:50.714 mytestapp[75440:6140838] --#-  x7829, str: x0002
2022-02-14 11:44:50.715 mytestapp[75440:6140838] --#-  x7829, str: x0006, AppStart2
2022-02-14 11:44:50.717 mytestapp[75440:6140838] --#-  x7829, str: x0006b
2022-02-14 11:44:50.720 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.721 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.721 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.723 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.723 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.724 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.724 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.725 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.725 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.726 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.726 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.727 mytestapp[75440:6140838] --#-  x7829, str: x0006c
2022-02-14 11:44:50.728 mytestapp[75440:6140838] --#-  x7829, str: x0006d
2022-02-14 11:44:50.735 mytestapp[75440:6140838] --#-  x7829, str: x0006e
2022-02-14 11:44:50.737 mytestapp[75440:6140838] --#-  x7829, str: x0006f
2022-02-14 11:44:50.737 mytestapp[75440:6140838] --#-  x7829, str: x0006g
2022-02-14 11:44:50.763 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.763 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.763 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.763 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.764 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.764 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.765 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.765 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.765 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.766 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.766 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.767 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.767 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.767 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.769 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:50.776 mytestapp[75440:6140838] --#-  x7829, str: x0010, Page1_Resize
2022-02-14 11:44:50.778 mytestapp[75440:6140838] --#-  x7829, str: x0010b, md.Initialize
2022-02-14 11:44:50.779 mytestapp[75440:6140838] --#-  x7829, str: x0010c, md
2022-02-14 11:44:50.779 mytestapp[75440:6140838] --#-  x7829, str: x0010d, md
2022-02-14 11:44:50.781 mytestapp[75440:6140838] --#-  x7829, str: x0010g, md
2022-02-14 11:44:50.782 mytestapp[75440:6140838] --#-  x7829, str: x0010h, md
2022-02-14 11:44:50.786 mytestapp[75440:6140838] --#-  x7829, str: x0010c2, md
2022-02-14 11:44:50.790 mytestapp[75440:6140838] --#-  x7829, str: x0010c3, md
2022-02-14 11:44:50.793 mytestapp[75440:6140838] --#-  x7829, str: x0010c4, md
2022-02-14 11:44:50.794 mytestapp[75440:6140838] --#-  x7829, str: x0010c5, md
2022-02-14 11:44:50.795 mytestapp[75440:6140838] --#-  x7829, str: x0010c6, md
2022-02-14 11:44:50.797 mytestapp[75440:6140838] --#-  x7829, str: x0010c7, md
2022-02-14 11:44:50.802 mytestapp[75440:6140838] --#-  x7829, str: x0010c8, md
2022-02-14 11:44:50.806 mytestapp[75440:6140838] --#-  x7829, str: x0011
2022-02-14 11:44:50.829 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_MaterialIcons.ttf#postscript-name=MaterialIcons-Regular, fallback to LastResort.
2022-02-14 11:44:51.026 mytestapp[75440:6140838] --#-  x7829, str: x0012
2022-02-14 11:44:51.053 mytestapp[75440:6140838] --#-  x7829, str: x0013
2022-02-14 11:44:51.055 mytestapp[75440:6140838] --#-  x7829, str: x0014
2022-02-14 11:44:51.059 mytestapp[75440:6140838] Class (b4i_keyvaluestore) instance released.
2022-02-14 11:44:51.059 mytestapp[75440:6140838] --#-  x7829, str: x0015
2022-02-14 11:44:51.060 mytestapp[75440:6140838] #-Sub BuildLayout
2022-02-14 11:44:51.060 mytestapp[75440:6140838] --#-  x7829, str: x0000-1697-BuildLayoutStart
2022-02-14 11:44:51.064 mytestapp[75440:6140838] --#-  x7829, str: x0016a
2022-02-14 11:44:51.064 mytestapp[75440:6140838] --#-  x7829, str: x0016b
2022-02-14 11:44:51.082 mytestapp[75440:6140838] --#-  x7829, str: x0016c
2022-02-14 11:44:51.083 mytestapp[75440:6140838] --#-  x7829, str: x0016d
2022-02-14 11:44:52.398 mytestapp[75440:6140838] --#-  x7829, str: x0016e
2022-02-14 11:44:52.399 mytestapp[75440:6140838] --#-  x7829, str: x0016f
2022-02-14 11:44:52.412 mytestapp[75440:6140838] --#-  x7829, str: x0016g
2022-02-14 11:44:52.412 mytestapp[75440:6140838] --#-  x7829, str: x0016h
2022-02-14 11:44:52.413 mytestapp[75440:6140838] --#-  x7829, str: x0016i
2022-02-14 11:44:52.413 mytestapp[75440:6140838] --#-  x7829, str: x0016j
2022-02-14 11:44:52.414 mytestapp[75440:6140838] --#-  x7829, str: x0016k
2022-02-14 11:44:52.415 mytestapp[75440:6140838] --#-  x7829, str: x0016l
2022-02-14 11:44:52.416 mytestapp[75440:6140838] --#-  x7829, str: x0016m
2022-02-14 11:44:52.424 mytestapp[75440:6140838] --#-  x7829, str: x0016n
2022-02-14 11:44:52.425 mytestapp[75440:6140838] --#-  x7829, str: x0016o
2022-02-14 11:44:52.426 mytestapp[75440:6140838] --#-  x7829, str: x0016p
2022-02-14 11:44:52.818 mytestapp[75440:6140838] --#-  x7829, str: x0016q
2022-02-14 11:44:52.820 mytestapp[75440:6140838] --#-  x7829, str: x0016r
2022-02-14 11:44:52.821 mytestapp[75440:6140838] --#-  x7829, str: x0016s
2022-02-14 11:44:53.549 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_FontAwesome.otf#postscript-name=FontAwesome, fallback to LastResort.
2022-02-14 11:44:53.549 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_FontAwesome.otf#postscript-name=FontAwesome, fallback to LastResort.
2022-02-14 11:44:53.549 mytestapp[75440:6140838] Requested font not available from file:///Users/sim4/Library/Developer/CoreSimulator/Devices/B74F5775-3499-46A2-BD5C-29EFCA97E0BB/data/Containers/Bundle/Application/9F193155-5F30-4DC9-8235-5911C9E0EA08/mytestapp;Health%20v2.app/B4X_FontAwesome.otf#postscript-name=FontAwesome, fallback to LastResort.
2022-02-14 11:44:54.080 mytestapp[75440:6140838] --#-  x7829, str: x0016t

It is noticeable that the log contains the message "Requested font not available ... B4X_FontAwesome ... fallback to LastResort." is displayed.

The layout in question contains several labels whose font is set to "Material Font" or "Fontawesome" in the Designer.
Additionally the layout contains the customview "RulerPicker", a BBLabel, a customlistview and a switch.


Question: Can the font have something to do with it, or is anyone aware of similar crashes in connection with ios 11.4?
 
Top