Couldn't communicate with a helper application - macos

I upgraded my OSX to macOS Big Sur version 11.1. Ever since I got this problem when trying to sign in in Xcode:
at the time I had an earlier version of xcode (12.2). I upgraded to Xcode 12.3 and the problem disappeared but then I came back up again. What can I do to fix this?
What I tried
rebooting in safe mode, didn't help
upgrading Xcode, solved the problem temporarily
tried to rebuild the dynamic link editor cache as suggested here but it was a dead end:
sudo update_dyld_shared_cache –force
This tool is deprecated.

Related

Unable to boot simulator xcode 7.3.1 / OS 10.11.6

I know similar questions have been asked many times.
My xcode projects ran fine on the simulator. Ive started a new project today and the first time I tried running it I get the black screen and 'unable to boot simulator error'.. and I have to force quit xcode. Now all my projects are getting the same error??? They were working fine before.. I have not updated anything either? Whats the problem?
Thank you
After many failed attempts at fixing the problem I ended up updating the OS from El Capitan to Sierra and I completely uninstalled Xcode and reinstalled a fresh version (from 7.3 to 8). The problem is now gone. I am assuming there was some kind corruption in Xcode as I cant figure how else this specific issue would occur.

xcode 8 not running

I installed the Xcode 8. But it stuck at licence agreement screen. I clicked agree and enter system password but Xcode stuck at same screen. Have anyone faced the same issue and their resolution.
OS Version 10.11.6 (El Captain)
I think I have faced a similar issue for an older version of Xcode. What you should do is to delete the app completely and try to reinstall it. If that does not work for you, try upgrading to the latest version of MacOS and try again. I believe this is a bug on Apple's end, but it shouldn't occur again if you try these things.
Also, make sure you are connected to the internet. If you are not, it may not be able to understand that you have accepted their agreement.

Xcode 7.3.1 update stuck? is it downloading?

Trying to download Xcode 7.3.1 but download process is stuck for atleast 1 - 1/2 hour, is it stuck, is it going to complete? I have latest Mac OS installed
Tried solution provided on this link but non worked
XCode 7.3.1 Update Not Installing
It always happens to me (Well, not always but it happens, and also with another apps). What I do is to delete the Xcode app, and then install it again from the App Store or from the Developer's site.

Trouble downloading XCode 6.1 on Mac OS X Yosemite

after upgrading my Mac to Yosemite I've had trouble downloading XCode 6.1
Every time I tried I got an error saying:
This item is temporarily unavailable. Try again later.
I have tried again later, for a couple days, with no luck.
I have found this Apple forum post really helpful, but I did not want to download the third party tools.
I have solved the problem by searching for XCode:
sudo find / -name *XCode*
Which returned:
/private/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/com.apple.DeveloperTools/5.1-5B130a/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/5.0.2-5A3005/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/5.1-5B130a/Xcode/CachedSpecifications-xcodebuild
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/com.apple.DeveloperTools/5.1.1-5B1008/Xcode/CachedSpecifications-xcodebuild
By renaming all of the com.apple.DeveloperTools folders/files above to aaacom.apple.DeveloperTools I have managed to get my App Store to download the new XCode.
What I wanted to ask was, has Yosemite changed the way that the Mac cache works?
I ask this because I noticed that some people had not managed to fix the issue by removing the usually recommended folder named com.apple.appstore. I can't say if this would/would not work since this is the first thing I tried so I'm asking if the Mac cache has changed, and if so in what way?
Edit 1:
I have only now noticed the really useful command that was posted by Elliott Slaughter in the same thread which is a slightly more general cache deletion than my command:
rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/com.apple.appstore"
Where on my machine:
...$ echo $(getconf DARWIN_USER_CACHE_DIR)
/var/folders/zn/ltz89cf17wj09s3bz6rnrwyc0000gn/C/
Edit 2:
So my assumption is that deleting com.apple.appstore wouldn't work because XCode seems to be referenced in the com.apple.DeveloperTools folders. Am I right?
I was dealing with this same problem, but I have not yet updated to Yosemite (Still on Mavericks).
To be specific my problem was I started to download Xcode 6.1.1, and then paused it, or got disconnected for some reason (I don't remember), and then could not download the app for days. From that point forward I received the error message.
This item is temporarily unavailable. Try again later.
I followed the comment by Danilo Muñoz on the second page of the Apple form Post Nonsensickle posted.
Go to the "App Store" > "Store" > "Check for Unfinished Downloads ..."
This fixed the bug.
As for your question, It doesn't seem that Yosemite changed the way that the Mac cache works, because I seem to have had the same problem on Mavericks.
It might be network error You can download directly it with this links
Or you can download .dmg files directly without such errors
Xcode 6
Xcode 6.1 link
6.0.1 link
Xcode 5
5.1.1 link
5.0.2 link
Xcode 4
4.6.3 link
4.5.2 link
4.4.1 link
4.3.2 link

Xcode failed to install

I am trying to install Xcode 4.2 on my Mac system having OS version 10.6.8.
Actually, I removed the Xcode from the system and tried to reinstall it.
I quit iTunes before installing it, and I have enough free space on disc (111 GB). Below is a screenshot of the error. What should I do?
Set your system time to 1st January 2012 or earlier (but not too early), as the certificate that signed the package has expired.
I had the same error message. In my case, it was solved by updating the OS software. There was an update waiting for "Apple installations software". After the update, Xcode installed perfectly well.
I found out I could download the installer directly from Apple instead of through the app store, and that the error described by the accepted answer could also be circumvented by installing the Mobile Development Framework manually.
See forum post Problems installing Xcode on Lion for more details.
I had the same trouble on Mac OS 10.8.5 when installing Xcode 4.4.1, Xcode 5.1.1, and Security_Update_2014-005. It turned out that the reason was the same in all these cases: an incompatibility with Vodafone/Huawei UMTS drivers. A workaround in this case is to temporarily move them away, e.g.
mv /System/Library/Extensions/{HuaweiDataCardDriver.kext,Vodafone.kext,VodafoneFilter.kext} ~
Then do the installation/update, and then restore those drivers, e.g.,
mv ~/{HuaweiDataCardDriver.kext,Vodafone.kext,VodafoneFilter.kext} /System/Library/Extensions/

Resources