British bank Barclays apologized for its role in the Libor scandal Friday as part of a report showing a robust first-half profit.