Tidying 

deleted unused tests target (was preventing build), updated Xcode settings and fixed compiler warnings.