Xcode 8.1 "No matching provisioning profiles found" after updating MacOS and Xcode

Devid Farinelli picture Devid Farinelli · Nov 22, 2016 · Viewed 12.7k times · Source

I'm testing my app with TestFlight but I can't upload my archives after updating to MacOS 10.12 and Xcode 8.1.

When I archive my app, click on "Upload to App Store...", select my Development, I get this error.

No matching provisioning profiles found for "Applications/app.app"

None of the valid provisioning profiles allowed the specified entitlements: application-identifier, beta-reports-active, keychain-access-groups.

What I've tried so far:

  1. Reopening Xcode (Many times)
  2. +, > select team > remove every provisioning profile > re-download every provisioning profile (Reopening Xcode after each step)
  3. Re-downloaded and installed my certificates and provisioning profiles
  4. Removing every provisioning profile and building the app

Answer

zorro2b picture zorro2b · Dec 17, 2016

I had this same error when my Xcode wildcard profile expired. Xcode didn't automatically renew it even though everything was set to automatic.

I logged in to the the portal, edited the XC: * profile, hit generate and then downloaded the resulting certificate. All good after that.