Automatically manage signing 오류
애플 IOS를 배포할 때 엑스코드에서 프로비저닝 프로파일(Provisioning Profile)을 입력해야 하는데, 요즘은 Automatically manage signing을 체크하면 애플에서 알아서 만들어준다.

그런데 Automatically manage signing를 체크하고 Team을 선택했더니 아래와 같이 오류가 발생했다.

Communication with Apple failed
Your team has no devices from which to generate a provisioning profile. Connect a device to use or manually add device IDs in Certificates, Identifiers & Profiles. https://developer.apple.com/account/
No profiles for ‘패키지명’ were found Xcode couldn’t find any iOS App Development provisioning profiles matching ‘패키지명’.
해결 방법
왜 이런 오류가 발생했는지도 모르겠는데 해결방법마저 이상하게 해결되었다. 상단의 디바이스 선택에서 My Mac을 한번 선택하면 오류 내용이 변경되면서 기존의 오류 내용이 있던 자리에 Mac을 등록하라는 버튼이 하나 생성된다. 이 버튼을 선택하고 다시 아이폰을 디바이스로 선택하면 오류가 해결되어있다.
