The missing .a file on iOS project

问题: Having check manual linking -- step 2, it says the .a file should linking to react-native, but when I check my iOS project it can not be found, how to create it or other al...

问题:

Having check manual linking -- step 2, it says the .a file should linking to react-native, but when I check my iOS project it can not be found, how to create it or other alternative to choice?


回答1:

you should upgrade your project like this:

Step 1 : Delete your ios folder (And the android if you want) of your project directory

Do this commands :

Step 2 : react-native upgrade

Step 2 : react-native link

Step 2 : react-native run-ios //or// react-native run-android

This would Init platform specific projects and i hope be your solution

good luck

  • 发表于 2018-12-28 14:39
  • 阅读 ( 225 )
  • 分类:网络文章

条评论

请先 登录 后评论
不写代码的码农
小编

篇文章

作家榜 »

  1. 小编 文章
返回顶部
部分文章转自于网络,若有侵权请联系我们删除