It seem like the problem exist in older version Xcode 15.4, target iOS-17.5 and macOS Sonoma 14.5. Currently i updated to the latest version macOS Sequoia 15.4, using Xcode 16.3, target iOS-18.4 and it got fixed.