.dylib file is missing

前端 未结 6 1988
我寻月下人不归
我寻月下人不归 2021-01-04 02:37

I am trying to compile my project in iOS 9. I am using XCode7. Here is how it looks like: error:

/Applications/Xcode.app/Contents/Developer/Toolchains/Xcode         


        
6条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-04 02:38

    Here's what worked for me.

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

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

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

    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.

    This should link in the file which was previously missing.

    (Tested with Xcode 7.1)

提交回复
热议问题