Getting things working when building to iOS