I have recently upgraded both Xcode (to 11.5) and Mac OS to Catalina. Xcode has been working fine for a few days. I clicked on a JSON file in my project and Xcode hung (with SBBOD). I forced quit and rebooted but now Xcode will not load - it starts, but just shows SBBOD again. On startup, it tries to load my last project, I have tried launching from Finder by clicking on a PlayGround project but same issue!
Any suggestions for how I recover this situation?
While the cause is not resolved, I left Xcode running overnight and it is now working. This issue seems to be with displaying a large JSON file (about 1MB). Xcode is taking a few hours before it becomes responsive. I just left it to run.
Related
I have update my xcode to 14.1 and macOS to Ventura 13.0.1.
When I run my app from xcode on a simulator iPhoneSE 3rd generation (iOS 16) it works fine a few times. After that xcode is unable to launch app on simulator.
The number of time I try to run it keep adding Launching [App Name] to process .
If I restart simulator it start working again but same thing happens after few runs.I also created new simulator and same thing happens to it as well.
Note: I'm facing same issue for different projects so I think it's not related to my project.
I was facing this issue on an M2 Macbook Air, every build would open the simulator the first time, but on a second run it would hang on a black screen during "Launching app." It turns out the "fix" was to disable "Open using Rosetta" (Applications > Xcode > Right click > Get Info) which I had turned on because of a third party dependency in a work project that didn't create a proper universal binary, which broke using the simulator on M1.
I think people updating to the new version are installing separately, which has the same effect of disabling the rosetta setting if they were using it already.
Something has gone wrong with my Xcode install... I was running my app and seeing odd behaviour within the app itself, for starters I wasn't able to run the build in the simulator.. it'd install and never launch, eventually putting up a dialogue box about being unable to bless the connection to the simulator. I'd had this problem a few days before but it eventually went away, googling just revealed people having issues with the beta builds or beta MacOSX.
Eventually today I rebooted my Mac and having done so, launching Xcode gave me some other error about the simulator, which I didn't properly take notice of. Since then my project no longer lists any simulators to deploy with, if i try to add new simulators the button to add the simulator does nothing and I have to cancel the dialogue box. If I try and run the simulator or watch simulator directly it just beach balls indefinitely and i have to force kill it.
I've created a new user account and within that made a new Xcode project, which also has no simulators.
I've got a zipped backup of my Xcode from before this problem occurred which I've extracted and swapped in place and it makes no difference.
I guess I could do with redownloading the app off the AppStore in hope that the installer would do something to fix this problem.
Anyone got any thoughts on other things I can try?!
Cheers
What is most likely to be the case is that your XCode installation is corrupt. The best thing to do is to delete Xcode entirely and also these directories and files:
~/Library/Caches/com.apple.dt.*
~/Library/Caches/xctest
~/Library/Containers/com.apple.dt.*
~/Library/Developer
~/Library/MobileDevice
~/Library/Preferences/com.apple.dt.*
~/Library/SavedState/com.apple.dt.*
Then reboot your system and reinstall Xcode. Hopefully that should have cleared out the issue.
I'm developing a background only OS X app in Xcode. I've archived the app and placed .app file in /Library/Input Methods/. It's running fine. Yesterday, every time I modified something & then run it in Xcode, newly built app would run instead of the one I placed in /Library/Input Methods/ and I could see the Console output of the newly built app.
But suddenly today this doesn't happen. The one in /Library/Input Methods/ runs and nothing is shown in console. Also when I run the app in Xcode, I can see two instances of the app in Activity Monitor (one from /Library/Input Methods/ and other one from Xcode).
I'm using Xcode 5.1 and OS X 10.9
I tried quiting-restarting Xcode, restarting Mac, cleaning project, deleting data in Derived Data folder etc. But nothing worked. Any help would be highly appreciated. Thanks in advance.
Figured it out. I had to run the app from Xcode BEFORE it gets started from the system i.e. by changing input method. So the app process of Xcode build needs to be run first.
Ever since I upgraded to XCode 5, I havent been able to run a project. Every time I hit the play button, XCode immediately freezes, and then crashes a few seconds later. If I press Command+B to build the project, it succeeds, its just running it that causes issues. This is on both iOS and OSX projects.
Here is the crash log it presents after the program closes: https://gist.github.com/EthanArbuckle/7406894
Does anyone have any ideas on how to fix this? Its driving me crazy!
Go to /Applications/Xcode.app/Contents/PlugIns and remove the following directory (take the backup first) IDERepositoryViewer.ideplugin. Quit and relaunch the XCode and it should work fine.
I have run into a rather annoying bug in Xcode 4.3.2.
If you run a process from within Xcode, then stop the simulator directly (outside of Xcode), Xcode still shows the process as running and effectively disables any further interaction with the simulator.
I can't stop the process from within Xcode (no response), and I can't start a new process either as Xcode sees the simulator as being in use. Shutting down the simulator does not notify Xcode either, so I have no option but to shut down Xcode and open it up again But even that does't work as Xcode hangs whilst trying to shut down the process too! So I have to force quit Xcode!
Has anyone found a way round this? I realise I should now only operate the simulator from within Xcode, but I am used to being able to operate the simulator independently.
thanks
I was having similar issues with Xcode 4.3.2. I fixed them by doing the following:
Launch Xcode.
Close any open projects.
Open Organizer.
Delete project form left panel using the gear icon on the bottom left. Select "Remove from Organizer...". This clears all the data about your project that Xcode has cached (indexes, DerivedData, Snapshots, etc.).
5). Re-open project.
Since doing this, my Xcode hanging issues have disappeared.
Here are the steps I follow when this happens:
Start the simulator if it isn’t already running
Choose the option “Reset Content and Settings…” from the iOS Simulator menu
Clean and rebuild the project