Xcode "Missing Submodule" warning Xcode "Missing Submodule" warning objective-c objective-c

Xcode "Missing Submodule" warning


I ran into the same problem and eventually fixed it by adding my project headers into the umbrella header. When you create a new framework it should start with a single .h file titled by the project (in your case DirectProximityFramework.h).

Inside this file is a comment:

In this header, you should import all the public headers of your framework using statements like #import <DirectProximityFramework/PublicHeader.h>

So just add your GeofencingHelper.h file in this file:

#import <DirectProximityFramework/GeofencingHelper.h>

This should remove all of your warnings!


Maybe, you can stop this warning by adding following line to "DirectProximityFramework.h"

#import <DirectProximityFramework/GeofencingHelper.h>

...etc

I suggest to check

[Target your framework] -> Build Phases -> Headers -> Public


I ran into this issue and all the solutions above didn't fit me, since the file wasn't supposed to be in the umbrella header.

So if this is your own framework and that particular file shouldn't be in the umbrella header, make sure it isn't marked public in the target membership section.

That fixed it for me.