Xcodebuild commad fails


#1

All of a sudden,I got thi serror…Please suggest
Also ,I am unable to open the project in xcode ,it gets closed unexpectedly

Backtrace:
0 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 _DVTAssertionFailureHandler (in DVTFoundation)
4 -[DVTMacroDefinitionTable(XCMacroExpansionExtensions) _xc_setValue:forMacroName:conditionSet:errorHandler:] (in DevToolsCore)
5 -[DVTMacroDefinitionTable(XCMacroExpansionExtensions) _xc_setValue:forMacroName:errorHandler:] (in DevToolsCore)
6 __108-[DVTMacroDefinitionTable(XCMacroExpansionExtensions) xc_setMacroNamesAndValuesFromDictionary:errorHandler:]_block_invoke (in DevToolsCore)
7 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] (in CoreFoundation)
8 -[DVTMacroDefinitionTable(XCMacroExpansionExtensions) xc_setMacroNamesAndValuesFromDictionary:errorHandler:] (in DevToolsCore)
9 +[DVTMacroDefinitionTable(XCProjectArchivingExtensions) xc_macroDefinitionTableFromDictionaryRepresentationForProjectArchiving:usingPropertyDefinitionsFromSpecificationDomain:] (in DevToolsCore)
10 -[PBXBuildStyle _setBuildSettings:] (in DevToolsCore)
11 -[PBXUnarchivingBinding readValueForObject:fromPListUnarchiver:] (in DevToolsCore)
12 -[PBXObject _unarchiveValuesForArchiveMask:fromPListUnarchiver:] (in DevToolsCore)
13 -[PBXObject readFromPListUnarchiver:] (in DevToolsCore)
14 -[PBXBuildStyle readFromPListUnarchiver:] (in DevToolsCore)
15 -[PBXPListUnarchiver _unarchiveObjectWithGlobalIDHexString:] (in DevToolsCore)
16 -[PBXPListUnarchiver _decodeMutableObjectArrayFromPListArray:] (in DevToolsCore)
17 -[PBXPListUnarchiver decodeMutableObjectArrayForKey:] (in DevToolsCore)
18 -[PBXUnarchivingBinding readValueForObject:fromPListUnarchiver:] (in DevToolsCore)
19 -[PBXObject _unarchiveValuesForArchiveMask:fromPListUnarchiver:] (in DevToolsCore)
20 -[PBXObject readFromPListUnarchiver:] (in DevToolsCore)
21 -[PBXPListUnarchiver _unarchiveObjectWithGlobalIDHexString:] (in DevToolsCore)
22 -[PBXPListUnarchiver decodeObjectForKey:] (in DevToolsCore)
23 -[PBXUnarchivingBinding readValueForObject:fromPListUnarchiver:] (in DevToolsCore)
24 -[PBXObject _unarchiveValuesForArchiveMask:fromPListUnarchiver:] (in DevToolsCore)
25 -[PBXObject readFromPListUnarchiver:] (in DevToolsCore)
26 -[PBXPListUnarchiver _unarchiveObjectWithGlobalIDHexString:] (in DevToolsCore)
27 -[PBXPListUnarchiver _decodeMutableObjectArrayFromPListArray:] (in DevToolsCore)
28 -[PBXPListUnarchiver decodeMutableObjectArrayForKey:] (in DevToolsCore)
29 -[PBXUnarchivingBinding readValueForObject:fromPListUnarchiver:] (in DevToolsCore)
30 -[PBXObject _unarchiveValuesForArchiveMask:fromPListUnarchiver:] (in DevToolsCore)
31 -[PBXObject readFromPListUnarchiver:] (in DevToolsCore)
32 -[PBXProject readFromPListUnarchiver:] (in DevToolsCore)
33 -[PBXPListUnarchiver _unarchiveObjectWithGlobalIDHexString:] (in DevToolsCore)
34 -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
35 +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
36 -[Xcode3Project initWithFilePath:extension:workspace:options:error:] (in DevToolsCore)
37 __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke_2 (in IDEFoundation)
38 _dispatch_client_callout (in libdispatch.dylib)
39 _dispatch_queue_barrier_sync_invoke_and_complete (in libdispatch.dylib)
40 DVTDispatchBarrierSync (in DVTFoundation)
41 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
42 __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke (in IDEFoundation)
43 __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke (in DVTFoundation)
44 -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation)
45 -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
46 +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation)
47 +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
48 -[IDEFileReference _recalculateReferencedContainer] (in IDEFoundation)
49 -[IDEFileReference referencedContainer] (in IDEFoundation)
50 -[IDEContainer _resolveFileReference:] (in IDEFoundation)
51 -[_DVTTimeSlicedMainThreadUnorderedUniquingWorkQueue _processWorkItemsWithDeadline:] (in DVTFoundation)
52 -[DVTTimeSlicedMainThreadWorkQueue _processWithDeadline:] (in DVTFoundation)
53 -[_DVTTimeSlicedMainThreadActiveWorkQueues _processWorkQueuesOnDeadline] (in DVTFoundation)
54 __NSFireDelayedPerform (in Foundation)
55 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION (in CoreFoundation)
56 __CFRunLoopDoTimer (in CoreFoundation)
57 __CFRunLoopDoTimers (in CoreFoundation)
58 __CFRunLoopRun (in CoreFoundation)
59 CFRunLoopRunSpecific (in CoreFoundation)
60 +[DVTKVOConditionValidator waitForCondition:sourceObject:keyPathAffectingConditionBlock:timeout:] (in DVTFoundation)
61 -[Xcode3CommandLineBuildTool _resolveInputOptionsWithTimingSection:] (in Xcode3Core)
62 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
63 main (in xcodebuild)
64 start (in libdyld.dylib)
Unable to apply changes on device: b93a3d279928c3cf9d28935eae582b361cac8606. Error is: Command xcodebuild failed with exit code null.