I am adding a new structure to my Swift + Objective-C project. So, in my structure, I have an umbrella header:xFramework.h
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double xFrameworkVersionNumber;
FOUNDATION_EXPORT const unsigned char xFrameworkVersionString[];
I do not want to depend on UIKitin my framework. But, if I delete the import, FOUNDATION_EXPORTit will not be found.
- How many of this auto-generated file do I really need?
- Do we need
xFrameworkVersionNumberand xFrameworkVersionString[]in Swift Framework?
I understood from this question what FOUNDATION_EXPORTis kind pubic.
Thank.
source
share