Skip to content

Commit

Permalink
fix: WASM MIME type error by specifying it in Info.plist template (ap…
Browse files Browse the repository at this point in the history
…ache#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
  • Loading branch information
michaelkamphausen authored and ishiguro-m-wing committed Mar 29, 2024
1 parent 48a1529 commit 1695551
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions templates/project/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 1695551

Please sign in to comment.