IOS strange error: dyld: Character not found: __dealloc?

I suddenly get the following error, which does not allow the application to run in the simulator. The application just crashes.

dyld: Symbol not found: __dealloc 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 

Please suggest!

+7
ios ios-simulator
source share
4 answers

After several days of struggle, it became known that my OS files were damaged. So, I formatted my machine and reinstalled it with the fresh MAC OS X Mavericks.

Now everything is working fine.

0
source share

As mentioned in the Xcode 6.1 Release Notes , the problem is that you are communicating with new frameworks that have been added to both Yosemite and iOS 8 while running iOS 7.1. Unfortunately, this causes dyld to try to launch the library host version when launched in the iOS 7.1 runtime.

If an application is loosely coupled to frameworks new in the iOS 8 SDK and OS X 10.10 SDK, it may not work if the launch destination is iOS Simulator for older versions of the iOS environment and OS X Yosemite is running on the host system. (17807439)

In addition, this can happen if your iOS 7.1 simulator runtime is not fully installed (for example, due to an interruption in the installation). If this happens, dyld will also return to the host for the missing libraries, if available.

iOS 8.0 and later have their own dyld, which will refuse to host libraries in the host versions and thus prevent this class of problems in the future.

The current version of iOS 7.1, installed by Xcode 6.2 and later, has been updated to solve this problem.

+3
source share

Try to find a typo in the import statement, maybe inport was entered randomly instead?

-one
source share

This is an official bug in Apple tools. These days I came across the same question. Updating to the latest version will be fine.

mac-ruilong: ~ winroot $ xcodebuild -showsdks

OS X SDK:

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

iOS SDK:

 iOS 8.1 -sdk iphoneos8.1 

iOS Simulator SDK:

 Simulator - iOS 8.1 -sdk iphonesimulator8.1 

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

-one
source share

All Articles