Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

New Frameworks required (CoronaEnterprise and CoronaCards: iOS and OS X)
Started by vlads Oct 15 2015 05:02 PM

1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

vlads

[GLOBAL: userInfoPane.html]
vlads
  • Contributor

  • 654 posts
  • Corona Staff

Starting with build 2015.2733, we have made font loading behavior more robust on iOS/Mac to match behavior on other platforms (namely if the string provided for the font doesn't match a name, we treat the string as a file and look for a font file by that string instead).
 
This change requires CoreText.framework to be linked manually to iOS Corona Enterprise and CoronaCards projects. 
 
If you have an existing CoronaEnterprise/CoronaCards project, you may encounter the following error with daily build 2015.2733 (or later):
 
  "_CTFontManagerRegisterFontsForURL", referenced from:
      Rtt::IPhoneFont::IPhoneFont(char const*, float, NSString*) in libplayer.a(Rtt_IPhoneFont.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
To fix the issue, simply add CoreText.framework to your application target in Xcode.
 
 


[TOPIC: post.html]
#2

krystian6

[GLOBAL: userInfoPane.html]
krystian6
  • Contributor

  • 560 posts
  • Corona SDK

I like the way this was communicated to the Enterprise users...




[topic_controls]
[/topic_controls]