File not opening in MacOS Sandbox after recent update

I recently update my MacOS from to version 14 and Xcode to version 15. After making the update I am not able to read the user selected file using fopen(). It was working before the update with the sandbox ON and the necessary entitlements made. What could be the issue?

Best,

Vishnu

File not opening in MacOS Sandbox after recent update
 
 
Q