I've lost a lot apples and pears to squirrels previously but sine I started using balloons things have improved.
Blow up a few and stick some broken up nuts on them (I use a blob of honey) and tie them in among the fruit, squirrel climbs on and Bang - squirrel runs. I have also used water filled ones which are also effective.
No squirrels were actually physically harmed during this experiment.