UnityAds 3.4.4 IOS duplicate
NickName:AMeng Ask DateTime:2020-04-22T15:06:30

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(SSRVConnectivityMonitor.o)
/Users/Desktop/UnityAdsTest/ios/Frameworks/Plugins/iOS/UnityAds.framework/UnityAds(UnityAds)

duplicate symbol '_kChinaIsoAlpha2Code' in:

/Users/Desktop/UnityAdsTest/ios/Libraries/libiPhone-lib.a(SSRVSdkProperties.o)
/Users/Desktop/UnityAdsTest/ios/Frameworks/Plugins/iOS/UnityAds.framework/UnityAds(UnityAds)

duplicate symbol '_kChinaIsoAlpha3Code' in:

/Users/Desktop/UnityAdsTest/ios/Libraries/libiPhone-lib.a(SSRVSdkProperties.o)
/Users/Desktop/UnityAdsTest/ios/Frameworks/Plugins/iOS/UnityAds.framework/UnityAds(UnityAds)

ld: 3 duplicate symbols for architecture arm64

I have try create new project, the problem still there. Repeat method:

  1. Create new Unity project.
  2. Import UnityAds from Package Manager, the version update to 3.4.4
  3. build iOS project.
  4. Run in XCode.

I don't enable the UnityAds server, and only one UnityAds.framework file in the XCode. It looks like some content is packed into the libiPhone-lib.a.

Has anyone encountered the same problem?

Copyright Notice:Content Author:「AMeng」,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/61359158/unityads-3-4-4-ios-duplicate

More about “UnityAds 3.4.4 IOS duplicate” related questions

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

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

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

Implement UnityAds Mediation with Admob in Android

I follow this link to integrate UnityAds into Admob via Mediation. But it was not working, whenever I start the video ads, nothing shows at all. If I do not using mediation, and implement UnityAds...

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 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

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

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

Stop the UnityAds Cookie permission seeking

I've just added UnityAds to my app and whilst testing production I noticed instead of an ad, it popped up a request to place cookies on the users device. The SDK integration was fine but is an abso...

Show Detail