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 5 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