Hi,
Overview
- I have a
#Playgroundblock to test some logic - It has some unused variables but they show their value on preview window, it is nice that is named variables so that this display the value.
- Xcode doesn't throw warnings for unused variables
- This Playground block is in the same file as some code it tests.
Problem
- When running in CI it seems to throw unused variable warning
My attempts so far:
- I have added a
#if DEBUGcondition surrounding it, but strangely enough this didn't solve the issue.
Questions
- Is there any solution to this problem?
- What is the recommended approach?