We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80fcb41 commit 40d399aCopy full SHA for 40d399a
build/create_frameworks.sh
@@ -76,8 +76,8 @@ create_xcframework() {
76
fi
77
78
local dir_suffix
79
- dir_suffix=$(echo "$dir" | tr '[:upper:]' '[:lower:]' | sed 's/\//-/g')
80
- local merged_lib="${output}/lib${target_library_name}-${dir_suffix}.a"
+ dir_suffix=$(echo "$dir" | cut -d'/' -f1 | tr '[:upper:]' '[:lower:]' | sed 's/[\/\.~]/_/g')
+ local merged_lib="${output}/lib${target_library_name}_${dir_suffix}.a"
81
82
# Remove the existing .a file if it exists.
83
if [ -f "${merged_lib}" ]; then
0 commit comments