Saturday, 16.12.2017, 18:41
| RSS

Engineer M DevelopmentMA

Главная » 2015 » March » 18 » Xcode 6.2 crashing when running the project
Xcode 6.2 crashing when running the project
07:15

How to resolve a Xcode crash - try to read more carefully a crash report. There you can find more answers. Below you can find a report for my issue. Every time when I tried to run project the Xcode crashed. After one week I decide to fix it. In the report I found this line [__NSCFBoolean length], which is saying me that somewhere I try to get a length of boolean but this method most implemented for NSString, NSData & etc. I continued to read report and at next line exist this tip UserInfo: (null). OH!!! It's look like the Xcode is trying to parse Info.plist file. I opened Info.plist file and found a key 'Bundle display name' with type Boolean and value NO. I removed it and it works NOW. 

Xcode is wonderful IDE but bugs kill your mind :)....

Process:               Xcode [2923]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.2 (6776)
Build Info:            IDEFrameworks-6776000000000000~11
App Item ID:           497799835
App External ID:       811890240
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [2923]
User ID:               502

Date/Time:             2015-03-17 22:10:44.946 -0700
OS Version:            Mac OS X 10.10.2 (14C1510)
Report Version:        11
Anonymous UUID:        B31B9CB2-F37C-EABE-425A-C01EEFD8AF9B

Sleep/Wake UUID:       5E3D9FA6-D1EA-4C15-9534-1E3B4A218035

Time Awake Since Boot: 49000 seconds
Time Since Wake:       6500 seconds

Crashed Thread:        20  Dispatch queue: Device Install Queue

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 6C131e
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSCFBoolean length]: unrecognized selector sent to instance 0x7fff79a886d8
UserInfo: (null)
Hints: None
Backtrace:
  0  0x00007fff8f527654 __exceptionPreprocess (in CoreFoundation)
  1  0x0000000108b6c764 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff8f96b76e objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff8f52a6dd -[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
  4  0x00007fff8f471aa4 ___forwarding___ (in CoreFoundation)
  5  0x00007fff8f471618 _CF_forwarding_prep_0 (in CoreFoundation)
  6  0x00007fff96e15c91 _LSBundleCopyLocalizedName (in LaunchServices)
  7  0x00007fff96e7914f _LSCopyNodeAttribute_DisplayNameIfDifferentFromFSNameWithLanguage(LSNodeAttributeStateCache*, __CFString const*) (in LaunchServices)
  8  0x00007fff96e7798d _LSCopyNodeAttributes (in LaunchServices)
  9  0x00007fff96e7eb23 _LSCopyItemAttributesForRefInfoWithOptionsCommon(LSExtendedFSRefInfo const*, unsigned int, __CFArray const*, unsigned int, __CFDictionary const**) (in LaunchServices)
 10  0x00007fff96e053e3 _LSCopyItemAttributeForRefInfoWithOptions (in LaunchServices)
 11  0x00007fff96e052de prepareAttributeValueForKey(__CFURL const*, __FileCache*, __CFString const*, void const**, __CFError**) (in LaunchServices)
 12  0x00007fff96e09284 prepareDistinctLocalizedNameValue(__CFURL const*, __FileCache*, __CFError**) (in LaunchServices)
 13  0x00007fff96dfe2e6 LSPropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) (in LaunchServices)
 14  0x00007fff8eb4074f prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) (in CoreServicesInternal)
 15  0x00007fff8eb3e0ea _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) (in CoreServicesInternal)
 16  0x00007fff8f42206b CFURLCopyResourcePropertyForKey (in CoreFoundation)
 17  0x00007fff8f429f5e -[NSURL getResourceValue:forKey:error:] (in CoreFoundation)
 18  0x00007fff93699723 -[NSFileManager displayNameAtPath:] (in Foundation)
 19  0x0000000112e3d88f __114-[DVTiOSDevice(DVTiPhoneApplicationInstallation) _installApplicationsImpl:allowReplacing:options:completionBlock:]_block_invoke (in IDEiOSSupportCore)
 20  0x0000000108ba311c __DVTDispatchAsync_block_invoke (in DVTFoundation)
 21  0x00007fff8a93b323 _dispatch_call_block_and_release (in libdispatch.dylib)
 22  0x00007fff8a936c13 _dispatch_client_callout (in libdispatch.dylib)
 23  0x00007fff8a93a365 _dispatch_queue_drain (in libdispatch.dylib)
 24  0x00007fff8a93becc _dispatch_queue_invoke (in libdispatch.dylib)
 25  0x00007fff8a9396b7 _dispatch_root_queue_drain (in libdispatch.dylib)
 26  0x00007fff8a947fe4 _dispatch_worker_thread3 (in libdispatch.dylib)
 27  0x00007fff8f819637 _pthread_wqthread (in libsystem_pthread.dylib)
 28  0x00007fff8f81740d start_wqthread (in libsystem_pthread.dylib)
 
abort() called

Категория: Lessons | Просмотров: 1563 | Добавил: admin | Рейтинг: 0.0/0 |
Всего комментариев: 0
Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Меню сайта
Разделы новостей
Concept Software [2]
Programs are planned or under construction.
Software [10]
Release Software
Lessons [12]
About Me [1]
Infa about yourself, documents, certificates ...
Documentation [4]
Documentation of projects
Календарь новостей
«  March 2015  »
SuMoTuWeThFrSa
1234567
891011121314
15161718192021
22232425262728
293031
Поиск
Друзья сайта
Статистика
Copyright Macarov Anatoli © 2017
Free website builderuCoz