I have tried to add multiple fonts (ttf and otf) to 'Fonts provided by application' key. As soon as I navigate away from the 'Info' tab the 'Fonts provided by application' key disappears. Also, the fonts never show up in the console list. I have added them to the OS (Monterey) and the XCode project. I have repeatedly followed the instructions and been sure to follow the instructions to the letter. All fonts have been spelled correctly and the file extensions used where and when needed in the project. I am lost to understand this. Why would the 'Fonts provided by application' key disappear?
That does't happen to me on Xcode 15.4 + Sonoma 14.5. The value of Fonts provided by application
(or UIAppFonts
, the key name) is an array, so be sure that you add your font file names one by one, as shown in the screenshot. As a result, your Info.plist
should have something like this:
<key>UIAppFonts</key>
<array>
<string>MyFont.ttf</string>
<string>MyFont2.ttf</string>
</array>
Best,
——
Ziqiao Chen
Worldwide Developer Relations.