‘ld:警告:找不到选项的目录’ [英] ‘ld: warning: directory not found for option’

查看:39
本文介绍了‘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

推荐答案

你需要这样做:

  1. 点击您的项目(目标)
  2. 点击构建设置
    • 如果您的错误包含 -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:警告:找不到选项的目录’的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆