读完《getting started with react native》

硬着头皮花了一个多星期的时间终于啃完了一本全英文的教程,第一次啊,满满的成就感,记录一下在学习的过程中遇到的坑,不定期更新。

ios真机release模式运行出现

1
Undefined symbols for architecture arm64:   "_RCTSetLogFunction", referenced from:-[PropertyFinderTests testRendersWelcomeScreen] in PropertyFinderTests.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

的错误。
解决:在 Build Setting 中设置 Dead Code Stripping 为 No 就可以了。