From 9f460ef5585712e6bd82673da0293472f430f33f Mon Sep 17 00:00:00 2001 From: Hiddify Date: Wed, 17 Jan 2024 13:57:50 +0100 Subject: [PATCH] revert changes for swift package --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c47fbc51..76aacf69 100644 --- a/Makefile +++ b/Makefile @@ -106,10 +106,8 @@ macos-libs: ios-libs: #not tested mkdir -p $(DESKTOP_OUT)/ && \ rm -rf $(IOS_OUT)/Libcore.xcframework && \ - 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)" + curl -L $(CORE_URL)/$(CORE_NAME)-ios.xcframework.tar.gz | tar xz -C "$(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