Fresh apples contain almost no substances that cause an allergic reaction. These substances however, do increase according to age: a slightly older apple may cause problems.
The variety is also a factor: Boskoop and Gravensteiner are two examples of apple varieties that prove relatively harmless. ECARF adds that red apples are likely better for people with an allergy than green ones.