close XCode
show XCode's description with right mouse
disable Rosetta2
reopen XCode, auto fix sign
close XCode
enable Rosetta2
reopen XCode & rebuild project
Post
Replies
Boosts
Views
Activity
use:
id fontDesc = [UIFontDescriptor fontDescriptorWithName:fntName size:fontSize];
id textFont = [UIFont fontWithDescriptor:fontDesc size:fontSize];
instead of:
id textFont = [UIFont fontWithName:fntName size:fontSize];