빨간색 에러들

[Xcode] Code signing is required for product type 'Application' in SDK

vhxpffltm 2022. 4. 16. 00:36
반응형

처음 사용하는데... 이것때문에 진짜 너무 많은 시간을 허비했다...

 

문제는 아카이브 빌드였다.

 

에뮬레이터로 빌드했을때는 문제없이 성공했는데 이상하게 아카이브 빌드는 실패한다.. 뭔가 이상하다..

 

그러면서 발견하게 된 2개의 기능을 찾았다..

 

1. 먼저 아카이브 빌드가 에뮬레이터로 하면 활성화 되어 있지 않을텐데 에뮬레이터가 아닌 Generic IOS Device로 설정하면 아카이브 빌드가 활성화된다.

 

 

2. Build가 실패했을때.. 아니 무슨 에러 내용이 없길래 무슨 에러인지 찾는게 너무 힘들었다.. 그 내용은 아래 그림에서 찾을 수 있었다.

Xcode의 상단과 우측 상단에 에러내용이 표시되었다...

 

이런 상황에서 문제의 원인은 Project Target의 Singing 이였다....

 

지금은 해결해서 에러가 남지 않지만 보통 아래 링크처럼 다들 문제가 발생할 것이다.

 

https://stackoverflow.com/questions/37806538/code-signing-is-required-for-product-type-application-in-sdk-ios-10-0-stic

 

Code signing is required for product type 'Application' in SDK 'iOS 10.0' - StickerPackExtension requires a development team err

I am facing the below issue and am unable to build the application. XXX has conflicting provisioning settings. XXX is automatically provisioned, but provisioning profile WildCard has been manu...

stackoverflow.com

 

진짜.. 여기 있는 모든것을 해도 안돼서 멘탈이 터져있는데.. 마지막으로 하나만 해봤다.

 

https://developer.apple.com/forums/thread/63957

 

XCODE - Failed to create provision… | Apple Developer Forums

Just had the same problem, the answer was to plug-in my Apple device (in my case an iPhone), click on the drop-down at the very top of Xcode, to the right of the play, stop, and project name buttons, and select *my* device from the list. Then when I went b

developer.apple.com

 

아이폰을 사용했던터라 USB로 연결해서 내 디바이스가 인식하도록 진행하였다.

 

연결된 상태에서 Singing Certification을 진행하는데 Time out으로 인증에 실패하는 문제가 있는데..

 

연결을 제거하고 내 iphone으로 다시 연결해서 인증을 시도하니 된다...

 

인증을 성공하면 아타이브 빌드가 성공하게 될것이다.

반응형