Access values from umbrella header in a swift package

I am trying to migrate a framework (MyFmwk) project to a swift package.

My framework project has a MyFmwk.h umbrella header which was generated by Xcode when I initially created my framework.

How can I access

FOUNDATION_EXPORT double MyFmwkVersionNumber;

present in the umbrella header in one of my swift target in the swift package?

Also

  1. Is umbrella header required for swift package?
  2. How can I make my umbrellaheader (MyFmwk.h) visible to my swift target.

Thanks

Terms of Service

Privacy Policy

Cookie Policy