Problem
Failed to start debugserver: e8000022 The service is invalid.2020-08-25 14:10:03.179 ios-deploy[24111:161543] [ !! ] Error 0xe8000022: The service is invalid. AMDeviceSecureStartService(device, CFSTR("com.apple.debugserver"), NULL, &con)
Sequence
Build the application using below command
xcodebuild -target <targetname> -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk -configuration Debug clean build
Deploy the application using below command
sudo ios-deploy --id <deviceid> --noninteractive --bundle CPAKCOP-HTC.app
Now an application successfully installed into my device but I'm facing the above issue
Environment details:
MAC-MINI
Code Block Mac-mini:$ xcodebuild -version Xcode 12.0 Build version 12A8189h
Code Block Mac-mini:$ ios-deploy --version 1.11.0
Code Block Mac-mini:$ xcodebuild -showsdks iOS SDKs: iOS 14.0 -sdk iphoneos14.0 iOS Simulator SDKs: Simulator - iOS 14.0 -sdk iphonesimulator14.0
Code Block Mac-mini:$ clang++ --version Apple clang version 12.0.0 (clang-1200.0.31.1) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Code Block Mac-mini:$ uname -a Darwin Mac-mini.local 19.6.0 Darwin Kernel Version 19.6.0: Sun Jul 5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64 x86_64
Code Block Mac-mini:$ system_profiler SPSoftwareDataType Software: System Software Overview: System Version: macOS 10.15.6 (19G73) Kernel Version: Darwin 19.6.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: Chetana’s Mac mini User Name: Deepthi Uma (deepthi) Secure Virtual Memory: Enabled System Integrity Protection: Enabled Time since boot: 6:16
iPad
Code Block Hardware Model: J81AP Device Name: iPad (2) Model Name: iPad Air 2 SDK Name: iphoneos Architecture Name: arm64 Product Version: 14.0 Build Version: 18A5351d
Solution
Could you please help us to resolve the issue?