Skip to content

Update Error! On CheckForUpdates if App Sandbox=YES In Release env #2540

Answered by zorgiepoo
iOSBoy asked this question in Q&A
Discussion options

You must be logged in to vote

This is very likely a sandbox configuration issue and a difference between your debug / release-archived builds.

As you showed you are getting deny(1) mach-lookup com.xxx.aaa-spks. This may mean in your release build the entitlements for looking up com.xxx.aaa-spks are stripped. You can try codesign -d --entitlements - --xml /Applications/uhomeaaa.app/Contents/MacOS/uhomeaaa on your archived build to view its entitlements and see if it's still present.

The guide mentions this. I would check if you have any custom (re-)signing anywhere in your project. Just using Xcode's Archiving should preserve entitlements correctly.

Due to different code signing requirements, please do not add --deep …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iOSBoy
Comment options

Answer selected by iOSBoy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2538 on April 10, 2024 02:10.