ASIdentifierManager doesn't have nullability specifiers

Number:rdar://33279511 Date Originated:12-Jul-2017 05:28 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Version 8.1 (8B62)
Classification:Other Bug Reproducible:Always
This is a duplicate of radar #29401440

<AdSupport/ASIdentifierManager.h> doesn't specify nullability of +sharedManager or -advertisingIdentifier

Steps to Reproduce:
Open ASIdentifierManager.h in Xcode

Expected Results:
+[ASIdentifierManager sharedManager] should return `_Nonnull`. (I assume. There is no documentation that indicates what the nullability should actually be.)
-[ASIdentifierManager advertisingIdentifier] should return `_Nullable` because of the following documentation:
> In iOS 10.0 and later, the value of advertisingIdentifier is all zeroes when the user has limited ad tracking.
> If the value is nil, wait and get the value again later. This happens, for example, after the device has been restarted but before the user has unlocked the device.

Actual Results:
Nullability is unspecified.

Steps to Reproduce:

Expected Results:

Actual Results:

Version 8.1 (8B62)



Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!