When XCode device added, Devices incrementally increase by 10 indefinitely

Updated on December 9th, 2022

Table of Contents

X

Symptom

After adding a new advice in Device Director for XCode, the Devices column continually increases by a count of 10 each second. 

DeviceDirect_DevicesIncrease.jpg

NOTE: This issue has only been seen in environments where Device Director and XCode are situated together, thus causing a port conflict. 

Resolution

To resolve the issue, it is necessary to alter the default XCode ports. 

1) Open the xsysconfig in a notepad editor (This can generally be found in: C:\Program Files\IPV\XCode Service\Bin)

2) Change the value for SERVERPORT to a new port that is not currently in use and save.

NOTE: The port in the above image is just an example. Whatever port is used, this will need to be unblocked through the network and firewall to allow functionality.

3) Device Director now needs to be made aware of the port change. Therefore, you must edit Services.XCodeManager.Hosts.WindowsService.exe.config in a notepad editor (this can generally be found in: C:\Program Files\IPV\Device Director Service) and save.

4) Restart both the XCode and Device Director services in order for the changes to take effect.

NOTE: If the Device Director service fails to start. Stop the XCode service, start Device Director, then start XCode.

NOTE: If the above does not resolve the issue, check event viewer as there may be a port/socket conflict.

Was this article helpful?