My tomato plants produced a sizeable amount of tomatoes, however just prior to being ripe to pick almost every tomato.began to develop holes in them. Please find attached a picture. The holes were mainly isolated to the sides and top of the tomatoes.
We viewed your photo. Animals such as turtles, squirrels, birds, etc. can be attracted to the fruit. Once a hole is made in the fruit secondary infections can set in like a soft rot. Do not let the fruit lay on the ground where it may be easy to reach.
Pick the fruit at the blush stage and let the tomatoes ripen on your countertop.
There are no easy answers for controlling wildlife in an edible garden.
Birds and squirrels - try covering the plants with a shade cloth temporarily to discourage them.