0

I am using Mac OS 10.14.6 with Xcode 11.3.1 and with flutter when running the command flutter doctor -v everything is correct, the problem is that it does not let me compile because I am using iOS 15.4.1 download the OS version, so that could recognize, also use the following link: The code signature version is no longer supported to be able to solve a problem when compiling it that is: --generate-entitlement-der

but when I want to recompile it, it sends me the following error:

An error was encountered while attempting to communicate with this device. (The service is invalid.)

When verifying in more detail, it sends the following errors:

Details

An error was encountered while attempting to communicate with this device. (The service is invalid.)
Domain: com.apple.dtdevicekit
Code: -402653150
Failure Reason: Please try rebooting and reconnecting the device. (0xE8000022).
User Info: {
    DVTRadarComponentKey = 487927;
    "com.apple.dtdevicekit.stacktrace" = (
    0   DTDeviceKitBase                     0x00000001270f46e7 DTDKCreateNSError + 109
    1   DTDeviceKitBase                     0x00000001270f4de9 DTDK_AMDErrorToNSError + 792
    2   DTDeviceKitBase                     0x0000000127105d0c __63-[DTDKRemoteDeviceConnection startFirstServiceOf:unlockKeybag:]_block_invoke + 301
    3   DTDeviceKitBase                     0x00000001271054db __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_3 + 22
    4   DTDeviceKitBase                     0x00000001270f715f __DTDKExecuteInSession_block_invoke_2 + 35
    5   DTDeviceKitBase                     0x00000001270f6593 __DTDKExecuteWithConnection_block_invoke_2 + 473
    6   DTDeviceKitBase                     0x00000001270f6391 __DTDKExecuteWithConnection_block_invoke + 106
    7   libdispatch.dylib                   0x00007fff7227963d _dispatch_client_callout + 8
    8   libdispatch.dylib                   0x00007fff72285129 _dispatch_lane_barrier_sync_invoke_and_complete + 60
    9   DVTFoundation                       0x000000010c9dc110 DVTDispatchBarrierSync + 208
    10  DVTFoundation                       0x000000010c9b3538 -[DVTDispatchLock performLockedBlock:] + 64
    11  DTDeviceKitBase                     0x00000001270f6292 DTDKExecuteWithConnection + 226
    12  DTDeviceKitBase                     0x00000001270f6fc9 DTDKExecuteInSession + 376
    13  DTDeviceKitBase                     0x0000000127105410 __48-[DTDKRemoteDeviceConnection futureWithSession:]_block_invoke_2 + 112
    14  DVTFoundation                       0x000000010c9d9e7a __DVT_CALLING_CLIENT_BLOCK__ + 7
    15  DVTFoundation                       0x000000010c9db552 __DVTDispatchAsync_block_invoke + 809
    16  libdispatch.dylib                   0x00007fff722785f8 _dispatch_call_block_and_release + 12
    17  libdispatch.dylib                   0x00007fff7227963d _dispatch_client_callout + 8
    18  libdispatch.dylib                   0x00007fff7227f8e0 _dispatch_lane_serial_drain + 602
    19  libdispatch.dylib                   0x00007fff72280396 _dispatch_lane_invoke + 385
    20  libdispatch.dylib                   0x00007fff722886ed _dispatch_workloop_worker_thread + 598
    21  libsystem_pthread.dylib             0x00007fff724b9611 _pthread_wqthread + 421
    22  libsystem_pthread.dylib             0x00007fff724b93fd start_wqthread + 13
);
}
--

In some forums I saw that changing the cable and/or port, I also did it cleaning the project and restarting the equipment but I still have the same error.

In some forums they also mentioned that it was due to trying to compile on a device with an iOS that does not support the version of xcode but I do not know if there is any solution since neither for

0 Answers0