I'm running on simulator with iOS15, and my app is iOS14+. The status in completion block always returns .notDetermined
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {    
    ATTrackingManager.requestTrackingAuthorization(completionHandler: { status in
        print(status) // .notDetermined
    })
}
Things I have already done:
- Add NSUserTrackingUsageDescriptionto info.plist
- Enable Settings > Privacy > Tracking > Allow Apps to Request to Track
The question is NOT a duplicate of this question because I'm running it normally in Simulator and not UI test.
 
    