Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -1361,21 +1361,20 @@ platform :ios do

# sh runs from the Fastfile's location, but other commands run from the project root.
output_directory_for_sh = "../#{output_directory}"
xcframework_path = "#{output_directory_for_sh}/#{product_name}.xcframework"

# Post-process headers to suppress StoreKit 1 deprecation warnings
suppress_deprecation_warnings_in_headers(
xcframework_path: "#{output_directory_for_sh}/#{product_name}.xcframework"
xcframework_path: xcframework_path
)

# Sign XCFramework for Xcode 15
sign_xcframework(
file: "#{output_directory_for_sh}/#{product_name}.xcframework"
file: xcframework_path
)

xcframeworks_zip_path_for_sh = "../#{product_name}.xcframework.zip"
sh("ditto", "-c", "-k", "--sequesterRsrc", "--keepParent",
output_directory_for_sh,
xcframeworks_zip_path_for_sh)
sh("ditto", "-c", "-k", "--sequesterRsrc", xcframework_path, xcframeworks_zip_path_for_sh)

end

Expand Down