dyld isuess (Library not loaded)

北战南征 提交于 2019-12-22 05:35:12

问题


I have this message when I build my project:

dyld: Library not loaded:

@rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
  Referenced from: /Users/dev01/mobile/ios/Test/test/testTests/FoneMonkey/bin/iphonesim
  Reason: image not found

This is dynamic link error and as I understand correct this error came because image not found. is this correct?

What steps should be taken to resolve errors?

I have found this link and as I understad this error came because I use xcode 4.3. Now I have try this on 4.2 and everething work good.

But I not have any idea how to run it on XCode 4.3


回答1:


Maybe you have this problem after adding new library and you linked it in actual framework path, if you drag this library in embeded framework path then problem will solve. Another variant is that in build scheme you have enabled memory managment malloc, if you turn it off problem will be solved.




回答2:


Check your SDK project settings (i.e. when passing from SDK 6.x to 7.x) maybe one of library was not compiled for architecture and project target. And the paths. Clean DerivedData and delete app from simulator (if it is there). If you still need the Sdk just copy it from Xcode 4.6.(3) both for device and simulator and see if this solve your problem.



来源:https://stackoverflow.com/questions/10386731/dyld-isuess-library-not-loaded

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