react-native运行在真机上
背景在使用MySQL数据库过程中,left join 基本是必用的语法,不过 join 会导致性能变慢,MySQL是如何将多张表的数据结合到一起的,了解join的运作机制,有利于写出更好性能的 SQL 。先创建两张表,并分别放3条数据:createtablet1(m1int,n1char(1));create table t2(m2 int, n2 char(1));insert into t1
·
命令:
yarn ios --device '你的设备名称'
设备名称可以打开XCode查看

这个过程中你可能遇到如下错误:
没有安装 ios-deploy
error Failed to install the app on the device because we couldn't execute the "ios-deploy" command. Please install it by running "npm install -g ios-deploy" and try again.
执行下方安装:
sudo npm install -g ios-deploy
使用XCode打开你的RN ios目录,首先包名也就是 Bundle Identifier可能会有冲突,要改成一个带有自己名字唯一的就行,
Signing Certificate 你需要登录自己的APPID账号

安装成功后在手机中需要在通用中点击描述文件,信任刚刚安装的app。
更多推荐
所有评论(0)