It could be Tar spot, a fungus. There is little you can and although unsightly it does not affect the tree. In order to control the spread any fallen leaves should be picked up immediately. We had something similar on our pear tree. We were unable to spray it, but left it for two seasons not picking the fruit and sweeping up all the fallen leaves. It seems to have recovered by fighting the fungus with its own immunity.