mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 00:12:09 +03:00
1418cab128
Temporary fix to prevent build from failing when there are no frameworks to sign.
13 lines
699 B
Diff
13 lines
699 B
Diff
diff --git a/packages/flutter_tools/bin/macos_assemble.sh b/packages/flutter_tools/bin/macos_assemble.sh
|
|
index 40c6a5051f..a7f05d9113 100755
|
|
--- a/packages/flutter_tools/bin/macos_assemble.sh
|
|
+++ b/packages/flutter_tools/bin/macos_assemble.sh
|
|
@@ -222,6 +222,7 @@ EmbedFrameworks() {
|
|
|
|
# Iterate through all .frameworks in native assets directory.
|
|
for native_asset in "${native_assets_path}"*.framework; do
|
|
+ [ -e "$native_asset" ] || continue # Skip when there are no matches.
|
|
# Codesign the framework inside the app bundle.
|
|
RunCommand codesign --force --verbose --sign "${EXPANDED_CODE_SIGN_IDENTITY}" -- "${xcode_frameworks_dir}/$(basename "$native_asset")"
|
|
done
|