Skip to content

Commit

Permalink
Merge pull request #11252 from igor-makarov/fix-bad-warning
Browse files Browse the repository at this point in the history
Fix bad warning
  • Loading branch information
igor-makarov committed Mar 15, 2022
2 parents 8deccdc + 7331efc commit 421b8a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -12,6 +12,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`

##### Bug Fixes

* Fix script breaking when attempting to print a warning.
[Igor Makarov](https://github.com/igor-makarov)
[#11251](https://github.com/CocoaPods/CocoaPods/issues/11251)

* Do not consider podspec_repo when analying sandbox for changes.
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#10985](https://github.com/CocoaPods/CocoaPods/pull/10985)
Expand Down
2 changes: 1 addition & 1 deletion lib/cocoapods/generator/copy_xcframework_script.rb
Expand Up @@ -132,7 +132,7 @@ def script
select_slice "${basepath}" "${paths[@]}"
local target_path="$SELECT_SLICE_RETVAL"
if [[ -z "$target_path" ]]; then
echo "warning: [CP] $(basename ${basepath}): Unable to find matching slice in '${paths[@]}' for the current build architectures ($ARCHS) and platform ($EFFECTIVE_PLATFORM_NAME)."
echo "warning: [CP] $(basename ${basepath}): Unable to find matching slice in '${paths[@]}' for the current build architectures ($ARCHS) and platform (${EFFECTIVE_PLATFORM_NAME-${PLATFORM_NAME}})."
return
fi
local source="$basepath/$target_path"
Expand Down

0 comments on commit 421b8a3

Please sign in to comment.