diff --git a/ios/build-wireguard-go.sh b/ios/build-wireguard-go.sh index 16f3dbdadeae..371d2da9e33c 100755 --- a/ios/build-wireguard-go.sh +++ b/ios/build-wireguard-go.sh @@ -12,6 +12,11 @@ # Passed by Xcode ACTION=$1 +# Do normal builds when building documentation. +if [ "$ACTION" == "docbuild" ]; then + ACTION="build" +fi + if [ "$SOURCE_PACKAGES_PATH" == "" ]; then # When archiving, Xcode sets the action to "install" if [ "$ACTION" == "install" ]; then