프로그래밍/유니티 Unity

[Unity/유니티] 오류 Can not sign the application

주니어코더 2022. 10. 31. 01:58



 

 

Unity/유니티 Error

"Can not sign the application"

 

 

 

서론

 

 

"Can not sign the application"
- 애플리케이션에 서명할 수 없다.
"Unable to sign the application; please provide passwords!"
- 어플리케이션에 서명할 수 없다. 암호를 입력해라


오류를 해석하면 그렇다.

유니티 파일을 APK로 추출하기 위해,

File → Build Settings → Build를 하면 발생하는 오류이다.

이 오류가 발생하는 사람들은 이 프로젝트에서 앱 서명을 한적 있을 것이다.
앱 서명을 한 후 build를 할 때마다 keystore의 password를 다시 쳐야 한다.

하.지.만 이런 고생을 하지 않고 프로젝트에 저장했다가 알아서 입력해주는 방법이 있다.

일반적인 Keystore 서명방법을 알아본 후에 알려준다^^!


 

 


 

Project Keystore 서명방법

 

File → Build Settings → Player Settings → Player → Publishing Settings → Project Keystore의 Path에 맞는 Password를 입력해주면 끝!


이미지를 보며 천천히 따라 해 보자

1. File Build Settings

Build 환경설정으로 간다!

 



 

2. Build Settings에서 Player Settings 클릭

 



 

3. Player → Publishing Settings 에서 전에 받은 Keystore를 Project Keystore의 Password를 입력하면 된다!

 



Keystore는 은근 자주 쓰기 때문에 처음 받을 때 path와 password를 잘 기억해야 한다!


까먹었다면 Keystore Manager에서 새로 받는 방법도 있다.


여기까지 따라오면 "Can not sign the application" 오류 해결

프로젝트 build 할 때마다 매번 서명을 해야 한다면 매~~~ 우 귀찮다 ㅜㅜ
그래서 코드가 자동으로 입력해주는 방법이 있다.


반응형