How to fix this issue and sync iTunes to iPhone correctly?
OS X Yosemite, iPhoto 9.6.1, iTunes 18.104.22.168; iPhone 5, iOS 9.3.3
I imported my pictures to iPhoto then tried to sync some unrelated changes to the iPhone through iTunes and got this error message. Restarting iPhoto and iTunes didn't help this time.
Disclaimer: I found the solution to this specific issue and I'm using this space to share it with others. Other solutions may be valid on different situations. I remember fixing this once by restarting the Mac.
Here are some links related to this problem with some "heavy weight" solutions I didn't try this time: