Fixed an initialization bug in iosBridge.mm and 2 static analyzer warnings