This is an error related to the Swift compiler, not your app.
To fix the issue:
- Go to Project>Target>Build Setting
- Search Swift Compiler – Code Generation
- Set the Optimization Level for both Debug and Release to No Optimization[-Onone]
This is an error related to the Swift compiler, not your app.
To fix the issue: