From 7a48fe723a7e9d54a2a037111c9e772580742a25 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Fri, 10 Nov 2023 10:51:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20[Darwin]=20Do=20not=20download?= =?UTF-8?q?=20remote=20framework=20zip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/agent_dart.podspec | 9 +-------- macos/agent_dart.podspec | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/ios/agent_dart.podspec b/ios/agent_dart.podspec index 81a66fbd..50f83071 100644 --- a/ios/agent_dart.podspec +++ b/ios/agent_dart.podspec @@ -3,17 +3,10 @@ release_tag_name = 'agent_dart-v1.0.0' # generated; do not edit # We cannot distribute the XCFramework alongside the library directly, # so we have to fetch the correct version here. framework_name = 'AgentDart.xcframework' -remote_zip_name = "#{framework_name}.zip" -url = "https://github.com/AstroxNetwork/agent_dart/releases/download/#{release_tag_name}/#{remote_zip_name}" local_zip_name = "#{release_tag_name}.zip" ` cd Frameworks -if [ ! -f #{local_zip_name} ] -then - curl -L #{url} -o #{local_zip_name} -fi - if [ -f #{local_zip_name} ] then rm -rf #{framework_name} @@ -29,7 +22,7 @@ Pod::Spec.new do |spec| spec.license = { :file => '../LICENSE' } spec.homepage = 'https://github.com/AstroxNetwork/agent_dart' spec.authors = { 'AstroX Dev' => 'dev@astrox.network' } - spec.summary = 'iOS/macOS Flutter bindings for agent_dart' + spec.summary = 'iOS Flutter bindings for agent_dart' spec.source = { :path => '.' } spec.source_files = 'Classes/**/*' diff --git a/macos/agent_dart.podspec b/macos/agent_dart.podspec index 118d61a0..2bfa50cc 100644 --- a/macos/agent_dart.podspec +++ b/macos/agent_dart.podspec @@ -3,17 +3,10 @@ release_tag_name = 'agent_dart-v1.0.0' # generated; do not edit # We cannot distribute the XCFramework alongside the library directly, # so we have to fetch the correct version here. framework_name = 'AgentDart.xcframework' -remote_zip_name = "#{framework_name}.zip" -url = "https://github.com/AstroxNetwork/agent_dart/releases/download/#{release_tag_name}/#{remote_zip_name}" local_zip_name = "#{release_tag_name}.zip" ` cd Frameworks -if [ ! -f #{local_zip_name} ] -then - curl -L #{url} -o #{local_zip_name} -fi - if [ -f #{local_zip_name} ] then rm -rf #{framework_name} @@ -29,7 +22,7 @@ Pod::Spec.new do |spec| spec.license = { :file => '../LICENSE' } spec.homepage = 'https://github.com/AstroxNetwork/agent_dart' spec.authors = { 'AstroX Dev' => 'dev@astrox.network' } - spec.summary = 'iOS/macOS Flutter bindings for agent_dart' + spec.summary = 'macOS Flutter bindings for agent_dart' spec.source = { :path => '.' } spec.source_files = 'Classes/**/*'