Apple lovar att åtgärda bugg i ramverk för annonser