HomeiOS Developmentxcode - What else to test in order that iOS app customized...

xcode – What else to test in order that iOS app customized fonts will seem?


I’m utilizing Xcode 14.2 and constructing a SwiftUI utility with 4 customized fonts. The fonts have been beforehand loaded and usable in previews, however they’re now oddly lacking.

The next issues are true:

  1. The fonts are listed as references within the file navigator. I’ve eliminated and re-added them.
  2. For every font file, TargetMembership is checked / true for the one goal within the app
  3. The goal’s “Information” tab comprises "Fonts supplied by the appliance" with all 4 fonts listed as array components and their filenames spelled accurately
  4. The goal’s Construct Phases tab / Copy bundle assets lists all 4 fonts — along with a pair photographs which are showing accurately
  5. The entitlements file contains "Use fonts" and "Set up fonts"
  6. Code that was accurately working earlier has not been modified; it’s utilizing the proper font names
  7. The next code does NOT record the customized fonts:
      .onAppear(){
        for household: String in UIFont.familyNames
        {
          print(household)
          for title: String in
                UIFont.fontNames(forFamilyName: household)
          {
            print("== (title)")
          }
        }
  1. I’ve tried to view the construct output however I can not decide for certain what’s in or out – every part’s both bundled into the 14 GB(!) executable or in a .automobile database.

What else can I do to repair this? How can I maintain from having to re-address this each couple weeks?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments