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

来源:互联网 发布:遥感影像数据特点 编辑:程序博客网 时间:2024/06/14 07:34
  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  
原创粉丝点击