Directory not found for option '-L/Users/…/TestFlightSDK1.1'

独自空忆成欢 提交于 2019-12-01 21:30:42

Happened to me after upgrading to Testflight SDK2. In Build Settings, I looked into "Library Search Paths" and there was still a reference to the SDK1. I did it for each Target (main and test), and build for main target and ran tests, and the error disappeared.

i don't know how it solved yet. I removed some of my Third Party Libraries and again i added them. I did the same in Link Binary With Libraries in Build Phases, removed some of the libraries which is used by Third Party Libraries. It worked fine.

Remove the Dir from Library Search Paths from Build Settings

  1. Set the Project
  2. Click on Build Settings.
  3. Search for Library Search Paths.
  4. Remove Invalid dir path from list.
  5. Clean Project.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!