Resurrected old libffi for iPhone because Xcode project for the iPhoneTest2 was not updated and when I tried the new ffi, it crashed on the iPhone Simulator.
Also updated the iPhone Xcode project.