I am lost, because I don't know why I am being asked to create a local development build to run my expo app in ios simulator, because I never needed build to run it.
我迷路了,因为我不知道为什么我被要求创建一个本地开发版本来在iOS模拟器中运行我的EXPO应用程序,因为我从来不需要构建来运行它。
I simply ran command npm start
and then pressed i
to open my ios simulator without ever facing issues, but for some reason now I am being asked to install development build on the device first.
我只是运行命令npm start,然后按下I键打开我的iOS模拟器,从来没有遇到过问题,但由于某些原因,现在我被要求首先在设备上安装开发版本。
Here is the error:
以下是错误:
Opening on iOS...
CommandError: No development build (com.checka.myappnative) for this project is installed. Please make and install a development build on the device first.
My question is why can't i simply run my ios simulator like I always could, what changed?
我的问题是,为什么我不能像往常一样简单地运行我的iOS模拟器,是什么改变了?
更多回答
优秀答案推荐
If you initiate a build either for Android nor for iOS, be carefull.
You'll have to switch to Expo Go by press "s" on the terminal like this
如果你为Android或iOS启动了一个构建程序,请小心。你得像这样在航站楼按“S”才能转到世博会。
When that's done you can now press i
or a
to launch Expo Go on the simulator or on your device>
完成后,您现在可以按i或a在模拟器或您的设备上启动世博会>
I hope that helps
我希望这会有帮助
更多回答
Curious, whats the name of your vscode theme
好奇,你的vscode主题叫什么?
@HamzaBashir my theme is: Tokyo Night
@HamzaBashir我的主题是:东京之夜
我是一名优秀的程序员,十分优秀!