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:
- Create new Unity project.
- Import UnityAds from Package Manager, the version update to 3.4.4
- build iOS project.
- 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