Fix copy headers phase for iOS.