client
client copied to clipboard
Team identifier missing in release builds
When doing a release build, the CMake variable SOCKETAPI_TEAM_IDENTIFIER_PREFIX
is not set to the team identifier. The team identifier looks like 4AP2STM4H5
, and the variable should include an extra period, eg: 4AP2STM4H5.
To see the team identifier used to build the app bundle, you can use:
codesign -dvvvv owncloud.app/Contents/MacOS/owncloud | grep TeamIdentifier
TeamIdentifier=4AP2STM4H5
This team-id is already propagated to the FinderSyncExt, and should show up in the com.apple.security.application-groups
array as 4AP2STM4H5.com.owncloud.desktopclient
This can be verified by running:
codesign -d --entitlements :- owncloud.app/Contents/PlugIns/FinderSyncExt.appex/Contents/MacOS/FinderSyncExt