"Invite code has expired" was experienced by one of my testers when I invited using an email address other than the one being used as the Apple ID on their device. When I invited the tester using their Apple ID email address instead, the app could be installed.