Post

Replies

Boosts

Views

Activity

Reply to Xcode 16 no longer sets ENABLE_PREVIEWS=YES for preview builds
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
6d