本文介绍了带有弱链接的新框架在优胜美地上运行的iOS Simulator 7.1崩溃(未找到符号:_objc_isAuto)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更新到xCode 6.1,不得不重新安装我的iOS 7模拟器.

I have just updated to xCode 6.1 and had to reinstall my iOS 7 simulators.

除了5s iOS 7.1 SIM卡之外,我还可以在所有模拟器上运行我的应用程序.我遇到了崩溃

I can run my app on all the simulators apart from the 5s iOS 7.1 sim.I get this crash

dyld: Symbol not found: _objc_isAuto
  Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
  Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libobjc.A.dylib
 in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(lldb)

有什么作用?有什么想法为什么这个SIM卡会崩溃?

What gives? Any ideas why this sim crashes?

谢谢

推荐答案

如果您是针对iOS 8.x SDK构建项目的,并且无法轻松链接iOS 8.x的新框架,则可能会发生此问题.可以在OS X 10.10中使用,并且可以在iOS 7.1模拟器中运行.

This issue can occur if you are building your project against the iOS 8.x SDKs and are weak linking a framework that is new to iOS 8.x and also present in OS X 10.10 and you run in the iOS 7.1 simulator.

Xcode 6.1发行说明提到了此问题:

此问题已在更新的iOS 7.1模拟器运行时中得到解决,该更新可以从Xcode 6.2 beta 4及更高版本下载(我认为beta3可能也起作用).

The issue is resolved in the updates iOS 7.1 simulator runtime that can be downloaded from Xcode 6.2 beta 4 an later (and I think possibly beta3 worked as well).

这篇关于带有弱链接的新框架在优胜美地上运行的iOS Simulator 7.1崩溃(未找到符号:_objc_isAuto)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 18:27