davesc63 / GeoPort

GeoPort: Your Location, Anywhere! The iOS location simulator
https://geoport.me
GNU General Public License v3.0
102 stars 9 forks source link

Using GeoPort breaks device connection for Xcode #44

Open RL-William-Coates opened 1 month ago

RL-William-Coates commented 1 month ago

If I connect my device to GeoPort, I get an error from Xcode when attempting to install an app, even after closing the connection with GeoPort. I am using version 2.3.3. I don't experience this issue using version 2.1.0.

The only fix is to forget my local network on both my Mac and iPhone, restart both devices, and re-pair the device in Xcode.

Here's the error from Xcode:

Timeout while connecting to remote device.
Domain: com.apple.mobiledevice
Code: -402652910
User Info: {
    DVTErrorCreationDateKey = "2024-05-08 1:29:01\U202fPM +0000";
    FunctionName = "_AMDeviceCreateWithRemoteDeviceWithError";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
    LineNumber = 334;
}
--
Timeout while connecting to remote device.
Domain: com.apple.mobiledevice
Code: -402652910
User Info: {
    FunctionName = "_AMDeviceCreateWithRemoteDeviceWithError";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
    LineNumber = 334;
}
--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.4.1 (21E236)";
    "device_platform" = "com.apple.platform.iphoneos";
    "dvt_coredevice_version" = "355.24";
    "dvt_mobiledevice_version" = "1643.100.58";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 10051;
    "operation_errorCode" = "-402652910";
    "operation_errorDomain" = "com.apple.mobiledevice";
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphoneos";
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_checker_tpc_enable" = 1;
    "param_diag_gpu_frameCapture_enable" = 0;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_queueDebugging_enable" = 1;
    "param_diag_runtimeProfile_generate" = 0;
    "param_diag_sanitizer_asan_enable" = 0;
    "param_diag_sanitizer_tsan_enable" = 0;
    "param_diag_sanitizer_tsan_stopOnIssue" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 0;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 99;
    "param_launcher_substyle" = 8192;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos17.4";
    "sdk_osVersion" = "17.4";
    "sdk_variant" = iphoneos;
}
--

System Information

macOS Version 14.4.1 (Build 23E224)
Xcode 15.3 (22618) (Build 15E204a)
Timestamp: 2024-05-08T14:29:01+01:00
davesc63 commented 1 month ago

Can't reproduce sorry