use_framework vs use_native_modules

后端 未结 2 1449
悲&欢浪女
悲&欢浪女 2021-01-28 20:20

I do not use use_frameworks and use_native_modules in my podfile. It runs as usual when I enable use_native_modules, but build fail when I

相关标签:
2条回答
  • 2021-01-28 20:36

    the header file search way maybe has been changed, so you can not build sucess

    0 讨论(0)
  • 2021-01-28 20:38

    Guess I have understand both the difference (please correct me if my understanding is incorrect),

    For use_frameworks! please read here as it has already describe what it's for.

    For use_native_modules!, it's actually being use in React Native 0.60 and above for auto-linking. With the command specified in podfile, all the new dependency appended to project do not require developer to append new dependency's podspec into podfile. It will link automatically when you run pod install command.

    I have been appending all the podspecs myself ever since I upgraded to RN0.60

    0 讨论(0)
提交回复
热议问题