I have a problem debugging swift pods in my project. We've created a swift pod and integrated that into one of our projects as a development pod. Everything runs great. However, when we try to debug the code in the pod, we don't see any values.
I've checked and we don't strip debug symbols in the Pods project nor in the main project. What else can be wrong. How do we fix this?
I had exact the same issue, few days ago. My solution was setting optimization flag in Build Settings to none:
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
This is the key when you open it as Source Code.
Optimization Level is inside UI, under code generation. Keep fast for the release since you don't need variables for release :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With