XCode7:创建 LLDB 目标时出错
XCode 7: Error creating LLDB target
我在 iOS9 模拟器上的 XCode 7 (7A220) 中收到以下警告:
Warning: Error creating LLDB target at path '***.app'- using an empty LLDB target which can cause slow memory reads from remote devices.
之前在 XCode 6 中为 iOS8 构建了一个项目,没有任何警告,而且我已经检查了所有类似的主题,比如这个:
Xcode - Error creating LLDB target
但它们都归结为一件事:"Change 'Architectures' to 'Standard architectures (armv7, arm64) - $(ARCHS_STANDARD)'"。这一点在Xcode6的一个项目的前一个版本中已经成功完成(所有存在的主题都与上述版本有关):
如有任何建议,我们将不胜感激。
问题也已通过将 arm64
添加到 Valid Architectures
来解决。更多关于 Architectures
和 Valid Architectures
之间的区别是 here.
使用 XCode 8 和 iOS 10,您可能 运行 遇到同样的问题。在调试中为模拟器构建最初在 XCode 6 或 7 中创建的应用程序时出现错误。我的旧设置是 Project -> Architectures -> ONLY_ACTIVE_ARCH -> Debug - yes / Release - no。将 Debug 的值设置为 No 解决了它。不知道是谁或什么添加了 ONLY_ACTIVE_ARCH,但就是这样。
我在 iOS9 模拟器上的 XCode 7 (7A220) 中收到以下警告:
Warning: Error creating LLDB target at path '***.app'- using an empty LLDB target which can cause slow memory reads from remote devices.
之前在 XCode 6 中为 iOS8 构建了一个项目,没有任何警告,而且我已经检查了所有类似的主题,比如这个: Xcode - Error creating LLDB target
但它们都归结为一件事:"Change 'Architectures' to 'Standard architectures (armv7, arm64) - $(ARCHS_STANDARD)'"。这一点在Xcode6的一个项目的前一个版本中已经成功完成(所有存在的主题都与上述版本有关):
如有任何建议,我们将不胜感激。
问题也已通过将 arm64
添加到 Valid Architectures
来解决。更多关于 Architectures
和 Valid Architectures
之间的区别是 here.
使用 XCode 8 和 iOS 10,您可能 运行 遇到同样的问题。在调试中为模拟器构建最初在 XCode 6 或 7 中创建的应用程序时出现错误。我的旧设置是 Project -> Architectures -> ONLY_ACTIVE_ARCH -> Debug - yes / Release - no。将 Debug 的值设置为 No 解决了它。不知道是谁或什么添加了 ONLY_ACTIVE_ARCH,但就是这样。