This article explains how to install CarPlay in an older car. Instructions vary depending on the manufacturers of both the vehicle and the stereo unit.
HOW TO INSTALL Apple CarPlay IN YOUR CAR IN SECONDS Plug and Play VERY EASY – Perfect for older cars
CarPlay is a mirroring system that allows you to interact with your phone through your vehicle’s infotainment system. As such, it’s only available in vehicles with compatible units. That means there are limited ways to add CarPlay to an older car that doesn’t already have it. In very limited circumstances, you can add this feature by upgrading your vehicle’s infotainment system. In all other cases, we’ve found that the only way to add CarPlay is to replace the head unit.
Here's how to add Apple CarPlay to an older car that didn't come with it:
Check if a firmware update or upgrade kit is available for your vehicle.