Xcode Project can not find .framework classes to import

129 Views Asked by At

I am working on a project, that reads the bank cards. The card reader company provided a .framework SDK but does not provide any technical support.

I search on Google and find out how to add .framework into the project. I followed the following steps.

  1. Drag and drop the framework file into the project folder.
  2. Adding the framework into Build Setting -> Link Binary With Liberaries.
  3. Adding the Framework Search Path into Build Settings.

After cleaning the project and rebuild still the framework classes are unknown to my project.

Do I miss something? or I am going on the wrong way.

My project is on Swift and the framework is on Objective-C.

1

There are 1 best solutions below

2
On

You need use bridge header and there you need to import your Objective C framework.