msgraph-sdk-objc icon indicating copy to clipboard operation
msgraph-sdk-objc copied to clipboard

Nullability Issues - Xcode 10.3

Open SteveDCronin opened this issue 6 years ago • 3 comments

I'm using Xcode 10.3 on macOS 10.14.5 I'm using CocoaPods to manage dependancies. I've used both: pod 'MSGraphClientSDK' and pod 'MSGraphMSALAuthProvider' There are 37 Nullability Issue warnings (double that when using 'MSGraphMSALAuthProvider'). They're a real nuisance in an otherwise tight clean compile! It may be that they can be ALL be cured by simply placing 'NS_ASSUME_NONNULL_BEGIN' & 'NS_ASSUME_NONNULL_END' macros around the 7 interface declarations in MSGraphMiddleWare.h, MSHTTPClient.h, MSURLSessionTask.h, MSBatchRequestStep.h, MSBatchResponseContent.h, MSLargeFileUploadTask.h, MSGraphOneDriveLargeFileUploadTask.h. If the macros won't work then adding nullability to the various method signatures is pretty straightforward! Don't be lazy! Please provide more carefully constructed code. AB#6087

SteveDCronin avatar Sep 07 '19 22:09 SteveDCronin

Thank you for the feedback. We've added this to our backlog.

MIchaelMainer avatar Sep 17 '19 14:09 MIchaelMainer

Any time table on this issue ?

RegisStGelais avatar Sep 24 '20 19:09 RegisStGelais

Continuing to see a number of nullability warnings when building with Xcode 14.1 beta 3:

Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
Block pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)

macdrevx avatar Oct 14 '22 14:10 macdrevx