I've developed an application using Apple Swift but when I try to integrate AdColony in my project when I write this line of code in my AppDelegate.swift:
import AdColony
I receive the error: no module available.
How can I solve this issue? I've followed all the steps in the AdColony guide (also integrating the other frameworks).
Since the AdColony framework is Objective-C-based, you'll need to create a bridging header for your project. Here's Apple’s documentation. You’ll want to look at the section called Importing Objective-C into Swift.
Note that you’ll need to import AdColony using Objective-C syntax in the bridging header file itself, not in your Swift classes:
#import <AdColony/AdColony.h>
Once you’ve accomplished that, the framework will now be visible in any of your Swift classes.