Xcode server can't be connected - xcode

I select Xcode in the Server app sidebar, and turn on Xcode, then Click Choose button to select Xcode.app in the Applications folder, but Server just hold on there for a long time with message 'Waiting for Xcode setup to complete...', and it remains the same after I change to a different Xcode or OS X Server, it's very annoying. The following log is found in system.log from Console app.
xcscontrol[7289]: Xcode version: 6.1 (6A1046a) (OS X SDK 13F26, iOS SDK 12B407)
xcscontrol[7289]: Server version: 4 (14S333)
xcscontrol[7289]: OS X version: 10.10 (14A389)
xcscontrol[7289]: [XCSHTTPResponse] Received an unexpected error: -1004 (Could not connect to the server.) - GET https://127.0.0.1:20344/api/versions

Related

Update to xcode 7.3 is not working

Is someone else having problems to update xcode 7.2 to 7.3?
Firstly there is no update option in App Store. I found a link at App Store xcode 7.3, this link will open your app store on the xcode page, after I press update, a loading spinner appears but after 2 hours of waiting nothing has happened Is there another way to update xcode?
Edit: There is no option update xcode in App Store
xcode 7.3 is not supported in OS lower than 10.11, You need to upgrade your OS to OS X 10.11 or later (El Capitan) and try to upgrade the xcode to 7.3
You can download Xcode yourself from https://developer.apple.com/downloads (an Apple Developer account required).
This is what you should see (I filtered the available downloads by typing "Xcode"):
I had the same problem while I was trying to update to Xcode 8.1 with Waiting.. status on AppStore under Xcode icon. What I has done to fix this is:
1) Go to https://developer.apple.com/download/
2) Press Lunch Application
And when it opens on AppStore, it will refresh the status from Waiting.. to Downloading...

how to connect applewatch os1 with xcode 7.1 simulator

I want to run my apple watchkit(OS1) app on a watchsimulator, but i could not connect my app simulator becuase i could not find watch option on the external diplay. my app ios is 9.1 and my xcode is 7.1.1. onother issue here is i can not see applewatch OS1 as an option in xcode 7.1 when i try to add new simulator device.
my question is:
1. why cann't i see the the applewatch on external display? (possible reason)
2. Is it possible to run Applewatch OS 1 using xcode 7.1?
here is thedisplay

Xcode no longer shows Xcode Bots / OS X Server from Local Network

I have a Mac Mini on my local network that runs Xcode Bots for continuous integration.
Recently, these Bots stopped appearing in the Xcode Reports Navigator where they normally are located. I can no longer see the Bots' integration logs or tell them to "Integrate Now".
How can I fix this issue?
In my case, this issue seems related to the discoveryd clusterf*** in Mac OS X Yosemite.
Go to Xcode > Preferences > Accounts > Servers
When the Xcode Bots were not visible, Servers listed only "Mac mini (2)". This was apparently different than the current name/address of the Mac Mini on the local network.
Use Add Server... to re-add the Mac Mini Xcode Server with its new name/address.
You'll now have 2 Mac Minis listed under Servers. One of them will allow you to view the Xcode Bots on your local network.

Xcode 6 GM with iPhone 5s (iOS 8 GM) - 0xE8000070

I'm using Xcode 6 GM Seed (build 6A313) with iPhone 5s (Model A1530, iOS 8 build 12A365). I connect the iPhone via USB lightning cable. But in Xcode, it shows as: "iPhone 5s (unavailable)".
Further investigation: I open Xcode menu > Window > Devices, it shows the following error:
An error was encountered while enabling development on this device.
Please try rebooting and reconnecting the device. (0xE8000070)
I reboot and reconnect my iPhone 5s, the same error is shown. This device was used for development in previous Xcode 5, and shows no problem at all.
What should I do? I want to try my apps in iOS 8 device.
If you are using Xcode-beta 7.1 and want to run app on iOS 9.0 like me you will also get the same error. The solution is:
Use corresponding iOS 9.1-beta.
Use Xcode 7.0
Run on simulator.
The problem is resolved after I updated iTunes to version 11.4 via Software Updates.
The Xcode error message is misleading.
In my case, during 2 years developing, my phone has several test app with name (null). you can only see a default Xcode app icon in app list in Setting. I had tried updating Xcode, but not work. finally I delete these null name apps, then Xcode - device can connect it without warning sign. Run test app won't get the error in question. only my case. share it in case you encounter in future.

How to uninstall multiple Xcode instances in OS X 10.9

I have multiple Xcode Apps installed in OS X 10.9.2 to check the compatibility. Now I am facing a problem when I run the app, this error occurs "iOS simulator failed to install the application". I want uninstall all Xcode completely to reinstall latest Xcode 5.1. How can I do that? Thanks.
Xcode Instances
/Applications/Xcode.app (Xcode v5.0.2)
~/Apps/Xcode.app (Xcode v4.6)
Use Appcleaner
or
Just drag and drop Xcode to trash from app folder
Looks like this is a known issue. From the -->>
https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-Xcode/Introduction/Introduction.html
**After switching the minimum deployment target of an application from
iOS 7.0 to a release prior to iOS 7.0, building and running the
application may fail with the message “iOS Simulator failed to
install the application.
” Go to the iOS home screen, click and hold the application icon, then tap the hovering “X” button to delete the application.
**
Another release note:
iOS Simulator If an iOS app is detached, relaunching the same app
from Xcode will result in a black screen in the Simulator even though
the new app is launched. Terminate the app in the Simulator or
relaunch it for the second time.
if you have already developed project and you used xib to develop views then
X-Code > Inspector Selector Bar > Interface Builder Document > opens in > and change from Xcode Default(5.o) to Xcode 4.6 .
Build and Run your app it will run successfully, if it won't run again then, header over to iOS Simulator - Reset Content and Settings. delete old app from simulator then Run again.

Resources