Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.5 ios9 使用用ttf字体真机运行黑屏 #3507

Closed
caochao opened this issue Nov 14, 2018 · 2 comments
Closed

v2.0.5 ios9 使用用ttf字体真机运行黑屏 #3507

caochao opened this issue Nov 14, 2018 · 2 comments

Comments

@caochao
Copy link

caochao commented Nov 14, 2018

Creator version?(版本号)

2.0.5

Affected platform?(受影响的平台)

ios

How to reproduce?(如何重现)

场景上放个label, 设置ttf自定义字体

JavaScript output or error produced?(报错信息和调用栈)

ERROR: ReferenceError: Can't find variable: Promise, location: jsb-adapter/jsb-builtin.js:3008:35

Demo project?(demo 项目)

image

怀疑是加载字体使用了promise导致没法在ios9上跑

@zhefengzhang
Copy link
Contributor

zhefengzhang commented May 28, 2021

应该是的。得测试看看

@xianyinchen
Copy link
Contributor

ios9上的 jsc 引擎没有提供promise,需要自己安装第三方的promise插件,可以参考论坛帖子
https://forum.cocos.org/t/ios-promise/54883/5?u=huanxinyin

minggo pushed a commit that referenced this issue Feb 10, 2022
Co-authored-by: cocos-robot <engine-deploy@cocos.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants