workflow: enable ad-hoc code signing so app can be opened on macOS
1 file changed,
+3
−1
.github/workflows/build-apps.yml+3 −1
diff --git a/.github/workflows/build-apps.yml b/.github/workflows/build-apps.yml| index 23e7db8..9dd1041 100644 |
| --- a/.github/workflows/build-apps.yml |
| +++ b/.github/workflows/build-apps.yml |
| @@ -32,7 +32,9 @@ jobs: |
| run: | |
| xcodebuild -project LChat.xcodeproj -scheme LChatMac \ |
| -destination 'generic/platform=macOS' \ |
| - -derivedDataPath build CODE_SIGNING_ALLOWED=NO \ |
| + -derivedDataPath build \ |
| + CODE_SIGN_STYLE=Automatic \ |
| + CODE_SIGN_IDENTITY='-' \ |
| GCC_PREPROCESSOR_DEFINITIONS='GIT_SHA="${{ github.sha }}"' \ |
| build |