React Native: Command `run-ios` unrecognized

前端 未结 14 2172
野性不改
野性不改 2020-12-23 16:01

I have two different ReactNative-Projects:

  • a) a project from januar 2016
  • b) a complete new react-native project from now (march 20th 2016)
14条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-23 16:43

    This happens when the project has an older version of react native. You can update the react version or for people who do not want to upgrade, just open the .xcodeproj file in iOS dir and hit the play button in the Xcode.

提交回复
热议问题