Skip to content

Commit

Permalink
Fix an issue that prevented the correct XCFramework slice from being …
Browse files Browse the repository at this point in the history
…selected for watchOS extensions

Closes #9569
  • Loading branch information
amorde committed Mar 1, 2020
1 parent 4d37bbb commit 0733251
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Expand Up @@ -12,7 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`

##### Bug Fixes

* None.
* Fix an issue that prevented the correct XCFramework slice from being selected for watchOS extensions
[Eric Amorde](https://github.com/amorde)
[#9569](https://github.com/CocoaPods/CocoaPods/issues/9569)


## 1.9.0 (2020-02-25)
Expand Down
4 changes: 4 additions & 0 deletions lib/cocoapods/generator/prepare_artifacts_script.rb
Expand Up @@ -144,6 +144,10 @@ def script
# Locate the correct slice of the .xcframework for the current architectures
local target_path=""
local target_arch="$ARCHS"
# Replace spaces in compound architectures with _ to match slice format
target_arch=${target_arch//\ /_}
local target_variant=""
if [[ "$PLATFORM_NAME" == *"simulator" ]]; then
target_variant="simulator"
Expand Down

0 comments on commit 0733251

Please sign in to comment.