This is an automated email from the ASF dual-hosted git repository. erisu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cordova-ios.git
The following commit(s) were added to refs/heads/master by this push: new 902df968 fix: WASM MIME type error by specifying it in Info.plist template (#1374) 902df968 is described below commit 902df968b0033495f98d292c0b972b45d3b05ec7 Author: Michael Kamphausen <michaelkamphau...@users.noreply.github.com> AuthorDate: Wed Mar 6 05:31:01 2024 +0100 fix: WASM MIME type error by specifying it in Info.plist template (#1374) * (ios) fixes WASM MIME type error by specifying it in Info.plist template * changed key to UTImportedTypeDeclarations as we don't want to declare WebAssembly file ownership --- .../__PROJECT_NAME__/__PROJECT_NAME__-Info.plist | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist b/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist index 3567a503..8d52020d 100644 --- a/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist +++ b/templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist @@ -45,5 +45,25 @@ <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> + <key>UTImportedTypeDeclarations</key> + <array> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + </array> + <key>UTTypeDescription</key> + <string>WebAssembly</string> + <key>UTTypeIdentifier</key> + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <string>wasm</string> + <key>public.mime-type</key> + <string>application/wasm</string> + </dict> + </dict> + </array> </dict> </plist> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org