flutter开发笔记-----windows系统上安装ios模拟器开发

windows flutter环境配置
直接照着flutter官网上配就行了
注意 jdk要是 1.8版本的

virtual box

先把 virtual box安装好,安装路径默认!!!

安装苹果虚拟鸡(你太美)

https://blog.csdn.net/weixin_40459875/article/details/80026193

友情提示

电脑内存条至少8g以上
最好16
更好32
顶好64
炒鸡好128
在这里插入图片描述
内存不足警告
咱也不知道咱电脑什么配置 咱也不敢问

配置的mac 虚拟鸡的代码


VBoxManage.exe modifyvm "MacOS10.12" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
//MacOs10.12为你起的虚拟鸡名字
VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"

VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"

VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"

VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"

VBoxManage setextradata "MacOS10.12" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
--------------------- 
作者:阿梨若苦 
来源:CSDN 
原文:https://blog.csdn.net/weixin_40459875/article/details/80026193 

xcode10 至少要macOS10.14 才能装

最后

控制台使用flutter doctor
出现这样的界面就ok了 没有就按照提示的信息敲命令直到无报错
在这里插入图片描述

问题

咋连接苹果设备?
虚拟鸡里的iphone虚拟机太慢。。

猜你喜欢

转载自blog.csdn.net/qq_41110569/article/details/89329229