diff --git a/lib/cocoapods/generator/copy_xcframework_script.rb b/lib/cocoapods/generator/copy_xcframework_script.rb index d03101b25d..65671c192e 100644 --- a/lib/cocoapods/generator/copy_xcframework_script.rb +++ b/lib/cocoapods/generator/copy_xcframework_script.rb @@ -161,7 +161,7 @@ def script local basepath="$1" local name="$2" local package_type="$3" - local paths=("${@:3}") + local paths=("${@:4}") # Locate the correct slice of the .xcframework for the current architectures select_slice "${paths[@]}" diff --git a/spec/cocoapods-integration-specs b/spec/cocoapods-integration-specs index 2f625aface..67797e03d0 160000 --- a/spec/cocoapods-integration-specs +++ b/spec/cocoapods-integration-specs @@ -1 +1 @@ -Subproject commit 2f625aface32ecf161773526a2e7b5234ba0b273 +Subproject commit 67797e03d01863f7cc76df0ac82c0c1c8af1d223