Fix iOS Framework errors. Closes #24