Today I upgrade my Xcode to version 6.0.1, and I want to archive my project as an ipa file.
My process is Product -> Archive -> Export -> Save for Ad Hoc Deployment.
all are normal until I select my Development team,So I clicked the button"choose":
And then the Accident happened:
Process: Xcode [11022]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0.1 (6528)
Build Info: IDEFrameworks-6528000000000000~2
App Item ID: 497799835
App External ID: 712682811
Code Type: X86-64 (Native)
Parent Process: launchd [286]
Responsible: Xcode [11022]
User ID: 501
Date/Time: 2014-09-23 21:51:40.939 +0800
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 689CEB1C-6C4F-C95D-8EB2-728905589271
Sleep/Wake UUID: 2F8703C9-8479-4E8A-B4BA-D4B067562EA5
Crashed Thread: 16 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A317
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff90624244 __exceptionPreprocess (in CoreFoundation)
1 0x0000000104aa8184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff97920e75 objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff90523dd1 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] (in CoreFoundation)
4 0x00007fff90539ad9 +[NSDictionary dictionaryWithObjects:forKeys:count:] (in CoreFoundation)
5 0x0000000105f6a535 __85-[IDEDistributionSigningAssetsStepViewController _attemptToResolveProvisioningError:]_block_invoke_2 (in IDEKit)
6 0x0000000104adebac __DVTDispatchAsync_block_invoke (in DVTFoundation)
7 0x00007fff8b85f1bb _dispatch_call_block_and_release (in libdispatch.dylib)
8 0x00007fff8b85c28d _dispatch_client_callout (in libdispatch.dylib)
9 0x00007fff8b85e082 _dispatch_root_queue_drain (in libdispatch.dylib)
10 0x00007fff8b85f177 _dispatch_worker_thread2 (in libdispatch.dylib)
11 0x00007fff973ecef8 _pthread_wqthread (in libsystem_pthread.dylib)
12 0x00007fff973effb9 start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures:
NSInvalidArgumentException
My certificate is $99.Every is ok when I used Xcode5 yesterday.Please help me solving this problem.Thanks a lot.
Figured it out !
You have to go into your developer account (https://developer.apple.com/membercenter/index.action) and accept the new terms and conditions
Then Xcode6 stops crashing
Related
Refreshing provisioning profile in Xcode 6 worked for me for a while and xcode 6 crashes today when I refresh it .
Any one can help?
I saw there is a ticket on stackoverflow and it does not help in my case.
"Xcode crash when refreshing provisioning profiles"
Xcode crash when refreshing provisioning profiles
Thanks in advance.
Process: Xcode [979]
Path: /Applications/Xcode 2.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0 (6299)
Build Info: IDEFrameworks-6299000000000000~8
Code Type: X86-64 (Native)
Parent Process: launchd [357]
Responsible: Xcode [979]
User ID: 501
Date/Time: 2014-11-14 11:14:00.919 -0800
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 13628E65-2AA7-5BA1-59E1-B82B3CC26059
Crashed Thread: 15 Dispatch queue: NSManagedObjectContext Queue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A313
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSNull longLongValue]: unrecognized selector sent to instance 0x7fff7c4ba240
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff93a58244 exceptionPreprocess (in CoreFoundation)
1 0x000000010c119184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff963ffe75 objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff93a5b12d -[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
4 0x00007fff939b6272 ___forwarding_ (in CoreFoundation)
5 0x00007fff939b5df8 _CF_forwarding_prep_0 (in CoreFoundation)
6 0x00007fff93eb952b -[NSSQLiteConnection execute] (in CoreData)
7 0x00007fff93ed3fd0 newFetchedRowsForFetchPlan_MT (in CoreData)
8 0x00007fff93ec085f -[NSSQLCore objectsForFetchRequest:inContext:] (in CoreData)
9 0x00007fff93ec0397 -[NSSQLCore executeRequest:withContext:error:] (in CoreData)
10 0x00007fff93ebfe63 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] (in
abort() called
This is part of crash log.
Looks like this problem is temporary and nothing to do with your Xcode or developer account.... most probably with apple servers/APIs that deals with prov/dev account. I am also getting same crash for last couple of hours. I tried many things - clean derived data, cache. Restarted machine etc but all in vain.
UPDATE: Try this on 'Terminal' app... [My issue probably resolved due to this !]
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
Thanks for putting up this question here so I know there are others facing this problem. No useful info on google.
The crash log that I get when I click Xcode project > Target > Team pop up -
Process: Xcode [5047]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.1 (6604)
Build Info: IDEFrameworks-6604000000000000~2
App Item ID: 497799835
App External ID: 752282650
Code Type: X86-64 (Native)
Parent Process: launchd [367]
Responsible: Xcode [5047]
User ID: 501
Date/Time: 2014-11-14 15:17:59.448 -0500
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 7950E54F-D23B-CF06-2654-85C6536B1DB5
Crashed Thread: 13 Dispatch queue: NSManagedObjectContext Queue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A1052d
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSNull longLongValue]: unrecognized selector sent to instance 0x7fff7c399240
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff8ffad244 __exceptionPreprocess (in CoreFoundation)
1 0x0000000105c4e2f4 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff91ce1e75 objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff8ffb012d -[NSObject(NSObject) doesNotRecognizeSelector:] (in CoreFoundation)
4 0x00007fff8ff0b272 ___forwarding___ (in CoreFoundation)
5 0x00007fff8ff0adf8 _CF_forwarding_prep_0 (in CoreFoundation)
6 0x00007fff9119152b -[NSSQLiteConnection execute] (in CoreData)
7 0x00007fff911abfd0 newFetchedRowsForFetchPlan_MT (in CoreData)
8 0x00007fff9119885f -[NSSQLCore objectsForFetchRequest:inContext:] (in CoreData)
9 0x00007fff91198397 -[NSSQLCore executeRequest:withContext:error:] (in CoreData)
10 0x00007fff91197e63 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] (in CoreData)
11 0x00007fff91195c1b -[NSManagedObjectContext executeFetchRequest:error:] (in CoreData)
12 0x0000000105b573e5 __80+[DVTDeveloperPortalDatabase objectsWithEntityName:matchingPredicate:inContext:]_block_invoke (in DVTFoundation)
I need to know the answer to this as well. Getting same thing - only solution found so far is related to Xcode 4. I did discover that it is somehow related to derived data...
Reference to this thread:
Xcode crashing when fetching team list
In case you want to export an ipa:
xcodebuild archive -project $projectname.xcodeproj -scheme $schemename -archivePath projectname.xcarchive
xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile “Provisioning Profile Name”
Not a good solution but I was able to upgrade to Yosemite and it resolved these issues.
It works later without any change. It may be caused by developer center issue.
Thanks for comments.
Is anyone experiencing this?
Xcode will crash and throw the error below:
Process: Xcode [1208]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0 (6299)
Build Info: IDEFrameworks-6299000000000000~8
Code Type: X86-64 (Native)
Parent Process: launchd [227]
Responsible: Xcode [1208]
User ID: 505
Date/Time: 2014-09-18 11:37:28.745 +0800
OS Version: Mac OS X 10.9.4 (13E28)
Report Version: 11
Anonymous UUID: A819F892-0B04-883D-E5AC-30EB917E651C
Crashed Thread: 11 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Getting very fustrating.
[UPDATE]
Problem has been solved after going Apple dev site and accept new Term and Condition agreement, this is the most strange problem I ever seen.
I am able to build and run app without any problem until create ad-hoc build, Xcode6 (version 6.0.1) will always crash after choosing account and team and throw below exception:
Process: Xcode [1861]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0.1 (6528)
Build Info: IDEFrameworks-6528000000000000~2
App Item ID: 497799835
App External ID: 712682811
Code Type: X86-64 (Native)
Parent Process: launchd [258]
Responsible: Xcode [1861]
User ID: 501
Date/Time: 2014-09-26 13:07:23.360 +0700
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: E2DD7234-2A56-B169-B657-56CFED90D316
Crashed Thread: 10 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A317
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
UserInfo: (null)
Hints: None
Is anyone experiencing this? please help.
Note: I already choose team in Target config.
I've recently upgraded my OSX from snow leopard to mountain lion and am running into an issue where my xCode shuts down 100% of the time within 5 seconds of opening any project. Here's the error message given. I've tried googling the error, but cannot find any info on the subject.
The error appears on opening any project, not just autolayout ones. The message "Waiting for other symbol copying" appears in the status bar on top, then xCode crashes with the exception listed below.
I remember that xCode asked me to install some additional component after OSX upgrade, but it crashed in the process of doing so and did not ask me again.
I tried re-installing xCode through the app store, but this did not fix the issue.
How can I fix/repair my xCode installation to fix the error?
Process: Xcode [2957]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.6.3 (2068)
Build Info: IDEApplication-2068000000000000~3
App Item ID: 497799835
App External ID: 15588541
Code Type: X86-64 (Native)
Parent Process: launchd [130]
User ID: 501
Date/Time: 2013-07-11 08:14:22.608 -0400
OS Version: Mac OS X 10.8.4 (12E55)
Report Version: 10
Interval Since Last Report: 2375 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 18 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: F0403235-5ECB-ADEA-6618-E5526B9FE281
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4H1503
ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-2083/IBPlugin/Utilities/IBObjectMarshalling.m:651
Details: Failed to run one shot request for IBNSLayoutConstraint, IBUIImageView, IBUILabel, IBUITableViewCell, and IBUIView.
Interface Builder encountered an error communicating with the iOS Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
Exception name: IBAssertionFailure
Exception reason: ASSERTION FAILURE: [[self constant] symbolicValue] || (floor(constantValue) == constantValue)
Reason: Constraint constants should be integral (constant attempted to be set to -10.500000). Foundation will always integralize the output anyways, so if constants are not integralized, this will almost always lead to arbitration failures. Constraint is <IBNSLayoutConstraint: 0x8191060> UILabel[0x817b130].Center X = UITableViewCell[0x8183690].Center X - 10.500000 containingView={<(null):0x0>} scoreVector=<0.000000, 3, 1, 1000.000000, 0>, roundingAdjustment=0
File: /SourceCache/IBAutolayoutFoundationIOS/IBAutolayoutFoundation-2065/Framework/Classes/Model/Constraints/IBNSLayoutConstraint.m:460
Method: -[IBNSLayoutConstraint assertConstraintValidity]
Exception backtrace:
0. CoreFoundation 0x022ad012 __exceptionPreprocess
1. libobjc.A.dylib 0x0170ce7e objc_exception_throw
2. CoreFoundation 0x02335fb1 -[NSException raise]
3. IBAutolayoutFoundation 0x0008be44 -[IBNSLayoutConstraint assertConstraintValidity]
4. IBAutolayoutFoundation 0x0007b97f -[IBLayoutConstraint initWithFirstItem:firstAttribute:relation:secondItem:secondAttribute:constant:]
5. IBAutolayoutFoundation 0x000899d2 -[IBNSLayoutConstraint initWithFirstItem:firstAttribute:relation:secondItem:secondAttribute:constant:]
6. IBAutolayoutFoundation 0x0007c1ca -[IBLayoutConstraint copyWithZone:]
7. IBAutolayoutFoundation 0x00089dfe -[IBNSLayoutConstraint copyWithZone:]
8. libobjc.A.dylib 0x01720ae9 -[NSObject copy]
9. IBAutolayoutFoundation 0x0007e0e5 -[IBLayoutConstraint constraintByReplacingView:withView:andReplacingView:withView:]
10. IBAutolayoutFoundation 0x000ac46b -[IBAutolayoutEngine representedConstraintBySubstitutingRealViewsForRepresentedViewsOfConstraint:]
11. IBAutolayoutFoundation 0x000ac5f6 -[IBAutolayoutEngine addRepresentedConstraintForRealConstraint:]
12. IBAutolayoutFoundation 0x000ae959 -[IBAutolayoutEngine constraintsMakingSystemOverConstrainedByAddingConstraint:toView:]
13. IBAutolayoutFoundation 0x000b803a +[IBAutolayoutArbiter attemptToAddConstraint:byModifyingLayoutEngine:mutuallyExclusiveConstraintBreakageStrategy:mutableConstraintsToAdd:mutableConstraintsToRemove:]
14. IBAutolayoutFoundation 0x000ace27 -[IBAutolayoutEngine performEngineBootstrappingConstraintAdditionOperationForAddingConstraint:]
15. IBAutolayoutFoundation 0x000ad46e __90-[IBAutolayoutEngine iterateViewsAndGenerateRepresentedConstraintsAndMapToRealConstraints]_block_invoke404
16. CoreFoundation 0x0229acdf __NSDictionaryEnumerate
17. CoreFoundation 0x0229a87d -[NSDictionary enumerateKeysAndObjectsWithOptions:usingBlock:]
18. CoreFoundation 0x0229a7c5 -[NSDictionary enumerateKeysAndObjectsUsingBlock:]
19. IBAutolayoutFoundation 0x000ad150 -[IBAutolayoutEngine iterateViewsAndGenerateRepresentedConstraintsAndMapToRealConstraints]
20. IBAutolayoutFoundation 0x000a7db9 -[IBAutolayoutEngine initWithArbitrationUnit:options:]
21. IBAutolayoutFoundation 0x000c1454 -[IBAutolayoutFrameDecisionDriver initWithArbitrationUnit:options:]
22. ??? 0x0000c5a9 [IBCocoaTouchTool _startAutolayoutFrameDecisionSessionWithRequest:document:]
23. ??? 0x0000d49c [IBCocoaTouchTool runOneShotIncrementalFrameDecisionRequest:withFrameDecisionSessionRequest:document:]
24. ??? 0x00034fa5 [IBMessageReceiveChannel deliverMessage:toTarget:withArguments:result:]
25. ??? 0x00034cea [IBMessageReceiveChannel deliverMessage:toTarget:withArguments:result:]
26. ??? 0x000349d5 [IBMessageReceiveChannel runBlockingReceiveLoopNotifyingQueue:notifyingTarget:]
27. libdispatch.dylib 0x04c4c731 _dispatch_barrier_sync_f_slow_invoke
28. libdispatch.dylib 0x04c5b014 _dispatch_client_callout
29. libdispatch.dylib 0x04c4b7d5 _dispatch_main_queue_callback_4CF
30. CoreFoundation 0x02253af5 __CFRunLoopRun
31. CoreFoundation 0x02252f44 CFRunLoopRunSpecific
32. CoreFoundation 0x02252e1b CFRunLoopRunInMode
33. Foundation 0x013113ac -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
34. ??? 0x0000d981 [IBCocoaTouchTool startServingReceiveChannel:]
35. ??? 0x0000db1a [IBCocoaTouchTool startServingWithSocket:]
36. ??? 0x0000ec89 [IBCocoaTouchTool .cxx_destruct]
37. ??? 0x00002c15 ???
38. ??? 0x00000003 ???
Exception info:{
}
I had a crash on an iPhone 4 with an exception type of EXC_GUARD. I can't find any information on this particular exception via google (only 1 result) or on stackoverflow. What is it?
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-10-24 14:29:53.740 -0700
OS Version: iOS 6.0 (10A403)
Report Version: 104
Exception Type: EXC_GUARD
Exception Codes: 0x0000000100000010, 0x08fd4dbfade2dead
Crashed Thread: 0
Thread 0 name: MAIN Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x32f25294 close + 8
1 Twine 0x00230b8e close_file + 10
2 Twine 0x00218774 -[TFAirTrafficController startSession] + 752
3 Twine 0x002169fa +[TestFlight takeOff:] + 122
https://devforums.apple.com/message/713606
It's a bug in TestFlight causing a close on a duff file handle. This causes that crash.