Recently I have used @available to check if the iOS version is 11 for certain condition calls. When I build using command line (using ant) I get an error as “error: unexpected ‘@‘ in program”
Before adding that I was able to make a build successfully. But now showing me this error.
Note : I am able to make a build using Xcode but not able to make build using command line