I recently upgraded my Xcode to version 16. After the upgrade i have started encountering this error when i am building my app.
unexpected service error: The Xcode build system has crashed. Build again to continue.
My Setup
Has anyone encountered this issue or how to resolve this build system crash?
I was having same issue earlier today on macOS Sequoia and XCode 16, then I tried using command line
yarn ios --simulator "iPhone 16 Pro Max"
xcodebuild complained about react-native-image-crop-picker
ScanDependencies /Users/hi/Downloads/AppFolder/ios/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNImageCropPicker.build/Objects-normal/arm64/ImageCropPicker.o /Users/hi/Downloads/AppFolder/node_modules/react-native-image-crop-picker/ios/src/ImageCropPicker.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNImageCropPicker' from project 'Pods')
I upgraded react-native-image-crop-picker
from version 0.40.3 to 0.41.2 (latest) and the error is gone.