xxxxxxxxxx
xcodebuild clean
add -f a section in frameworks.sh files
xxxxxxxxxx
Workaround is to update all the generated -frameworks.sh files in Pods>Target Support Files folder.
add the -f flag to the call to readlink. In other words, replace
source="$(readlink "${source}")"
with
source="$(readlink -f "${source}")"