XCODE 8.1 when upgraded to 8.2, couldnt open, Not Responding - xcode

MAC OS 10.12.2
XCODE 8.1 upgraded to 8.2
Restarted and opened But no response. Checked ForceQuit > list. Xcode is not responding.
Any suggestion on recovering from this situation

I've faced the similar issue and i think it's because during the update process when Xcode window was open and after the prompt message it kills the Xcode running instance and that probably corrupts the derived data. Try clearing the derived data and it should work as it does on my machine today.

Related

The selected device was disconnected and cannot be accessed anymore from this machine

I am trying to run my Xamarin app in debug mode on an iPhone 11. But I'm getting a "cannot be accessed" error.
And when I attempt to open the simulator I get the following error.
I've upgraded to the latest version of Rider (2020.2.3) but I'm still getting the issue. Why can't I run my app on iPhone?
You need to install additional XCode components—likely because of a recent MacOS update. Do the following:
Open XCode
Click "Install" when prompted
Once the components have been installed, you should be able to run your app on an iPhone.
I had the same issue, but nothing was updated on my machine. I ended up rebooting my iPhone, which fixed the problem for me.

Workaround for Xcode closing after creating macOS app?

I installed Xcode 11.2.1 GM seed (I heard that 11.2 was buggy). The issue is that whenever I create any type of macOS app on Xcode, it closes itself after a few seconds. I had Xcode 11.1 and I had the same issue with it too. Has anyone found a solution/workaround for this problem? By the way, my Mac is 10.14.6 and I run it on VMWare Virtual Machine.
I found a workaround to this issue. Weirdly, when you create a macOS app choose "None" for team option. And then the project will open without any sudden crashes.

Unable to update Xcode server from Xcode 9.4.1 to Xcode 10

I updated my Mac Mini to Mojave also updated to Xcode 10, I've Xcode server configured in my Xcode 9.4.1 it was running even having some issues like couldn't able to install IPA directly into the device. Today I updated my Xcode and tried to update the Xcode server, it is throwing an error while starting Apache. Here is the screen shot.
I had the same problem with a new macOS 10.14 installation.
Any chance you have the latest version of macOS Server (5.7.1) installed too? Apparently the Xcode Server initialization process assumes that if you have macOS Server installed, then it can find a bundled version of Apache.
Since Apple gutted macOS Server recently, that assumption no longer holds, and the helper tools crash during initialization (check for xcsreciperunner crash logs).
I was finally able to turn on Xcode Server only after deleting the macOS Server app. Hope this helps.

Xamarin iOS simulator issues - The device was not found

I am trying to use the Xamarin iOS simulator but it fails on launch with a "The device {guid} was not found".
I have my environment settings like...
and when I run I see...
then...
researching the error, the recommendation is to explicitly set the XCode path which I have done, but I get the same error. Also, notice I am connected to our build Mac.
I have a coworker connected to the same Mac with the same computer and VS version I am on, and his iOS simulator works fine. I have uninstalled/reinstalled the simulator and restarted Visual Studio (2017RC).
I appreciate any pointers someone might have!
UPDATE
I reinstalled my Windows 10 OS thinking I had a corrupt install. Unfortunately on a clean machine with 2017RC, the simulator still fails in the same way as I described above.
In my case: UnCheck Remote Simulator to Windows
I am facing the same issue from last two days and solved this as well by removing the latest version of XCode 12.5.
Download the previous version of code i.e 12.4 from apple site and install
Move the downloaded xcode file in application and check on windows
It works fine
Latest version of XCode 12.5 is not stable
I confirm the issue is currently (May 2021) caused by Xcode 12.5 upgrade.
After I downgraded back to Xcode 12.4, the simulators started to work again with no problem.
I tried to upgrade Visual Studio for Windows to latest version 16.9.4, did not help. I launched Visual Studio Installer to reinstall Xamarin, did not help either.
Only when I removed Xcode 12.5 (using this shell script https://onexlab-io.medium.com/uninstall-xcode-from-macos-eca1b69dc836) and installed version 12.4 (from XIP archive from here How to download Xcode DMG or XIP file?) it started to work.
You may need to uncheck "Remote Simulator to Windows." I just fixed this issue for myself by doing so. However, I was trying to launch on the iOS simulator on my Mac side (running Windows vm via Parallels). It seems you might be trying to launch the simulator in windows.
If you need a quick solution, downgrade the version of VS and Xcode, for me this works:
VS 2019 - 16.9.3
Xcode - 12.4
Xamarin.iOS - 14.14.2.5
And for physical devices make sure Hot Restart is not enabled in Tools > Options > Xamarin > iOS settings
Just had the same problem after upgrading mac to Big Sur and Xcode 12.5 yesterday. Reboots and deleting obj/bin/.vs folders made no difference. The fix was to explicitly type the Xcode path into Xamarin options iOS settings - even though it was the default - untick Remote Simulator to Windows then pair/connect to mac from that options dialog. After closing the dialog and reopening it Remote Simulator was checked again. I unchecked it, closed the dialog and reopened it to check again - it was closed this time. All works fine now.
I also ran mac VS and let it update in the midst of all this.
I have the same issue since yesterday, to resolve that I uninstall the "Xamarin iOS simulator" and now it works...
it may be a solution for your issue!
Did you resolved the issue already?
I bumped onto the same issue today. I tried opening Xcode on Mac and it says it need to install additional tools. I let it install and try open/quit Visual Studio for Mac, Xcode, Simulator again (not sure if it is related)
Now to remote simulator works fine again.
I had the same issue and i resolved it by realizing that my PC with VS was on a different network than my Mac with Xcode. Once i put both machines on the same network the issue went away. Hope it helps.

After downloading XCode, it doesn't show up on my disk

Today, on my MacBook Pro with OS X 10.10.3, I launched the App Store application and downloaded XCode 7. After the download has ended, I cannot find any update file on my disk. App Store says XCode 7 is installed, but indeed it's not. The XCode application on my disk is still the old version 6.4 and there is no trace of the XCode 7, nor an installer on my disk. I launched XCode 6.4 hopefully some upgrading should have been launched afterwards, but nothing happened. The About window confirms: it's the version 6.4 (6E35b). I turned off the machine and rebooted. Nothing changed. So I downloaded XCode 7 once again. Same trouble. Any idea? Solution?
If you don't find another way to install XCode 7 try to install the XCode 7.1 beta. Works fine for me: https://developer.apple.com/xcode/download/
At the Apple Developer Forum I have seen that other developers had the same trouble. Anyway, after downloading XCode 7 for the 3rd time, it worked. Thanks.

Resources