错误提示 Invariant Violation:Applicaction 项目名 has not been registered.This is either due to a require() error during initialization or failure to call AppRegistry.registerCommponent.

解决办法:重启终端再运行x-code

原文地址:https://www.cnblogs.com/myswift-lhq/p/5760312.html