开发者

XCode not finding crash logs

开发者 https://www.devze.com 2023-02-28 02:51 出处:网络
I have a problem with XCode organiser, which is not showing开发者_Python百科 any new iPhone app crash log anymore.

I have a problem with XCode organiser, which is not showing开发者_Python百科 any new iPhone app crash log anymore.

I checked in ~/Library/Logs/CrashReporter/MobileDevice, the files have not been copied there either. Nor are they even if i synchronize the mobile with iTunes.

I reproduce the problem with 2 devices (iphone and ipod), however if I connect them on other computers, the logs are visible. So it seems the problem is with this XCode/Mac OS.

Any ideas ? Has anyone come across the same problem ?

Thanks,


New device / crash logs will only appear when the iPhone is sync with the computer via iTunes.

Hopefully this will help others.


Allright, I found it. I had to reinstall iTunes and the "Mobile Device Service", as shown in here, and now crash logs are visible again.

Edit: as the page fell, here are the steps from the archive.org page. Note that those steps worked on Mac Os X 10.6, but may be different on current versions.

If the issue persists, follow these steps to remove and reinstall the Apple Mobile Device Service on Mac OS X. You'll need to authenticate with an administrator account and password to complete these steps.

  1. Disconnect your device from your Mac.
  2. In the Finder, locate iTunes in the Applications folder and drag it to the Trash.
  3. Move the iTunes icon to the Trash.
  4. Choose Go > Go to Folder.
  5. Enter /System/Library/Extensions and click Go.
  6. Locate the file AppleMobileDevice.text and drag it to the Trash.
  7. Choose Go > Go to Folder.
  8. Enter /Library/Receipts/ and click Go.
  9. Locate the file AppleMobileDeviceSupport.pkg and drag it to the Trash. If prompted, authenticate with the administrator password.

Note: This file may not be present in Mac OS X v10.6 Snow Leopard; skip to the next step if this is the case.

  1. Restart the computer.
  2. Choose Finder > Empty Trash and restart the computer.
  3. Download and install the current version of iTunes.
  4. Connect your device to the Mac again and open iTunes
0

精彩评论

暂无评论...
验证码 换一张
取 消