Reply to xcodebuild: profile doesn't include device ... I avoided the error by following the steps below. Access the certificate from the Apple Developer site. Download the certificate. Drag the downloaded file into Xcode. Developer Tools & Services Xcode Mar ’22