‘ld:警告:找不到选项的目录’

编程入门 行业动态 更新时间:2024-10-17 00:20:31
本文介绍了‘ld:警告:找不到选项的目录’的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

当我构建我的 Xcode 4 应用程序时,我收到此警告:

When I'm building my Xcode 4 apps I'm getting this warning:

ld: warning: directory not found for option '-L/Users/frenck/Downloads/apz/../../../Downloads/Google Analytics SDK/Library' ld: warning: directory not found for option '-L/Users/frenck/Downloads/apz/../Google Analytics SDK/Library'

但是我的应用程序中没有 Google Analytics,我删除了所有内容,我该如何消除错误?归档应用程序会给我错误:

But I do not have Google Analytics in my app, I deleted all of it how can I remove the error? And archiving an app gives me the error:

clang: error: no such file or directory: 'armv6' Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

我尝试了很多方法,但在尝试制作 .IPA 文件时仍然出现此错误

I've tried so many things but I'm still getting this error when I'm trying to make an .IPA file

推荐答案

你需要这样做:

  • 点击您的项目(目标)
  • 点击构建设置
    • 如果您的错误包含 -L 标志,则删除图书馆搜索路径
    • 中的值
    • 如果您的错误包含 -F 标志,则删除框架搜索路径
    • 中的值

      关于第二个错误,抱歉我不能帮你解决那个错误.希望其他人可以帮助您.

      And regarding the second error, sorry i can't help you out with that one. Hope someone else can help you out.

  • 更多推荐

    ‘ld:警告:找不到选项的目录’

    本文发布于:2023-07-04 17:15:57,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1026962.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:找不到   选项   目录   ld

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!