Thanks for detailed commands! That really helped.
I found the matching profile, copied it over to embedded.provisionprofile, resigned the executable & bundle, and uploaded using Transporter.
Received "missing an application identifier" error and fixed it from https://developer.apple.com/forums/thread/748589?login=true and TestFlight, Provisioning Profiles, and the Mac App Store
Uploaded & Validated w/ Transporter, but received an email about:
ITMS-91109: Invalid package contents - The package contains one or more files with the com.apple.quarantine extended file attribute, such as “com.chipcastle.pathmanager.pkg/Payload/PATHmanager.app/Contents/embedded.provisionprofile”. This attribute isn’t permitted in macOS apps distributed on TestFlight or the App Store. Please remove the attribute from all files within your app and upload again.
Attempted to remove extended attributes as follows (sudo had no effect):
~/Desktop/distribution/PATHmanager.app/Contents
λ xattr embedded.provisionprofile
com.apple.macl
~/Desktop/distribution/PATHmanager.app/Contents
λ xattr -c embedded.provisionprofile
~/Desktop/distribution/PATHmanager.app/Contents
λ xattr embedded.provisionprofile
com.apple.macl
~/Desktop/distribution/PATHmanager.app/Contents
λ xattr -d com.apple.macl embedded.provisionprofile
~/Desktop/distribution/PATHmanager.app/Contents
λ xattr embedded.provisionprofile
com.apple.macl
~/Desktop/distribution/PATHmanager.app/Contents
λ ls -l@ embedded.provisionprofile
-rw-r--r--@ 1 chip staff 12303 Feb 28 18:57 embedded.provisionprofile
com.apple.macl 72
~/Desktop/distribution/PATHmanager.app/Contents
λ xattr -d com.apple.macl:72 embedded.provisionprofile
xattr: embedded.provisionprofile: No such xattr: com.apple.macl:72
~/Desktop/distribution/PATHmanager.app/Contents
λ sudo xattr -d com.apple.macl:72 embedded.provisionprofile
Password:
xattr: embedded.provisionprofile: No such xattr: com.apple.macl:72
~/Desktop/distribution/PATHmanager.app/Contents
❮ sudo xattr -d com.apple.macl embedded.provisionprofile
~/Desktop/distribution/PATHmanager.app/Contents
λ ls -l@ embedded.provisionprofile
-rw-r--r--@ 1 chip staff 12303 Feb 28 18:57 embedded.provisionprofile
com.apple.macl 72
I've had no trouble using xattr before, so not sure what's happening here. Suggestions are appreciated. Thanks in advance.