React native base headers for ios not found

前端 未结 4 1006
余生分开走
余生分开走 2021-02-05 11:38

During the iOS linking phase, I started seeing errors for my React Native project.

React Native version: 0.41.2, 0.40, 0.39

4条回答
  •  囚心锁ツ
    2021-02-05 12:40

    Update: solution on Facebook React-Native https://github.com/facebook/react-native/issues/11813

    ============

    This issue happened to me also. It seems React.xcodeproj only recognise configuration Debug and Release. All of output of React.xcodeproj is written into Debug-iphonesimulator or Release-iphonesimulator.

    That means if you have some configurations other than "Debug/Release", the output will still be written into Debug-iphonesimulator or Release-iphonesimulator, that is not what we want.

    So the solution is to add a same configuration in React.xcodeproj to match the one of your own project.

    For example, if you have "Debug/Release/Test/AppStore" 4 configurations in your own project, you have to make sure React.xcodeproj also has the same 4 configurations.

    please click the "+" button of Configurations, then "Duplicate Release Configuration", and rename it according to you need.

提交回复
热议问题