I believe it could be any number of things. Without knowing more, or being able to see firsthand, it can be difficult to say exactly what these yellow spots are. This time of the year, bug bites comes first to mind, especially if there doesn't appear to be any other significant damage to the fruit or the plant itself.