2013-10-15 3 views
0

iPhone에서 응용 프로그램을 실행하려고하면 이 표시되고 후에는 버튼이나 탭 표시 줄이 나타납니다. 다음 오류가 나타납니다. error: failed to launch -- failed to get the task for process 334 새로운 배포 인증서를 만들려고했지만 작동하지 않습니다.iPhone에서 응용 프로그램을 테스트 할 수 없습니다.

이 모든 것이 시뮬레이터에서 작동합니다.


감사합니다, 압둘라 Shafique

답변

2

The problem is because you are trying to debug your application using distribution provisioning profile. If you want to run your application in debug mode, you have to sign it with development provisioning profile and certificate (both in build settings and in target). If you are trying to create a distributable, sign it with distribution credentials and add Entitlements.plist (again both in build settings and target).

당신은 모든 대상에 대해 개발 프로비저닝 프로파일을 선택해야합니다.

이 대상으로 이동 => 빌드 설정 => 코드 서명 => 코드 당신이 다운로드, 개발자 프로비저닝 프로파일을 추가 한 후 신원이 => 개발 프로비저닝 프로파일에 대한 모든

엑스 코드 5에서, 첫 번째 선택 선택 서명 프로비저닝 프로파일 : 대상 => 빌드 설정 => 코드 서명 => 프로비저닝 프로파일 =>이 후 개발 프로비저닝 프로파일

에 대한 모든 당신이 당신의 코드 신원이 => 개발 프로비저닝 프로파일

에 대한 모든를 선택 서명 선택할 수있는 선택
관련 문제