.dylib file is missing .dylib file is missing ios ios

.dylib file is missing


At last i fixed it.https://forums.developer.apple.com/thread/4572.Add the dylib files into "Other Linker Flags".

enter image description here


Here's what worked for me.

  1. Go into your Targets, Build Phases, "Link Binary with libraries", and click on the + button.

enter image description here

  1. Click on the "Add other..." button

enter image description here

  1. Hit CMD+Shift+G to open the "Go to folder" dialog, and cut'n'paste the folder: /usr/lib

enter image description here

  1. In the top-right search box, type in a section of your "missing" file, which for me, was libsqlite3.dylib, then click on Open.

enter image description here

This should link in the file which was previously missing.

(Tested with Xcode 7.1)


Remove it from "Link Binary with Libraries" fixed my error.