Xcode 挂在“等待其他符号处理”上

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8304065/
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-14 22:35:02  来源:igfitidea点击:

Xcode hung on 'waiting for other symbol processing'

iosxcodeorganizer

提问by AustinRathe

It appears that since I updated my iPad to iOS 5.01 I can't debug it via xCode.

看来,自从我将 iPad 更新到 iOS 5.01 以来,我无法通过 xCode 对其进行调试。

When I attach the iPad both Xcode and the organiser display "waiting for other symbol processing" which shows indefinitely.

当我连接 iPad 时,Xcode 和组织者都显示“等待其他符号处理”,无限期地显示。

Does anyone have any idea what I can do to fix this?

有谁知道我能做些什么来解决这个问题?

回答by chown

Not sure if it fixes the problem every time, but this has worked for me in the past:

不确定它是否每次都能解决问题,但这在过去对我有用:

  1. Quit out of Xcode,
  2. Delete the .copying_lockfile in /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 <DOUBLE CHECK THE NUMBER HERE, IT COULD BE 5.0 or 5.0.1 (abc), etc>/.

    This can be done in Terminal.app with the command:

    sudo rm /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1/.copying_lock
    
  3. Run Xcode again. Now the symbol import should start right up and the "Waiting" message should be gone.

  1. 退出Xcode,
  2. 删除中的.copying_lock文件/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1 <DOUBLE CHECK THE NUMBER HERE, IT COULD BE 5.0 or 5.0.1 (abc), etc>/

    这可以在 Terminal.app 中使用以下命令完成:

    sudo rm /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0.1/.copying_lock
    
  3. 再次运行Xcode。现在符号导入应该立即开始,“等待”消息应该消失。



If that doesnt work, try deleting the numbered folder itself, then restart xcode again. If that also doesnt work, reinstall xcode maybe?

如果这不起作用,请尝试删除编号文件夹本身,然后再次重新启动 xcode。如果那也不起作用,也许重新安装xcode?

回答by Aditya Gaonkar

For Xcode 6.1 you just have to delete contents of these two folders:

对于 Xcode 6.1,您只需删除这两个文件夹的内容:

  1. /Users//Library/Developer/Xcode/iOS Device Logs
  2. /Users//Library/Developer/Xcode/iOS DeviceSupport
  1. /Users//Library/Developer/Xcode/iOS 设备日志
  2. /Users//Library/Developer/Xcode/iOS DeviceSupport

Quit and restart the xcode.

退出并重新启动 xcode。

回答by Anil

This fixed the problem for me

这为我解决了问题

  1. Quit XCode
  2. Open Terminal and run the following commands

    chmod 64 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0(the correct number)/DeveloperDiskImage.dmg
    chmod 64 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0(the correct number)/DeveloperDiskImage.dmg.signature
    
  3. Restart XCode

  1. 退出 XCode
  2. 打开终端并运行以下命令

    chmod 64 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0(the correct number)/DeveloperDiskImage.dmg
    chmod 64 /Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.0(the correct number)/DeveloperDiskImage.dmg.signature
    
  3. 重启 XCode

回答by Victor Engel

I just ran into this problem myself, and it was because I had an NSLog call in an event that was triggered way more times than I expected. It caused a bottleneck of data from my iPad to my Mac.

我自己刚刚遇到了这个问题,这是因为我在一个事件中调用了 NSLog,该调用的触发次数比我预期的要多。它导致了从 iPad 到 Mac 的数据瓶颈。

I solved it by disconnecting my iPad. I then terminated the app on the iPad using iPad functionality and let Xcode do its thing. It cleared itself up in about half a minute.

我通过断开 iPad 的连接解决了这个问题。然后我使用 iPad 功能终止了 iPad 上的应用程序,让 Xcode 做它的事情。大概半分钟就恢复正常了。

回答by Jon Tirsen

I had the same problem in Xcode 5 and I just restarted and that solved the problem.

我在 Xcode 5 中遇到了同样的问题,我刚刚重新启动并解决了问题。

回答by JanB

I inadvertently unplugged my phone while the app was running though Xcode and then when I tried again, this message kept coming up, even if I tried other devices. I tried restarting Xcode and then restarted my Mac but it still brought the same message up. The solution for me was simply to remove the app from the device and re-run it.

当应用程序通过 Xcode 运行时,我无意中拔掉了我的手机,然后当我再次尝试时,这条消息不断出现,即使我尝试了其他设备。我尝试重新启动 Xcode,然后重新启动我的 Mac,但它仍然显示相同的消息。我的解决方案只是从设备中删除应用程序并重新运行它。