From d7139a8f20f170ff52842204e9a9aa04440c94cb Mon Sep 17 00:00:00 2001 From: onevcat Date: Wed, 12 Feb 2025 23:12:20 +0900 Subject: [PATCH] Zip the xcframework folder to allow tool find artifact directly --- fastlane/Fastfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index d1a246e33..f695d7722 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -140,15 +140,17 @@ platform :ios do "Kingfisher-#{output_name}-#{version}" end + output_xcframework_path = "build/#{output_base_name}/Kingfisher.xcframework" + create_xcframework( frameworks_with_dsyms: frameworks, - output: "build/#{output_base_name}/Kingfisher.xcframework" + output: output_xcframework_path ) Actions.sh("codesign --timestamp -v --sign 'Apple Distribution: Wei Wang (A4YJ9MRZ66)' ../build/#{output_base_name}/Kingfisher.xcframework") zip( - path: "build/#{output_base_name}", + path: output_xcframework_path, output_path: "build/#{output_base_name}.xcframework.zip", symlinks: true )