어플등록시에러]application failed codesign verification. the signature was invalid

요즘은 application loader 라는것이 생겨서 따로 설치를 하여서 어플을 올리게 된다.
이렇게 올리면 에러 메세지가 뜨는 경우가 있다. 겉에 보이는 에러를 잡아주는것인데 본인은 아래의 에러메세지가 떴었다.

application failed codesign verification. the signature was invalid

이 에러 메세지를 없애는데 한참 고생했는데 결과는 이랬다.

Distribution으로 Build 하여 .app파일을 만드는데, 이때 중요한 것은 Code Sign Identify 가 Iphone DistributionXXX로 되어 있는 것을 골라야 한다는 것!

아래의 링크를 통해 도움을 받았다.

http://stackoverflow.com/questions/2879473/how-to-fix-failed-codesign-verification-of-an-iphone-project

해결 절차중에 하나로는 해당링크에서 아래의 과정이었다.

Steps that helped me to resolve my problem:

  1. Open KeyChain Access application
  2. Select the 'login' keychain, and select in the bottom pane 'Certificates'
  3. Switch to the 'system' keychain and see if there are certificates registered in both chains.
  4. Remove one of them
  5. Rebuild the application
이것이었다.  즉, 키체인 접근에 들어가서
좌측윗 부분에서 로그인을 선택하고,
아래의 부분에서 인증서  와 시스템을 번갈아 눌러서 같은 항목이 있으면 하나를 지우고 새로 빌드하는 방법이다.