React Native: Unable to import React headers after updating to 0.60

前端 未结 2 582
逝去的感伤
逝去的感伤 2020-12-22 11:56

After updating to React Native 0.60 the header linking does no longer work.

I\'m having problems linking from the React library during buil

2条回答
  •  余生分开走
    2020-12-22 12:38

    There were many changes in React Native 0.60, one of the main ones is that React modules are now packaged using CocoaPods, which replaces header linking.

    I recommend you generate a new project in 0.60+ and check out its project structure (mainly the Podfile). You can also use the upgrade helper to see what's changed.

提交回复
热议问题