Hi All,
Currently i have created a framework in swift. I have exposed severeal public classes. The
I have 3 framework packages
packageA - APIS (Class A, Class B, Class C, Class D)
packageB - all abstract code is their.
packageC - All configs
packageA dependent on packageB
packageC dependent on packageB
In swift application code.
I am importing packageA, packageC.
For below below statements i am getting compiler error Saying "Class A Class is unavailable: Cannot find swift declaration for this Class".
Class A.testFunc("test2")
If we build these packages for only simulator architectures and integrate with a swift Application. Its all working fine without any compiler errors.
Suppose if i build the above 3 packages including device architectures i am getting a compiler error Saying "Class A Class is unavailable: Cannot find swift declaration for this file".
In all cases Its working if i integrate to an application written in Objective-c application !