I am developing an framework project which is initailly developed in objective-c and for new changes we are started making in swift.
I have just created an header which have only enum declaration in objective-c. I am able to access it in swift file from framework target.
But when I try to compile the unit test target, I am getting a wired error saying
"Cannot find type 'CertificateType' in scope"
.
Any Suggestion on this to fix the issue?
#ifndef CertificateType_h
#define CertificateType_h
typedef NS_ENUM(NSInteger, CertificateType) {
CertificatePaid = 0,
CertificateFree = 1,
CertificateTrial = 2,
CertificateUnknown = 15
};
#endif /* CertificateType_h */
Since it is already available SDK, I am unable to convert this into swift.