High CPU usage in Xcode 9.3 - swift4

Why is Xcode 9.3 eating up all the CPU when running playgrounds. It seems like “diagnostics” and “homed” are the two processes that are causing the fault. Apple seems to be really sleeping over this. No solution on the Apple developer website.
Is anyone also facing the same issue

I updated the version of Xcode to 9.4 and this bugs was solved.
You can download xcode in this link:
Download & Install Xcode 10 version without Premium Developer Account

Related

Xcode 13.0 stuck while installing on macOS BigSur 11.6

I'm experiencing a weird behaviour when updating Xcode from AppStore.
Screenshot:
Xcode 13.0 stuck while installing
I've tried:
Deleting Xcode then reinstall.
Free up storage space on Mac.
Connect to another WIFI.
Disabled VPN.
but no luck
Xcode 13 does take a long time to finish update and install (took me a couple of hours, and it did at times seemed like it stopped installing and was stuck, but it does finish installing eventually - so maybe just be prepared that it might take up to 4-5 hours.
You mention downloading from the App Store, so not sure if you are aware - but you can download it also from the Apple Website Developer Resources: https://developer.apple.com/xcode/resources/ (some people found it was easier or took less time)
There is also a site specifically for Xcode releases, https://xcodereleases.com
It is Not an Official Apple site, but it All downloads are hosted By Apple (download links on this site take you directly to Apple’s download pages). It’s also very well organized.
It seems that it, on the M1Pro, is using only the high-efficiency cores, and they max out.

Getting error code -10670 when running a Mac Catalyst app in Xcode

I am developing an app for iOS and also using Mac Catalyst to run on my Mac. The app runs fine on my iPhone but always shows an error on Catalyst. The code used to run fine before updating to Big Sur Beta 6 from Beta 5. Here's a screenshot of the error: . Also the error in code blocks for anybody who wants to copy it.
The operation couldn’t be completed. (OSStatus error -10670.)
Domain: NSOSStatusErrorDomain
Code: -10670
User Info: {
"_LSFunction" = "_LSOpenStuffCallLocal";
"_LSLine" = 3664;
}
--
System Information
macOS Version 11.0 (Build 20A5364e)
Xcode 12.0 (17210.1)
https://github.com/MysteryCoder456/VegieMato/tree/backend is the GitHub Repo if anybody wants to reproduce this (i.
Faced same issue after upgrading to macOS 11 Beta 6. Reported bug to Apple but meanwhile found workaround - Select Product in Xcode, select 'Show in Finder'. Launch it from Finder. Additional step, hopefully Apple will look into it.
The problem is solved with new Mac OS 11.0 Beta (20A5374g).
If your catalyst app has multi-window support, you may still need to kill your existing app before launching the new one.
I also had the same problem. (I say had, I guess I still do, however I have a workaround) My App had been developed as iOS / iPadOS with Mac support. All has been working great throughout macOS 11 beta builds. Until today that is, when I, as you, updated to Beta 6. Upon attempting to run for macOS target I get the same error as you have posted.
After some googling I found https://www.virusbulletin.com/uploads/pdf/conference_slides/2015/Wardle-VB2015.pdf and had a go at simply opening the app directly from the build folder. Hey presto, it opened without any problems, I even cleaned out the build folder and built it again to make sure.
This would appear to be a problem that the next version of Xcode beta should fix. Until then, unless anybody can suggest a better fix, this will have to suffice for me at least :-(
Sam
-10670
I was having this same error code upon installing a Developer ID Distributed, Auto Signed version of a catalyst app on a test machine, non M1 Chip, Mac Mini(Late 2014) with MacOS Version 12.0 Beta installed.
The solution was to close the previously installed version of the app. Before opening the new version that I Airdrop over to the test Mac machine.

Xcode failed to download. Use the Purchased page to try again

I am not able to download the Xcode from new MacBook Air. Here is the configurations
MacOS High Sierra Version 10.13.4
Xcode version to download - 9.3
Yesterday, I also got the same error while installing Xcode on my MacBook Pro. I am on macOS High Sierra version 10.13.4. I tried various methods available on various forums and Apple's website but to no avail. I believe most of the proposed solutions are not for High Sierra. I also feared it might be due to some residual file or I messed up somehow since I have already installed/uninstalled Xcode several times.
However, today I got some update for High Sierra and after installing it, I tried installing Xcode again and bingo!! It installed successfully. :-)
There is an issue with app store. Maybe poor network condition too.
Try downloading it form this link here https://developer.apple.com/downloads/index.action

Unable to install iOS 5.1 Simulator in Xcode 4.5

When I want to install iOS 5.1 Simulator in Xcode 4.5 then I receive a following error
You can see I have installed iOS 5.0 Simulator without problems. Do you know how can I resolve this issue?
Thank you.
You can try to go to https://developer.apple.com/downloads/index.action and download it manually.
I had same problem as you and I wasn't able to download Command Line Tools from XCode 4.5 with same error message you are getting. I noticed when I logged into Member Center on Apple Developer portal that I had some warning message which was saying that Apple has changed some License Agreement text. This License Agreement change should be accepted. Without that I wasn't even able to gain access to iOS 6 SDK beta part of iPhone Developer portal. After accepting this, I was able to download latest version of XCode 4.5 and do all updates from XCode (Command Line Tools and iOS 5.0 Simulator as well).
I just updated OSX if possible and restarted XCode.
While the issue is not fixed by apple you can find a temporary solution here
Credit goes to jesper-christensen in this question.
Cheers Jesper and Dominik

iPhone Simulator locks up immediately upon Build / Run

I'm having a problem getting my MacBook set up to build iPhone apps in xCode. The iPhone Simulator locks up and shows the "spinning circle" busy icon.
I've tried everything I can think of, including
resetting the simulator
tried all of the different hardware options
tried the two debug build choices in xCode.
uninstalling the SDK and completely reinstalling
I downloaded the SDK today - "xcode_3.2.2_and_iphone_sdk_3.2_final"
I'm just upgraded from Leopard to Snow Leopard (10.6.3). I've run all the software updates. xCode version says 3.2.2 (1650)
If it matters, my MacBook is 3-4 years old, 13 inch, dual 2.16 ghz intel cores, 2 gig RAM. I've never had a single problem with it.
I would be so grateful if anyone can help me
thanks so much,
if you have access to the 4.0 one, then try that, if not, then I would install a previous sdk version in a different folder (or rename your current developer folder or delete it, then install the previous version under /Developer) and run that one instead
I just finished installing the 4.0 SDK. I made a new windows-based iPhone app (HelloWorld) and tried a build/run (Simulator-4.0 | Debug)
Same exact behavior... The simulator appears and the rainbow spinning progress wheel just keeps going and going
I took a sample from the process ("not responding...") but it's pretty big and I don't see any way to attach it to this question.
thanks again