[iOS] import Foundation framework to resolve errors with unknown type

As requested in #402 to merge this into the dev branch. 

Again, should resolve issues with #74