Ali Qaderi
Ali Qaderi

Reputation: 471

Xcode Project can not find .framework classes to import

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.

Upvotes: 0

Views: 150

Answers (1)

Abhishek Mitra
Abhishek Mitra

Reputation: 3395

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

Upvotes: 0

Related Questions