- 博客(5)
- 收藏
- 关注
原创 iOS 判断设备机型
iOS Swift 判断手机机型可查看:iOS所有机型(已更新 至iPhone12)注意:若在模拟器上运行下面代码,得到的结果是:String = i386 || x86_64 || arm64 。真机运行结果:String = iPhone_xx,xxfunc getType()->String{ let machineMirror = Mirror(reflecting: systemInfo.machine) let platfor
2021-06-25 17:28:23
298
原创 xcode No such module
Scene: xcode 类似 pod Alamofire "No such module"的问题Detail: xcode 12.4 “No such module” ,I can run on my device but not on a simulator.Try this out:Go to Product > Schemes > New Scheme…Select the name of your Cocoapod then click OK.After you do
2021-06-10 13:11:33
1959
原创 Mac flutter配置环境变量
Mac flutter配置环境变量1.下载Flutter SDK包官网网址。下载好后,将.zip安装包,解压到不会轻易误删的地方。这里我解压到文稿中。也就是路径为/Users/你的mac名/Documents的位置。2.在/User/您的账户名 路径下创建.bash_profile文件(若该文件存在则忽略该步骤)touch .bash_profile3.编辑环境变量,打开 bash_profile 文件open ~/.bash_pofile在最后面插入下列代码:export PATH=你文
2021-05-26 12:24:57
469
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人