I start getting the same error with Xcode 16.1
Filled the feedback FB15698341
Post
Replies
Boosts
Views
Activity
I compared all the build settings used for normal build and previews build. the only difference I found is target device env.
Here is my temporary solution instead of using ENABLE_PREVIEWS, you have to find your destination id used by Previews (I got this value from "Show environment variables in build log")
if [ "TARGET_DEVICE_IDENTIFIER" = "D09DA454-2EA3-4506-A8DE-2662EB021EA2"]; then
exit 0
fi