お世話になります。
背景と内容
iOSアプリのOSアップデートの対応を行なっており、
releaseビルドでの実機テストの際にエラーが出ております。
「Unable to install "HogehogeApplication"」
詳細は以下の通りです。
txt
1Details 2 3Unable to install "HogehogeApplication" 4Domain: com.apple.dt.MobileDeviceErrorDomain 5Code: -402620395 6User Info: { 7 DVTErrorCreationDateKey = "2022-03-30 14:15:19 +0000"; 8 IDERunOperationFailingWorker = IDEInstalliPhoneLauncher; 9} 10-- 11A valid provisioning profile for this executable was not found. 12Domain: com.apple.dt.MobileDeviceErrorDomain 13Code: -402620395 14User Info: { 15 DVTRadarComponentKey = 487925; 16 MobileDeviceErrorCode = "(0xE8008015)"; 17 "com.apple.dtdevicekit.stacktrace" = ( 18 0 DTDeviceKitBase 0x0000000115fcd614 DTDKCreateNSErrorFromAMDErrorCode + 272 19 1 DTDeviceKitBase 0x0000000116006dd8 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 160 20 2 DVTFoundation 0x00000001043d5e70 DVTInvokeWithStrongOwnership + 76 21 3 DTDeviceKitBase 0x0000000116006b30 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1336 22 4 IDEiOSSupportCore 0x0000000115b51590 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.301 + 2916 23 5 DVTFoundation 0x00000001044fd1ac __DVT_CALLING_CLIENT_BLOCK__ + 16 24 6 DVTFoundation 0x00000001044fe2c4 __DVTDispatchAsync_block_invoke + 364 25 7 libdispatch.dylib 0x000000018412ce60 _dispatch_call_block_and_release + 32 26 8 libdispatch.dylib 0x000000018412ebac _dispatch_client_callout + 20 27 9 libdispatch.dylib 0x0000000184136330 _dispatch_lane_serial_drain + 672 28 10 libdispatch.dylib 0x0000000184136ea4 _dispatch_lane_invoke + 392 29 11 libdispatch.dylib 0x0000000184141708 _dispatch_workloop_worker_thread + 656 30 12 libsystem_pthread.dylib 0x00000001842e9304 _pthread_wqthread + 288 31 13 libsystem_pthread.dylib 0x00000001842e8018 start_wqthread + 8 32); 33} 34-- 35 36Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : { 37 "device_model" = "iPhone8,1"; 38 "device_osBuild" = "15.1 (19B74)"; 39 "device_platform" = "com.apple.platform.iphoneos"; 40 "launchSession_schemeCommand" = Run; 41 "launchSession_state" = 1; 42 "launchSession_targetArch" = arm64; 43 "operation_duration_ms" = 8844; 44 "operation_errorCode" = "-402620395"; 45 "operation_errorDomain" = "com.apple.dt.MobileDeviceErrorDomain"; 46 "operation_errorWorker" = IDEInstalliPhoneLauncher; 47 "operation_name" = IDEiPhoneRunOperationWorkerGroup; 48 "param_consoleMode" = 0; 49 "param_debugger_attachToExtensions" = 0; 50 "param_debugger_attachToXPC" = 1; 51 "param_debugger_type" = 5; 52 "param_destination_isProxy" = 0; 53 "param_destination_platform" = "com.apple.platform.iphoneos"; 54 "param_diag_MainThreadChecker_stopOnIssue" = 0; 55 "param_diag_MallocStackLogging_enableDuringAttach" = 0; 56 "param_diag_MallocStackLogging_enableForXPC" = 1; 57 "param_diag_allowLocationSimulation" = 1; 58 "param_diag_gpu_frameCapture_enable" = 0; 59 "param_diag_gpu_shaderValidation_enable" = 0; 60 "param_diag_gpu_validation_enable" = 0; 61 "param_diag_memoryGraphOnResourceException" = 0; 62 "param_diag_queueDebugging_enable" = 1; 63 "param_diag_runtimeProfile_generate" = 0; 64 "param_diag_sanitizer_asan_enable" = 0; 65 "param_diag_sanitizer_tsan_enable" = 0; 66 "param_diag_sanitizer_tsan_stopOnIssue" = 0; 67 "param_diag_sanitizer_ubsan_stopOnIssue" = 0; 68 "param_diag_showNonLocalizedStrings" = 0; 69 "param_diag_viewDebugging_enabled" = 1; 70 "param_diag_viewDebugging_insertDylibOnLaunch" = 1; 71 "param_install_style" = 0; 72 "param_launcher_UID" = 2; 73 "param_launcher_allowDeviceSensorReplayData" = 0; 74 "param_launcher_kind" = 0; 75 "param_launcher_style" = 0; 76 "param_launcher_substyle" = 0; 77 "param_runnable_appExtensionHostRunMode" = 0; 78 "param_runnable_productType" = "com.apple.product-type.application"; 79 "param_runnable_swiftVersion" = "5.6"; 80 "param_runnable_type" = 2; 81 "param_testing_launchedForTesting" = 0; 82 "param_testing_suppressSimulatorApp" = 0; 83 "param_testing_usingCLI" = 0; 84 "sdk_canonicalName" = "iphoneos15.4"; 85 "sdk_osVersion" = "15.4"; 86 "sdk_variant" = iphoneos; 87} 88-- 89 90System Information 91 92macOS Version 12.1 (Build 21C52) 93Xcode 13.3 (20102) (Build 13E113) 94Timestamp: 2022-03-30T23:15:19+09:00
Debugビルド 実機 → 成功
Releaseビルド シミュレータ → 成功
Xcode 13.3
実機 iPhone 6S
シミュレータ iPhone 13 Pro MaxとiPhone 8で試しています。
質問内容
・解決方法を知りたい
・どこから見ていけばいいのか知りたい
→Debug実機、ReleaseエミュレーションはOKとなっているため、
ある程度原因は絞られるのかと思っていますが、
当方、Xcode, iOSアプリ開発にあまり明るくなく、
絞った先でどこを修正していけばいいのか分からないです。
ご教示いただけますと幸いです。
よろしくお願いいたします。

回答1件
あなたの回答
tips
プレビュー