ios reports code

starting to merge iOS reports code.
Probably don't want to throw an exception here?