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.