Starting from Xcode 15.3, previously set custom fonts can no longer be found in XIB files. Sometimes they reappear after deleting and setting the font again, but after a while, they disappear again. Can Xcode please be more stable and considerate of the user experience we developers are trying to create? I'm really frustrated.
Interface Builder
RSS for tagBuild interfaces for applications without writing code using Interface Builder, an editor within Xcode.
Posts under Interface Builder tag
23 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I received the MOBSF security check result PDF, where I found some "High" severity issues.
1.Binary makes use of insecure API(s) with high CWE: CWE-676: Use of Potentially Dangerous Function OWASP Top 10: M7: Client Code Quality OWASP MASVS: MSTG-CODE-8. The binary may contain the following insecure API(s): _sscanf, _memcpy, _fopen.
2.Binary makes use of the malloc function with high CWE: CWE-789: Uncontrolled Memory Allocation OWASP Top 10: M7: Client Code Quality OWASP MASVS: MSTG-CODE-8. The binary may use the _malloc function instead of calloc.
I have utilized a static analyzer, but I am unable to identify the APIs such as _sscanf and others in my codebase.
This issue is not being shown in Xcode IDE either. I have attempted static analysis in Xcode using the approach: Product -> Analyze, but I am still unable to identify the mentioned issues.
Can anyone please help me overcome this scenario and successfully pass the MOBSF test?
Thanks in Advance
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Interface Builder
Xcode
Xcode Static Analyzer
Security
We use Storyboards and custom fonts in our app. Once we started developing new features for iOS 17 and did the first build in Xcode 15, we've noticed that in quite a few places incorrect fonts are set to views. In some places it is incorrect weight, while in other it's completely different font.
Some observations:
Fonts may change the next time app is build. E.g., instead of SF Pro Display Semibold we got SF Pro Display Heavy, and then after few relaunches it switched to Nunito Bold 😵💫
We’ve ensured that correct font is set in Storyboard, and even tried to re-assign it. That didn’t help.
All custom fonts are properly added to a target and are registered in info.plist
All custom fonts are listed in UIFont.familyNames, so they are indeed registered with the system.
Wrong fonts are loaded on both development environment and in TestFlight builds
We’ve never experienced anything similar before Xcode 15
What we've tried:
Re-assigning fonts in Storyboard.
Creating new Storyboard in Xcode 15 and copying screens into it.
I wonder if anybody else having similar issues and maybe knows the workaround.
Thank you.
P.S. I've filed a Feedback to Apple: FB12903371