Affirm / affirm-merchant-sdk-ios

Integrate Affirm into your iOS app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resolve warnings on podspec valiation

sichx opened this issue · comments

Validating podspec
 -> AffirmSDK (5.0.1)
    - WARN  | xcodebuild:  AffirmSDK/AffirmSDK/AffirmPrequalDelegate.h:22:111: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - NOTE  | xcodebuild:  AffirmSDK/AffirmSDK/AffirmPrequalDelegate.h:22:111: note: insert '_Nullable' if the pointer may be null
    - NOTE  | xcodebuild:  AffirmSDK/AffirmSDK/AffirmPrequalDelegate.h:22:111: note: insert '_Nonnull' if the pointer should never be null
    - WARN  | xcodebuild:  /Users/nandadubey/Library/Developer/Xcode/DerivedData/App-drbyeccovydfwsedatgpdlcvtiev/Build/Products/Release-iphonesimulator/AffirmSDK/AffirmSDK.framework/Headers/AffirmPrequalDelegate.h:22:111: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
    - NOTE  | xcodebuild:  /Users/nandadubey/Library/Developer/Xcode/DerivedData/App-drbyeccovydfwsedatgpdlcvtiev/Build/Products/Release-iphonesimulator/AffirmSDK/AffirmSDK.framework/Headers/AffirmPrequalDelegate.h:22:111: note: insert '_Nullable' if the pointer may be null
    - NOTE  | xcodebuild:  /Users/nandadubey/Library/Developer/Xcode/DerivedData/App-drbyeccovydfwsedatgpdlcvtiev/Build/Products/Release-iphonesimulator/AffirmSDK/AffirmSDK.framework/Headers/AffirmPrequalDelegate.h:22:111: note: insert '_Nonnull' if the pointer should never be null

[!] The spec did not pass validation, due to 2 warnings (but you can use `--allow-warnings` to ignore them).

@AmyBeall looping you in on this thread. @hoyelo is trying to address the warnings Nanda found during the pod build phase.