xcode16 beta not support iAd

Compilation failed, how to adapt iOS versions below 14.3

Answered by DTS Engineer in 794957022

Looks like got answers in the other two threads you created for this question (here and here).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

xcode version : 16.0 beta (16A5171c)

Compilation error example code:

  if (@available(iOS 14.3, *)) {
    NSError *error = nil;
    NSString *token = [AAAttribution attributionTokenWithError:&error];
  } else {
    if ([[ADClient sharedClient] respondsToSelector:@selector(requestAttributionDetailsWithBlock:)]) {
        [[ADClient sharedClient] requestAttributionDetailsWithBlock:^(NSDictionary<NSString *,
                                                                      NSObject *> * _Nullable attributionDetails,
                                                                      NSError * _Nullable error) {
            
        }];
    }
  }
Accepted Answer

Looks like got answers in the other two threads you created for this question (here and here).

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

xcode16 beta not support iAd
 
 
Q