I am trying to add ads into my Swift 3 SpriteKit game. Specifically, AdColony and Vungle. The problem is that when I import the frameworks that they supply me, nothing works. For Example:
https://i.stack.imgur.com/vtjot.png
Now when I add a bridge Objective-C file and
#import <VungleSDK/VungleSDK.h>
like I was told, I get an error reading:
VSwift-Bridging-Header.m:9:9: 'VungleSDK/VungleSDK.h' file not found
I have tried moving the folder `VungleSDK/VungleSDK.h` but that still did nothing.
Now with AdColony I have imported that but the bridge file is fine. When I try and reference a class in my `.swift` files from the AdColony frameworks folder it reads:
GameOverScene.swift:47:9: Use of unresolved identifier 'AdColony'
I have read/did the AdColony/Vungle tutorials (Vungle: https://v.vungle.com/dashboard/applications/5942ea1625cbbb8e4f002a70/details AdColony: https://github.com/AdColony/AdColony-iOS-SDK-3/wiki/Xcode-Project-Setup#adding-the-framework-to-your-xcode-project) but I can't seem to figure out what is the problem and why I am unable to reference anything. I have also downloaded and ran the test projects by both ad services, and they worked just fine.