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

Lee young-jun
Aug 22, 2021

--

When I trying to automate iOS Distribution, I noticed the build log is too long.

And I found this warning is occurred too much.

So I googled about the solution.

It’s -Wno-nullability-completeness.

First,

You need to set Other Warning Flags of Main Project.
Build Settings > Apple Clangs-Custom Compiler Flags > Other Warning Flags > + > -Wno-nullability-completeness

Second,

You need to modify your Podfile if you use CocoaPods like below.

So, you can see this build settings of Pods project

Now, You can’t see ‘pointer is missing a nullability’ anymore

--

--

Responses (1)