adding UnityAds to my Swift game project
NickName:Naeim Salib Ask DateTime:2016-11-12T06:59:04

adding UnityAds to my Swift game project

i am trying to ad Video reward ads using UnityAds to my swift game project , so i copied the sdk and the bundle to my project and then went to my gameviewcontroller file and added

import UnityAds 

but i keep getting an error saying no such module 'UnityAds'

so i tried adding a bridge to my project and named it bridge.h and added this line of code to it

#import <UnityAds/UnityAds.h>

and it still doesn't work , and i feel i am missing something but can't find what it is, can someone help me please

Copyright Notice:Content Author:「Naeim Salib」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/40557510/adding-unityads-to-my-swift-game-project

More about “adding UnityAds to my Swift game project” related questions

adding UnityAds to my Swift game project

i am trying to ad Video reward ads using UnityAds to my swift game project , so i copied the sdk and the bundle to my project and then went to my gameviewcontroller file and added import UnityAds ...

Show Detail

UnityAds generated iOS project error

I'm using UnityAds for an iOS/Android game and when generating the Xcode project for iOS I get the following compiler errors related to UnityAdsWrapper.mm, a file generated by Unity /ProjectDir/Bu...

Show Detail

UnityAds in iOS using wrong game id, and not working

I am using UnityAds in my mobile game, to show a banner and a rewarded video. In the editor and in Andorid works fine. However for iOS it doesn't work, i took the logs and i noticed that for iOS is

Show Detail

UnityAds isReady() always returns false

I am facing an issue while integrating the Unity ads. My requirement is that after few free game plays user should go through an ad on next game launch and then he can play the game. But when i che...

Show Detail

UnityAds works only in editor

I am making a mobile game with unity and I plan to use UnityAds for monetization. I imported the "Unity Monetization 3.1.0" package from the asset store. When I run it in unity it looks like everyt...

Show Detail

UnityAds 3.4.4 IOS duplicate

I'm using Unity 2019.3.2f1 and, after updating UnityAds to 3.4.4, there are some errors. duplicate symbol '_NetworkChange' in: /Users/Desktop/UnityAdsTest/ios/Libraries/libiPhone-lib.a(

Show Detail

Could not find :UnityAds:. Required by: project :app > project

I am new to Unity and I am trying to import and embed a unity project into an existing android project. I have read and followed tutorials but I keep getting an error Could not find :UnityAds:. Req...

Show Detail

how to integrate UnityAds SDK in swift?

When I call UnityAds.startWithGameId("") in the AppDelegate under: application(application: UIApplication, didFinishLaunchingWithOptions I get this error: 'UnityAds' does not conform to protocol '

Show Detail

How to Limit UnityAds and Know if a user has clicked and Installed an app through an Ad?

I am developing an game in Unity Engine and I'm almost done implementing UnityAds in my game. But now i wanted to know that how to limit UnityAds Per User and Per Day. And How to know if a user has

Show Detail

Cannot call show method in UnityAds Using SwiftUi

I am trying to show unity ads in my ios project. I am using SwiftUI (Not AppDelegate, not Storyboard). There are not much examples on the web, and the little of them there are old and does not supp...

Show Detail