简体   繁体   English

Apple Dsymutil错误“无法打开可执行文件”

[英]Apple Dsymutil Error “Unable to Open Executable”

I have an app that has been working perfectly, and without changing anything (so I think) it suddenly refuses to build and gives me this error: 我有一个运行良好的应用程序,并且没有进行任何更改(因此我认为),但它突然拒绝构建,并给了我这个错误:

error: unable to open executable '/Users/WillOakley/Library/Developer/Xcode/DerivedData/Will_Oakley_-_WWDC_Swift-amsddfazstgmxvaboibijapkormw/Build/Products/Debug-iphonesimulator/Will Oakley - WWDC SwiftTests.xctest/Will Oakley - WWDC SwiftTests': No such file or directory

I have no idea what that file is and what I could have done to move/delete it. 我不知道该文件是什么以及我可以做些什么来移动/删除它。 Is there any way to force Xcode to regenerate whatever this file is? 有什么方法可以强制Xcode重新生成该文件。

This issue was discussed in the below stackoverflow question, Unable to open executable - xcode 在以下stackoverflow问题中讨论了此问题, 无法打开可执行文件-xcode

the top response provided by them is given below, try to follow the steps and it should solve your problem, 他们给出的最高答复如下,请尝试按照以下步骤操作,它应该可以解决您的问题,

I have also faced that problem. 我也遇到了这个问题。 I have closed, restarted Xcode; 我已经关闭,重新启动了Xcode; deleted the application from device and reinstalled it again, then the problem has gone. 从设备上删除该应用程序,然后重新安装,然后问题就消失了。 Make sure the library and project files is truly included if it is not include it shows in red color in this type of case some time it is in original folder and not in project so delete it and add it again. 如果没有包含库和项目文件,请确保确实包含库和项目文件,在某些情况下,库和项目文件会以红色显示在原始文件夹中,而不是在项目中,因此请将其删除并再次添加。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM