Xcode: Restore CMAKE_XCODE_GENERATE_SCHEME for custom targets
The target property introduced by !3098 (merged) was accidentally not initialized by CMAKE_XCODE_GENERATE_SCHEME
for custom targets. Fix it and update the test.
Fixes: #19759 (closed)
The target property introduced by !3098 (merged) was accidentally not initialized by CMAKE_XCODE_GENERATE_SCHEME
for custom targets. Fix it and update the test.
Fixes: #19759 (closed)