I just created one new cordova ios project via CLI, and i opened that project in Xcode 7.1 and while running on simulator am getting some error on mainViewController.xib, if
Xcode 7.3.1
In my case, the error was caused by the following line:
print("|" + board[x][y])
Changed to:
print("| \(board[x][y])")
After that, I did a Product -> Clean (Command+Shift+K) That fixed the issue.
PS: board[x][y] is a [[Character]], if that matters. I copy-pasted my Java Class into Xcode to edit it into Swift.