fixed insecure string
fixed project to use the latest os x sdk