iOS weird error: dyld: Symbol not found: __dealloc?

百般思念 提交于 2019-11-29 10:43:14

As mentioned in the Xcode 6.1 Release Notes, the issue is that you are linking against new frameworks that were added to both Yosemite and iOS 8 while running in iOS 7.1. Unfortunately, this causes dyld to try bringing in the host version of the library when running in the iOS 7.1 simulator runtime.

If an app is weak linked against frameworks new in iOS 8 SDK and OS X 10.10 SDK, it may fail to run if the run destination is an iOS Simulator for older iOS runtimes and the host system is running OS X Yosemite. (17807439)

Additionally, this can occur if your iOS 7.1 simulator runtime is not fully installed (eg: due to an interrupted installation). If this occurs, dyld will similarly fall back to the host for the missing libraries if available.

iOS 8.0 and later have their own dyld that will reject pulling in host versions of libraries and thus will prevent this class of problems in the future.

The iOS 7.1 Simulator runtime that is installed by Xcode 6.2 and later was updated to address this issue.

After few days of struggling came to know that, my OS files got corrupted. So, I have formatted my machine and reinstalled with fresh MAC OS X Mavericks.

Now everything works fine.

Try locating a typo in an import statement, perhaps inport was typed accidentally instead?

Ruilong Deng

This is official bug in Apple tools. I came across to the same issue these days. Updating to the latest version will be okay.

mac-ruilong:~ winroot$ xcodebuild -showsdks

OS X SDKs:

OS X 10.9                       -sdk macosx10.9
OS X 10.10                      -sdk macosx10.10

iOS SDKs:

iOS 8.1                         -sdk iphoneos8.1

iOS Simulator SDKs:

Simulator - iOS 8.1             -sdk iphonesimulator8.1

Reference: Xcode 5.1 iOS simulator 7.1 black screen issue ( dyld: Symbol not found: __dealloc )

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!