mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Fix re-deployment to devices by forcing code-signing
Co-authored-by: Nigel Breslaw <nigel.breslaw@slint.dev>
This commit is contained in:
parent
4df7a9504a
commit
93043e9b3f
1 changed files with 7 additions and 0 deletions
|
|
@ -48,3 +48,10 @@ done
|
|||
|
||||
# Combine executables, and place them at the output path excepted by Xcode
|
||||
lipo -create -output "$TARGET_BUILD_DIR/$EXECUTABLE_PATH" "${executables[@]}"
|
||||
|
||||
# Force code signing every run for device builds (non-simulator)
|
||||
if [ $IS_SIMULATOR -eq 0 ]; then
|
||||
codesign --force --sign "${EXPANDED_CODE_SIGN_IDENTITY}" \
|
||||
--entitlements "${TARGET_TEMP_DIR}/${PRODUCT_NAME}.app.xcent" \
|
||||
"${TARGET_BUILD_DIR}/${EXECUTABLE_PATH}"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue