iossdkhere-apixcframeworkheremaps-ios-sdk

Here SDK lite for iOS contains unsupported files


We recently integrated the Here SDK lite for iOS in our app and during the submission to the AppStore, we discover that the xcframework contains unsupported files.

ITMS-90853: Invalid font - There was an error validating the font at 'Subito.app/Frameworks/heresdk.framework/style/fonts/FiraGO-Map.woff'. Font not supported by platform.

ITMS-90853: Invalid font - There was an error validating the font at 'Subito.app/Frameworks/heresdk.framework/style/fonts/DroidSansFallback.woff'. Font not supported by platform.

ITMS-90853: Invalid font - There was an error validating the font at 'Subito.app/Frameworks/heresdk.framework/style/fonts/FiraGO-Italic.woff'. Font not supported by platform.

We didn't find any instructions on the official documentation about stripping these files before submitting to the store, but that's what we proceeded to do, since we are not using any UI related component coming from the SDK at the moment. I hope that it's a safe operation (resulting app seems to work fine).

Are there any other folders that could/should be removed from the xcframework before the submission to the store (e.g. style folder)?


Solution

  • The HERE SDK contains several fonts to render map labels in different languages. If you want to strip those files - or if you want to optimize the size of the overall app, you can remove selected fonts. For example, the font with Chinese, Japanese and Korean characters is around 1.7MB. To remove this font, open the heresdk.framework file and remove the following files:

    When you remove the font, it is recommended to switch the map language to any other language than Chinese, Japanese or Korean.

    Check also the map / language documentation with more related info.

    This should help at least as a workaround until the faulty fonts are fixed by the HERE SDK team with a newer HERE SDK release.

    For your question: You can also remove the related license file.