microsoft / plcrashreporter

Reliable, open-source crash reporting for iOS, macOS and tvOS
Other
2.84k stars 532 forks source link

Xcode 16 beta 2 build issue #317

Open xuzhaocheng opened 2 weeks ago

xuzhaocheng commented 2 weeks ago

Description

When I use Xcode 16 beta 2 to build the target "CrashReporter iOS Framework", it fails immediately with an error:

error: unexpected service error: The Xcode build system has crashed. Build again to continue.

Repro Steps

Please list the steps used to reproduce your issue.

  1. Open project with Xcode 16 beta 2
  2. Select target "CrashReporter iOS Framework"
  3. Build

Details

  1. Which SDK version are you using? iOS 18
  2. Which OS version did you experience the issue on? macOS 14.5
  3. Which CocoaPods/Carthage/Xcode version are you using? Carthage
  4. What device version did you see this error on? Were you using an emulator or a physical device?
  5. What language are you using?
    • [x] Objective C
    • [ ] Swift
  6. What third party libraries are you using?
MikhailSuendukov commented 1 week ago

Hello and thank you for reaching out to us! It appears this bug originates from Xcode 16 beta 2. Some users with previous versions of Xcode have found that clearing the cache and deleting the DerivedData folder can help resolve the issue:

cd ~/Library/Developer/Xcode
rm -rf DerivedData

Please try this and let us know if it helps. If it doesn't resolve the issue, we may need to wait for an official fix from Xcode team.