I need to install old version of Xcode on Yosemite. Xcode 5 installed perfectly but I am facing problem with Xcode 4. It crashes, these are the errors:
Process: Xcode [4341]
Path: /Applications/Xcode 3.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.6.3 (2068)
Build Info: IDEApplication-2068000000000000~3
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [4341]
User ID: 501
OS Version: Mac OS X 10.10 (14A389)
Report Version: 11
Anonymous UUID: 5F18251C-5B88-768B-7023-12B7B510FD63
Time Awake Since Boot: 13000 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4H1503
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'delegateClass' of extension 'Xcode.OrganizerSource.ArchivedApplications.ArchiveListContextualMenu' in plug-in 'com.apple.dt.IDE.IDEArchivedApplicationsViewer'
UserInfo: {
NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x4016afbe0 {DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDEiPhoneSupport, DVTPlugInExecutablePathErrorKey=/Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin/Contents/MacOS/IDEiPhoneSupport, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.IDE.IDEiPhoneSupport\U201d at path \U201c/Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/IDEiPhoneSupport.ideplugin\U201d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x40033a480 \"The bundle \U201cIDEiPhoneSupport\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}";
}
Hints: None
Backtrace:
0 0x00007fff97fe3634 __exceptionPreprocess (in CoreFoundation)
1 0x00007fff8db0c6de objc_exception_throw (in libobjc.A.dylib)
2 0x0000000106012e16 -[DVTExtension valueForKey:] (in DVTFoundation)
ect....
Instead of trying to run Xcode 4, I suggest you run Xcode 5 or 6 but install the iOS 6 SDK so you can compile your iOS 6 SDK app on Xcode 5 or 6.
Be aware that Apple will not accept any app submission with SDK < 8 after February 2015. Apps also need to be 64-bit as well (of course, you're still allowed to ship a dual 32-bit/64-bit app).
Related
I am trying to open a project made in Xcode 12 using Xcode 13.1 and I get crash. In Xcode 12 it opens without problems Log shown below. Can you help me ? Thank you.
P.S. I found that the problem is in Info.plist but could not localize it
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Xcode [7074]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.1 (19466)
Build Info: IDEFrameworks-19466000000000000~20 (13A1030d)
App Item ID: 497799835
App External ID: 844664792
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2021-11-05 16:39:48.5109 +0200
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Anonymous UUID: D316D717-0D90-660E-6F7F-7597A80EED19
Time Awake Since Boot: 25000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSArrayM allKeys]: unrecognized selector sent to instance 0x7fef2821dc60
Problem did fix. While reading Info.plist Xcode 13 did crash on 'App Transport Security Settings' key parsing. I removed it from .plist & manually recreated 'App Transport Security Settings' key hierarchy. Strange situation...
I created an archive for any project in Xcode 9. Then I try to create an ipa file (either development or ad-hoc). I first try to export the archive. Then I select either Development or AdHoc Distribution. The Xcode 9 crashes. I even added 'compile bitcode' option in the app's info.plist. I am able to create an ipa with the same project in Xcode 8.
Bug report :
Process: Xcode [6854]
Path: /Applications/Xcode9.0.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 9.0 (13247)
Build Info: IDEFrameworks-13247000000000000~26
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [6854]
User ID: 501
Date/Time: 2017-11-07 16:13:32.644 +0530
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: E7160691-62F7-DE54-A767-EF456EC37FEC
Time Awake Since Boot: 10000 seconds
System Integrity Protection: enabled
Crashed Thread: 15 Dispatch queue: ConcurrentQueue: -[IDEDistributionPackagingStepViewController viewDidInstall]_block_invoke
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
VM Regions Near 0x20:
-->
__TEXT 000000010b094000-000000010b096000 [ 8K] r-x/rwx SM=COW /Applications/Xcode9.0.app/Contents/MacOS/Xcode
Application Specific Information:
ProductBuildVersion: 9A235
....
In my case this was due to a pending Apple license agreement that was causing Xcode's automatic provisioning to crash.
Log onto developer.apple.com and make sure you do not have a license update pending agreement.
Expired provision profile was the cause of this same issue. After renewal, everything is now working.
The "Apple Developer Program License Agreement" has been updated.
So I have to accept pending License Agreement.
When I select Manual manage signing and try to download profile then I got following error
Try export with Manually first after that you can comeback with Automatically. I think this one fault when apple server return data for exporting process. It can be reset the process with manually option.
Yesterday, I can run my project perfectly in xcode, but today when I open my project the xcode always quit unexpectedly. And my developer account expires today, and this app is built under my this expired account. I'm wondering is this the reason why the xcode quite unexpectedly?
Process: Xcode [1352]
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: ??? [1]
Responsible: Xcode [1352]
User ID: 501
Date/Time: 2014-11-23 00:39:18.946 -0500
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: 621A224C-863D-FF01-0409-8E03669992FE
Sleep/Wake UUID: 9C560417-B1A6-47C5-AA0D-7E5C5331F6FD
Time Awake Since Boot: 5500 seconds
Time Since Wake: 1800 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A1052d
UNCAUGHT EXCEPTION (NSInvalidArgumentException): The index 9223372036854771711 is invalid
UserInfo: (null)
Hints: None
Backtrace:
From what I can see of the crash log, its more likely just an invalid value somewhere. That index is a 64 bit number that is very big (0x7FFFFFFFFFFFEFFF) and would be in invalid if it was somehow passed to an array or something.
Its best to run /Applications/Utilities/Console and see if there there are any errors that came from Xcode. They may have more details.
Usually, if an account expires, associate apps are removed from the store and you can't access resources on the developer portal. I have not heard of Xcode stopping before.
When I click 'Run', Xcode crashes instantly, regardless of my code.
The crash report says that the LLDB plugin can not be read correctly:
Error getting value for key 'workerClass' of extension 'Xcode.DebuggerFoundation.Debugger.LLDB' in plug-in 'com.apple.dt.dbg.DebuggerLLDB'
The crash report:
Process: Xcode [2184]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.0.2 (3335.32)
Build Info: IDEApplication-3335032000000000~4
Code Type: X86-64 (Native)
Parent Process: launchd [147]
Responsible: Xcode [2184]
User ID: 501
Date/Time: 2014-02-26 18:41:28.657 +0100
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: B5F54D76-660F-C9CE-0C9C-D0D41BA7332B
Sleep/Wake UUID: 9A19E5A2-14DE-40FF-8993-668257EF9F44
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Sending performRunAction: to <IDERunPauseContinueToolbarButton: 0x7f8494673e80> from <IDERunPauseContinueToolbarButton: 0x7f8494673e80>
ProductBuildVersion: 5A3005
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'workerClass' of extension 'Xcode.DebuggerFoundation.Debugger.LLDB' in plug-in 'com.apple.dt.dbg.DebuggerLLDB'
UserInfo: {
NSUnderlyingError = "Error Domain=DVTPlugInErrorDomain Code=2 \"Loading a plug-in failed.\" UserInfo=0x7f8496dca9a0 {DVTPlugInIdentifierErrorKey=com.apple.dt.dbg.DebuggerLLDB, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin/Contents/MacOS/DebuggerLLDB, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin, NSLocalizedFailureReason=The plug-in \U201ccom.apple.dt.dbg.DebuggerLLDB\U201d at path \U201c/Applications/Xcode.app/Contents/PlugIns/DebuggerLLDB.ideplugin\U201d could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7f8496dc98f0 \"The bundle \U201cDebuggerLLDB\U201d couldn\U2019t be loaded because it is damaged or missing necessary resources.\"}";
}
Hints:
0: Sending performRunAction: to <IDERunPauseContinueToolbarButton: 0x7f8494673e80> from <IDERunPauseContinueToolbarButton: 0x7f8494673e80>
1: Sending performAction: to <DVTDelayedMenuButtonCell: 0x7f8494674490> from <IDERunPauseContinueToolbarButton: 0x7f8494673e80>
Backtrace:
0 0x00007fff91211244 __exceptionPreprocess (in CoreFoundation)
1 0x00000001082ddd73 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff940a2e75 objc_exception_throw (in libobjc.A.dylib)
3 0x000000010826bcd2 -[DVTExtension valueForKey:] (in DVTFoundation)
4 0x000000010d3d1109 -[DBGLLDBDebugLocalService operationWorkerWithLaunchSession:error:] (in DebuggerLLDBService)
5 0x0000000110106e17 -[IDERuniPhoneSimulatorService operationWorkerWithLaunchSession:error:] (in IDEiOSSupportCore)
6 0x0000000108d38d49 -[IDERunDestination runWorkerForLaunchSession:error:] (in IDEFoundation)
7 0x0000000108d38a74 -[IDERunDestination runOperationForLaunchSession:error:] (in IDEFoundation)
8 0x0000000108da0fee -[IDELaunchSchemeAction runOperationForExecutionEnvironment:withBuildOperation:buildParameters:buildableProductDirectories:schemeActionRecord:outError:actionCallbackBlock:] (in IDEFoundation)
9 0x0000000108d94f5b -[IDEScheme _executionOperationForExecutionEnvironment:build:onlyBuild:buildPurpose:buildCommand:schemeCommand:title:overridingProperties:destination:buildLog:filePath:overridingBuildConfiguration:restorePersistedBuildResults:invocationRecord:overridingTestingSpecifiers:error:actionCallbackBlock:] (in IDEFoundation)
This may happen due to a broken LLDB debugger, which could only be solved by Apple.
However, I haven't found many similar problems from others on the internet yet, so this may only happen with my Xcode.
I had the same problem: was not able to run any Xcode projects. Reason was I was playing around on Python and downgraded it to 2.6.8 from 2.7.x. So, I have updated the python to 2.7.8 from older version, No problems so far, Xcode deploys everything very smoothly. Other things that I have tried was even uninstalling the X-code and install again, this didn't help. Very useful page to upgrade your python on macbook : http://wolfpaulus.com/jounal/mac/installing_python_osx/
It has nothing to do with your project. Somehow the Xcode.app that you launched has been damaged. Try downloading the latest Xcode from the App Store or ADC.
If this don't helps, try to report your problem: Apple Bug Reporter
If anyone still has the same problem, Apple told me that this happens if a wrong "custom" version of Python is installed. I installed Python 2.7.6 and it worked.
When i try to Analyze my code (Product -> Analyze), the xcode crash with this title "clang quit unexpectedly"
Process: clang [10074]
Path: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
Identifier: clang
Version: 3.1 (318.0.61)
Code Type: X86-64 (Native)
Parent Process: clang [10073]
Date/Time: 2012-07-13 18:46:29.862 +0100
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 140604 sec
Crashes Since Last Report: 50
Per-App Crashes Since Last Report: 39
Anonymous UUID: E974A614-4831-478E-8B68-8FE005A98F19
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 000000010180f000-00000001029c8000 [ 17.7M] r-x/rwx SM=COW /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 clang 0x00000001018dc780 clang::Stmt::getSourceRange() const + 16
1 clang 0x00000001021ce0c6 _ZL22getValidSourceLocationPKN5clang4StmtEN4llvm12PointerUnionIPKNS_15LocationContextEPNS_19AnalysisDeclContextEEE + 86
2 clang 0x00000001021ce5d3 clang::ento::PathDiagnosticLocation::genLocation(clang::SourceLocation, llvm::PointerUnion) const + 35
my guest is because LLVM ? i have Apple LLVM compiler 3.1
Thanks!
Edit:
Xcode Version 4.3.3 (4E3002)
I have a file that always crashes clang when analyzed. I submitted abut report on it and Apple dupped the bug - so obviously they know of some bugs already. Note that Xcode 4.4 will be released in a week or two with llvm 4.0 so just wait for it, and if you still get crashes please enter a bug report at bug reporter.apple.com
Edit: my bug report was against 4.3.3