Skip to content

Commit

Permalink
Zip the xcframework folder to allow tool find artifact directly
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Feb 12, 2025
1 parent 0bd4903 commit d7139a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit d7139a8

Please sign in to comment.