I visited these links -
MyClass is unavailable: cannot find Swift declaration for this class - free assembly only
Adding a related or embedded Swift Framework: "MyClass" is unavailable: cannot find Swift declaration for this class
Swift: Using Private Infrastructure
But none of the above links helped me solve my problem.
I am developing the application using objective-c, in the application I integrate ios-charts , whose structure is developed in swift.I have combined the project specified in the README file. After integration, I created the MyClass.swift file and then inherited the MyClass.swift file with the class that is defined in charts.framework. But it causes an error
charts.framework
Class is not available: cannot find Swift declaration for this class
Does anyone help solve this error? Any suggestions?
, . , . . , .
, " Generic iOS Device", .
@objc infront MyClass (.. @objc MyClass {...})
, MyClass, "MyFramework", , "MyClass" . , iOS , , , . , .