iOS Question B4XPages app crashes when loading layout

tsteward

Well-Known Member
Licensed User
Longtime User
I have been through each and every item in the layout but can't see what's causing this fatal crash.
From the log are you able to suggest what it might be? or how I can try to debug this?
Line 109 is: Root.LoadLayout("keyhsv")

 

mcqueccu

Expert
Licensed User
Longtime User
1. Check the views on the layout, I can see a swift button in the log you posted
2. if you copied the layout from another platform, make sure all resources related to that layout is also copied, example images, etc
Debug
3. If the above fails, duplicate the layout, remove everything from the main layout and run. If a successful run, then you can copy the views from the backup to the main one, one after the other and run till you see your problematic view. (seem like a long process but it worked for me)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…