diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 7eb26a679a..5a11458517 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -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