Adhoc resigning trouble

Hi,

I'm trying to export an application for Adhoc deployment with Xcode 11.

When I choose my manual genrated .mobileprovision profile, I get the error "Profile doesn't match the entitlements file's values for the application-identifier and keychain-access-groups entitlements."


The "Archive build" is signed and generated with my "IOS Developer" key and identity (XXXXXX), the mobileprovision is for my employers identity (YYYYYY).


What do I need to do so I can export the build as Adhoc build?



codesign -d --entitlements :- App Adhoc
Executable=App Adhoc
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>application-identifier</key>
  <string>XXXXXXX.com.company.resigned.APS</string>
  <key>com.apple.developer.team-identifier</key>
  <string>YYYYYYYYY</string>
  <key>get-task-allow</key>
  <true/>
  <key>keychain-access-groups</key>
  <array>
  <string>XXXXXXX.com.company.resigned.APS</string>
  </array>
</dict>
</plist>
Post not yet marked as solved Up vote post of Thomas E. Down vote post of Thomas E.
512 views