Xcode 15, 15.1 and 15.2 getting stuck while archiving in release mode.

After upgrading our code from Xcode 14.X to Xcode 15.X, we are not able to archive in release mode.

on 90-95% Xcode got stuck while archiving.

I have tried with Xcode 15, Xcode 15.1 and Xcode 15.2 , same issue is happening for all Xcode version.

Please suggest solution for the same.

FYI, I did several archiving with Xcode 15.0.1, without problem.

  • Changing Compilation Mode from Whole Module to Incremental
  • Changing Optimization Level from Optimize for Speed to either Optimize for Size or No Optimization

source: https://stackoverflow.com/questions/55586591/archiving-project-stuck-for-hours/78493775#78493775

Xcode 15, 15.1 and 15.2 getting stuck while archiving in release mode.
 
 
Q