ios - Xcode 7 : linker command failed with exit code 1 (use -v to see invocation) again

标签 ios xcode ios9 xcode7

我正在 Xcode 7 的 iOS 模拟器上测试我的应用程序,一切正常,但是当我尝试在我的 iOSDevice(带有 iOS 9 的 iPhone 5S)中进行测试时。 我今天 (09/16/2015) 更新了 xcode 7 和 iOS9,在此之前,iOS 8.4 运行良好。

OBS:Xcode 项目上的 iOS Deployment 目标是 iOS 9。

我已经试过了: http://twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-project-with-xcode-4/就像这篇文章中的建议: clang: error: linker command failed with exit code 1 (use -v to see invocation) when doing unit test on xcode但不起作用。

这篇文章的作者刚刚创建了一个新项目: xCode 7: linker command failed with exit code 1 (use -v to see invocation)但这对我来说不是解决方案,因为我的项目很大。

最佳答案

解决这个问题:

  1. 转到您的项目设置页面
  2. 选择您的项目(左侧)
  3. 单击“build设置”选项卡
  4. 搜索“比特码”
  5. 将“启用位码”设置为“否”

关于ios - Xcode 7 : linker command failed with exit code 1 (use -v to see invocation) again,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32623130/

相关文章:

ios - OpenEars 语音识别将其他单词检测为正确单词

ios - 如何使 preferredStatusBarStyle 成为一个函数

javascript - 如何重定向到 Safari 中的 ios 设置在 ios9 中使用 javascript

ios - UIButton 上的操作不起作用

ios - Swift 4.1 类属性和子字符串前缀为 'some' (Xcode 9.3)

ios - Xcode 错误 : Outlets cannot be connected to repeating content

ios - -[UIApplication _runWithMainScene :transitionContext:completion:], 中的断言失败

ios - setStatusBarHidden(_ :withAnimation:) deprecated in iOS 9

ios - iOS 上的 Worklight 6.2 JSONStore 问题

xcode - Command/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp 失败,退出代码为 1