For those who struggle like me to set constraints between the document view and the clip view:
Make sure the clip view is set to automatic layout.
For mysterious reasons, it is not set to automatic by default (at least with Xcode 11). Cfr screenshot of the size inspector below.