[build] Include bcsymbolmap files in iOS dynamic framework package

This commit is contained in:
Jason Wray
2017-07-25 23:58:21 -04:00
parent 612a1e8377
commit 82c2d4b3ca
2 changed files with 5 additions and 0 deletions

View File

@@ -237,6 +237,10 @@ if [[ ${BUILD_STATIC} == true ]]; then
mkdir "${OUTPUT}/static/${NAME}.framework/Modules"
cp -pv platform/ios/framework/modulemap "${OUTPUT}/static/${NAME}.framework/Modules/module.modulemap"
fi
if [[ ${BUILD_DYNAMIC} == true && ${BUILD_FOR_DEVICE} == true ]]; then
step "Copying bitcode symbol maps…"
find "${PRODUCTS}/${BUILDTYPE}-iphoneos" -name '*.bcsymbolmap' -type f -exec cp -pv {} "${OUTPUT}/dynamic/" \;
fi
sed -n -e '/^## /,$p' platform/ios/CHANGELOG.md > "${OUTPUT}/CHANGELOG.md"
rm -rf /tmp/mbgl