duplicate symbol linker error due to libWeANDSFLibrary.a(ASIReachability.o)

前端 未结 2 922
死守一世寂寞
死守一世寂寞 2021-01-22 07:19

I am using ASI (ASIHTTPRequest, ASIDownloadCache, Reachability etc) request. Now in my project, I am using reachabi

相关标签:
2条回答
  • 2021-01-22 07:54

    You may be included that files twice in your project so you should remove any one from the project its all because both getting compiled . Choose project--> go to Build Phases--> Type filename which showing it as error and check whether ho many files are there with same name and choose then remove any one from the list

    enter image description here

    0 讨论(0)
  • 2021-01-22 07:56

    You've receive duplicate symbol error. So you've to search this string _kConnectionDown, _kReachabilityChangedNotification, _kLocalWiFiConnection, _kInternetConnection, and remove duplication from files. I think, you may import Reachability class twice, one from libWeANDSFLibrary.a and another from ASI. Check this. Hope, help you.

    0 讨论(0)
提交回复
热议问题