“Invariant Violation: Application AwesomeProject has not been registered” When building for iOS device with static jsbundle

后端 未结 14 2310
刺人心
刺人心 2020-12-08 18:20

First off, I don\'t know react, but I figured deploying to an iOS device instead of the simulator wouldn\'t be too difficult to do with the docs. They were a bit sparse but

14条回答
  •  感情败类
    2020-12-08 18:56

    AppRegistry.registerComponent('abc',() => ***); 
    

    the 'abc' must be the same as the moduleName:@'abc' in the file name AppDelegate.m

提交回复
热议问题