I am trying to use the automatic provisioning for iOS builds. On my Mac it works correctly, but when I tried to do it on Azure pipeline I get the following error
error: There are no accounts registered with Xcode. Add your developer account to Xcode (in target 'XXX' from project 'XXXX') error: No profiles for 'com.devhaus.ljdev' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.XXXX'. (in target 'XXXX' from project 'XXXX') In my yaml I only have the InstallAppleCertificate task which runs successfully
- task: InstallAppleCertificate@2 inputs: certSecureFile: $(p12File) certPwd: $(p12Password) - script: | npx run ionic build displayName: "build" - script: | npx ionic cordova platform add ios@6 displayName: "build for Apple" # Didn't just do npx ionic cordova build ios here as there # is a bug that will cause the build to hang. - script: | npx cordova build ios --device displayName: "build for IOS"