Duplicate dylib warning in xcode

好久不见. 提交于 2019-12-01 12:49:55

问题


I received this warning after adding the flurry api:

ld: warning: duplicate dylib /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/lib/system/libSystem.host.dylib

I do not understand what I have to do to get rid of this. Any hints would be real helpful.

thanks


回答1:


Well you need to find that duplicate file first,You are having that file more than once thats why its happening , and then delete that file and moreover also delete the app from the simulator.Remove the build,clean the targets and then run your app.Hope it would help you dear..... Have a great time and coding bro....




回答2:


Check your target compile resources and bundle resources for duplicate objects.



来源:https://stackoverflow.com/questions/4536487/duplicate-dylib-warning-in-xcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!