2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Unable to install "アプリ名" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653103

Last updated at Posted at 2021-03-09

1. エラーの状況

iPhoneアプリ開発 ( Xcode Version 12.4 (12D4e) ) 実機で実行時にエラーが発生した。

Details

Unable to install "アプリ名"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
--
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                     0x0000000129e82c8f DTDKCreateNSErrorFromAMDErrorCode + 220
	1   DTDeviceKitBase                     0x0000000129ec1241 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
	2   DVTFoundation                       0x000000010d0e564b DVTInvokeWithStrongOwnership + 71
	3   DTDeviceKitBase                     0x0000000129ec0f82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
	4   IDEiOSSupportCore                   0x0000000129d31a10 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
	5   DVTFoundation                       0x000000010d21417e __DVT_CALLING_CLIENT_BLOCK__ + 7
	6   DVTFoundation                       0x000000010d215da0 __DVTDispatchAsync_block_invoke + 1191
	7   libdispatch.dylib                   0x00007fff202615dd _dispatch_call_block_and_release + 12
	8   libdispatch.dylib                   0x00007fff202627c7 _dispatch_client_callout + 8
	9   libdispatch.dylib                   0x00007fff202685fe _dispatch_lane_serial_drain + 606
	10  libdispatch.dylib                   0x00007fff202690cb _dispatch_lane_invoke + 375
	11  libdispatch.dylib                   0x00007fff20272c5d _dispatch_workloop_worker_thread + 819
	12  libsystem_pthread.dylib             0x00007fff2040a499 _pthread_wqthread + 314
	13  libsystem_pthread.dylib             0x00007fff20409467 start_wqthread + 15
);
}
--
System Information

macOS Version 11.2.2 (Build 20D80)
Xcode 12.4 (17801) (Build 12D4e)
Timestamp: 2021-03-09T16:52:37+09:00

2. エラーの原因

Google広告 Google Mobile Ads SDK Version 8.1.0 に更新 ( Frameworksの更新 ) の時に
Embed が "Embed & Sign" (既定値) になっていた。

image.png

3. エラーの改善内容

Google広告 Google Mobile Ads SDK Version 8.1.0 に更新 ( Frameworksの更新 ) の時に
Embed を "Do Not Embed" に変更した。

image.png

4. (備考) Google Mobile Ads SDK のFrameworksの登録について

上記 2. エラーの原因 となったFrameworksへの登録手順で
Embed が "Embed & Sign" になっていた原因は
下記の画像の + ボタンからの操作で登録した事が原因であったようです。

image.png

"Frameworks"を右クリックして表示したメニュー[Add Files to]を選択し、
"Copy items if needed" をオンして登録すると
Embed が "Do Not Embed" で登録されました。

image.png

image.png

以上

2
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?