diff --git a/build/make/iosbuild.sh b/build/make/iosbuild.sh
index 35ae891d361e37373fc9d041fc4dde4a11a5f78a..fa63a4a9878bd1cc1e1bb0185af3c08b35cbdf66 100755
--- a/build/make/iosbuild.sh
+++ b/build/make/iosbuild.sh
@@ -111,6 +111,7 @@ create_vpx_framework_config_shim() {
   for target in ${targets}; do
     preproc_symbol=$(target_to_preproc_symbol "${target}")
     printf " ${preproc_symbol}\n" >> "${config_file}"
+    printf "#define VPX_FRAMEWORK_TARGET \"${target}\"\n" >> "${config_file}"
     printf "#include \"VPX/vpx/${target}/vpx_config.h\"\n" >> "${config_file}"
     printf "#elif defined" >> "${config_file}"
     mkdir "${HEADER_DIR}/${target}"