RN 集成ART时,提示no component found name ARTShape

按照教程上面首先吧ART库导入xcode,据说Android不用导入,直说iOS的。导入之后提示no component found name ARTShape ,这时需要在Build Phase中导入libART.a库,感谢Stack Overflow
分三步:直接上图了
1. Find the ART Xcode Project in the node_module/react-native
这里写图片描述
2. Drag the ART Project into your project_folder/Libraries
这里写图片描述
3. Go the Build Phase tab of YOUR PROJECT, add libART.a into Link Binary into Libraries.
这里写图片描述

猜你喜欢

转载自blog.csdn.net/wangqiuwei07/article/details/82527365
RN
今日推荐