mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
If SandboxService.plist doesn't have JoinExistingSession as YES in the XPCService dictionary, the XPC service will instantiate its own security session, separate from the app. While this seems inoccous, it may lead to subtle (or, in our case, not so subtle) problems. In our case, as a sandboxed NSDocument based app, pboxd is instantiated on launch. When our app is in a different security session – as it would be without this key – the Dock actually shows pboxd running alongside our app, looking like our app. Effectively, the user sees two copies of our app but one seems totally broken. Setting JoinExistingSession to YES makes everyone happy.
32 lines
868 B
Plaintext
32 lines
868 B
Plaintext
<?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>CFBundleDevelopmentRegion</key>
|
|
<string>English</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>${EXECUTABLE_NAME}</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>${EXECUTABLE_NAME}</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleName</key>
|
|
<string>${PRODUCT_NAME}</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>XPC!</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>1.0</string>
|
|
<key>CFBundleSignature</key>
|
|
<string>????</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>1</string>
|
|
<key>XPCService</key>
|
|
<dict>
|
|
<key>ServiceType</key>
|
|
<string>Application</string>
|
|
<key>JoinExistingSession</key>
|
|
<false/>
|
|
</dict>
|
|
</dict>
|
|
</plist>
|