Configure expo-dev-client iOS in bare workflow

I’m having a hard time deciphering this diff when trying to set up the dev-client for iOS. Is there a sample repo that has this somewhere? I’m installing in a bare project with expo modules and this version of AppDelegate.m makes little sense to me.