I’m unable to debug on iOS 14.2 devices. It deploys to a device fine, but can’t connect. I’ve tried a new iPad and an iPhone. I have tried using two different macs all with the same result. This is the last bits of the log:
Installation progress: 95% GeneratingApplicationMap
DeviceAppURL=file:///private/var/containers/Bundle/Application/533B0D6F-B1E2-455E-8439-4C4E8A9A1002/Logonn.app/
DeviceAppContainer=/var/containers/Bundle/Application/533B0D6F-B1E2-455E-8439-4C4E8A9A1002
Deployment of app bundle successful.
DeveloperFolder=/Applications/Xcode.app/Contents/Developer
Architecture=arm64e
Running /Applications/Fire.app/Contents/Resources/crossboxhelper --debug 00008020-00042DE20CE8402E 38366
RemObjects Elements CrossBoxHelper 1.42: Starting Debug Server on Device
Waiting for device: 00008020-00042DE20CE8402E
DeveloperFolder=/Applications/Xcode.app/Contents/Developer
DeviceSupportPath=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/14.2
Architecture=arm64e
Developer disk image found in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/14.2/DeveloperDiskImage.dmg
Setup progress: 30% Looking up DeveloperDiskImage.dmg
Setup progress: 95% Developer disk image mounted successfully
Error: AMDeviceStartService(com.apple.debugserver) | e8000022 (-402653150)
DetailedError: The service is invalid. (kAMDInvalidServiceError)
I wonder if it’s related to the fact that even the app (a DA client) isn’t able to connect to the server either (all works fine on older iOS), so I’m thinking maybe something has changed that I’ve missed in the networking. I also tried creating a new project in Fire (simple iOS template) with the same result.
I’ve been testing on a device rather than simulator as I also seem to have lost my list of simulators on the main mac I use, using Fire (they are there in Xcode) and I’m not sure why, though that will be a separate issue.
I’m thinking of just dropping crossbxhelper and switching to using https://github.com/ios-control/ios-deploy, so I can stop worrying having to watch up with every time Apple breaks his this works, myself. I’ll see if I (hopefully) can get that integrated fro Friday…
Got it working with ios-deploy, mostly. only issue is, I don’t seem to be getting symbols. But then, I also don’t see any Symbols subfolders in /Users/mh/Applications/Xcode-12.2-GM.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/14.2 at all, which is also where crossboxhelper would have located them… Downloading 12.3 now to see if that fixes anything (as my phone in on 14.3)…
But nothing happened. It didn’t even copy it across (I can tell this as I have the app store version on the iPad which should be replaced by this update). This is all there is on console, when I press run:
Mmm, oddly, I then tried another iPad with iOS 12.4.9 and Fire won’t even let me select it in the device list. As I don’t have any simulators showing on this mac either, the run command it only available if I plug the original iPad (14.2) in.
I’ll go and try it on the other mac, where I do have simulators.
curious,. iff you run crossboxhelper --listdevices, what does it show?
Hmm, no output at all? can you see if /Volumes/Fire 10.0.0.2572/Fire.app/Contents/Resources/ios-deploy is executable, and iff not do chmod +x on it (might need to have to copy fire off the DMG for that). I’ll see why the build doesn’t set that, but my local built-from-script Fire just failed on the same (even though when I tested yesterday wit was fine).
hmm, and the new one doesnt show in the IDE< but the old one does? freaky, they both look the same’ish, aside from then change in ID format (which iirc I just treat as a string…)
Deployment of app bundle successful.
DeveloperFolder=/Applications/Xcode.app/Contents/Developer
Architecture=arm64e
Running /Applications/Fire.app/Contents/Resources/crossboxhelper --debug 00008020-00042DE20CE8402E 17108
RemObjects Elements CrossBoxHelper 1.42: Starting Debug Server on Device
Waiting for device: 00008020-00042DE20CE8402E
DeveloperFolder=/Applications/Xcode.app/Contents/Developer
DeviceSupportPath=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/14.2
Architecture=arm64e
Developer disk image found in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/14.2/DeveloperDiskImage.dmg
Setup progress: 30% Looking up DeveloperDiskImage.dmg
Setup progress: 95% Developer disk image mounted successfully
Error: AMDeviceStartService(com.apple.debugserver) | e8000022 (-402653150)
DetailedError: The service is invalid. (kAMDInvalidServiceError)