Sync music to my iPhone 7

I can't seem to sync music to my iphone7 since the last update it keeps saying "The iPhone “xxxxxx iPhone” cannot be synced because it cannot be found". but it is connected to my AppleMac and shows on the sidebar.