当前位置: 首页 > article >正文

vmware安装MacOS以及flutter遇到的问题

安装过程:参考下面的文章

链接: 虚拟机VMware安装苹果系统macOS,超级详细教程,附文件下载,真教程!!

无限重启情况:

(二) 配置虚拟机

找到你的虚拟机安装文件夹,找到 .vmx扩展名的文件,右键选择打开方式,用记事本打开。

在记事本最后一段加上:

smc.version = 0

往上几行,再检查ethernet0.virtualDev = "vmxnet3"这个字段,如果=的是e1000e,就把e1000e改成vmxnet3。

参考链接:Windows用VMware虚拟机安装MacOS Ventura 13.4系统全流程教程

没有网络问题,

解决:设置如下,在上面的文章里面均有提及,但是我设置了之后,重新启动虚拟机还是提示没有网络,后来是多启动了几遍,突然之间就有网络了

在这里插入图片描述

点击鼠标右键时,弹出的弹窗会自动消失

原因:我用了鼠标相关的工具,所以冲突了。停用鼠标工具就行了

安装cocoapods

参考链接如下:
关于macOs13安装cocoapods的流程记录

安装android Studio

链接:Android开发-Mac Android开发环境搭建(Android Studio Mac环境详细安装教程,适合新手

安装 rvm

mac报错zsh: command not found: rvm 解决办法
mac报错zsh: command not found: rvm 解决办法

fatal: unable to access ‘https://github.com/…/.git
【解决问题 fatal: unable to access ‘https://github.com/…/.git’: Could not resolve host: github.com】

安装 cocoapods

mac安装cocoapods完整步骤

安装 Xcode

下载:在app store或者官网下载(需要注册账号)
安装了之后提示安装不完整,可恶
原来是需要把XCode移动到 应用程序那个文件夹下面,指定路径没有成功
在这里插入图片描述
在这里插入图片描述

至于android toolchain 是在android studio里面 setting -> 看下图 在这里插入图片描述

其中一些问题:

  1. Flutter运行报错Automatically assigning platform iOS with version X.0 on target Runner

解决:打开ios目录下的Podfile文件在这里插入图片描述

  1. Could not build the precompiled application for the device.
    Error (Xcode): Provisioning profile “iOS Team Provisioning Profile: *” doesn’t include the currently selected device “iPhone” (identifier 4852cxxxxxx).
    /Users/xxxxp/Runner.xcodeproj
    It appears that there was a problem signing your application prior to installation on the device.
    Verify that the Bundle Identifier in your project is your signing id in Xcode
    open ios/Runner.xcworkspace
    Also try selecting ‘Product > Build’ to fix the problem.
    Error launching application on iPhone.
    解决:是因为需要弄下Xcode软件里面的东西
    在这里插入图片描述

  2. [!] Invalid Podfile file: Operation not supported on socket … Error running pod install
    搜索了不少文章,没有解决问题

解决:最后问了 GPT,说是用的共享文件(本机与虚拟机共享文件),应该复制到虚拟机本地,然后解决

  1. flutter真机运行 无法打开“iproxy”,因为无法验证开发者。
    解决:
sudo xattr -d com.apple.quarantine /Users/填入自己的路径/flutter/bin/cache/artifacts/usbmuxd/iproxy

http://www.kler.cn/a/131662.html

相关文章:

  • vscode终端npm install报错
  • 【电路笔记】-快速了解无源器件
  • 飞书开发学习笔记(七)-添加机器人及发送webhook消息
  • van-dialog弹窗异步关闭-校验表单
  • 三、Eureka注册中心
  • TSINGSEE视频汇聚管理与AI算法视频质量检测方案
  • 【918.环形子数组的最大和】
  • 【Java 语言】读取 properties 配置文件 ( Java 语言中的 properties 配置文件 | 使用 properties 配置文件 )
  • 叮!您收到了一封来自达坦科技的Hackthon邀请函
  • 基于plc的柔性制造系统供料检测单元的设计(论文+源码)
  • Swagger使用
  • 此芯科技加入绿色计算产业联盟,参编绿色计算产业发展白皮书
  • s28.CentOS、Ubuntu、Rocky Linux系统初始化脚本v6版本
  • 云计算发展
  • LVGL 日历组件
  • 代码随想录 11.17 || 动态规划 LeetCode 647.回文子串、516.最长回文子序列
  • 使用Vue实现弹窗效果
  • mindspore mindyolo目标检测华为昇腾上推理使用、训练;华为OBS文件传输使用
  • 【ARM Trace32(劳特巴赫) 使用介绍 2.2 -- TRACE32 进阶命令之 DIAG 弹框命令】
  • 【SpringMvc】SpringMvc +MyBatis整理