XCode 13 beta 2, App installation failed on iOS 15
Asked Answered
R

2

9

App runs fine on iOS 14 device but on iOS 15 i'm not able to install It throws below error from the XCode 13 beta 2.

Cleaned Dervied Data and tried it didnt work, Opted for Automatic / Manual sign in both didnt work

System Information

macOS Version 12.0 (Build 21A5268h) Xcode 13.0 (19161.15) (Build 13A5155e)

Details

Unable to install "TestApp"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
A valid provisioning profile for this executable was not found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
    DVTRadarComponentKey = 487925;
    MobileDeviceErrorCode = "(0xE8008015)";
    "com.apple.dtdevicekit.stacktrace" = (
    0   DTDeviceKitBase                     0x00000001115b0546 DTDKCreateNSErrorFromAMDErrorCode + 220
    1   DTDeviceKitBase                     0x00000001115ee85b __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
    2   DVTFoundation                       0x00000001062abdc0 DVTInvokeWithStrongOwnership + 71
    3   DTDeviceKitBase                     0x00000001115ee5a5 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1420
    4   IDEiOSSupportCore                   0x0000000110363dae __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3508
    5   DVTFoundation                       0x00000001063df5e8 __DVT_CALLING_CLIENT_BLOCK__ + 7
    6   DVTFoundation                       0x00000001063e0d54 __DVTDispatchAsync_block_invoke + 931
    7   libdispatch.dylib                   0x00007ff8095ec39e _dispatch_call_block_and_release + 12
    8   libdispatch.dylib                   0x00007ff8095ed596 _dispatch_client_callout + 8
    9   libdispatch.dylib                   0x00007ff8095f3511 _dispatch_lane_serial_drain + 639
    10  libdispatch.dylib                   0x00007ff8095f3fbf _dispatch_lane_invoke + 366
    11  libdispatch.dylib                   0x00007ff8095fdd8a _dispatch_workloop_worker_thread + 758
    12  libsystem_pthread.dylib             0x00007ff809798132 _pthread_wqthread + 326
    13  libsystem_pthread.dylib             0x00007ff8097970bf start_wqthread + 15
);
}
--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "iPhone11,8";
    "device_osBuild" = "15.0 (19A5297e)";
    "device_platform" = "com.apple.platform.iphoneos";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 45578;
    "operation_errorCode" = "-402620395";
    "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.5";
    "param_runnable_type" = 2;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos15.0";
    "sdk_osVersion" = "15.0";
    "sdk_variant" = iphoneos;
}
--


System Information

macOS Version 12.0 (Build 21A5268h)
Xcode 13.0 (19161.15) (Build 13A5155e)
Timestamp: 2021-07-17T21:15:14+05:30
Readymade answered 17/7, 2021 at 15:52 Comment(2)
Any update on this?Supersedure
facing same issue any update on this?Peppercorn
P
0

just found a workaround mentioned here on this thread https://developer.apple.com/forums/thread/679182

Steps -

go to the TARGETS -> select[your project name] -> General -> Frameworks,Libraries,and EmbeddedContent -> set the framework with [Do Not Embed]

but then it gives me dyld[7683]: Library not loaded error at runtime after installing app on device :(

So I tried setting [Do Not Embed] for pods framework and [Embed and sign] for my own framework it resolved library not loaded error and also able to install app.

Peppercorn answered 7/12, 2021 at 17:19 Comment(0)
A
0

Check the space in your device.

Amatol answered 18/2, 2022 at 0:46 Comment(1)
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.Nonappearance

© 2022 - 2025 — McMap. All rights reserved.