Thanks but unfortunately I'm not able to get that to work.
In the sample project, adding @import TestPackage;
to AnimalFactory.h leads to the compile error module 'TestPackage' not found
. It always works in the implementation file though.
This has been my experience in the past too. Importing Objective-C packages seems ok. I believe the problem is specific to importing swift packages to ObjC headers.