You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
大家好!
我的环境是m1 mac 13.4.1 按文档的要求完成了所有的操作,但是在模拟器启动器的日志中仍然报这个错误。像是执行文件权限问题,但实在不知道如何调整。提前感谢帮忙!
[firmware_simulator]: simulator opening...
[firmware_simulator]: chmod: Unable to change file mode on qemu_mac/qemu-system-arm: Operation not permitted
[firmware_simulator]: chmod: Unable to change file mode on qemu_mac/qemu-ifup: Operation not permitted
[firmware_simulator]: chmod: Unable to change file mode on qemu_mac/qemu-ifdown: Operation not permitted
[firmware_simulator]: ./start_qemu.sh: line 141: ./qemu_mac/qemu-system-arm: Permission denied
"""
在 MacOS 运行模拟器在终端执行如下命令,给模拟器启动脚本添加可执行权限。
cd /Applications/simulator.app/Contents/Resources/firmware && chmod +x ./start_qemu.sh
重新开启一个终端,运行如下命令,启动模拟器。
cd /Applications/simulator.app/Contents/MacOS && sudo -s ./simulator
"""
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
大家好!
我的环境是m1 mac 13.4.1 按文档的要求完成了所有的操作,但是在模拟器启动器的日志中仍然报这个错误。像是执行文件权限问题,但实在不知道如何调整。提前感谢帮忙!
[firmware_simulator]: simulator opening...
[firmware_simulator]: chmod: Unable to change file mode on qemu_mac/qemu-system-arm: Operation not permitted
[firmware_simulator]: chmod: Unable to change file mode on qemu_mac/qemu-ifup: Operation not permitted
[firmware_simulator]: chmod: Unable to change file mode on qemu_mac/qemu-ifdown: Operation not permitted
[firmware_simulator]: ./start_qemu.sh: line 141: ./qemu_mac/qemu-system-arm: Permission denied
"""
在 MacOS 运行模拟器在终端执行如下命令,给模拟器启动脚本添加可执行权限。
cd /Applications/simulator.app/Contents/Resources/firmware && chmod +x ./start_qemu.sh
重新开启一个终端,运行如下命令,启动模拟器。
cd /Applications/simulator.app/Contents/MacOS && sudo -s ./simulator
"""
这两个命令均已执行,另外,我在/Applications/simulator.app/Contents/MacOS这个地址直接执行./simulator不会报错,显示[firmware_simulator]: simulator opening...。但是手表界面不出。
解决了,忽然看到terminal要密码,输入即可
Beta Was this translation helpful? Give feedback.
All reactions