deprecated warnings for ios and os x projects