Reputation: 1960
I have created a new project and running the project on iOS 14.5.1 device with Xcode 12.5. But it is showing an error saying "Xcode failed to start remote service com.apple.debugserver on device"
I have tried all the below options
Notes:
Attaching a screenshot below for reference.
Upvotes: 3
Views: 1696
Reputation: 1960
Finally, I found the solution for this after performing the below steps
Developer
folder by executing this command cd /Library/Developer
. By using xcode-select --install
command we can install CommandLineTools for the xcode.xcode-select --install
command, got network problem error, this is because installation server configuration is different. By using this answer i am able to successfully install the CommandLineToolsApplications -> Xcode(right click and select show packget contents) -> Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport ->
renamed 14.5 folder name to 14.5.1McAfee
software security check. i have disabled that by following steps in this link, So as part of this we have to disable McAfee
by simply executing sudo /usr/local/McAfee/AntiMalware/VSControl stopoas
command in the terminal.Finder -> iphone device name folder
, iPhone device
Library -> Developer -> Xcode -> iOS DeviceSupport -> 14.5.1 (18E212) arm64e ->
check info.plist file, symbols folder available. If these files are avaible then our device is successfully paired with mac system and it is ready for debugging.Upvotes: 4