File tree 3 files changed +13
-4
lines changed
3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 62
62
security unlock-keychain -p $MACOS_CI_KEYCHAIN_PWD build.keychain
63
63
security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign
64
64
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_CI_KEYCHAIN_PWD build.keychain
65
- /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v open-ephys/Open\ Ephys\ GUI.app --deep --strict --timestamp --options=runtime
65
+ /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v open-ephys/Open\ Ephys\ GUI.app --deep --strict --timestamp --options=runtime --entitlements ../../Resources/Build-files/entitlements.plist
66
66
67
- /usr/bin/codesign -dv --verbose=4 open-ephys/Open\ Ephys\ GUI.app
67
+ /usr/bin/codesign -dv --verbose=4 --entitlements - open-ephys/Open\ Ephys\ GUI.app
68
68
69
69
# Store the notarization credentials so that we can prevent a UI password dialog from blocking the CI
70
70
@@ -124,9 +124,9 @@ jobs:
124
124
security unlock-keychain -p $MACOS_CI_KEYCHAIN_PWD build.keychain
125
125
security import certificate.p12 -k build.keychain -P $MACOS_CERTIFICATE_PWD -T /usr/bin/codesign
126
126
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k $MACOS_CI_KEYCHAIN_PWD build.keychain
127
- /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v open-ephys/Open\ Ephys\ GUI.app --deep --strict --timestamp --options=runtime
127
+ /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" -v open-ephys/Open\ Ephys\ GUI.app --deep --strict --timestamp --options=runtime --entitlements ../../Resources/Build-files/entitlements.plist
128
128
129
- /usr/bin/codesign -dv --verbose=4 open-ephys/Open\ Ephys\ GUI.app
129
+ /usr/bin/codesign -dv --verbose=4 --entitlements - open-ephys/Open\ Ephys\ GUI.app
130
130
131
131
# Store the notarization credentials so that we can prevent a UI password dialog from blocking the CI
132
132
Original file line number Diff line number Diff line change @@ -302,6 +302,7 @@ endif()
302
302
XCODE_ATTRIBUTE_CLANG_LINK_OBJC_RUNTIME NO
303
303
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "org.open-ephys.gui"
304
304
XCODE_ATTRIBUTE_EXECUTABLE_NAME "open-ephys"
305
+ XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR} /Resources/Build-files/entitlements.plist"
305
306
)
306
307
307
308
set (MAC_RESOURCE_FILES
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >com.apple.security.cs.allow-unsigned-executable-memory </key >
6
+ <true />
7
+ </dict >
8
+ </plist >
You can’t perform that action at this time.
0 commit comments