Xcode 7:链接器命令失败,退出代码1(再次使用-v查看调用) [英] Xcode 7: linker command failed with exit code 1 (use -v to see invocation) again

查看:102
本文介绍了Xcode 7:链接器命令失败,退出代码1(再次使用-v查看调用)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xcode 7的iOS模拟器上测试我的应用程序和它的正常o,但是当我在我的iOSDevice(带有iOS 9的iPhone 5S)中尝试测试时。
我今天更新了xcode 7和iOS9(2015年9月16日),之前iOS 8.4工作正常。

Im testing my app on iOS simulator of Xcode 7 and its all right o, but when i try test in my iOSDevice (a iPhone 5S with iOS 9). I updated the xcode 7 and iOS9 today (09/16/2015) and before that with iOS 8.4 was working fine.

OBS:iOS部署目标在Xcode项目上是iOS 9。

OBS: The iOS Deployment target on Xcode project is iOS 9.

我已经尝试过:
http://twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-与此帖子中建议的project-with-xcode-4 /
clang:错误:链接器命令失败,退出代码1(使用-v查看调用)在xcode上进行单元测试时但没有工作。

I already try this: http://twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-project-with-xcode-4/ like suggested in this post: clang: error: linker command failed with exit code 1 (use -v to see invocation) when doing unit test on xcode but doesn't work.

这篇文章的人刚刚创建了一个新项目:
xCode 7:链接器命令失败,退出代码为1(使用-v查看invocatio n)但不是我的解决方案,因为我的项目很庞大。

The guy of this post, just created a new project: xCode 7: linker command failed with exit code 1 (use -v to see invocation) But is not a solution to me, because my project is huge.

推荐答案

要解决这个问题:


  1. 转到项目设置页面

  2. 选择项目(左侧)

  3. 单击构建设置选项卡

  4. 搜索Bitcode

  5. 将启用Bitcode设置为否

  1. Go to your project setting page
  2. Select your project (left side)
  3. Click the "Build Settings" tab
  4. Search "Bitcode"
  5. Set "Enable Bitcode" to "No"

这篇关于Xcode 7:链接器命令失败,退出代码1(再次使用-v查看调用)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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