How does integration between macOS and iOS work if they are not releases from same year
The essential element here is the iTunes version. Older versions of iTunes sometimes play not so well (or not at all) with recent iOS versions. So if you get a new iOS version on your phone you may need to install an update of iTunes as well in order to enable your Mac and your Phone to talk to each other.