Xcode 7 beta 3 crashing on any project couple of seconds after startup

Started happening adter I upgraded to 10.10.4


Process: Xcode [2769]

Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode

Identifier: com.apple.dt.Xcode

Version: 7.0 (8163.8)

Build Info: IDEFrameworks-8163008000000000~7

Code Type: X86-64 (Native)

Parent Process: ??? [1]

Responsible: Xcode [2769]

User ID: 502



Date/Time: 2015-07-18 12:01:56.002 +0200

OS Version: Mac OS X 10.10.4 (14E46)

Report Version: 11

Anonymous UUID: DAA99EF5-57E4-C068-392E-CD234024A8BD





Time Awake Since Boot: 3700 seconds



Crashed Thread: 26



Exception Type: EXC_BREAKPOINT (SIGTRAP)

Exception Codes: 0x0000000000000002, 0x0000000000000000



Application Specific Information:

ProductBuildVersion: 7A152u



Dyld Error Message:

Symbol not found: _MISProvisioningProfileGetTeamIdentifier

Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/../../../../SharedFrameworks/DTDeviceKitBase.framework/Versions/A/DTDeviceKitBase

Expected in: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice



Thread 0:: Dispatch queue: DVTFilePath cache derivation lock for key DVTFilePathKey_IDEConservativeSupersetOfAssetTagCombinations

0 com.apple.dt.DVTFoundation 0x000000010bdb84c6 -[DVTFilePath cachedValueForKey:] + 660

1 com.apple.dt.DVTFoundation 0x000000010bf102d6 -[DVTFilePath isDirectory] + 19

2 com.apple.dt.IDE.IBBuildSupport 0x0000000126989282 -[IBICPropagatingAssetCatalogTagScanner buildEntryForFilePath:withLocalNamespace:isIsolated:] + 1176

3 com.apple.dt.IDE.IBBuildSupport 0x0000000126988bc5 -[IBICPropagatingAssetCatalogTagScanner initWithFilePath:] + 361

4 com.apple.dt.IDE.IBBuildSupport 0x000000012698aba1 +[IBICPropagatingAssetCatalogTagScanner scanForTagCombinationsInContentsOfPath:] + 69

5 com.apple.dt.IDEFoundation 0x000000010cba2e7f IDEAssetTagScannerDerivationFunction + 482

6 com.apple.dt.DVTFoundation 0x000000010bf106f0 __33-[DVTFilePath cachedValueForKey:]_block_invoke544 + 178

7 libdispatch.dylib 0x00007fff8d581c13 _dispatch_client_callout + 8

8 libdispatch.dylib 0x00007fff8d582e5e _dispatch_barrier_sync_f_invoke + 57

9 com.apple.dt.DVTFoundation 0x000000010c004a65 DVTDispatchBarrierSync + 62

10 com.apple.dt.DVTFoundation 0x000000010bdb0a57 -[DVTDispatchLock performLockedBlock:] + 116

11 com.apple.dt.DVTFoundation 0x000000010bdb893c -[DVTFilePath cachedValueForKey:] + 1802

12 com.apple.Xcode.DevToolsCore 0x00000001178368ad -[XCBuildFileRefDGSnapshot initWithInformationFromBuildFile:fileReference:groupReference:forTargetSnapshot:withResolver:] + 3333

13 com.apple.Xcode.DevToolsCore 0x00000001178113c1 -[XCBuildPhaseDGSnapshot initWithInformationFromBuildPhase:forTargetSnapshot:withResolver:] + 1142

14 com.apple.Xcode.DevToolsCore 0x000000011781c2bb -[XCResourcesBuildPhaseDGSnapshot initWithInformationFromBuildPhase:forTargetSnapshot:withResolver:] + 115

15 com.apple.Xcode.DevToolsCore 0x00000001176a19b8 -[PBXBuildPhase createDependencyGraphSnapshotForTargetSnapshot:withResolver:] + 103

16 com.apple.Xcode.DevToolsCore 0x00000001176a1a25 -[PBXBuildPhase createDependencyGraphSnapshotsForTargetSnapshot:withResolver:] + 65

17 com.apple.Xcode.DevToolsCore 0x0000000117805b26 -[XCTargetDGSnapshot initWithInformationFromTarget:withBuildParameters:] + 11177

18 com.apple.Xcode.DevToolsCore 0x000000011780c559 -[XCNativeTargetDGSnapshot initWithInformationFromTarget:withBuildParameters:] + 68

19 com.apple.Xcode.DevToolsCore 0x0000000117692d3e -[PBXTarget createDependencyGraphSnapshotWithTargetBuildParameters:] + 113

20 com.apple.Xcode.DevToolsCore 0x000000011768ca5c -[PBXTarget propagateTargetSnapshotIfNeededWithCompletionBlock:] + 642

21 com.apple.Xcode.DevToolsCore 0x0000000117694ea1 -[PBXTarget(XCBuildables) prepareForBuildingWithBuildParameters:withBuildOperationContext:] + 805

22 com.apple.Xcode.DevToolsCore 0x0000000117895eeb -[Xcode3TargetBuildableSnapshot prepareForBuildingForBuilder:] + 334

23 com.apple.dt.IDEFoundation 0x000000010cabe20a -[IDEBuilder prepareForBuilding] + 57

24 com.apple.dt.IDEFoundation 0x000000010c9eda04 -[IDEBuildOperation start] + 4686

25 com.apple.Foundation 0x00007fff9939fd00 __NSThreadPerformPerform + 293

26 com.apple.CoreFoundation 0x00007fff8d267a01 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17

27 com.apple.CoreFoundation 0x00007fff8d259b8d __CFRunLoopDoSources0 + 269

28 com.apple.CoreFoundation 0x00007fff8d2591bf __CFRunLoopRun + 927

29 com.apple.CoreFoundation 0x00007fff8d258bd8 CFRunLoopRunSpecific + 296

30 com.apple.HIToolbox 0x00007fff93fc056f RunCurrentEventLoopInMode + 235

31 com.apple.HIToolbox 0x00007fff93fc02ea ReceiveNextEventCommon + 431

32 com.apple.HIToolbox 0x00007fff93fc012b _BlockUntilNextEventMatchingListInModeWithFilter + 71

33 com.apple.AppKit 0x00007fff8b8f88ab _DPSNextEvent + 978

34 com.apple.AppKit 0x00007fff8b8f7e58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346

35 com.apple.dt.DVTKit 0x000000010c5835fe -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 247

36 com.apple.AppKit 0x00007fff8b8edaf3 -[NSApplication run] + 594

37 com.apple.AppKit 0x00007fff8b86a244 NSApplicationMain + 1832

38 libdyld.dylib 0x00007fff8dce75c9 start + 1

Same with me , Hope that Apple comes with fix !

What I don't get is that it was working perfectly on thursday, today I came in and ran into the issue.


I even tried deleting all my accounts from the accounts tab, deleting settings, reinstalling xcode: nothing.


Here's my crash log, (and added thread 23, since that's the one that crashed).


Process:               Xcode [1164]
Path:                  /Applications/Xcode-beta.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               7.0 (8163.8)
Build Info:            IDEFrameworks-8163008000000000~7
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [1164]
User ID:               501
Date/Time:             2015-07-20 11:37:22.942 -0700
OS Version:            Mac OS X 10.10.4 (14E46)
Report Version:        11
Anonymous UUID:        B1912AA8-07BB-D66A-EDBC-6A5530CC3963
Time Awake Since Boot: 710 seconds
Crashed Thread:        23
Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 7A152u
Dyld Error Message:
  Symbol not found: _MISProvisioningProfileGetTeamIdentifier
  Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/../../../../SharedFrameworks/DTDeviceKitBase.framework/Versions/A/DTDeviceKitBase
  Expected in: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
Thread 23 Crashed:
0   dyld                           0x00007fff6579e075 dyld_fatal_error + 1
1   dyld                           0x00007fff657a1241 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 180
2   libdyld.dylib                 0x00007fff93cc23ba dyld_stub_binder + 282
3   ???                           0x000000010cc3d008 0 + 4509126664
4   com.apple.dt.DVTFoundation     0x0000000100dd6168 _DVTCodesignResolverCompareProfiles + 403
5   com.apple.dt.DVTFoundation     0x0000000100dd5fc1 __116+[DVTCodesignResolver parametersForInputs:applicableSigningIdentityCertificates:profileManager:logAspect:withError:]_block_invoke_2639 + 33
6   com.apple.CoreFoundation       0x00007fff8f4f727b __CFSimpleMergeSort + 75
7   com.apple.CoreFoundation       0x00007fff8f4f7318 __CFSimpleMergeSort + 232
8   com.apple.CoreFoundation       0x00007fff8f4f71f5 CFSortIndexes + 549
9   com.apple.CoreFoundation       0x00007fff8f502a6a -[NSArray sortedArrayFromRange:options:usingComparator:] + 442
10  com.apple.dt.DVTFoundation     0x0000000100dd43e8 +[DVTCodesignResolver parametersForInputs:applicableSigningIdentityCertificates:profileManager:logAspect:withError:] + 4394
11  com.apple.dt.DVTFoundation     0x0000000100dd23fb +[DVTCodesignResolver parametersForInputs:limitSearchToKeychain:certificateUtilities:withError:] + 373
12  com.apple.Xcode.DevToolsCore   0x000000010c728035 +[XCCodeSignContext codesignParameterSnapshotWithMacroExpansionScope:emitWarnings:certificateUtilities:error:] + 2710
13  com.apple.dt.IDE.IDEiOSSupportCore 0x000000010cb16878 +[XCiPhoneSimulatorCodeSignContext prepareForCodeSigningWithMacroExpansionScope:certificateUtilities:] + 213
14  com.apple.Xcode.DevToolsCore   0x000000010c691937 -[XCProductTypeSpecification computeDependenciesWithMacroExpansionScope:] + 1640
15  com.apple.Xcode.DevToolsCore   0x000000010c73b06a -[XCNativeTargetDGSnapshot(DependencyGraphCreation) computeDependenciesWithMacroExpansionScope:] + 3515
16  com.apple.Xcode.DevToolsCore   0x000000010c60efcd -[PBXTargetBuildContext createDependencyGraphWithTargetDGSnapshot:] + 4185
17  com.apple.Xcode.DevToolsCore   0x000000010c62b187 -[PBXTargetBuildContext(DependencyGraphEvents) dg_setTargetSnapshot:] + 514
18  com.apple.Xcode.DevToolsCore   0x000000010c62a84c -[PBXTargetBuildContext(DependencyGraphEvents) processDependencyGraphEvents] + 267
19  com.apple.Xcode.DevToolsCore   0x000000010c689765 -[XCBlockQueue _processNextBlockInThreadSlotNumber:] + 241
20  com.apple.Xcode.DevToolsCore   0x000000010c6899e7 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 247
21  com.apple.Foundation           0x00007fff848eedc2 __NSThread__main__ + 1345
22  libsystem_pthread.dylib       0x00007fff8c59e268 _pthread_body + 131
23  libsystem_pthread.dylib       0x00007fff8c59e1e5 _pthread_start + 176
24  libsystem_pthread.dylib       0x00007fff8c59c41d thread_start + 13

Happening to me, too.


Dyld Error Message:
  Symbol not found: _MISProvisioningProfileGetTeamIdentifier
  Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/../../../../SharedFrameworks/DTDeviceKitBase.framework/Versions/A/DTDeviceKitBase
  Expected in: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice

I have exactly the same issue.

I have same issue.

I fixed the problem by the follwing steps.


1. Create new Mac user

2. Login to Mac by the user

3. Open Xcode-beta. Mac will start reinstall xcode programs to system.

4. Logout and login by original user. Launch Xcode-beta

Many have found this issue to be related to SCM. There are various (seperately effective) solutions:


Remove ~/Library/Preferences/com.apple.dt.Xcode.plist. This file is then recreated by Xcode.


Open the project with a previous version of Xcode and in the Preferences -> Accounts, remove all the repositories/source control credentails you have there. This will fix the error while launching Xcode 7.


If you don't have a previous version, the following command should work:

  • defaults delete com.apple.dt.Xcode


A more surgical (but less certain) fix would be the following:

  • defaults delete com.apple.dt.Xcode DVTSourceControlAccountDefaultsKey

What do you mean, "create a new Mac user?"

thanks for the above help but My issue was solved by none of the above...


I solved mine, by opeining the project in xcode 6.4 and setting the code signing to my wild card profisioning profile rather than set on automatic and that allowed me to open the project in xcode 7 without the crashing, so I can now work again on ios9/swift 2 yay


Hope it helps someone else...


Pete

I happened same issue and fixed it. (In Xcode7 beta5)


I solved the issue by delete "Team provisioning profile" from directory.


~/Library/MobileDevice/Provisioning Profiles



In my case, problem happened when I pressed "Fix Issue..." button for build.

So, I deleted provisioning profile related to "Fix Issue...".


I'm happy if this help someone.

Nothing else above worked, but I deleted all the provisioning profiles in "~/Library/MobileDevice/Provisioning Profiles" and it solved the problem.

I spoke too soon -- once I had XCode download the provisioning profiles again, it started crashing again.

So I found a fix for this on 10.10.5 with xcode 7 beta 6 after trying the things above and having them not work. What I had to do was replace the file at /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (the one listed in the crash report) with one the same file off a different machine. Both machines were running 10.10.5 and the new MobileDevice file was 3.5 mb while the old was 3.2. Hopefully this helps some out there that has been strugling with this!

I am having a similar issue with the Xcode 7.0 general release. I wan't having a problem until udpating from Xcode 6. Xcode 7 crashes when I try to open a particular project. This doesn't happen on all my development machines, just one, which implies that it is a machine setup issue rather than a project issue - or a combination of the two. The crash report lists the exception below as the culprit. It looks like there is perhaps some issue with old setting lying around somewhere on this particular machine, but I don't know where that might be. I opened the project in Xcode 6 to verify that I don't see these settings in the project itself. Any ideas?


Thanks!


Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000



Application Specific Information:

ProductBuildVersion: 7A220

ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-8184/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/Runtime/XCPropertyInfoContext.m:146

Details: property info context <XCPropertyInfoContext:0x7fdc6a326ee0:configName='Debug':p0:v0:g0:c4:d0:b2:0:<1:%0:@3::1> already contains dictionary { // Device - iPhone OS 3.0 defaults (immutable)

AD_HOC_CODE_SIGNING_ALLOWED = 【 :【NO】】

CODE_SIGNING_REQUIRED = 【 :【YES】】

CODE_SIGN_ENTITLEMENTS = 【】

DEAD_CODE_STRIPPING = 【YES】

ENTITLEMENTS_REQUIRED = 【 :【YES】】

GCC_THUMB_SUPPORT = 【 :【YES】】

GCC_VERSION = 【4.0】

IPHONEOS_DEPLOYMENT_TARGET = 【3.0】

MACOSX_DEPLOYMENT_TARGET = 【10.5】

PLATFORM_NAME = 【iphoneos】

SDK_DIR_CorePlot_iphoneos3_0 = 【 :/Volumes/Users/cbest/Library/SDKs/CorePlotSDK/iphoneos.sdk】

SDK_NAMES = 【 :【CorePlot-iphoneos3.0】,【 :【inherited】】】

}

Object: <XCPropertyInfoContext: 0x7fdc6a326ee0>

Method: -pushPropertyDictionary:atTier:

Thread: <NSThread: 0x7fdc63e3d3a0>{number = 1, name = main}

Hints: None

Xcode 7 beta 3 crashing on any project couple of seconds after startup
 
 
Q