Make Apple stuff conditional