From 2e47a1f628aa716371ae2d8903f116344a44a392 Mon Sep 17 00:00:00 2001 From: Hiddify Date: Wed, 17 Jan 2024 12:02:44 +0100 Subject: [PATCH] fix make ios --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 76aacf69..c47fbc51 100644 --- a/Makefile +++ b/Makefile @@ -106,8 +106,10 @@ macos-libs: ios-libs: #not tested mkdir -p $(DESKTOP_OUT)/ && \ rm -rf $(IOS_OUT)/Libcore.xcframework && \ - curl -L $(CORE_URL)/$(CORE_NAME)-ios.xcframework.tar.gz | tar xz -C "$(IOS_OUT)" && \ + curl -L "$(CORE_URL)/$(CORE_NAME)-ios.xcframework.zip" -o "$(IOS_OUT)/$(CORE_NAME)-ios.xcframework.zip" + unzip -o "$(IOS_OUT)/$(CORE_NAME)-ios.xcframework.zip" -d "$(IOS_OUT)" mv $(IOS_OUT)/$(CORE_NAME)-ios.xcframework $(IOS_OUT)/Libcore.xcframework + rm $(IOS_OUT)/$(CORE_NAME)-ios.xcframework.zip get-geo-assets: curl -L https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db -o $(GEO_ASSETS_DIR)/geoip.db