It's generally better to paste a code snippet large enough for folks to be able to gain relevant context of your problem. Having said that, if your goal is to set buildConfig
to true
, you need to use =
and I suspect your problem is there. What the compiler says with that error is that it treats the buildConfig
and true
as separate statements on a single line and it needs ;
between them. In reality you should just do buildConfig = true
and see if that helps