Skip to content

Commit

Permalink
Reintroduce link to internal doc with "Do Not Embed" explanation
Browse files Browse the repository at this point in the history
Co-authored-by: Olivier Halligon <olivier.halligon@automattic.com>
  • Loading branch information
mokagio and AliSoftware authored Jul 19, 2023
1 parent f875968 commit 723f8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/BuildPhases/LintNestedFrameworks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ else
# * The `sed` command removes the leading `./` in the paths returned by `find`, then quote the results in backticks for nicer formatting in final message.
# * The `tr` command joins all the lines (= found frameworks) with a `,`. Note that this will result in an extra comma at the end of the list too, but we'll get rid of that in the final message using ${nested_fmks%,} bash substitution.
nested_fmks=$(cd "${fmk_dir}" && find . -name '*.framework' -depth 1 | sed "s:^./\(.*\)$:\`\1\`:" | tr '\n' ',')
echo "error: Found nested frameworks in ${fmk_dir} -- Such a configuration is invalid and will be rejected by TestFlight. Please fix by choosing 'Do Not Embed' for the nested framework(s) ${nested_fmks%,} within the \`${parent_fmk}\` Xcode project which links to them."
echo "error: Found nested frameworks in ${fmk_dir} -- Such a configuration is invalid and will be rejected by TestFlight. Please fix by choosing 'Do Not Embed' for the nested framework(s) ${nested_fmks%,} within the \`${parent_fmk}\` Xcode project which links to them. See paNNhX-ee-p2."
done
exit 1
fi

0 comments on commit 723f8ed

Please sign in to comment.