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
FWIW, here's what fixed this for me:
I was performing an operation on a value in a dictionary:
_outcomes[key] *= multiplier
I didn't realize that Swift would treat the value as an optional even though the dictionary is not an optional in this class.
changing to the following worked:
_outcomes[key]! *= multiplier