xcode 找不到选项“-L/Users/..../TestFlightSDK1.1”的目录

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13723074/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 02:15:02  来源:igfitidea点击:

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

iosxcodetestflight

提问by arthankamal

I am trying to archive my Xcode project, but its giving some warning like this:

我正在尝试归档我的 Xcode 项目,但它给出了一些警告,如下所示:

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

找不到选项“-L/Users/..../TestFlightSDK1.1”的目录

It won't be there in that path, I removed that Folder from my project. I've tried all answers in Stackoverflow, but its not working.

它不会在那个路径中,我从我的项目中删除了那个文件夹。我已经在 Stackoverflow 中尝试了所有答案,但它不起作用。

  • I cleaned my project
  • I deleted all values in my Target -> Build Settings -> Library Search Paths and Header SearchPaths
  • I looked onto my project.pbxproj
  • 我清理了我的项目
  • 我删除了我的所有值 Target -> Build Settings -> Library Search Paths and Header SearchPaths
  • 我看着我的 project.pbxproj

But I didn't found any sign TestFlightSDK1.1

但我没有发现任何迹象 TestFlightSDK1.1

How can I solve that warning?

我该如何解决该警告?

采纳答案by arthankamal

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 Librariesin Build Phases, removed some of the librarieswhich is used by Third Party Libraries. It worked fine.

我还不知道它是如何解决的。我删除了一些第三方库,然后再次添加了它们。我在 inLink Binary With Libraries中做了同样的事情Build Phases,删除了libraries第三方库使用的一些。它工作得很好。

回答by Nycen

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.

升级到 Testflight SDK2 后发生在我身上。在构建设置中,我查看了“库搜索路径”,仍然有对 SDK1 的引用。我为每个目标(主要和测试)都做了,并为主要目标构建并运行测试,错误消失了。

回答by Kirit Vaghela

Remove the Dir from Library Search Pathsfrom 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.
  1. 设置项目
  2. 单击构建设置。
  3. 搜索库搜索路径。
  4. 从列表中删除无效的目录路径。
  5. 清洁项目。