简体   繁体   中英

Cannot include custom font into xcode project

i am trying to include a custom font into my project but i just cannot appear to do that. I was able to do it in my pervious projects without a problem.

First of all, when i include a font in to xCode project it appears like this: 在此处输入图片说明

I have tried alots of things, and I know the guidelines when adding a new font,I have read a lot of articles like this ( Common Mistakes With Adding Custom Fonts to Your iOS App ) and done that several times with success, but now it just wont work.

Fonts are included in the project, they are in copy bundle resources and in the .plist file.

Also I have tried cleaning the project, deleting derivated data, I actually created the whole project from scratch, with no success...

xCode version is 6.4 Font in question is Roboto but i couldn't include any other. Font type is .ttf but i have tried with .otf also.

Any help here?

Does your project name have any special characters in the name? That can cause problems. Eg question marks...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM