본문 바로가기

개발도구/iOS - 아이폰 개발

[ios] provisioning profile specifies the application identifier which doesn't match


provisioning profile specifies the application identifier which doesn't match

잘되던 기기테스트에 이렇게 나오던가. 남의 소스를 다운 받아서 기기테스트ㅡ 했을때 provisioning profile specifies the application identifier which doesn't match 이렇게 에러가 나오는것은 mobileprovision 이 서로 다르기 때문이다. 

처음 프로젝트 생성하여 A의 인증서로 기기 테스트를 했다면 B의 인정서로는 기기테스트를 할경우 provisioning profile specifies the application identifier which doesn't match 이렇게 에러가 나는것이다. 

인정서가 처음 실행했던거와 다르기 때문이다.

해결하는 방법은 

그림과 같이 bundle identifer을 B인증서(인증서의 app id)와 동일하게 바꿔주면 된다. 그러나 변경하여 실행할경우, 이미 앱이 스토어에 올라가있을터에 조심할 필요는 있다.