Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48978

Ionic build reports missing “associated domains” entitlement in provisioning profile, when it's already there

$
0
0

I have an Ionic 5/Angular iOS app which builds fine as a non-production build and runs on both emulator and device as a dev build.

When I come to build it as a production build using:

ionic cordova build --prod --device

I use the ionic cordova build --prod command with the --device param to build the final IPA.

The build Archive succeeds (so I can get an APP file), but the final stage fails with:

Error Domain=IDEProvisioningErrorDomain Code=9 ""blah.app" requires a provisioning profile with the Associated Domains feature." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="blah.app" requires a provisioning profile with the Associated Domains feature., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}

However, the identifier for the app has the associated domains entitlement selected and the provisioning profile in Xcode confirms this. Even a quick-look on the file itself shows the entitlement to be present:

Screenshot of QuickLook at provisioning profile

I’ve searched for help with this, but there appears to be nothing specifically like this, where a build is failing because the system says an entitlement isn’t there, when it actually is.

I’ve tried redoing all of the signing from scratch, to no avail.

Has anyone seen/fixed this before, and if so, what did you do? Tearing my hair out.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>