使用静态jsbundle为iOS设备构建时,“不变违反:应用程序AwesomeProject未注册”
首先,我不知道该如何反应,但是我认为部署到iOS设备而不是模拟器并不难于使用文档。他们有点稀疏,但是我到了某个地方,现在我被卡住了。我创建了一个main.jsbundle并将其添加到Xcode项目中,并在AppDelegate.m中取消注释该行。 部署它时,出现以下错误: 2015-03-26 16:13:08.538 AwesomeProject[4753:2477032] > RCTJSLog> "Running application "AwesomeProject" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF" 2015-03-26 16:13:08.547 AwesomeProject[4753:2477032] > RCTJSLog> "Error: stack: runApplication main.jsbundle:33769 jsCall main.jsbundle:7157 _callFunction main.jsbundle:7404 applyWithGuard main.jsbundle:877 guardReturn main.jsbundle:7206 callFunctionReturnFlushedQueue main.jsbundle:7413 URL: file:///private/var/mobile/Containers/Bundle/Application/DBC0DAF4-B568-4CF5-B156-9EFEE4E7FF4A/AwesomeProject.app/main.jsbundle line: 1536 message: Invariant Violation: …