- Disconnect your device.
- Delete the app from your device.
- Quit Xcode completely.
- Go to ~/Library/Developer/Xcode/DerivedData and look at the folders there ($ ls).
- Find the one with the app's name in front of it and delete the folder ($ rm -rf ).
- Reopen Xcode.
- Connect your device.
- Build and Run the app (cmd + R).
- Boom.
- 还不行就清理、重启所有设备包括MAC
Xcode – Could not launch *.app – No such file or directory
最新推荐文章于 2022-07-08 09:52:26 发布