Hello!
I'm using corporate Mac which is managed via MDM and have many security restrictions such as mandatory turned on Firewall in stealth mode, blocking all incoming connections and usage of a VPN connection via PulseSecure.
I tried to turn off the VPN and connect my iPhone via cable, after that it has appeared in XCode devices list. But they cannot pair due to Firewall restrictions which I can't turn off due to my company security policies.
Pairing finishes with error:
Browsing on the local area network for iPhone 11, which has previously reported preparation errors
Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly.
The device worked very good with Xcode 15 and iOS 16.7 before the update to iOS 17. Reading of many posts with the similar problem shows that there was a new communication protocol introduced in iOS 17 and XCode 15 that actually cannot work without network, even when an iOS device connected via cable.
Is it somehow possible to pair iOS 17 with XCode 15 device and use debugging via cable with turned on Firewall? Seems this new "superb feature" now blocks many companies with mandatory turned on Firewall. Downgrading to iOS 16.7 or to Xcode 14.2 is not a solution.
Additional error info:
Internal logic error: Connection was invalidated
Domain: com.apple.CoreDevice.ControlChannelConnectionError
Code: 1
User Info: {
DVTErrorCreationDateKey = "2023-11-14 14:03:32 +0000";
"com.apple.dt.DVTCoreDevice.operationName" = connect;
}
--
Transport error
Domain: com.apple.CoreDevice.ControlChannelConnectionError
Code: 0
--
The operation couldn’t be completed. Operation timed out
Domain: NSPOSIXErrorDomain
Code: 60
Failure Reason: Operation timed out
User Info: {
NSDescription = "Operation timed out";
}
--
System Information
macOS Version 13.5.1 (Build 22G90)
Xcode 15.0.1 (22266) (Build 15A507)
Timestamp: 2023-11-14T15:03:32+01:00
Thank you!