Skip to content

Instantly share code, notes, and snippets.

@francobellu
francobellu / ios_swift_universal_framework_build_script.sh
Created March 18, 2020 18:01 — forked from PaulEhrhardt/ios_swift_universal_framework_build_script.sh
iOS universal library build script supporting swift modules, including dSYM and simulator slices
#!/bin/sh
# iOS universal library build script supporting swift modules, including dSYM and simulator slices
# prevention from running xcodebuild in a recusive way
if [ "true" == ${ALREADYINVOKED:-false} ]; then
echo "RECURSION: Detected, stopping"
else
export ALREADYINVOKED="true"
# path defines including output directory for universal framework