Could not inspect the application package.

I was using Agora for video calls as pod 'AGEVideoLayout' in my application. Now we don't need that so I remove pod 'AGEVideoLayout'. After that, I did clean and build and I am getting the error "Unable to install MyAppName". My app compiled and build fine but got the error "Unable to install MyAppName" when installing on the actual device.

Here is the error log details

Unable to install "Corey" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653103 User Info: {   DVTErrorCreationDateKey = "2022-04-06 09:48:34 +0000";   IDERunOperationFailingWorker = IDEInstalliPhoneLauncher; }

Could not inspect the application package. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653103 User Info: {   DVTRadarComponentKey = 282703;   MobileDeviceErrorCode = "(0xE8000051)";   "com.apple.dtdevicekit.stacktrace" = ( 0  DTDeviceKitBase           0x0000000113ace9d1 DTDKCreateNSErrorFromAMDErrorCode + 220 1  DTDeviceKitBase           0x0000000113b0ace7 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155 2  DVTFoundation            0x000000010627ca86 DVTInvokeWithStrongOwnership + 71 3  DTDeviceKitBase           0x0000000113b0aa1d -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1422 4  IDEiOSSupportCore          0x00000001139e7668 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.301 + 3414 5  DVTFoundation            0x00000001063ae620 DVT_CALLING_CLIENT_BLOCK + 7 6  DVTFoundation            0x00000001063af708 __DVTDispatchAsync_block_invoke + 372 7  libdispatch.dylib          0x00007ff81175fad8 _dispatch_call_block_and_release + 12 8  libdispatch.dylib          0x00007ff811760cc9 _dispatch_client_callout + 8 9  libdispatch.dylib          0x00007ff811766cee _dispatch_lane_serial_drain + 696 10 libdispatch.dylib          0x00007ff8117677c8 _dispatch_lane_invoke + 366 11 libdispatch.dylib          0x00007ff8117717e1 _dispatch_workloop_worker_thread + 758 12 libsystem_pthread.dylib       0x00007ff81191408f _pthread_wqthread + 326 13 libsystem_pthread.dylib       0x00007ff81191301b start_wqthread + 15 ); }

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {   "device_model" = "iPad8,1";   "device_osBuild" = "15.4 (19E241)";   "device_platform" = "com.apple.platform.iphoneos";   "launchSession_schemeCommand" = Run;   "launchSession_state" = 1;   "launchSession_targetArch" = arm64;   "operation_duration_ms" = 24654;   "operation_errorCode" = "-402653103";   "operation_errorDomain" = "com.apple.dt.MobileDeviceErrorDomain";   "operation_errorWorker" = IDEInstalliPhoneLauncher;   "operation_name" = IDEiPhoneRunOperationWorkerGroup;   "param_consoleMode" = 0;   "param_debugger_attachToExtensions" = 0;   "param_debugger_attachToXPC" = 1;   "param_debugger_type" = 5;   "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_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" = 0;   "param_launcher_substyle" = 0;   "param_runnable_appExtensionHostRunMode" = 0;   "param_runnable_productType" = "com.apple.product-type.application";   "param_runnable_swiftVersion" = "5.6";   "param_runnable_type" = 2;   "param_testing_launchedForTesting" = 0;   "param_testing_suppressSimulatorApp" = 0;   "param_testing_usingCLI" = 0;   "sdk_canonicalName" = "iphoneos15.4";   "sdk_osVersion" = "15.4";   "sdk_variant" = iphoneos; }

System Information

macOS Version 12.0.1 (Build 21A559) Xcode 13.3 (20102) (Build 13E113) Timestamp: 2022-04-06T15:18:34+05:30

How did it work out?

How did you settle it?

have you found a solution? I`m with the exactly same error

Could not inspect the application package.
 
 
Q