Closed markstickley closed 9 years ago
I figured it out - I was relying on <Foundation/Foundation.h> being already loaded in the framework.
Adding
#import <Foundation/Foundation.h>
...before importing the framework in the bridging header fixed it.
Now I'm just struggling with a category that's not registering but that's something else entirely!
Cheers.
Hi folks, I know it's not really an issue with this project but I've been googling for a few days now, on and off, and I'm getting no joy. Perhaps you can help?
I've been using iOS-Universal-Framework to distribute a framework for some time now and it has been great (thanks!) but now I'm testing how the framework works with Swift projects and it's not going so well.
I've created a bridging header and in there I'm importing a header file in the framework that imports all the other files necessary. This seems to work as autocomplete is working within the Swift project. The issue is on compiling where I get hundreds of errors like this:
...to give just a few examples!
Has anyone seen anything like this an possibly know how to fix it?
Thanks!