xcode6.0.1 not able to start ios8 simulator [duplicate] - xcode

This question already has answers here:
Xcode beta 6 iOS 8: Simulator not working
(20 answers)
Closed 8 years ago.
Updated xcode to 6.0.1, ios 8 simulator unable to boot.
I tried in xcode preferences, under download tap, I can only see ios7 simulator and ios 7.1 simulator, no ios 8 simulator available to download from there, I was able to download ios 7 or 7.1 simulator and run test app on simulator, but can't find the way how to make it work with ios8 simulator, does anyone as any ideas?:(
here is my system crash report:
Process: launchd_sim [1385]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/sbin/launchd_sim
Identifier: launchd_sim
Version: 2.0.0 (560.1.3)
Code Type: X86-64 (Native)
Parent Process: launchd [155]
Responsible: launchd_sim [1385]
User ID: 501
Date/Time: 2014-09-26 11:11:52.309 +0100
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 048D18A1-2364-DAD1-67B6-1BF02E5CF5D5
Crashed Thread: 0
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000102c24000-0000000102c5d000 [ 228K] r-x/r-x SM=COW /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/sbin/launchd_sim
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylib
DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk
DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks
DYLD_SHARED_REGION=avoid

Do you have any crash logs (eg: launchd_sim crashes) in ~/Library/Logs/DiagnosticReports? If so, can you provide one of them?
Is there anything interesting in ~/Library/Logs/CoreSimulator/CoreSimulator.log?
The issue is that you have DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylib in your environment. What is this for?
The iOS 8 simulator will not work on OS X Mavericks if you try to inject host dylibs into the process via DYLD_INSERT_LIBRARIES. OS X Yosemite has software changes that will work around this problem and just log the issue rather than crashing.
I suggest that you either upgrade to OS X Yosemite or simply unset DYLD_INSERT_LIBRARIES (and/or uninstall the rest of the software that is associated with libimckit.dylib).
To make sure that DYLD_INSERT_LIBRARIES is not set, edit /etc/launchd.conf or $HOME/.launchd.conf (eg: sudo nano -w /etc/launchd.conf). Look for a relevant 'setenv' line, delete it, save, and reboot your system.

Tyr going to the Window menu and selecting 'Devices'. In the window that appears there is a '+' button at the bottom left. You can use this to add more simulator devices hopefully including the iOS 8 ones.

Related

Unable to launch Xcode 13 beta 1 and/or 2 on macOS Big Sur 11.4

I'm trying to install Xcode 13 beta on my MacBook Pro with macOS Big Sur 11.4. Here's what I did so far:
I downloaded Xcode 13 beta 2 from https://developer.apple.com/download/
Double click on the file, and then moved Xcode-beta.app to Macintosh HD/Applications
Tried to open it, but I get an error that says:
Unable to open Xcode-beta.app due to a problem.
Check with the developer to make sure Xcode-beta.app works with this version of macOS. You may need to reinstall the application. Make sure you install all available updates for the application and for macOS.
Click Report to view more detailed information and send a report to Apple.
And when I click to get more info I get this:
Process: Xcode [2153]
Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.0 (19161.15)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2153]
User ID: 501
Date/Time: 2021-06-28 09:23:54.342 +0200
OS Version: macOS 11.4 (20F71)
Report Version: 12
Bridge OS Version: 5.4 (18P4663)
Anonymous UUID: BF2F0872-D13E-DC73-9E8D-911CD7D080B3
Sleep/Wake UUID: 9EB93895-E33C-4EA2-96CD-FF88026D93E8
Time Awake Since Boot: 23000 seconds
Time Since Wake: 4800 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
dyld: Using shared cache: 4A889CE9-8D7E-304E-A5F7-84D819B0BF9C
Library not loaded: #rpath/XCTest.framework/Versions/A/XCTest
Referenced from: /Applications/Xcode-beta.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
Reason: image not found
Binary Images:
//Here there's an infinite list of binary images such as:
0x10c13f000 - 0x10c142fff com.apple.dt.Xcode (13.0 - 19161.15) <D505A1C0-5E95-3233-AB86-65959A8DE250> /Applications/Xcode-beta.app/Contents/MacOS/Xcode
I don't know how to solve this. I've seen other people that had a problem with antiviruses that blocked the app, but I don't have any installed. Many solutions I've seen require Xcode to be launched and set some preferences in the app's settings, but I can't launch Xcode so I can't try these solutions. I tried all the following commands:
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
xcode-select --install
sudo xcode-select -switch /Library/Developer/CommandLineTools
sudo xcodebuild -license accept
I tried all this with Xcode 13 beta 1 and beta 2, I tried deleting them and re-downloading them and trying everything again, but nothing seems to work. Is there anyone that knows how can I make it work?

Xcode 12.3: Failed to re-create a coordinator for com.me.myapp

I'm getting the following message while trying to launch simulator
Details
Failed to re-create a coordinator for com.me.myapp.
Domain: IXErrorDomain
Code: 29
Failure Reason: Coordinator already exists.
User Info: {
FunctionName = "+[IXAppInstallCoordinator(IXSimpleInstaller) _beginInstallForURL:consumeSource:options:completion:]_block_invoke";
SourceFileLine = 313;
}
--
System Information
macOS Version 10.15.5 (Build 19F101)
Xcode 12.3 (17715) (Build 12C33)
Timestamp: 2021-01-25T15:50:20+01:00
I also found that it works Ok if i launch it on another device simulator (lets say iphone 11 pro instead of 12 pro) but i'd like to fix this somehow.
What i had already tried:
cmd+shift+K
rebooting mac
quitting xcode
Xcode: Version 12.3 (12C33)
any ideas on how to get it fixed would be appreciated
On simulador menu:
Device -> Erase all Content and Settings...
I solved it by uninstalling the app from the simulator and running it again.
Found the solution:
xcrun simctl erase all
Hope it helps someone facing the same problem.

Xcode 9 crash during uploading app to App Store

In my project the Xcode 9 crashes during uploading to App Store (or exporting to disk, it does not matter). I have found that it may be caused by cocoapods or some kind of external frameworks bug, because on my other projects which do not use cocoapods this bug does not happen. However why I created post about it here on stackoverflow is the question if anybody has a temporary solution to solve this issue?
Unfortunately it is not known when it will be fixed by Apple or cocapods...so...every help would be welcomed.
I have already reported this bug to Apple with the (shortened) log below.
Process: Xcode [7494]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 9.0 (13247)
Build Info: IDEFrameworks-13247000000000000~26
App Item ID: 497799835
App External ID: 823595305
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [7494]
User ID: 501
Date/Time: 2017-09-20 20:04:30.103 +0200
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: 9D0C9FF5-77EB-F94F-67E5-634E39EAE67B
Sleep/Wake UUID: 30F3DB44-C016-4799-AD07-A080AA633DE8
Time Awake Since Boot: 14000 seconds
Time Since Wake: 1500 seconds
System Integrity Protection: enabled
Crashed Thread: 14 Dispatch queue: ConcurrentQueue: -[IDEDistributionPackagingStepViewController viewDidInstall]_block_invoke
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000007fcb5ab5718
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
This post was also posted on Apple Developer Forums.
After struggling with Xcode 9 for many days and having tried so many things icluding some mentioned here. I ended up
Download and install Xcode 8.3.3 ( Always keep the older version, lesson for life )
Archive the app with Xcode 9
Open Xcode 8.3.3, open Organizer and submit the app
This works. Good luck.
Update: Xcode 9.0.1 and Xcode 9.1 beta doesn't fix the issue.
I just solved the problem.
I have the same problem with Xcode Version 9.0.1 (9A1004).
First of all, check your problem is exactly same as mine.
To do this, open Terminal and put 'xattr' command and Enter.
If you can see kinda 'Permission denied' error message, fortunately you are just same as mine.
Now you can solve the problem by putting this one line command.
sudo chown -R $USER:$(id -g) /Library/Python/2.7/site-packages/protobuf-3.2.0-py2.7.egg/EGG-INFO/
so you can do 'Upload to Appstore' or 'Export IPA'.

Xcode 6.3.1 quit unexpectedly

I'm getting an error Xcode 6.3.1 quit unexpectedly whenever Xcode is opened. This was working fine till last night. I have tried restart system but didn't worked. Reinstalling won't be feasible approach since I have downloaded simulator and documentations (approx 8GB of data).
Below is details of error :
Process: Xcode [816]
Path: /Applications/Xcode 6.3.1.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3.1 (7703)
Build Info: IDEFrameworks-7703000000000000~4
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [816]
User ID: 501
Date/Time: 2015-05-29 12:05:22.140 +0530
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: ...
Time Awake Since Boot: 4600 seconds
Crashed Thread: 6 Dispatch queue: gputools.DYKeyedUnarchiver.0x112ce03e0
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fffc6fbc3af
...
Remove any 3rd party plugins that you had installed with xcode and it should work fine.
This is probably because of DYKeyedUnarchiver.h. So remove it, restart system and try reopening xcode.
Now, it's working fine. Simply kept system shut-down for sometime. Maybe shutdown have reset all settings of Mac.

XCode 4.2.1 Crashes on Lion 10.7.2 on Launch

This week I bought my first Mac in about 10 years (yeah!). It's a used Mac Pro (2x2GHz Dual-Core Xeon with 2GB RAM). It has a fresh install of Mac OS X Lion 10.7.2. I've only installed OmniOutlner Pro, Textmate, and Ruby RVM.
I've also downloaded and installed Xcode 4.2.1 from the App Store. At first, Xcode worked fine (only launched to see if it worked). Then, the next day I launched Xcode to start using it and it crashed immediately upon launch. Since then, I've tried many things to try to correct the problem: rebooting, reinstalling, redownloading and reinstalling, deleting and reinstalling, deleting iTunes and reinstalling (an early Stack Overflow answer suggested this), and more. Nothing seems to help. Sometimes I can get as far as clicking on a menu item in XCode (while the crash message is being displayed), but that's it.
Everything else seems to work perfect on this machine, so I doubt it's the hardware. I do not have the OS X install DVD.
I bought this system so I can program in Xcode. What would you do if you were me?
UPDTE-1: Here are the first lines from the Problem Details and System Configuration report (in general it seems most of these I have looked at for this problem seem to be talking about the IDE Navigator Log):
Process: Xcode [17619]
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 4.2.1 (834)
Build Info: IDEApplication-834000000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [118]
Date/Time: 2011-12-01 14:33:14.664 -0600
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Interval Since Last Report: 72258 sec
Crashes Since Last Report: 5
Per-App Interval Since Last Report: 719 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: 1D22E753-40F6-4035-B53A-236881ED2A58
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 4D502
Encountered multiple assertions. First assertion was: ASSERTION FAILURE in /SourceCache/IDELogNavigator/IDELogNavigator-820/IDELogNavigator.m:582
Details: (self.rootNavigableItem) should not be nil.
Object: <IDELogNavigator: 0x4018f6420>
Method: -revertStateWithDictionary:
Thread: <NSThread: 0x40010a260>{name = (null), num = 1}
Hints:
0: Replacement view is installing: <IDELogNavigator: 0x4018f6420 representing: <DVTExtension 0x400d33120: Log Navigator (Xcode.IDEKit.Navigator.Logs) v0.1>>
Backtrace:
0 0x00000001055c4366 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x0000000104c3d1a4 _DVTAssertionFailureHandler (in DVTFoundation)
2 0x000000010ad43cb1 -[IDELogNavigator revertStateWithDictionary:] (in IDELogNavigator)
3 0x0000000104bffe5b -[DVTStateToken _pullStateFromDictionary:] (in DVTFoundation)
4 0x0000000104bffc12 -[DVTStateToken pullStateFromRepository] (in DVTFoundation)
5 0x000000010550f33d -[IDENavigatorArea replacementView:didInstallViewController:] (in IDEKit)
6 0x0000000104df75f1 __42-[DVTReplacementView _setupViewController]_block_invoke_0 (in DVTKit)
7 0x0000000104c00f4e DVTInvokeWithFailureHint (in DVTFoundation)
8 0x0000000104df7473 -[DVTReplacementView _setupViewController] (in DVTKit)
9 0x0000000104df7345 -[DVTReplacementView installedViewController] (in DVTKit)
UPDATE-2: Bummer. I tried the approach referenced by Michael Dautermann below, but it didn't work. Here's what I typed in Terminal:
sudo tmutil disablelocal
sudo /Developer/Library/uninstall-devtools --mode=all
sudo /Developer-old/Library/uninstall-devtools --mode=all
sudo /Developer-old-1/Library/uninstall-devtools --mode=all
sudo tmutil enablelocal
At this point, the /Developer, /Developer-old, and /Developer-old-1 folders were deleted. I then emptied the trash and reinstalled XCode. Everything seemed to be going fine, but when I launched XCode, it immediately crashed again :-(
However, three additional bits of information:
The Problem Details in the Problem Report when XCode crashes appears to be basically the same as the Problem Details reported above.
The version of XCode that gets installed is XCode 4.2.1 Build 4D502, if that matters.
I've now noticed that if I hit "Continue" in the Internal Error crash dialog, about 15 times, XCode becomes usable to the point of exploring the menus, etc., and only seems to bring up the Internal Error crash dialog again if I try to quit.
If anyone has any other ideas, I'm open to trying them. I'm starting to wonder if I have a hardware problem somewhere or if I should downgrade to Snow Leopard and XCode 3.
Download the iPhone Configuration Utility... http://support.apple.com/kb/DL1465
Install, start, quit the utility.
Xcode should now start correctly.
The uninstall process does not cover the user Profile of your account. After uninstalling you should also remove ~/Library/Developer/Xcode. The easiest way to test this is to create a new user account and see if Xcode will open.
My Xcode installation crashed on startup as described above. I downloaded and installed the iPhone Configuration Utility (ver3.4) and ran the utility. Xcode has launched and worked ever since running the iPhone Configuration Utility.
I did a Google search and found there are a number of reports of people having crashes exactly like you described it.
Here's a potential fix as described by Andreas Schuderer on this Apple discussion thread:
I had the same problem and typed in Terminal:
sudo tmutil disablelocal
sudo /Developer/Library/uninstall-devtools --mode=all
sudo /Developer-3.2.2/Library/uninstall-devtools --mode=all
sudo tmutil enablelocal
Then I deleted the folders "Developer" and "Developer-3.2.2".
Then I reinstalled xcode using the installer on the launchpad. Now it
works.
P.S.: The first and last line disable and re-enable local snapshots (a
feature of time machine). I had the problem that the mtmd proces
claimed a whole core and caused my macbook pro to heat up enourmously.
The tmutil commands fixed this. The third line was necessary because
xcode installer had made a backup of my previous xcode version. Leave
this line out if not applicable.
Try to once again uninstall XCode as described in Update-2; then download and install the iPhone Configuration Utility (ver 3.3 at the time of this post) (http://support.apple.com/kb/dl851). Run iPhone Configuration Utility (found in the Applications/Utilities folder). I did not have to do anything with new configurations/devices/etc - only start the application. Then launch XCode; mine then started working correctly.
None of the above worked for me. XCode crashed on the Summary page for projects.
The problem stemmed from an entry in my Info.plist file. I had three particular entries: Icon, Icon files, and Icon files (iOS 5). I removed the last one, since it was empty, and that solved the problem.
Here is how I fixed mine:
Go -> Home -> Autosave Information -> all xcode related files send to trash
Finder -> empty trash
Apple -> restart

Resources