App crashes with "Could not instantiate class named _UIScrollViewLayoutGuide" on iOS 10 and older
I had the same issue (using Xcode11 and running iOS 10.3.1). Unchecking Content Layout Guides from the Scroll View worked for me.
image
Thanks to @Luke's answer I've found the exact reason of the problem: it is caused by constraints between any item and scroll view's Content Layout Guide.
So to find where the problem one needs to:
- check the log to find out which view controller participates in the problem. According to the log shown by @Jaseel.Dev it is "Alexis_Hospital"
- In that view controller in Interface Builder check all scroll views and their Content Layout Guides or Frame Layout Guides
- There 2 ways to fix:
a) click on the scroll view, there Uncheck [ ] Content Layout Guides
and check them again (Interface Builder will reassign the "layout guide" edges to "superview")
b) click on the Content Autolayout Guide and check if there any constraints pointing to them. Get rid of those constraints.
The main idea is to remove these constrains, which would crash on iOS 10 and earlier.