Fix the missing protoype warning in Xcode
Fixed uninitialized variable case
Fixed project codesigning and archs