Xcode – Could not launch *.app – No such file or directory

本文提供了解决Xcode中App运行问题的详细步骤:断开设备连接、卸载App、关闭Xcode、查找并删除相关文件夹、重新打开Xcode并连接设备、构建和运行App。如果问题仍未解决,建议清理和重启所有设备。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  1. Disconnect your device.
  2. Delete the app from your device.
  3. Quit Xcode completely.
  4. Go to ~/Library/Developer/Xcode/DerivedData and look at the folders there ($ ls).
  5. Find the one with the app's name in front of it and delete the folder ($ rm -rf ).
  6. Reopen Xcode.
  7. Connect your device.
  8. Build and Run the app (cmd + R).
  9. Boom.
  10. 还不行就清理、重启所有设备包括MAC  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值