xcodebuild fails with #Preview macro with Xcode 15.0
I noticed that in Xcode 15.0, xcodebuild command to archive the app fails unless I remove the #Preview macro from the app. $ xcodebuild archive -scheme <Your Scheme> -sdk iphoneos -allowProvisioningUpdates -archivePath build.xcarchive and the error is: { "kind": "finished",…