Well first, going to App Store Connect for a new profile erred out when I installed it in Xcode because it did not include MacOS platform. But the profile did show the App ID prefix as I posted before and you wanted me to check. So I created another profile for the Mac App Store, the new profile again looks good with the Team ID, bundle identifier, etc. installed it, and did the Manual signing and everything looked good UNTIL I tried to validate the archive and again go the same??? errors (below).
I couldn't find 346JXXXXXX anywhere in Xcode but it keeps showing up. Even in the Archive Contents plist the Team ID is listed with the correct bundle identifier.
So, what now?
Invalid Provisioning Profile. The provisioning profile included in the bundle com.enatal.Contact-Sheet-Maker [Photo Contact Sheets] is invalid. Invalid 'com.apple.application-identifier' entitlement value. For more information, visit the macOS Developer Portal.
The server’s response was: ‘{
code = 91130;
description = "Invalid Provisioning Profile. The provisioning profile included in the bundle com.enatal.Contact-Sheet-Maker [Photo Contact Sheets] is invalid. Invalid 'com.apple.application-identifier' entitlement value. For more information, visit the macOS Developer Portal.";
}’.
Invalid code signing entitlements. Your application bundle’s signature contains code signing entitlements that aren’t supported on macOS. Specifically, the “346J2Y98RX.com.enatal.Contact-Sheet-Maker” value for the com.apple.application-identifier key in “com.enatal.Contact-Sheet-Maker.pkg/Payload/Photo Contact Sheets.app/Contents/MacOS/Photo Contact Sheets” isn’t supported. This value should be a string that starts with your Team ID, followed by a dot (“.”), followed by the bundle ID.
The server’s response was: ‘{
code = 90286;
description = "Invalid code signing entitlements. Your application bundle\U2019s signature contains code signing entitlements that aren\U2019t supported on macOS. Specifically, the \U201c346J2Y98RX.com.enatal.Contact-Sheet-Maker\U201d value for the com.apple.application-identifier key in \U201ccom.enatal.Contact-Sheet-Maker.pkg/Payload/Photo Contact Sheets.app/Contents/MacOS/Photo Contact Sheets\U201d isn\U2019t supported. This value should be a string that starts with your Team ID, followed by a dot (\U201c.\U201d), followed by the bundle ID.";
}’.