xcode 构建操作已禁用:“project.xcworkspace”已更改并正在重新加载

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/35064475/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 08:28:39  来源:igfitidea点击:

Build operations are disabled:'project.xcworkspace' has changed and is reloading

iosxcodeframeworksm

提问by Kumar Utsav

I got this message, which is as follows.

我收到了这条消息,内容如下。

Build operations alert

构建操作警报

Then again I tried to rebuild it, which lead me to this alert message. enter image description here

然后我再次尝试重建它,这使我看到了这条警报消息。 在此处输入图片说明

Now if I select Xcode Version, it starts throwing error which is related to the dependency of the external libraries I have added. Any suggestion. enter image description here

现在,如果我选择 Xcode 版本,它会开始抛出与我添加的外部库的依赖项相关的错误。任何建议。 在此处输入图片说明

回答by sssilver

I have the exact same issue with Xcode 7.3.

我对 Xcode 7.3 有完全相同的问题。

Restarting the IDE helps.

重新启动 IDE 会有所帮助。

回答by Jayprakash Dubey

I had similar issue with Xcode 9.3 and solution mentioned by @sssliver didn't worked.

我在 Xcode 9.3 上遇到了类似的问题,@sssliver 提到的解决方案没有奏效。

Screenshot added

添加了截图

Below is solution that worked :

以下是有效的解决方案:

  1. Quit Xcode (cmd + Q)and reopen project
  2. Delete derived datacontent.
  3. Clean project (cmd + shift + K)
  4. Build project (cmd + B)
  1. Quit Xcode (cmd + Q)并重新打开项目
  2. Delete derived data内容。
  3. Clean project (cmd + shift + K)
  4. Build project (cmd + B)

回答by Alfi

On Xcode 11 when I changed my app folder location, I got this error and thats was because Swift Package Manager was redownloading my project libraries, once it finished downloading, it worked again...

在 Xcode 11 上,当我更改我的应用程序文件夹位置时,出现此错误,那是因为 Swift Package Manager 正在重新下载我的项目库,下载完成后,它再次运行...

回答by Abhishek Singh

Below solution worked for me:

以下解决方案对我有用:

Quit Xcode (cmd + Q) and reopen project Delete derived data content. Clean project (cmd + shift + K) Build project (cmd + B)

退出 Xcode (cmd + Q) 并重新打开项目 删除派生数据内容。清理项目 (cmd + shift + K) 构建项目 (cmd + B)