App crashes on xCode 16.0 beta 5

Hi all,

I recently updates mu macOS to the latest version (Sonoma 14.6.1) and downloaded latest Xcode-beta version (16.0 beta 5).

When i select an iPhone 15 with new iOS 18 as a run destination and i hit build Xcode-beta almost manages to finish the build but it fails with this error:

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

Entire error log is attached

After building it again and again the same thing kept happening.

Next thing i tried is to run the app in Xcode version 15 on the same device and same iOS (iPhone 15 iOS 18) and app runs without any issues.

Any idea how to resolve the issue and what might be causing such a random build time crash?

Best regards, Marko

Answered by marko1995 in 810244022

Here is what solved my issues in the end:

I use this dependency:

"react-native-image-crop-picker": "^0.40.2",

It had unnecessary import somewhere in the code. See here

Solution for me was to update the library to ^0.41.2:

"react-native-image-crop-picker": "^0.41.2",

Hope this helps!

Thanks for reporting. This is a known issue.

The workaround is to avoid #import followed by nothing even in skipped preprocessor blocks.

Sorry for the trouble.

--Jeremy

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

I am also getting this issue

Please help we are are blocked here

after instaling IOS 16

Accepted Answer

Here is what solved my issues in the end:

I use this dependency:

"react-native-image-crop-picker": "^0.40.2",

It had unnecessary import somewhere in the code. See here

Solution for me was to update the library to ^0.41.2:

"react-native-image-crop-picker": "^0.41.2",

Hope this helps!

App crashes on xCode 16.0 beta 5
 
 
Q