Fixed OSX template warning
Fixed OSX template release errors