fix all warning in iOS project
fix a few warning for mac version still can`t get it running for mac