Appstore error: "your app is using the advertising identifier (IDFA)"

These steps helped and finally Apple accepted my app!