Im working on Mac OS Application where I need to set custom fonts, so I did following things:
Xcode version: 12.3 Added fonts to Application
Add Application fonts resource path Key to Info.plist and set the value "."
Added "New Copy file phase" and provided path Resource->Fonts and added fonts.
In my viewController set those fonts to Label programatically. Like this (titleLabel.font = NSFont(name: "Geogrotesque-Regular", size: 15))
Everything's works fine (fonts getting applied) when I run it at my end. But when I package it through archive or direct through product app folder and send it to my colleague. it doesn't work at their end. It seems very strange things are happening I gone through lot of article and as per various suggestion I verified my implementation it seems not issue. Then what Im missing here.
I followed all steps from this thread also:
Custom Fonts Issue - https://stackoverflow.com/questions/41785440/adding-a-custom-font-to-macos-app-using-swift