Skip to content

Commit

Permalink
Merge pull request #9574 from CocoaPods/amorde/xcframework-macos
Browse files Browse the repository at this point in the history
Fix an issue when including XCFrameworks in macOS apps
  • Loading branch information
amorde committed Mar 1, 2020
2 parents 4d37bbb + 0767fc4 commit f075f94
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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 caused a build failure with vendored XCFrameworks on macOS
[Eric Amorde](https://github.com/amorde)
[#9574](https://github.com/CocoaPods/CocoaPods/pull/9574)


## 1.9.0 (2020-02-25)
Expand Down
2 changes: 1 addition & 1 deletion lib/cocoapods/generator/prepare_artifacts_script.rb
Expand Up @@ -148,7 +148,7 @@ def script
if [[ "$PLATFORM_NAME" == *"simulator" ]]; then
target_variant="simulator"
fi
if [[ "$EFFECTIVE_PLATFORM_NAME" == *"maccatalyst" ]]; then
if [[ ! -z ${EFFECTIVE_PLATFORM_NAME+x} && "$EFFECTIVE_PLATFORM_NAME" == *"maccatalyst" ]]; then
target_variant="maccatalyst"
fi
for i in ${!paths[@]}; do
Expand Down

0 comments on commit f075f94

Please sign in to comment.