diff --git a/GNUmakefile b/GNUmakefile
index 4e34afefc..3de15b4ac 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -914,9 +914,9 @@ src/ios/Info.plist : $(firstword $(MAKEFILE_LIST))
@echo "[ios_version] $@"
@cat $@ | \
tr '\n' '^' | \
- sed -r -e 's@(CFBundleShortVersionString\s*)[0-9.]*()@\1$(VERSION_NUMBER)\2@' | \
+ sed -r -e 's@(CFBundleShortVersionString\^[[:space:]]*)[0-9.]*()@\1$(VERSION_NUMBER:%-wip=%)\2@' | \
tr '^' '\n' > \
- $@
+ $@.tmp && mv $@.tmp $@ || rm -f $@.tmp
##
## Android targets:
diff --git a/src/ios/Info.plist b/src/ios/Info.plist
index a5c0afc4c..a4314f5db 100644
--- a/src/ios/Info.plist
+++ b/src/ios/Info.plist
@@ -13,7 +13,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 0.0.28-wip
+ 0.0.28
CFBundleSupportedPlatforms
iPhoneOS