Update rust_to_flutter.sh
This commit is contained in:
parent
61929a5405
commit
3b49291886
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ if [ "$INCLUDE_IOS_TARGETS" = true ]; then
|
|||
mkdir -p "$IOS_DEST_DIR"
|
||||
for target in "${IOS_TARGETS[@]}"; do
|
||||
RELEASE_DIR="target/$target/release"
|
||||
LIB_FILE=$(find "$RELEASE_DIR" -maxdepth 1 -name "lib*.a" | head -n 1)
|
||||
LIB_FILE=$(find "$RELEASE_DIR" -maxdepth 1 -name "lib*.dylib" | head -n 1)
|
||||
if [ -n "$LIB_FILE" ]; then
|
||||
cp "$LIB_FILE" "$IOS_DEST_DIR/"
|
||||
echo "Copied $target library to $IOS_DEST_DIR"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue