Swift compiler error: “non-modular header inside framework module”

Is your header public?

Select the header file in the project explorer. Then in the section on the right in xcode, you’ll notice there is a dropdown next to the target. Change that from “project” to “public”. This worked for me.

public header

Leave a Comment