macvnodecheck_signature: /Applications/PetraNat.app/Contents/MacOS/PetraNat: code signature validation failed fatally: When validating /Applications/PetraNat.app/Contents/MacOS/PetraNat:
Code has restricted entitlements, but the validation of its code signature failed.
Unsatisfied Entitlements:
It was installed normally in the build environment,
In a MAC PC other than the build environment, the above error message occurs and the installation fails.
I saw the comments you left on the apple developer forum
$codesign -d --entitlements :- /Applications/PetraNat.app
<dict>
<key>com.apple.application-identifier</key>
<string>VAAXCYD42V.com.Sinsiway.PetraNat</string>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>app-proxy-provider</string>
</array>
<key>com.apple.developer.system-extension.install</key>
<true/>
<key>com.apple.developer.team-identifier</key>
<string>VAAXCYD42V</string>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>VAAXCYD42V.com.Sinsiway.PetraNat</string>
</array>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
<key>com.apple.security.get-task-allow</key>
<true/>
<key>com.apple.security.temporary-exception.files.absolute-path.read-only</key>
<string>/</string>
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
<array>
<string>com.apple.testmanagerd</string>
<string>com.apple.coresymbolicationd</string>
</array>
</dict>
$security cms -D -i /Applications/PetraNat.app/Contents/embedded.provisionprofile
<key>Entitlements</key>
<dict>
<key>com.apple.developer.system-extension.install</key>
<true/>
<key>com.apple.application-identifier</key>
<string>VAAXCYD42V.com.Sinsiway.PetraNat</string>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>app-proxy-provider</string>
<string>content-filter-provider</string>
<string>packet-tunnel-provider</string>
<string>dns-proxy</string>
<string>dns-settings</string>
</array>
<key>keychain-access-groups</key>
<array>
<string>VAAXCYD42V.*</string>
</array>
<key>com.apple.developer.team-identifier</key>
<string>VAAXCYD42V</string>
</dict>
Do I need to change app-proxy-provider to app-proxy-provider-systemextension in order to install it on another PC?
thanks,