[Build Error] Unable to install Project 해결 방법

baecheese·2021년 3월 2일
0
post-thumbnail

에러 상황


Test Code를 Build하는데, Unable to install 에러가 났다. (갑자기..?)

Detail 로그

Unable to install "LocalizedNumberField"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620392
Recovery Suggestion: The certificate used to sign "LocalizedNumberField" has either expired or has been revoked. An updated certificate is required to sign and install the application.
--
The identity used to sign the executable is no longer valid.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620392
User Info: {
    DVTRadarComponentKey = 487925;
    MobileDeviceErrorCode = "(0xE8008018)";
    "com.apple.dtdevicekit.stacktrace" = (
	0   DTDeviceKitBase                     0x000000011dec9c8f DTDKCreateNSErrorFromAMDErrorCode + 220
	1   DTDeviceKitBase                     0x000000011df08241 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
	2   DVTFoundation                       0x000000010227b64b DVTInvokeWithStrongOwnership + 71
	3   DTDeviceKitBase                     0x000000011df07f82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
	4   IDEiOSSupportCore                   0x000000011dd78a10 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
	5   DVTFoundation                       0x00000001023aa17e __DVT_CALLING_CLIENT_BLOCK__ + 7
	6   DVTFoundation                       0x00000001023abda0 __DVTDispatchAsync_block_invoke + 1191
	7   libdispatch.dylib                   0x00007fff6a45d6c4 _dispatch_call_block_and_release + 12
	8   libdispatch.dylib                   0x00007fff6a45e658 _dispatch_client_callout + 8
	9   libdispatch.dylib                   0x00007fff6a463c44 _dispatch_lane_serial_drain + 597
	10  libdispatch.dylib                   0x00007fff6a4645d6 _dispatch_lane_invoke + 363
	11  libdispatch.dylib                   0x00007fff6a46dc09 _dispatch_workloop_worker_thread + 596
	12  libsystem_pthread.dylib             0x00007fff6a6b8a3d _pthread_wqthread + 290
	13  libsystem_pthread.dylib             0x00007fff6a6b7b77 start_wqthread + 15
);
}
--


System Information

macOS Version 10.15.7 (Build 19H2)
Xcode 12.4 (17801) (Build 12D4e)
Timestamp: 2021-03-02T14:30:04+09:00

해결방법

에러가 난 Project Target의 Signing & Capabilities를 확인해보자.

  • Team이 None으로 되어있었다.

  • Team 설정을 제대로 해주고 나니, 정상적으로 Test Build를 할 수 있었다.
profile
iOS Developer

0개의 댓글