Skip to content

Commit

Permalink
Pass correct paths for select_slice method.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkoutso committed Aug 11, 2021
1 parent 97d8f23 commit cf9c5e8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`

##### Bug Fixes

* None.
* Pass correct paths for `select_slice` method.
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#10430](https://github.com/CocoaPods/CocoaPods/issues/10430)


## 1.11.0.beta.1 (2021-08-09)
Expand Down
2 changes: 1 addition & 1 deletion lib/cocoapods/generator/copy_xcframework_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def script
local basepath="$1"
local name="$2"
local package_type="$3"
local paths=("$@")
local paths=("${@:3}")
# Locate the correct slice of the .xcframework for the current architectures
select_slice "${paths[@]}"
Expand Down

0 comments on commit cf9c5e8

Please sign in to comment.